Skip to content

Commit

Permalink
Merge pull request #70 from aliceinwire/updates
Browse files Browse the repository at this point in the history
subcommands/results: Add click choice options
  • Loading branch information
aliceinwire authored Dec 25, 2024
2 parents 236f507 + f74deb4 commit 8420ca3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kcidev/subcommands/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def cmd_builds(data, commit, download_logs, status):
)
@click.option(
"--action",
type=click.Choice(["summary", "trees", "builds"], case_sensitive=True),
help="Select desired results action",
)
@click.option(
Expand All @@ -189,7 +190,8 @@ def cmd_builds(data, commit, download_logs, status):
)
@click.option(
"--status",
help="Status of test result: all, pass, fail, inconclusive",
type=click.Choice(["all", "pass", "fail", "inconclusive"], case_sensitive=True),
help="Status of test result",
default="all",
)
@click.pass_context
Expand Down

0 comments on commit 8420ca3

Please sign in to comment.