@letterstory/cli 0.177.8 → 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 +1 -1
- package/lib/commands/build.mjs +3 -0
- package/package.json +1 -1
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.
|
|
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;
|
package/lib/commands/build.mjs
CHANGED
|
@@ -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",
|