@letterstory/cli 0.112.0 → 0.113.0
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 +1 -1
- package/lib/commands/repo.mjs +7 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./commands.mjs";
|
|
61
61
|
|
|
62
62
|
// Keep in sync with cli/package.json.
|
|
63
|
-
export const VERSION = "0.
|
|
63
|
+
export const VERSION = "0.113.0";
|
|
64
64
|
|
|
65
65
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
66
66
|
// can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -115,6 +115,13 @@ const ARGS = {
|
|
|
115
115
|
.map((c) => c.trim())
|
|
116
116
|
.filter(Boolean),
|
|
117
117
|
},
|
|
118
|
+
// --listen-all on|off: answer messages meant for Letter in every channel it's in
|
|
119
|
+
slack_listen_all: {
|
|
120
|
+
value: (flags) =>
|
|
121
|
+
flags["listen-all"] === undefined
|
|
122
|
+
? undefined
|
|
123
|
+
: ["on", "true", "1"].includes(String(flags["listen-all"])),
|
|
124
|
+
},
|
|
118
125
|
autopilot_channel: {
|
|
119
126
|
value: (flags) => (flags["autopilot-channel"] === "none" ? null : flagStr(flags["autopilot-channel"])),
|
|
120
127
|
},
|