feat(cli): set prog_name=ci to enable ci shell completion
Invoking `python -m ci_orchestrator` now reports prog_name "ci" — matching the shell alias — so `--help` reads naturally and click shell completion keys off the _CI_COMPLETE env var.
This commit is contained in:
@@ -58,4 +58,6 @@ cli.add_command(vmware)
|
||||
|
||||
|
||||
if __name__ == "__main__": # pragma: no cover
|
||||
cli()
|
||||
# prog_name="ci" matches the shell alias, so `--help` reads naturally and
|
||||
# shell completion uses the _CI_COMPLETE env var (see scripts/install-ci-alias.sh).
|
||||
cli(prog_name="ci")
|
||||
|
||||
Reference in New Issue
Block a user