@letterstory/cli 0.177.210 → 0.177.211
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/site.mjs +4 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
94
94
|
|
|
95
95
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
96
|
-
export const VERSION = "0.177.
|
|
96
|
+
export const VERSION = "0.177.211";
|
|
97
97
|
|
|
98
98
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
99
99
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
package/lib/commands/site.mjs
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
// site highlight <domain> [--off] → set_competitor_highlight
|
|
18
18
|
// site prospect <url> → read_prospect_site (staff: any company's site, no account, nothing stored)
|
|
19
19
|
// site suggest <host> --idea <id> | --draft-id <id>… | --pattern <folder> | --item <id> --path <p>
|
|
20
|
-
// | --new-page <folder> --words "<what the page is>" [--
|
|
20
|
+
// | --new-page <folder> --words "<what the page is>" [--merge once_ready|window|by_hand] → start_suggestion
|
|
21
21
|
|
|
22
22
|
import { writeFileSync } from "node:fs";
|
|
23
23
|
|
|
@@ -229,7 +229,9 @@ const ARGS = {
|
|
|
229
229
|
return folder ? { folder: String(folder), words: String(words ?? "") } : undefined;
|
|
230
230
|
},
|
|
231
231
|
},
|
|
232
|
-
// --
|
|
232
|
+
// --merge once_ready | window | by_hand: Build's merge box; --auto-merge / --keep-open, its older two-way form.
|
|
233
|
+
// Left out, the organization's default.
|
|
234
|
+
merge: { flag: "merge", enum: ["once_ready", "window", "by_hand"] },
|
|
233
235
|
auto_merge: { flag: "auto-merge", type: "bool", negate: "keep-open" },
|
|
234
236
|
},
|
|
235
237
|
fix_site_observations: {
|