app-services-cli
app-services-cli copied to clipboard
Artifact rules enable --config should only propose values for specific rule
Feature or problem description
When creating suggestion we can use opts.ruleType value to determine what rule we deal with
Issue is that rhoas servivce-registry artifact rules enable --config=
suggestions show more values than they should.
We have method that calculates those values:
https://github.com/redhat-developer/app-services-cli/blob/623d7591defbf59326adf8045d139c8dab22109a/pkg/cmd/registry/rule/rulecmdutil/flagset.go#L70