Skip to content

Added switch and value flag suggestions#16

Open
FixedDev wants to merge 4 commits intomainfrom
feature/flag-suggestions
Open

Added switch and value flag suggestions#16
FixedDev wants to merge 4 commits intomainfrom
feature/flag-suggestions

Conversation

@FixedDev
Copy link
Copy Markdown
Owner

As suggested by #15, we added tab completion for switch and value flags only when the next argument starts with a "-".
To allow this we needed custom treatment on the SequentialCommandParts for the ValueFlagPart and SwitchPart.

More testing is needed before merging this into the main branch, since only basic testing was done before creating the pull request with the changes

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tab-completion for Flags and Switches

4 participants