1HATCH-CLEAN(1)                   User Commands                  HATCH-CLEAN(1)
2
3
4

NAME

6       hatch clean – Remove build artifacts
7

SYNOPSIS

9       hatch clean [OPTIONS] [LOCATION]
10

OPTIONS

12       -t, --target TEXT
13              The  target  with  which to remove artifacts, overriding project
14              defaults.  This may be selected  multiple  times  e.g.  -t sdist
15              -t wheel
16
17       --hooks-only
18              Whether  or  not  to only remove artifacts from build hooks [env
19              var: HATCH_BUILD_HOOKS_ONLY]
20
21       --no-hooks
22              Whether or not to ignore artifacts from build  hooks  [env  var:
23              HATCH_BUILD_NO_HOOKS]
24
25       --ext  Whether  or  not  to  only remove artifacts from build hooks for
26              distributing binary Python packages,  such  as  compiled  exten‐
27              sions.  Equivalent to --hooks-only -t wheel
28
29       -h, --help
30              Show a help message and exit
31

ENVIRONMENT

33       HATCH_BUILD_HOOKS_ONLY
34              Whether  or  not  to only remove artifacts from build hooks [op‐
35              tion: --hooks-only]
36
37       HATCH_BUILD_NO_HOOKS
38              Whether or not to ignore artifacts  from  build  hooks  [option:
39              --no-hooks]
40

SEE ALSO

42       hatch-build(1),     hatch-config(1),     hatch-dep(1),    hatch-env(1),
43       hatch-new(1),   hatch-project(1),    hatch-publish(1),    hatch-run(1),
44       hatch-shell(1), hatch-status(1), hatch-version(1)
45
46       hatch(1)
47
48
49
50                                 October 2022                   HATCH-CLEAN(1)
Impressum