@letterstory/cli 0.177.154 → 0.177.155

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.154";
96
+ export const VERSION = "0.177.155";
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;
@@ -102,6 +102,7 @@ export const EXIT_PAYMENT_REQUIRED = 3;
102
102
  // can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
103
103
  // `negate` spelling) in a command's ARGS map must be listed; boolean-flags.test.ts enforces it.
104
104
  export const BOOLEAN_FLAGS = new Set([
105
+ "update",
105
106
  "include-tests",
106
107
  "as-test",
107
108
  "discover",
@@ -169,7 +169,13 @@ export const ARGS = {
169
169
  site_id: "site",
170
170
  source_id: { positional: 0, label: "source id", required: true },
171
171
  },
172
- visitors_open_transact_pr: { site_id: "site", host: "host", repo: "repo", base_branch: "base" },
172
+ visitors_open_transact_pr: {
173
+ site_id: "site",
174
+ host: "host",
175
+ repo: "repo",
176
+ base_branch: "base",
177
+ update: { flag: "update", type: "bool" },
178
+ },
173
179
  visitors_list_transact_asks: { site_id: "site", days, limit: { flag: "limit", type: "num" } },
174
180
  visitors_export: {
175
181
  site_id: "site",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.154",
3
+ "version": "0.177.155",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",