@letterstory/cli 0.177.185 → 0.177.186

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.185";
96
+ export const VERSION = "0.177.186";
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;
@@ -13,7 +13,7 @@
13
13
  // --host app.acme.com --schemas public --since … --until … Supabase or any Postgres
14
14
  // letterstory usage shown [--days 1-90] statistics shown to agents, what agents get, who read them
15
15
  // letterstory usage shown hide <choice_id> [--snapshot <snapshot_id>] withdraw the current website placement
16
- // letterstory usage shown pr [--repo <owner/name>] [--base <branch>] put them on the website: one build, one pull request
16
+ // letterstory usage shown pr [--snapshot <id>] [--repo <owner/name>] [--base <branch>] put them on the website: one build, one pull request
17
17
  // letterstory usage shown check [--url <page>] check a page serves them as the data says
18
18
  // letterstory usage case-study [--days 7|30|90] the patterns and the latest case study
19
19
  // letterstory usage case-study generate [--days] [--patterns a,b] [--named [--companies x.com,y.com]]
@@ -135,8 +135,12 @@ export const ARGS = {
135
135
  choice_id: { positional: 0, required: true, label: "choice_id" },
136
136
  shown: { value: (_flags, _positionals, extra) => extra.shown === true },
137
137
  },
138
- open_shown_statistics_pr: { repo: { flag: "repo" }, base_branch: { flag: "base" } },
139
- check_shown_statistics_on_site: { url: { flag: "url" } },
138
+ open_shown_statistics_pr: {
139
+ snapshot_id: { flag: "snapshot" },
140
+ repo: { flag: "repo" },
141
+ base_branch: { flag: "base" },
142
+ },
143
+ check_shown_statistics_on_site: { snapshot_id: { flag: "snapshot" }, url: { flag: "url" } },
140
144
  disconnect_usage_payments: {},
141
145
  get_usage_sources: { host: { flag: "host" }, site_id: { flag: "site" } },
142
146
  choose_product_repo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.185",
3
+ "version": "0.177.186",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",