agent-first-data 0.11.0 → 0.12.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.
- package/README.md +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -233,6 +233,13 @@ parseSize("512"); // 512
|
|
|
233
233
|
|
|
234
234
|
Shared helpers that prevent flag-parsing drift between CLI tools. Use these instead of reimplementing `--output` and `--log` handling in each tool.
|
|
235
235
|
|
|
236
|
+
Help scope and format are orthogonal: `--recursive` decides one-level vs
|
|
237
|
+
recursive, `--output` decides plain/json/yaml/markdown. Human-facing CLIs use
|
|
238
|
+
one-level `--help` (and scoped `sub --help`); agent/doc flows use
|
|
239
|
+
`--help --recursive`, adding `--output json|yaml|markdown` for a recursive
|
|
240
|
+
export. A bare `--recursive` without `--help` is ignored by the help layer.
|
|
241
|
+
See `examples/agent_cli.ts` for that pattern.
|
|
242
|
+
|
|
236
243
|
```typescript
|
|
237
244
|
type OutputFormat = "json" | "yaml" | "plain"
|
|
238
245
|
|