Skip to content

+ feat: apply CLI options from JSON - #21

Open
baocang wants to merge 1 commit into
easysoft:mainfrom
baocang:feat/options-json
Open

baocang wants to merge 1 commit into
easysoft:mainfrom
baocang:feat/options-json

Conversation

@baocang

@baocang baocang commented Sep 4, 2026

Copy link
Copy Markdown

Summary

  • make the existing --options <json> flag apply CLI options for module and generic CRUD commands
  • let explicit CLI flags override values from the JSON object
  • preserve JSON filter/search values when Commander contributes empty-array defaults
  • reject malformed JSON and non-object values with E2009 before authentication
  • document the option and its precedence

Verification

  • bun run typecheck
  • bun test (197 tests)
  • bun run build
  • git diff --check

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.

1 participant