Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PanadeEdu opened this issue Jan 8, 2016 · 0 comments
Open

Comments

@PanadeEdu
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant