Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define unify parameter for calm get runbooks and calm get blueprint #316

Open
fabricekrebs opened this issue Oct 14, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@fabricekrebs
Copy link
Contributor

The command should have as unified parameters as possible. I figured out that -s parameters for the command calm get bps specifies the offset. For the command calm get runbooks, the -o parameters must be passed to specify the offset.

`calm get runbooks --help
Usage: calm get runbooks [OPTIONS]

Get the runbooks, optionally filtered by a string

Options:
-n, --name TEXT Search for runbooks by name
-f, --filter TEXT Filter runbooks by this string
-l, --limit INTEGER Number of results to return
-o, --offset INTEGER Offset results by the specified amount
-q, --quiet Show only runbook names.
-a, --all-items Get all items, including deleted ones
-h, --help Show this message and exit.

calm get bps --help
Usage: calm get bps [OPTIONS]

Get the blueprints, optionally filtered by a string

Options:
-n, --name TEXT Search for blueprints by name
-f, --filter TEXT Filter blueprints by this string
-l, --limit INTEGER Number of results to return
-s, --offset INTEGER Offset results by the specified amount
-q, --quiet Show only blueprint names.
-a, --all-items Get all items, including deleted ones
-o, --out [text|json] output format
-h, --help Show this message and exit.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants