@devflow-one/cli 0.1.14 → 0.1.15
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/README.md +1 -0
- package/package.json +1 -1
- package/src/commands.js +6 -0
package/README.md
CHANGED
|
@@ -215,6 +215,7 @@ devflow mr fix-prompt 42 # issue key inferred from the branch
|
|
|
215
215
|
|
|
216
216
|
# notify the project's configured Slack channel(s)
|
|
217
217
|
devflow slack notify "Review fixes ready on {pr}" --values '{"pr":"#42"}' --project ABC
|
|
218
|
+
devflow slack channels --project ABC # configured channels (read-only, no credentials)
|
|
218
219
|
|
|
219
220
|
# force a specific profile when a key is ambiguous
|
|
220
221
|
devflow mr ready 12 --profile prof-1
|
package/package.json
CHANGED
package/src/commands.js
CHANGED
|
@@ -433,6 +433,12 @@ const COMMANDS = {
|
|
|
433
433
|
return [message, channel, values];
|
|
434
434
|
},
|
|
435
435
|
},
|
|
436
|
+
"slack channels": {
|
|
437
|
+
method: "POST",
|
|
438
|
+
action: "listSlackChannels",
|
|
439
|
+
usage: "slack channels [--issue KEY] [--project KEY] (configured channels; read-only)",
|
|
440
|
+
buildArgs: () => [],
|
|
441
|
+
},
|
|
436
442
|
};
|
|
437
443
|
|
|
438
444
|
/**
|