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

Manifest - Provide a syntax to define common commands flags #142

Open
zeralight opened this issue Oct 2, 2024 · 0 comments
Open

Manifest - Provide a syntax to define common commands flags #142

zeralight opened this issue Oct 2, 2024 · 0 comments

Comments

@zeralight
Copy link
Contributor

It is common that grouped commands shared some flags.
We can think of --verbose, --quiet, --base-url, --namespace, etc.

> cola jenkins --url https://jenkins.com jobs list
> cola jenkins --url https://jenkins.com credentials list   
...

Today, the concept of group arguments doesn't exist in command-launcher.
Additionally, Yaml list anchors are not supported by the currently used yaml deserialiser.
Hence, we need to redefine each argument for each command.

We should find a better way to avoid redundancy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant