jaz-clio 5.47.12 → 5.47.13
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/assets/skills/api/SKILL.md +1 -1
- package/assets/skills/cli/SKILL.md +5 -3
- package/assets/skills/conversion/SKILL.md +1 -1
- package/assets/skills/jaz-kit/SKILL.md +1 -1
- package/assets/skills/jaz-pseudo-sql/SKILL.md +1 -1
- package/assets/skills/jobs/SKILL.md +1 -1
- package/assets/skills/transaction-recipes/SKILL.md +1 -1
- package/cli.mjs +484 -484
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: jaz-cli
|
|
3
|
-
version: 5.47.
|
|
3
|
+
version: 5.47.13
|
|
4
4
|
description: >-
|
|
5
5
|
Use this skill when running Clio CLI commands, building shell scripts with
|
|
6
6
|
Clio, debugging auth issues, understanding --json output, paginating results,
|
|
@@ -70,7 +70,9 @@ clio auth unpin # Unset JAZ_ORG from current shell
|
|
|
70
70
|
|
|
71
71
|
## Output Formats
|
|
72
72
|
|
|
73
|
-
Every command
|
|
73
|
+
**`--json` is the contract; `--format` is an extra.** Every command that talks to the API accepts `--json` — all 398 of them — so a script never needs to special-case a command. `--format` exists only where a MULTI-ROW rendering is meaningful: 31/31 `search` and 33/39 `list` leaves have it, and `get` has it on 0 of 33, because CSV or YAML of a single record is not a table. `clio bills get --format json` is therefore an `unknown option`, by design — use `--json`.
|
|
74
|
+
|
|
75
|
+
This rule is enforced by `surface-honesty.test.ts`, which also guarantees the flags are HONEST: 58 leaves once declared `--format` and never read it, so `--format csv` printed a human table and exited 0. Those declarations were deleted rather than left lying.
|
|
74
76
|
|
|
75
77
|
| Flag | Format | Use case |
|
|
76
78
|
|------|--------|----------|
|
|
@@ -152,7 +154,7 @@ Rules:
|
|
|
152
154
|
| `--api-key <key>` | All online commands | Override auth for this command |
|
|
153
155
|
| `--org <label>` | All online commands | Use a specific saved profile |
|
|
154
156
|
| `--json` | All commands | Structured JSON output |
|
|
155
|
-
| `--format <type>` | List commands | table, json, csv, yaml |
|
|
157
|
+
| `--format <type>` | List/search commands ONLY — not `get` | table, json, csv, yaml |
|
|
156
158
|
| `--limit <n>` | List/search commands | Max results per page |
|
|
157
159
|
| `--offset <n>` | List/search commands | Page offset (0-indexed) |
|
|
158
160
|
| `--all` | List/search commands | Auto-paginate all pages |
|