From c38745c20034556244f5761153b0ffcd14ce33c2 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Thu, 16 Jul 2026 00:01:21 -0700 Subject: [PATCH] chore: add Slack CLI support Add the Slack CLI hooks config and the `slack-cli-hooks` dependency so this sample's documented `slack create` / `slack run` flow works, matching the other CLI-enabled Bolt samples. Co-Authored-By: Claude --- .slack/.gitignore | 2 ++ .slack/hooks.json | 5 +++++ requirements.txt | 1 + 3 files changed, 8 insertions(+) create mode 100644 .slack/.gitignore create mode 100644 .slack/hooks.json diff --git a/.slack/.gitignore b/.slack/.gitignore new file mode 100644 index 0000000..973ba60 --- /dev/null +++ b/.slack/.gitignore @@ -0,0 +1,2 @@ +apps.dev.json +cache/ diff --git a/.slack/hooks.json b/.slack/hooks.json new file mode 100644 index 0000000..ce474c9 --- /dev/null +++ b/.slack/hooks.json @@ -0,0 +1,5 @@ +{ + "hooks": { + "get-hooks": "python3 -m slack_cli_hooks.hooks.get_hooks" + } +} diff --git a/requirements.txt b/requirements.txt index ab036ad..e79c5ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ pytest==9.1.1 ruff==0.15.20 slack-bolt==1.29.0 +slack-cli-hooks==0.3.0