File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,13 @@ jupyter_files = "forbid"
5252in_pypi = true
5353in_rtd = true
5454in_codecov = true
55+ cli_framework = " cyclopts"
5556_extra_tasks = [
5657 " git init" , # required to run uv
5758 " VIRTUAL_ENV='' uv run just init" ,
5859 " VIRTUAL_ENV='' uv run just build-docs" ,
5960 " uvx --with sp-repo-review[cli] repo-review . --select RTD --show errskip" ,
61+ " VIRTUAL_ENV='' uv run just print-cli-help" ,
6062]
6163
6264[output ." .ctt/cli_c_vcs" ]
Original file line number Diff line number Diff line change @@ -175,3 +175,9 @@ serve-docs: build-docs-ref
175175 uv run --exact --python 3.{{python_max}} --only-group docs -- \
176176 mkdocs serve
177177 uv run --exact true
178+ {% - if has_cli %}
179+
180+ # Print the help of the CLI command
181+ print-cli-help:
182+ uv run {{ project_name }} --help
183+ {% - endif %}
You can’t perform that action at this time.
0 commit comments