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

Artifact rules enable --config should only propose values for specific rule #1440

Open
wtrocki opened this issue Feb 15, 2022 · 1 comment
Open
Labels

Comments

@wtrocki
Copy link
Collaborator

wtrocki commented Feb 15, 2022

Feature or problem description

When creating suggestion we can use opts.ruleType value to determine what rule we deal with

@wtrocki
Copy link
Collaborator Author

wtrocki commented Mar 24, 2022

Issue is that rhoas servivce-registry artifact rules enable --config= suggestions show more values than they should.
We have method that calculates those values:

return ruleTypes, cobra.ShellCompDirectiveNoSpace

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

No branches or pull requests

4 participants