Skip to content

feat: add ergonomic declarative CLI declarations - #320

Merged
codeforester merged 1 commit into
mainfrom
enhancement/302-20260814-cli-declaration-ergonomics
Aug 14, 2026
Merged

feat: add ergonomic declarative CLI declarations#320
codeforester merged 1 commit into
mainfrom
enhancement/302-20260814-cli-declaration-ergonomics

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • add base_cli_declare as a data-only pipe-delimited table layer over the existing CLI model engine
  • accept rows as arguments or stdin/heredocs and order parent commands before children
  • document and test the new public API without adding eval or external runtime dependencies

Validation

  • bats tests/api-manifest.bats tests/namespace-contract.bats lib/bash/cli/tests/lib_cli.bats
  • ./tests/validate.sh

Fixes #302

@codeforester
codeforester merged commit 7b2db7b into main Aug 14, 2026
10 checks passed
@codeforester
codeforester deleted the enhancement/302-20260814-cli-declaration-ergonomics branch August 14, 2026 03:47
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 declarative CLI contract is ceremony-heavy compared to click/cobra-style ergonomics

1 participant