Is your feature request related to a problem? Please describe.
Implementations of gyro commands should be able to trigger usage help of the respective command conditionally at runtime.
Describe the solution you'd like
Currently the command line execution only handles parse exceptions for which usage help is displayed.
All other exceptions are just thrown.
Is your feature request related to a problem? Please describe. Implementations of gyro commands should be able to trigger usage help of the respective command conditionally at runtime.
Describe the solution you'd like Currently the command line execution only handles parse exceptions for which usage help is displayed. All other exceptions are just thrown.
https://github.com/perfectsense/gyro/blob/master/cli/src/main/java/gyro/cli/Gyro.java#L108 should be modified to accept
CommandLine
and another exception should be introduced that allows a flag to display help message.