Skip to content

bug: align CLI completion with parser boundaries - #359

Merged
codeforester merged 1 commit into
mainfrom
bug/337-20260831-bug-make-cli-completion-honor-option-values-and-the-double-d
Aug 31, 2026
Merged

bug: align CLI completion with parser boundaries#359
codeforester merged 1 commit into
mainfrom
bug/337-20260831-bug-make-cli-completion-honor-option-values-and-the-double-d

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • make completion scan effective option metadata while resolving the active command path
  • consume separate and inline option values and stop option/subcommand interpretation at --
  • preserve aliases, empty and option-looking values, unique partial candidates, and one-candidate-per-line output

Validation

  • bats lib/bash/cli/tests/lib_cli.bats (25 tests)
  • ./tests/validate.sh (581 BATS tests plus all extended gates)

Fixes #337

@codeforester
codeforester merged commit 16dfbe3 into main Aug 31, 2026
10 checks passed
@codeforester
codeforester deleted the bug/337-20260831-bug-make-cli-completion-honor-option-values-and-the-double-d branch August 31, 2026 05:33
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.

bug: make CLI completion honor option values and the double-dash boundary

1 participant