HATCH-CLEAN(1)
π HATCH-CLEAN(1) π
okay bestie, welcome to hatch-clean β she lives in the User Commands section of the manual and she has exactly one job: Remove build artifacts β¨ like she is literally the cleanup crew and she ate π
πΈ NAME πΈ
hatch clean β Remove build artifacts π§Ή
no cap, that's the whole vibe. everything you built? gone. poof. iconic.
β¨ SYNOPSIS β¨
hatch clean [OPTIONS] [LOCATION]
that's it that's the whole thing π«Ά you give her some OPTIONS, you optionally point her at a LOCATION, and she goes to work.
π OPTIONS π
-t,--target TEXTβ this is the target you want to remove artifacts for, and she will override your project defaults to do it. and the way that you can pick it multiple times?? yeah. like-t sdist -t wheel. stack 'em, bestie π--hooks-onlyβ whether or not to only remove artifacts from build hooks π (env var:HATCH_BUILD_HOOKS_ONLY)--no-hooksβ whether or not to ignore artifacts from build hooks π (env var:HATCH_BUILD_NO_HOOKS)--extβ whether or not to only remove artifacts from build hooks for distributing binary Python packages, like compiled extensions π¦. lowkey this one is just--hooks-only -t wheelwearing a cute little outfit. Equivalent to--hooks-only -t wheelβ¨-h,--helpβ show a help message and exit π₯° she will tell you everything and then politely leave.
π ENVIRONMENT π
HATCH_BUILD_HOOKS_ONLYβ whether or not to only remove artifacts from build hooks (option:--hooks-only) πHATCH_BUILD_NO_HOOKSβ whether or not to ignore artifacts from build hooks (option:--no-hooks) π
like, same energy as the flags, just living in your env instead. iykyk πΈ
π SEE ALSO π
go read her friends, they're all slaying in their own lanes:
hatch-build(1), hatch-config(1), hatch-dep(1), hatch-env(1), hatch-fmt(1), hatch-new(1), hatch-project(1), hatch-publish(1), hatch-python(1), hatch-run(1), hatch-self(1), hatch-shell(1), hatch-status(1), hatch-test(1), hatch-version(1)
and of course the mothership herself: hatch(1) π
fr fr, this page is from August 2024 and it's part of HATCH-CLEAN(1). that's the source, the version, the date, the whole cute little sign-off π mwah, go clean something bestie π
π¦ where this page comes from
- epel 10: hatch 1.15.1-2.el10_3 Β· MIT
- fedora 43: hatch 1.14.2-2.fc43 Β· MIT
- fedora 43: hatch 1.15.1-1.fc43 Β· MIT
- fedora 44: hatch 1.16.4-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms