1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

hatch: add page (#14610)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Jonas Weich 2024-11-03 19:55:21 +01:00 committed by GitHub
parent 34669bb8a7
commit e9d07c01ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

29
pages/common/hatch.md Normal file
View file

@ -0,0 +1,29 @@
# hatch
> Modern, extensible Python project manager.
> See also: `poetry`.
> More information: <https://hatch.pypa.io/latest/cli/reference/>.
- Create a new Hatch project:
`hatch new {{project_name}}`
- Initialize Hatch for an existing project:
`hatch new --init`
- Build a Hatch project:
`hatch build`
- Remove build artifacts:
`hatch clean`
- Create a default environment with dependencies defined in the `pyproject.toml` file:
`hatch env create`
- Show environment dependencies as a table:
`hatch dep show table`