clitools icon indicating copy to clipboard operation
clitools copied to clipboard

Handle Exception with improved Help when using "ct <subcommand>"

Open PanadeEdu opened this issue 10 years ago • 0 comments

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 ;)

PanadeEdu avatar Jan 08 '16 16:01 PanadeEdu