@letterstory/cli 0.176.95 → 0.176.96

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
@@ -86,7 +86,7 @@ import {
86
86
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
87
87
 
88
88
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
89
- export const VERSION = "0.176.95";
89
+ export const VERSION = "0.176.96";
90
90
 
91
91
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
92
92
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -101,6 +101,8 @@ export const BOOLEAN_FLAGS = new Set([
101
101
  "advance",
102
102
  // build list: only what the Plan started.
103
103
  "from-plan",
104
+ // domains plan: scores only, no model call.
105
+ "no-write",
104
106
  // build: a website or app of its own (deploy create's path). deploy create: hold until its build starts.
105
107
  "new-site",
106
108
  "wait",
@@ -1971,10 +1973,10 @@ Domains (the domains you hold, and free ones that match what people search):
1971
1973
  Free .com/.org domains on what people search in your
1972
1974
  space (brainstormed, or the phrases given), ranked
1973
1975
  domains buy <domain> --dry-run | --yes The price and whose account pays; --yes buys it
1974
- domains plan <domain> [--phrase "<search>"] [--searches <n>]
1976
+ domains plan <domain> [--phrase "<search>"] [--searches <n>] [--version <version>] [--no-write]
1975
1977
  The most strategic site for the domain, every version
1976
1978
  scored, and whether it can launch; spends nothing
1977
- domains launch <domain> [--phrase …] [--searches …] [--words "<plan words>"] --yes
1979
+ domains launch <domain> [--phrase …] [--searches …] [--version <version>] [--words "<plan words>"] --yes
1978
1980
  Build and Launch Site: buys the domain if needed, builds
1979
1981
  the plan and puts it live
1980
1982
 
@@ -7,9 +7,10 @@
7
7
  // letterstory domains scan "nano banana pro" ["ai headshots" …] [--tld com,org,ai] [--expand none|searches|space]
8
8
  // letterstory domains buy nanobananaprofree.com --dry-run the price and whose account pays; buys nothing
9
9
  // letterstory domains buy nanobananaprofree.com --yes buys it (spends money; domains:write)
10
- // letterstory domains plan bestaidatalabs.com [--phrase "best ai data labs"] [--searches 880]
10
+ // letterstory domains plan bestaidatalabs.com [--phrase "best ai data labs"] [--searches 880] [--version comparison]
11
+ // [--no-write]
11
12
  // the most strategic site for it; spends nothing
12
- // letterstory domains launch bestaidatalabs.com [--phrase …] [--searches …] --yes
13
+ // letterstory domains launch bestaidatalabs.com [--phrase …] [--searches …] [--version …] --yes
13
14
  // Build and Launch Site: buys it if needed, builds the
14
15
  // plan and puts it live (spends money; domains:write)
15
16
 
@@ -42,11 +43,16 @@ export const ARGS = {
42
43
  domain: { value: (flags, positionals) => stripScheme(requirePositional(positionals, 0, "domain")) },
43
44
  phrase: { flag: "phrase" },
44
45
  monthly_searches: { flag: "searches", type: "num" },
46
+ // A version other than the top score (ranked_list, comparison, directory, free_tool, templates, guide).
47
+ version: { flag: "version" },
48
+ // The scores and whether it can launch, at once: the version's own plan, no model call.
49
+ write: { flag: "no-write", type: "bool", invert: true },
45
50
  },
46
51
  launch_domain_site: {
47
52
  domain: { value: (flags, positionals) => stripScheme(requirePositional(positionals, 0, "domain")) },
48
53
  phrase: { flag: "phrase" },
49
54
  monthly_searches: { flag: "searches", type: "num" },
55
+ version: { flag: "version" },
50
56
  // The words of a plan already read (`domains plan … --json`'s plan.words): that plan is built as it was.
51
57
  words: { flag: "words" },
52
58
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.176.95",
3
+ "version": "0.176.96",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",