mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 14:53:07 +00:00
Update cheatsheets
This commit is contained in:
34
tldr/hatch
Normal file
34
tldr/hatch
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user