@letterstory/cli 0.177.76 → 0.177.77
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 +4 -3
- 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.77";
|
|
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;
|
package/lib/commands/repo.mjs
CHANGED
|
@@ -200,7 +200,8 @@ const ARGS = {
|
|
|
200
200
|
},
|
|
201
201
|
get_repo_change_settings: {},
|
|
202
202
|
list_suggested_fixes: {},
|
|
203
|
-
|
|
203
|
+
// --query gtm: only the channels named like it (a big workspace's whole list is long).
|
|
204
|
+
list_slack_fix_targets: { query: "query" },
|
|
204
205
|
send_slack_test_message: {},
|
|
205
206
|
set_repo_change_settings: {
|
|
206
207
|
default_action: { flag: "action", enum: ["build", "build_pr", "build_merge", "slack", "linear"] },
|
|
@@ -1006,8 +1007,8 @@ async function repoSuggestions(ctx) {
|
|
|
1006
1007
|
/** `repo slack-targets`: the channels and people Send to Slack can use, with their ids. */
|
|
1007
1008
|
async function repoSlackTargets(ctx) {
|
|
1008
1009
|
const { client, flags, io } = ctx;
|
|
1009
|
-
refuseUnknownFlags(ctx,
|
|
1010
|
-
const result = await client.callTool("list_slack_fix_targets",
|
|
1010
|
+
refuseUnknownFlags(ctx, ARGS.list_slack_fix_targets, []);
|
|
1011
|
+
const result = await client.callTool("list_slack_fix_targets", argsFromFlags(ARGS.list_slack_fix_targets, flags));
|
|
1011
1012
|
printResult(io, flags, result, (r) =>
|
|
1012
1013
|
[
|
|
1013
1014
|
"Channels (repo settings --slack-channel <id>):",
|