@letterstory/cli 0.177.90 → 0.177.91
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 +2 -1
- package/lib/commands/usage.mjs +1 -0
- package/package.json +1 -1
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
|
+
export const VERSION = "0.177.91";
|
|
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;
|
|
@@ -102,6 +102,7 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
102
102
|
// visits transact add folder|page: leave it out of the set.
|
|
103
103
|
"uncheck",
|
|
104
104
|
"clear-choice",
|
|
105
|
+
"oauth",
|
|
105
106
|
"disconnect",
|
|
106
107
|
// models list: say whether each trained model's server is up now.
|
|
107
108
|
"serving",
|
package/lib/commands/usage.mjs
CHANGED
|
@@ -51,6 +51,7 @@ export const ARGS = {
|
|
|
51
51
|
project_ref: { flag: "project" },
|
|
52
52
|
host: { flag: "host" },
|
|
53
53
|
access_token: { flag: "key" },
|
|
54
|
+
use_oauth: { flag: "oauth", type: "bool" },
|
|
54
55
|
streams: {
|
|
55
56
|
value: (flags) => (flags.streams ? JSON.parse(readFileSync(String(flags.streams), "utf8")) : undefined),
|
|
56
57
|
},
|