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

[CLI] Use cobra to validate required flags in cli #69

Open
rohilsurana opened this issue Jun 27, 2022 · 0 comments
Open

[CLI] Use cobra to validate required flags in cli #69

rohilsurana opened this issue Jun 27, 2022 · 0 comments

Comments

@rohilsurana
Copy link
Member

Describe the bug
CLI doesn't validate the minimum fields that are required for commands to be run.

Expected behavior

$ entropy action start

## current
# rpc error: code = NotFound desc = resource with urn '' not found
# exit status 1

## expected
# arg(/flag) urn is required
@rohilsurana rohilsurana changed the title [Entropy][CLI] Use cobra to validate required flags in cli [CLI] Use cobra to validate required flags in cli Jul 25, 2022
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