1HATCH-PUBLISH(1) User Commands HATCH-PUBLISH(1)
2
3
4
6 hatch publish – Publish build artifacts
7
9 hatch publish [OPTIONS] [ARTIFACTS]...
10
12 -r, --repo TEXT
13 The repository with which to publish artifacts [env var:
14 HATCH_INDEX_REPO]
15
16 -u, --user TEXT
17 The user with which to authenticate [env var: HATCH_INDEX_USER]
18
19 -a, --auth TEXT
20 The credentials to use for authentication [env var: HATCH_IN‐
21 DEX_AUTH]
22
23 --ca-cert TEXT
24 The path to a CA bundle [env var: HATCH_INDEX_CA_CERT]
25
26 --client-cert TEXT
27 The path to a client certificate, optionally containing the pri‐
28 vate key [env var: HATCH_INDEX_CLIENT_CERT]
29
30 --client-key TEXT
31 The path to the client certificate’s private key [env var:
32 HATCH_INDEX_CLIENT_KEY]
33
34 -n, --no-prompt
35 Disable prompts, such as for missing required fields
36
37 --initialize-auth
38 Save first-time authentication information even if nothing was
39 published
40
41 -p, --publisher TEXT
42 The publisher plugin to use (default is index) [env var:
43 HATCH_PUBLISHER]
44
45 -o, --option TEXT
46 Options to pass to the publisher plugin. This may be selected
47 multiple times e.g. -o foo=bar -o baz=23 [env var: HATCH_PUB‐
48 LISHER_OPTIONS]
49
50 -y, --yes
51 Confirm without prompting when the plugin is disabled
52
53 -h, --help
54 Show a help message and exit
55
57 HATCH_INDEX_REPO
58 The repository with which to publish artifacts [option: -r,
59 --repo]
60
61 HATCH_INDEX_USER
62 The user with which to authenticate [option: -u, --user]
63
64 HATCH_INDEX_AUTH
65 The credentials to use for authentication [option: -a, --auth]
66
67 HATCH_INDEX_CA_CERT
68 The path to a CA bundle [option: --ca-cert]
69
70 HATCH_INDEX_CLIENT_CERT
71 The path to a client certificate, optionally containing the pri‐
72 vate key [option: --client-cert]
73
74 HATCH_INDEX_CLIENT_KEY
75 The path to the client certificate’s private key [option:
76 --client-key]
77
78 HATCH_PUBLISHER
79 The publisher plugin to use (default is index) [option: -p,
80 --publisher]
81
82 HATCH_PUBLISHER_OPTIONS
83 Options to pass to the publisher plugin [option: -o, --option]
84
86 hatch-build(1), hatch-clean(1), hatch-config(1), hatch-dep(1),
87 hatch-env(1), hatch-new(1), hatch-project(1), hatch-run(1),
88 hatch-shell(1), hatch-status(1), hatch-version(1)
89
90 hatch(1)
91
92
93
94 October 2022 HATCH-PUBLISH(1)