ws. Commands: Python ·
TypeScript.
- Python
- TypeScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up the Slack CLI with Python or TypeScript.
ws. Commands: Python ·
TypeScript.
from mirage.commands.cli.builtin.slack import SLACK
from mirage.core.slack.config import SlackConfig
config = SlackConfig(token="xoxb-...", search_token="xoxp-...")
ws.register_cli("slack", SLACK, config.model_dump())
import { SLACK } from '@struktoai/mirage-core'
const config = { token: 'xoxb-...', searchToken: 'xoxp-...' }
ws.registerCli('slack', SLACK, config)