hatch-publish - Man Page

hatch publish – Build a project

Synopsis

hatch publish [Options] [ARTIFACTS]...

Options

-u,  --user TEXT

The user with which to authenticate [env var: HATCH_INDEX_USER]

-a,  --auth TEXT

The credentials to use for authentication [env var: HATCH_INDEX_AUTH]

-r,  --repo TEXT

The repository with which to publish artifacts [env var: HATCH_INDEX_REPO]

-n,  --no-prompt

Do not prompt for missing required fields

-p,  --publisher TEXT

The publisher plugin to use (default is pypi) [env var: HATCH_PUBLISHER]

-o,  --option TEXT

Options to pass to the publisher plugin. This may be selected multiple times e.g. -o foo=bar -o baz=23 [env var: HATCH_PUBLISHER_OPTIONS]

-y,  --yes

Confirm without prompting when the plugin is disabled

-h,  --help

Show a help message and exit

Environment

HATCH_INDEX_USER

The user with which to authenticate [option: -u, --user]

HATCH_INDEX_AUTH

The credentials to use for authentication [option: -a, --auth]

HATCH_INDEX_REPO

The repository with which to publish artifacts [option: -r, --repo]

HATCH_PUBLISHER

The publisher plugin to use (default is pypi) [option: -p, --publisher]

HATCH_PUBLISHER_OPTIONS

Options to pass to the publisher plugin [option: -o, --option]

See Also

hatch(1)

Referenced By

hatch(1).

March 2022