@koda-sl/baker-cli 0.345.0-dev.9f4314fa9 → 0.345.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 CHANGED
@@ -118,12 +118,14 @@ Use `--output` to change format:
118
118
 
119
119
  | Format | Description | Best for | Available on |
120
120
  |---------|------------------------------------|--------------------|--------------|
121
- | `json` | Structured JSON envelope (default) | AI agents | every command |
122
- | `files` | Tab-separated, one row per result | Piping / shell | every command |
123
- | `md` | Markdown table | Human reading | every command |
121
+ | `json` | Structured JSON envelope (default) | AI agents | every command that prints the envelope |
122
+ | `files` | Tab-separated, one row per result | Piping / shell | commands whose `baker schema` lists `output` |
123
+ | `md` | Markdown table | Human reading | commands whose `baker schema` lists `output` |
124
124
  | `csv` | RFC 4180 comma-separated values | Analysis tools | `baker research …` only |
125
125
  | `jsonl` | One JSON object per line | Streaming/appending | `baker research …` only |
126
126
 
127
+ `--output json` is accepted even by a command that declares no `--output`: the envelope is already what it prints, and on a command whose default is a readable view (`baker tags list`, the `draft` commands) it becomes that command's `--json`. The few commands that print only text — `baker analytics sending-events`, `baker canvas run` and `rerun` — refuse it, as a command without its own `--output` refuses `md` and `files`.
128
+
127
129
  `csv` and `jsonl` are implemented by the research family alone. Asking any other command for them — or for a format that does not exist — falls back to the JSON envelope and says so on stderr, rather than printing nothing and exiting 0.
128
130
 
129
131
  `files` and `md` print rows and nothing else, so any `hints` or data-quality note the envelope carries is written to **stderr** instead. Reading stdout alone still gives you clean, parseable rows.
@@ -1277,7 +1279,7 @@ baker analytics tracking --platform meta # the same for one platform, read from
1277
1279
  baker analytics map --platform google --set kw=keyword # name a parameter, seen or not yet
1278
1280
  baker analytics map --platform google --remove kw # take that answer back
1279
1281
  baker analytics conversions # what counts, what each produced, and which Forms count nothing
1280
- baker analytics conversions --candidates --output md # everything these pages do, and which of it is counted, as tables
1282
+ baker analytics conversions --candidates # everything these pages do, and which of it is counted
1281
1283
  baker analytics conversions --flow contact # one Form's endings as event keys, traffic or not
1282
1284
  baker analytics conversions --event page:request_demo --name "Demo requested"
1283
1285
  baker analytics conversions --event page:a --event submit:b --name "Lead" # both, as one number
@@ -19,9 +19,9 @@ import {
19
19
  shouldEscalate
20
20
  } from "./chunk-4VP5WWPR.js";
21
21
 
22
- // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js
22
+ // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
23
23
  var require_safe_stable_stringify = __commonJS({
24
- "../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js"(exports, module) {
24
+ "../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
25
25
  "use strict";
26
26
  var { hasOwnProperty } = Object.prototype;
27
27
  var stringify = configure2();
@@ -1113,7 +1113,7 @@ function resolveAdaptFormats(params) {
1113
1113
  return params.formats ?? [];
1114
1114
  }
1115
1115
 
1116
- // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/esm/wrapper.js
1116
+ // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
1117
1117
  var import__ = __toESM(require_safe_stable_stringify(), 1);
1118
1118
  var configure = import__.default.configure;
1119
1119
  var wrapper_default = import__.default;
@@ -9804,4 +9804,4 @@ export {
9804
9804
  defaultRegistry,
9805
9805
  createEngineFromEnv
9806
9806
  };
9807
- //# sourceMappingURL=chunk-D5P4COPD.js.map
9807
+ //# sourceMappingURL=chunk-FFOURYP5.js.map