HATCH(1)

πŸ“¦
version 1.16.4 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸ’– NAME πŸ’–

ok so hatch β€” it's Modern, extensible Python project management, bestie. that's the whole vibe. she does it all. 🐍✨


🌸 SYNOPSIS 🌸

hatch [OPTIONS] COMMAND [ARGS]...

like. you give her options, a command, and args, and she GOES. periodt.


πŸŽ€ OPTIONS πŸŽ€

these are your global levers, bestie β€” set them before the command and she listens πŸ’…

  • -e, --env TEXT β€” the name of the environment you wanna use [env var: HATCH_ENV]
  • -p, --project TEXT β€” the name of the project you're working on [env var: HATCH_PROJECT]
  • -v, --verbose β€” crank the verbosity UP (and you can stack it, additively, for extra yap) [env var: HATCH_VERBOSE]
  • -q, --quiet β€” turn the verbosity DOWN (also stackable, also additively, shhh) [env var: HATCH_QUIET]
  • --color / --no-color β€” do we show colored output or not? (default is auto-detection, she just knows) [env vars: FORCE_COLOR/NO_COLOR]
  • --interactive / --no-interactive β€” are we allowing features like prompts and progress bars? (default is auto-detection again, she's psychic) [env var: HATCH_INTERACTIVE]
  • --data-dir TEXT β€” the path to a custom directory used to persist data [env var: HATCH_DATA_DIR]
  • --cache-dir TEXT β€” the path to a custom directory used to cache data [env var: HATCH_CACHE_DIR]
  • --config TEXT β€” the path to a custom config file to use [env var: HATCH_CONFIG]
  • --version β€” show the version and dip. exit. bye. πŸ‘‹
  • -h, --help β€” show a help message and dip. exit. bye. πŸ‘‹

🫢 COMMANDS 🫢

ok this is the roster and honestly? every single one ate. each has her own whole manpage, so go read those too:

  • build β€” Build a project

See hatch-build(1).

  • clean β€” Remove build artifacts

See hatch-clean(1).

  • config β€” Manage the config file

See hatch-config(1).

  • dep β€” Manage environment dependencies

See hatch-dep(1).

  • env β€” Manage project environments

See hatch-env(1).

  • fmt β€” Lint and format source code

See hatch-fmt(1).

  • new β€” Create or initialize a project

See hatch-new(1).

  • project β€” View project information

See hatch-project(1).

  • publish β€” Publish build artifacts

See hatch-publish(1).

  • python β€” Manage Python installations

See hatch-python(1).

  • run β€” Run commands within project environments

See hatch-run(1).

  • self β€” Manage Hatch

See hatch-self(1).

  • shell β€” Enter a shell within a project's environment

See hatch-shell(1).

  • status β€” Show information about the current environment

See hatch-status(1).

  • test β€” Run tests

See hatch-test(1).

  • version β€” View or set a project's version

See hatch-version(1).


🌈 ENVIRONMENT 🌈

these are the little gremlins living in your shell that do the same job as the flags above. set 'em and forget 'em, iykyk πŸ¦‹

  • HATCH_ENV β€” the name of the environment to use [option: -e, --env]
  • HATCH_PROJECT β€” the name of the project to work on [option: -p, --project]
  • HATCH_VERBOSE β€” increase verbosity [option: -v, --verbose]
  • HATCH_QUIET β€” decrease verbosity [option: -q, --quiet]
  • FORCE_COLOR β€” display colored output (default is auto-detection) [option: --color]
  • NO_COLOR β€” do not display colored output (default is auto-detection) [option: --no-color]
  • HATCH_INTERACTIVE β€” whether or not to allow features like prompts and progress bars (default is auto-detection) [options: --interactive/--no-interactive]
  • HATCH_DATA_DIR β€” the path to a custom directory used to persist data [option: --data-dir]
  • HATCH_CACHE_DIR β€” the path to a custom directory used to cache data [option: --cache-dir]
  • HATCH_CONFIG β€” the path to a custom config file to use [option: --config]

⭐ SEE ALSO ⭐

go read the whole friend group, they're all iconic:

hatch-build(1), hatch-clean(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)


ok that's the whole page bestie, you're officially hatch-pilled πŸ§šπŸ’œ this one's from August 2024, it's HATCH(1), and it's giving main character energy fr fr. now go build something slay πŸ’…βœ¨

πŸ“¦ where this page comes from