Skip to content

Add explicit CLI handler validation - #315

Closed
codeforester wants to merge 1 commit into
mainfrom
enhancement/298-20260809-cli-validate
Closed

Add explicit CLI handler validation#315
codeforester wants to merge 1 commit into
mainfrom
enhancement/298-20260809-cli-validate

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • add base_cli_validate_model for an explicit post-declaration handler check
  • preserve declaration order-independence while making CI/test validation fail early
  • document and publish the new API in the manifest and reference

Validation

  • bats lib/bash/cli/tests/lib_cli.bats
  • shellcheck --severity=warning lib/bash/cli/lib_cli.sh
  • scripts/api-manifest check base_api_manifest.yaml

Fixes #298

@codeforester

Copy link
Copy Markdown
Collaborator Author

Superseded by #316 so the branch follows the repository policy for issue #298 (bug/...).

@codeforester
codeforester deleted the enhancement/298-20260809-cli-validate branch August 9, 2026 18:59
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.

lib_cli.sh: handler= is not validated until dispatch time, not at command declaration

1 participant