add decorator for cli context

This commit is contained in:
2026-09-24 19:06:28 +02:00
parent b4e1fa4ec3
commit d4c78cc29d
11 changed files with 285 additions and 25 deletions
+6 -6
View File
@@ -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
```