@letterstory/cli 0.177.36 → 0.177.37

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
@@ -88,7 +88,7 @@ import {
88
88
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
89
89
 
90
90
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
91
- export const VERSION = "0.177.36";
91
+ export const VERSION = "0.177.37";
92
92
 
93
93
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
94
94
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -5,7 +5,7 @@
5
5
  //
6
6
  // letterstory vary list [--status running]
7
7
  // letterstory vary create --page https://acme.com/pricing [--name "Pricing headline"] [--goals-file goals.json]
8
- // letterstory vary launch [--brief "Test the hero button"] [--page https://acme.com/] [--name <n>]
8
+ // letterstory vary launch [--brief "Test the hero button"] [--page https://acme.com/] [--name <n>] [--draft]
9
9
  // made, given a challenger Letter writes from the page, and started (Ideas' A/B test row)
10
10
  // letterstory vary get <id>
11
11
  // letterstory vary page <id> the page's blocks, as a change's tag/before/occurrence
@@ -84,6 +84,8 @@ export const ARGS = {
84
84
  page_url: "page",
85
85
  site_id: "site",
86
86
  name: "name",
87
+ // --draft: make the test and its challenger, leave it for a person to start (start false).
88
+ start: { flag: "start", type: "bool", negate: "draft" },
87
89
  },
88
90
  ship_variational_winner: {
89
91
  variational_id: variationalId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.36",
3
+ "version": "0.177.37",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",