@tsuga/cli 1.41.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/dist/cli.js +173 -173
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -614,3 +614,9 @@ namespaces and authentication policies. Generic field projection lives in `commo
614
614
 
615
615
  Run `yarn lint`, `yarn typecheck`, `yarn test`, and `yarn build` from `packages/cli` to verify
616
616
  changes. Lint includes Effect language-service diagnostics.
617
+
618
+ ### Command schema
619
+
620
+ `tsuga schema` prints the command tree as JSON, including command paths, descriptions, positional arguments, and declared flags. Shared flags are included on descendant commands; hidden commands and flags are omitted.
621
+
622
+ Each command’s `arguments` array follows positional declaration order. Entries include `name`, `type`, `description`, `required`, `variadic`, `minCount`, and `maxCount`. `maxCount` is omitted for unbounded variadic arguments; optional and defaulted single arguments have `minCount: 0`.