@letterstory/cli 0.177.162 → 0.177.163
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 +4 -1
- package/lib/commands/repo.mjs +2 -0
- package/package.json +1 -1
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.
|
|
96
|
+
export const VERSION = "0.177.163";
|
|
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;
|
|
@@ -103,6 +103,9 @@ export const EXIT_PAYMENT_REQUIRED = 3;
|
|
|
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
105
|
"update",
|
|
106
|
+
// repo list: open changes past --limit are listed unless --newest-only.
|
|
107
|
+
"include-open",
|
|
108
|
+
"newest-only",
|
|
106
109
|
"include-tests",
|
|
107
110
|
"as-test",
|
|
108
111
|
"discover",
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -328,6 +328,8 @@ const ARGS = {
|
|
|
328
328
|
],
|
|
329
329
|
},
|
|
330
330
|
site_host: "site",
|
|
331
|
+
// Open changes past --limit are listed by default; --newest-only lists the newest --limit alone.
|
|
332
|
+
include_open: { flag: "include-open", type: "bool", negate: "newest-only" },
|
|
331
333
|
detail: { flag: "detail", enum: ["brief", "full"] },
|
|
332
334
|
},
|
|
333
335
|
list_github_app_repos: {},
|