-
Notifications
You must be signed in to change notification settings - Fork 51
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
Removing Commands from Completion Generator #102
Comments
There is a hidden property in the command class. I think we can use that flag to update the completion generator |
I've done some poking around without much luck. I noticed the hidden property you're talking about but it's really only ever used by the In the There's nothing that happens real time for auto completion, is there? As in does the script inspect the .phar file on the fly to determine available commands? |
The command name completion is done statically, expect the argument name
and the option value.
arg and opt values are completed through the meta command, the script ask
the meta command to get some information
paco3346 <[email protected]>於 2017年5月5日 週五,03:03寫道:
… I've done some poking around without much luck. I noticed the hidden
property you're talking about but it's really only ever used by the
aggregate() method on the CommandBase class.
In the generateCommandCompletionRecursively() method of BashGenerator I
tried skipping any commands (such as what's in the dev group) but they're
still autocompleting. After doing this my completion script is definitely
missing commands such as compile and archive but yet they're still
autocompleting.
There's nothing that happens real time for auto completion, is there? As
in does the script inspect the .phar file on the fly to determine available
commands?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADGziDWH4GmpMDSg3iewEiVdVMEyqkRks5r2iEKgaJpZM4NQ9cF>
.
|
Is there a way make commands not show up in the shell completion scripts?
The text was updated successfully, but these errors were encountered: