Show "help" output when no args passed on subscription show
command
#3739
Labels
Component: CLI
Component: Command
good first issue
hacktoberfest
Apply to issues you want contributors to help with
Implementation: Rust
Current
The
subscription show
command panics when no argument is passed. This happens because the arguments are optional and thegroup
attribute is configured so that it doesn't require any of them.There are two possible solutions to this:
group
so it requires either of the argumentsDesired
We want to apply the second solution as we want every command to be consistent and show the help output when no arguments are passed. To do that, the following attribute must be added to the subcommand:
We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels - good first issue or help wanted
The text was updated successfully, but these errors were encountered: