Skip to content

Add argument parsing helpers#73

Merged
codeforester merged 1 commit into
mainfrom
enhancement/69-20260621-arg-helpers
Jun 22, 2026
Merged

Add argument parsing helpers#73
codeforester merged 1 commit into
mainfrom
enhancement/69-20260621-arg-helpers

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add lib/bash/arg/lib_arg.sh with arg_parse for exact flag and value option parsing.
  • Add BATS coverage for guardrails, flags, values, --option=value, unknown options, missing values, and malformed specs.
  • Wire the new library into docs, standards, and repository validation.

Validation

  • shellcheck --severity=error lib/bash/arg/lib_arg.sh lib/bash/arg/tests/lib_arg.bats
  • bats lib/bash/arg/tests/lib_arg.bats
  • ./tests/validate.sh
  • git diff --check

Closes #69

Base automatically changed from enhancement/68-20260621-version-requirement-helper to main June 22, 2026 00:38
@codeforester codeforester force-pushed the enhancement/69-20260621-arg-helpers branch from e06c47d to cdd97a6 Compare June 22, 2026 00:40
@codeforester codeforester merged commit d0a988a into main Jun 22, 2026
2 checks passed
@codeforester codeforester deleted the enhancement/69-20260621-arg-helpers branch June 22, 2026 00:41
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.

Add Base-native argument and option parsing helpers

1 participant