Caching channels
Fetching channels
Download all visible conversations (public channels, private channels, MPIMs, and DMs) to the local cache:
The command prints a summary to stderr:
Running it again updates existing records without duplication.
Pass a channel id (or a cached name) to fetch just that channel with a single
conversations.info call:
Showing cached channels
Display all cached channels in human-readable format:
Output shows channel ID, name, and visibility (public/private).
Display as JSON:
Channels are auto-fetched if the cache is empty (unless --no-fetch is given).
Showing a single channel
Pass a channel id (or a cached name) to show just that channel:
When the channel is not cached, it is fetched from Slack with a single
conversations.info call (unless --no-fetch is given). An unknown channel
exits non-zero with an error.