@koda-sl/baker-cli 0.200.0 → 0.201.0-dev.5551615c6

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
@@ -86,8 +86,19 @@ All commands return a JSON envelope:
86
86
 
87
87
  // Dry-run
88
88
  { "ok": true, "dryRun": true, "operation": "images.delete", "params": { "id": "abc123" } }
89
+
90
+ // Unknown option — the command stops instead of running without it
91
+ { "ok": false, "error": { "code": "UNKNOWN_ARGUMENT", "message": "--dimension-filter is not an option of `baker ga4 query`.", "fix": { "action": "check_schema", "explanation": "Did you mean --dimensions? Run `baker schema ga4 query` ..." }, "retryable": false } }
89
92
  ```
90
93
 
94
+ ### Unknown options are refused
95
+
96
+ An option a command does not declare stops the run with `UNKNOWN_ARGUMENT`, naming the
97
+ closest real one. Previously such an option was accepted and ignored, so a call that
98
+ looked like it had filtered or narrowed a result was in fact answering the unfiltered
99
+ question — and nothing in the output said so. Run `baker schema <command>` to see
100
+ every option a command takes.
101
+
91
102
  Use `--output` to change format:
92
103
 
93
104
  | Format | Description | Best for | Available on |
@@ -15,9 +15,9 @@ import {
15
15
  shouldEscalate
16
16
  } from "./chunk-6NZG2TCM.js";
17
17
 
18
- // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
18
+ // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/index.js
19
19
  var require_safe_stable_stringify = __commonJS({
20
- "../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
20
+ "../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/index.js"(exports, module) {
21
21
  "use strict";
22
22
  var { hasOwnProperty } = Object.prototype;
23
23
  var stringify = configure2();
@@ -1091,7 +1091,7 @@ function resolveAdaptFormats(params) {
1091
1091
  return params.formats ?? [];
1092
1092
  }
1093
1093
 
1094
- // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
1094
+ // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/esm/wrapper.js
1095
1095
  var import__ = __toESM(require_safe_stable_stringify(), 1);
1096
1096
  var configure = import__.default.configure;
1097
1097
  var wrapper_default = import__.default;
@@ -8775,4 +8775,4 @@ export {
8775
8775
  defaultRegistry,
8776
8776
  createEngineFromEnv
8777
8777
  };
8778
- //# sourceMappingURL=chunk-5MPIOGRO.js.map
8778
+ //# sourceMappingURL=chunk-N3PUPOWW.js.map