add decorator for cli context
This commit is contained in:
+6
-6
@@ -9,8 +9,8 @@ Prerequisites:
|
||||
```shell
|
||||
# Arch Linux
|
||||
pacman -S uv just
|
||||
# optinal
|
||||
pacman -S just-lsp yamlfmt shellcheck
|
||||
# optional
|
||||
pacman -S just-lsp yamlfmt shellcheck typos
|
||||
```
|
||||
|
||||
The development environment and testing requires multiple specific Python versions; they can be installed with (inside the pulled git project directory):
|
||||
@@ -31,13 +31,13 @@ just test
|
||||
|
||||
## Formatting
|
||||
|
||||
Formatting of YAML files requires [yamlfmt](https://github.com/google/yamlfmt) to be installed seperately.
|
||||
Formatting of YAML files requires [yamlfmt](https://github.com/google/yamlfmt) to be installed separately.
|
||||
|
||||
A script is available to run the format check.
|
||||
|
||||
```shell
|
||||
just format-check
|
||||
just schema-scheck
|
||||
just schema-check
|
||||
```
|
||||
|
||||
## Linting
|
||||
@@ -45,6 +45,7 @@ just schema-scheck
|
||||
Linting requires [shellcheck](https://github.com/koalaman/shellcheck) to be installed separately.
|
||||
Validating `pyproject.toml` against the checked-in uv schema also requires
|
||||
[jq](https://jqlang.org/).
|
||||
Spell checking requires [typos](https://github.com/crate-ci/typos) to be installed separately.
|
||||
|
||||
A script is available to run the lint check.
|
||||
|
||||
@@ -55,9 +56,8 @@ just type-check
|
||||
|
||||
## Documentation
|
||||
|
||||
A script is available to run the documentaion generation.
|
||||
A script is available to run the documentation generation.
|
||||
|
||||
```shell
|
||||
just docs
|
||||
just man
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user