Skip to content

Add explicit CLI handler validation - #316

Merged
codeforester merged 3 commits into
mainfrom
bug/298-20260809-cli-validate
Aug 9, 2026
Merged

Add explicit CLI handler validation#316
codeforester merged 3 commits into
mainfrom
bug/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
codeforester merged commit 7c5945d into main Aug 9, 2026
10 checks passed
@codeforester
codeforester deleted the bug/298-20260809-cli-validate branch August 9, 2026 19:08
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