@letterstory/cli 0.177.7 → 0.177.9

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/lib/cli.mjs CHANGED
@@ -87,7 +87,7 @@ import {
87
87
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
88
88
 
89
89
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
90
- export const VERSION = "0.177.7";
90
+ export const VERSION = "0.177.9";
91
91
 
92
92
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
93
93
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -44,6 +44,8 @@ const ARGS = {
44
44
  prompt: { value: (flags, positionals) => flagStr(flags.prompt) ?? (positionals.join(" ").trim() || undefined) },
45
45
  // --ask "<words>": the person's own words, when --prompt was written from them.
46
46
  ask: "ask",
47
+ // --confirms <build id>: the person's yes to the price a build stopped on.
48
+ confirms: "confirms",
47
49
  // --build-it: the words are a request to build, never read as a question.
48
50
  asked_to_build: { flag: "build-it", type: "bool" },
49
51
  domain: "site",
@@ -254,6 +256,7 @@ async function buildStart(ctx) {
254
256
  "prompt",
255
257
  "ask",
256
258
  "build-it",
259
+ "confirms",
257
260
  "site",
258
261
  "subject",
259
262
  "recipe",
@@ -33,6 +33,8 @@ export const ARGS = {
33
33
  domain: "domain",
34
34
  visual_ref_id: { flag: "ref" },
35
35
  wait: { flag: "wait", type: "bool" },
36
+ // --no-spend: buy nothing; the domain is one you hold, or one registered elsewhere.
37
+ no_spend: { flag: "no-spend", type: "bool" },
36
38
  },
37
39
  list_deployments: { kind: { flag: "kind", enum: ["app", "phantom", "bench"] } },
38
40
  get_deployment: { id: appId },
@@ -42,6 +44,8 @@ export const ARGS = {
42
44
  domain: "domain",
43
45
  status: { flag: "status", enum: ["live", "paused", "archived"] },
44
46
  writing: { flag: "writing", enum: ["on"] },
47
+ // --no-spend: with --domain, buy nothing; the domain is one you hold, or one registered elsewhere.
48
+ no_spend: { flag: "no-spend", type: "bool" },
45
49
  },
46
50
  advance_deployment: { id: appId, retry: { flag: "retry", type: "bool" } },
47
51
  add_deployment_page: { id: appId },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.7",
3
+ "version": "0.177.9",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",