@letterstory/cli 0.111.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 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.111.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
@@ -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
  },
@@ -136,6 +143,7 @@ const ARGS = {
136
143
  limit: { flag: "limit", type: "num" },
137
144
  audit_id: "audit",
138
145
  source_kind: { flag: "source", enum: ["site_audit_issue", "site_quick_check", "letterprove_install"] },
146
+ site_host: "site",
139
147
  },
140
148
  list_github_app_repos: {},
141
149
  list_repo_branches: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.111.0",
3
+ "version": "0.113.0",
4
4
  "description": "Spin up and manage Letterstory phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",