clitools
clitools copied to clipboard
Handle Exception with improved Help when using "ct <subcommand>"
When inputting a command Partially, I expect the helpt to kick in. The default Handling from Symphony isnt verry pretty.
Example: Input: ct docker Output:
[InvalidArgumentException] Command "docker" is not defined. Did you mean one of these? docker:compose docker:create docker:iftop docker:sniff docker:mysql docker:shell docker:exec docker:root docker:cli docker:up
By handling the Exception and Providing additional informations, this can improve the help functionality of clitools. (and lint the bloat of commands a bit ;)