@letterstory/cli 0.177.93 → 0.177.94

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
@@ -90,7 +90,7 @@ import {
90
90
  import { fetchParkedSections, withoutParked } from "./parked.mjs";
91
91
 
92
92
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
93
- export const VERSION = "0.177.93";
93
+ export const VERSION = "0.177.94";
94
94
 
95
95
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
96
96
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -494,6 +494,8 @@ export const BOOLEAN_FLAGS = new Set([
494
494
  "writes-posts",
495
495
  "no-writes-posts",
496
496
  "dry-run",
497
+ // usage database connect --existing: reuse the saved database connection.
498
+ "existing",
497
499
  // usage case-study generate --named: name the companies (counts only without it).
498
500
  "named",
499
501
  ]);
@@ -52,6 +52,7 @@ export const ARGS = {
52
52
  host: { flag: "host" },
53
53
  access_token: { flag: "key" },
54
54
  use_oauth: { flag: "oauth", type: "bool" },
55
+ use_existing: { flag: "existing", type: "bool" },
55
56
  streams: {
56
57
  value: (flags) => (flags.streams ? JSON.parse(readFileSync(String(flags.streams), "utf8")) : undefined),
57
58
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.177.93",
3
+ "version": "0.177.94",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",