Skip to content

bug: enforce required repeatable positionals - #358

Merged
codeforester merged 1 commit into
mainfrom
bug/344-20260831-bug-enforce-required-repeatable-positionals-after-earlier-po
Aug 31, 2026
Merged

bug: enforce required repeatable positionals#358
codeforester merged 1 commit into
mainfrom
bug/344-20260831-bug-enforce-required-repeatable-positionals-after-earlier-po

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • track the start index of a repeatable positional separately from earlier positional consumption
  • require a required repeatable positional to consume at least one of its own values
  • cover direct and table declarations with zero, one, and multiple repeatable values

Validation

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

Fixes #344

@codeforester
codeforester merged commit 385fb3f into main Aug 31, 2026
10 checks passed
@codeforester
codeforester deleted the bug/344-20260831-bug-enforce-required-repeatable-positionals-after-earlier-po branch August 31, 2026 05:22
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: enforce required repeatable positionals after earlier positionals

1 participant