calm-dsl
calm-dsl copied to clipboard
Define unify parameter for calm get runbooks and calm get blueprint
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. `