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

Add tab-completion for Flags and Switches #15

Open
MCMDEV opened this issue Aug 22, 2021 · 1 comment · May be fixed by #16
Open

Add tab-completion for Flags and Switches #15

MCMDEV opened this issue Aug 22, 2021 · 1 comment · May be fixed by #16
Labels
enhancement New feature or request

Comments

@MCMDEV
Copy link
Contributor

MCMDEV commented Aug 22, 2021

Tab-Completion for Flags and Switches are a useful feature for advanced commands, but are still left out quite often because of implementation difficulties.

Suggestions should switch to flags/switches as soon as the user types the '-' symbol. All the available flag/switch names should be listed then. When a flag is chosen, the completion should switch be handled by the Part again. If it's a switch, it should just switch back to normal completion.

@yusshu yusshu added the enhancement New feature or request label Aug 22, 2021
@FixedDev
Copy link
Owner

Ok, that's actually a good idea, but to do that possible we need to implement the flags/switches with some sort of special treatment on the SequentialCommandPart (or other "collector" parts like that).

@FixedDev FixedDev linked a pull request Aug 24, 2021 that will close this issue
@FixedDev FixedDev linked a pull request Sep 11, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants