spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

Show help for default command

Open krisrok opened this issue 3 years ago • 0 comments

As mentioned in #951 (and https://github.com/spectreconsole/spectre.console/issues/702)

When called without args:

  • Default command with required params -> Show help
  • Default command with required params and additional commands -> Show help including additional commands
  • Default command without required params -> Execute command

Note: I wasn't too sure about the return code of 1 when displaying help as no error gets displayed. How is this handled in other applications where calling it without args is also displaying the help?

krisrok avatar Sep 07 '22 14:09 krisrok