deno-slack-sdk
deno-slack-sdk copied to clipboard
[BUG] slack cli --app flag ignored
The deno-slack versions
"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",
Deno runtime version
deno 2.1.9 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
OS info
ProductName: macOS
ProductVersion: 15.2
BuildVersion: 24C101
Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030
Describe the bug
The slack cli --app or -a flags appear to be being ignored.
Steps to reproduce
Create a new trigger using the command line, with the app id specified in the flag, e.g.:
slack trigger create --app "A08FJ123CP2" --trigger-def "./triggers/standbot_tag.ts"
or
slack trigger create -a "A08FJ123CP2" --trigger-def "./triggers/standbot_tag.ts"
I've also tried all the variants I can think of, including adjusting quotes, order of flags, and also specifying the workspace id.
Expected result
Trigger should be created on the app specified without further interaction.
Actual result
slack cli always prompts to select the app:
% slack trigger create --app "A08FJ123CP2" --trigger-def "./triggers/standbot_tag.ts"
? Select an app
❱ A08FJ123CP2 standearth T46QY88RM
Create a new app
Thanks. And if I'm missing something completely obvious here, my apologies!