The Slack CLI contract implementation for Bolt Python
Maintained. Last release 10 months ago, commits in 17 of the last 26 weeks. Weaker on release cadence.
pip install slack-cli-hooksREADME as published on PyPI with version 0.3.0.
Python Slack Hooks
This library defines the contract between the Slack CLI and Bolt for Python.
Overview
This library enables inter-process communication between the Slack CLI and applications built with Bolt for Python.
When used together, the CLI delegates various tasks to the Bolt application by invoking processes ("hooks") and then making use of the responses provided by each hook's stdout.
For a complete list of available hooks, read the Supported Hooks section.
Requirements
The latest minor version of Bolt v1 is recommended.
Usage
A Slack CLI-compatible Slack application includes a ./slack.json file that contains hooks specific to that project. Each hook is associated with commands that are available in the Slack CLI. By default, get-hooks retrieves all of the supported hooks and their corresponding scripts as defined in this library.