-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Document how to add autocompletion #32
Document how to add autocompletion #32
Conversation
Details how to add autocompletion for laminas-cli. Fixes laminas#9 Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried with my demo mvc skeleton application and it works fine.
One point, which is missing (it might be obvious for many, but I guess not for all), after changing the configuration you need to reload/reopen shell to get the configuration applied.
docs/book/autocompletion.md
Outdated
- For ZSH users, `source $HOME/.zshrc` | ||
- For FISH users, `source $HOME/.config/fish/config.fish` | ||
|
||
At this point, when you are in a project that uses laminas-cli, you can type: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... after restarting shell :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to also add a headline like "Usage".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, @froschdesign :)
@michalbundyra That's why I mention the usage of |
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net> Co-authored-by: Frank Brückner <info@froschdesignstudio.de>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net> Co-authored-by: Frank Brückner <info@froschdesignstudio.de>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Details how to add autocompletion for laminas-cli, via bamarni/symfony-console-autocomplete.
Fixes #9