Skip to content

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

Description

@rohilsurana

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions