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

sensuctl cluster-role create flags should be plural #4141

Open
calebhailey opened this issue Dec 18, 2020 · 0 comments
Open

sensuctl cluster-role create flags should be plural #4141

calebhailey opened this issue Dec 18, 2020 · 0 comments
Labels
component:sensuctl Sensu CLI improvements low hanging 🍇 Things that are relatively easy to solve

Comments

@calebhailey
Copy link

Feature Suggestion

The sensuctl cluster-role create <name> flags should be --resources and --verbs (plural) instead of --resource and --verb (singular).

Possible Implementation

Sensu ClusterRole resources have roles containing resources and verbs fields (plural), but the corresponding sensuctl cluster-role create <name> flags are the singular form --resource and --verb, which is quite confusing. We might not want to deprecate the singular form flags to prevent breaking any existing user workflows – is it possible to alias them? Can both the singular and plural forms work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sensuctl Sensu CLI improvements low hanging 🍇 Things that are relatively easy to solve
Projects
None yet
Development

No branches or pull requests

1 participant