Skip to content
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

Support flags #1

Open
adriaanzon opened this issue Mar 25, 2017 · 3 comments
Open

Support flags #1

adriaanzon opened this issue Mar 25, 2017 · 3 comments

Comments

@adriaanzon
Copy link
Owner

This is a bit harder because the -l and -s flags on Fish's complete builtin don't take a list of flags with descriptions, like it does with complete -a.

@adriaanzon adriaanzon assigned adriaanzon and unassigned adriaanzon May 4, 2017
@adriaanzon
Copy link
Owner Author

Because it isn't possible to add dynamic option completion, I could add another shell function that can optionally be run to compile a list of option completions per Artisan instance. complete -p can be used to add completions for a specific Artisan path.

@adriaanzon
Copy link
Owner Author

Symfony Console added support for Fish autocompletion which includes support for options:

https://symfony.com/blog/new-in-symfony-6-1-improved-console-autocompletion

@adriaanzon
Copy link
Owner Author

Symfony 7.1 will add descriptions to the completed console commands in Fish.1 When this gets released, I'll change the readme of this repository with updated instructions.

Footnotes

  1. https://symfony.com/blog/a-week-of-symfony-895-19-25-february-2024

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