entropy icon indicating copy to clipboard operation
entropy copied to clipboard

[CLI] Use cobra to validate required flags in cli

Open rohilsurana opened this issue 3 years ago • 0 comments

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 avatar Jun 27 '22 06:06 rohilsurana