Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth stores bot tokens out of plaintext.
|
Package auth stores bot tokens out of plaintext. |
|
Package config resolves slackctl configuration with a manual flag > env > file > default precedence (no Viper, per the cliwright house pattern).
|
Package config resolves slackctl configuration with a manual flag > env > file > default precedence (no Viper, per the cliwright house pattern). |
|
Package output renders Bot API JSON results in table/json/yaml/csv.
|
Package output renders Bot API JSON results in table/json/yaml/csv. |
|
Package rtm is a hand-written client for Slack's legacy Real Time Messaging API — the WebSocket stream that works with a user/session token (xoxc+xoxd), the credential a browser web-client session already has.
|
Package rtm is a hand-written client for Slack's legacy Real Time Messaging API — the WebSocket stream that works with a user/session token (xoxc+xoxd), the credential a browser web-client session already has. |
|
Package slackevent holds the event shape shared by both streaming transports — Socket Mode (app token) and RTM (session/user token).
|
Package slackevent holds the event shape shared by both streaming transports — Socket Mode (app token) and RTM (session/user token). |
|
Package socketmode is a hand-written Slack Socket Mode client (no Slack SDK): it fetches a fresh wss URL from apps.connections.open (app-level xapp token), reads envelopes, acknowledges each within Slack's 3-second window BEFORE handing it to the caller, and reconnects on disconnect frames and socket errors.
|
Package socketmode is a hand-written Slack Socket Mode client (no Slack SDK): it fetches a fresh wss URL from apps.connections.open (app-level xapp token), reads envelopes, acknowledges each within Slack's 3-second window BEFORE handing it to the caller, and reconnects on disconnect frames and socket errors. |
|
Package store is slackctl's local message history: messages you post, read (history/ replies/export), or stream (listen) are recorded to a per-workspace SQLite database, so you can full-text search your Slack history locally — instantly, offline, and without hitting Slack's user-token-only, rate-limited search API.
|
Package store is slackctl's local message history: messages you post, read (history/ replies/export), or stream (listen) are recorded to a per-workspace SQLite database, so you can full-text search your Slack history locally — instantly, offline, and without hitting Slack's user-token-only, rate-limited search API. |
|
Package update self-updates the CLI binary from its GitHub releases.
|
Package update self-updates the CLI binary from its GitHub releases. |
|
Package version holds build metadata, injected at link time via -ldflags.
|
Package version holds build metadata, injected at link time via -ldflags. |
Click to show internal directories.
Click to hide internal directories.