@letterstory/cli 0.177.124 → 0.177.125

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
@@ -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.124";
96
+ export const VERSION = "0.177.125";
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;
@@ -2157,7 +2157,7 @@ Vary (A/B tests of a page's words and images on your own site):
2157
2157
 
2158
2158
  Deploy (websites and apps Letter builds from your words and hosts on their own domains):
2159
2159
  deploy [list] [--kind app|phantom|bench] Everything deployed: apps, phantoms (and benches, for staff)
2160
- deploy create "<what it is and who it is for>" [--name <n>] [--domain <d>] [--ref <visual-ref-id>] [--wait]
2160
+ deploy create "<what it is and who it is for>" [--name <n>] [--domain <d> | --preview] [--ref <visual-ref-id>] [--wait]
2161
2161
  Named, given a domain (bought under $30 unless you name one),
2162
2162
  built by Letterpress-1 with Visitors in it, and put live;
2163
2163
  --ref designs it after a Visual Ref (refs create)
@@ -35,6 +35,8 @@ export const ARGS = {
35
35
  wait: { flag: "wait", type: "bool" },
36
36
  // --no-spend: buy nothing; the domain is one you hold, or one registered elsewhere.
37
37
  no_spend: { flag: "no-spend", type: "bool" },
38
+ // --preview: build it on a preview address on Letter's own domain, nothing bought; a domain comes later.
39
+ preview: { flag: "preview", type: "bool" },
38
40
  },
39
41
  list_deployments: { kind: { flag: "kind", enum: ["app", "phantom", "bench"] } },
40
42
  get_deployment: { id: appId },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.124",
3
+ "version": "0.177.125",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",