-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hey Stephen,
first of all ... let me thank you for that awesome plugin. The idea of fetching valid suggestions from the available *Command
s and InputOption
s is brilliant and logical.
I've seen other completion functions capable of providing completions for the require
command by using a (cached) result of composer show
.
composer show -a | grep -v '^No composer'
... can be used to find all available packages without the line ...
No composer.json found in the current directory, showing available packages from packagist
... if composer is executed inside a directory that has no composer.json
.
I didn't have the time to dive into the code of the CompletionCommand
yet.
Would you rather add something like this in the bash/zsh-snippets or do this in PHP with a ComposerCompletionCommand
that extends CompletionCommand
added to this repository?
Metadata
Metadata
Assignees
Labels
No labels