Skip to content

mcpplibs.cmdline 0.0.6: completion is built in - #928

Merged
Sunrisepeak merged 1 commit into
mainfrom
cmdline-0.0.6
Nov 26, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
cmdline-0.0.6

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

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 (sha256 24716d498f29544c56bff1015ecf8e2c06a0ae40443ee0d9edaeb8f770d8bdb5); the Form B source glob covers the new layout (src/complete.cppm in place of src/completions/).
  • tests/examples/cmdline moves to 0.0.6 and checks that completion offers the values an option states and that the parse refuses a value outside them.
  • CHANGELOG.

mcpp uses it for its own completion (mcpp-community/mcpp#1023).

@Sunrisepeak
Sunrisepeak merged commit 94e4bb2 into main Nov 26, 2026
21 checks passed
@Sunrisepeak
Sunrisepeak deleted the cmdline-0.0.6 branch November 26, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant