Repository navigation
mcpplibs.cmdline 0.0.6: completion is built in - #928
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mcpplibs.cmdline 0.0.6 (mcpplibs/cmdline#13): completion is built in.
app.completion()turns it on; the program answers from its command tree (__complete), and the bash, zsh, fish and PowerShell adapters only ask it. Options and arguments state their values, a file or directory hint, or a candidate callback; a command can be hidden.pkgs/c/cmdline.lua: 0.0.6 on linux, macosx and windows. GitHub and GitCode serve the same tag archive (sha25624716d498f29544c56bff1015ecf8e2c06a0ae40443ee0d9edaeb8f770d8bdb5); the Form B source glob covers the new layout (src/complete.cppmin place ofsrc/completions/).tests/examples/cmdlinemoves to 0.0.6 and checks that completion offers the values an option states and that the parse refuses a value outside them.mcpp uses it for its own completion (mcpp-community/mcpp#1023).