@letterstory/cli 0.175.23 → 0.175.24
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 +3 -1
- package/lib/commands/collection.mjs +1 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
81
81
|
|
|
82
82
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
83
|
-
export const VERSION = "0.175.
|
|
83
|
+
export const VERSION = "0.175.24";
|
|
84
84
|
|
|
85
85
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
86
86
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -283,6 +283,8 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
283
283
|
"resume",
|
|
284
284
|
// `collection add "<headline>" --collection <id> --queue`.
|
|
285
285
|
"queue",
|
|
286
|
+
// `collection add ... --queue --own`: a draft you write yourself.
|
|
287
|
+
"own",
|
|
286
288
|
// Bool flags from command ARGS maps that were missing here.
|
|
287
289
|
"apply-rules",
|
|
288
290
|
"async",
|
|
@@ -96,6 +96,7 @@ export const ARGS = {
|
|
|
96
96
|
headline: { positional: 0, label: "headline", required: true },
|
|
97
97
|
context: { flag: "notes" },
|
|
98
98
|
queue: { flag: "queue", type: "bool" },
|
|
99
|
+
own: { flag: "own", type: "bool" },
|
|
99
100
|
},
|
|
100
101
|
update_suggestion: {
|
|
101
102
|
suggestion_id: { positional: 0, label: "suggestion-id", required: true },
|