spectre.console
spectre.console copied to clipboard
Show help for default command
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?