MitocGroup / deepify

software development tool-chain that abstracts package management of cloud native web applications
https://www.deep.mg
Mozilla Public License 2.0
3 stars 0 forks source link

Global approach to deepify commands without parameters #356

Closed eistrati closed 7 years ago

eistrati commented 7 years ago

Let's improve the developer experience for deepify commands without parameters by showing help message for each command.

Current output:

MitocGroup:~ eugene$ deepify replicate prepare
 Invalid command call: [MissingOptionException] The option '--blue' (alias '-b') is missing 
 Usage example: deepify replicate prepare --blue blueHash --green greenHash --tables User,Comments,Threads 

Expected output:

MitocGroup:~ eugene$ deepify replicate prepare
 Invalid command call: [MissingOptionException] The option '--blue' (alias '-b') is missing 
 Usage example: deepify replicate prepare --blue blueHash --green greenHash --tables User,Comments,Threads 
 To see help text, you can run: deepify replicate prepare --help
AlexanderC commented 7 years ago

Add an To see help text, you can run: deepify replicate prepare --help message when command fails due to wrong or missing options

eistrati commented 7 years ago

Not relevant anymore.