@hardfin/cli 0.1.1-dev.67 → 0.1.1-dev.68

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
@@ -122,7 +122,9 @@ hardfin file get file_7hq2mx9pkr4stz8w --output - | wc -c
122
122
 
123
123
  Send a whole body as JSON with `--input`, from a file or from standard input. A flag given as
124
124
  well replaces its field, and a required field the body carries needs no flag. A value with a
125
- comma in it, which a `key=value` flag cannot carry, goes through `--input`.
125
+ comma in it, which a `key=value` flag cannot carry, goes through `--input`. A field the API
126
+ document does not define for the command is refused before anything is sent, with where it sits
127
+ and what is taken there.
126
128
 
127
129
  ```sh
128
130
  hardfin location create --input location.json
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="61135054-c950-5fd7-a811-e4c83d75d885")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="aae61fcd-2c4e-5e7c-9063-5e90072d5171")}catch(e){}}();
4
4
  import module from "node:module";
5
5
  //#region src/cli.ts
6
6
  module.enableCompileCache?.();
@@ -14,7 +14,7 @@ process.on("unhandledRejection", (error) => void toCrash(error));
14
14
  try {
15
15
  const answer = await toQuickAnswer(process.argv.slice(2));
16
16
  if (answer === void 0) {
17
- const { toCli, toParseExitCode, wasReportAttempted } = await import("./program-D8yu8l1H.js");
17
+ const { toCli, toParseExitCode, wasReportAttempted } = await import("./program-DgQuzFjb.js");
18
18
  try {
19
19
  await toCli().parseAsync(process.argv);
20
20
  } catch (error) {
@@ -33,7 +33,7 @@ async function toCrash(error) {
33
33
  isCrashing = true;
34
34
  const isJSON = process.argv.includes("--json") || !process.stdout.isTTY;
35
35
  try {
36
- const { toReported, writeCrash } = await import("./program-D8yu8l1H.js");
36
+ const { toReported, writeCrash } = await import("./program-DgQuzFjb.js");
37
37
  writeCrash(error, isJSON);
38
38
  await toReported(error, isJSON, void 0, "fatal");
39
39
  } catch {
@@ -54,4 +54,4 @@ async function toQuickAnswer(args) {
54
54
  export {};
55
55
 
56
56
  //# sourceMappingURL=cli.js.map
57
- //# debugId=61135054-c950-5fd7-a811-e4c83d75d885
57
+ //# debugId=aae61fcd-2c4e-5e7c-9063-5e90072d5171