Command reference
oko-cli context refresh-slack
Refreshes Oko’s searchable local Slack context cache.
Invocation
oko-cli context refresh-slack [--full] [--channel-page-limit N] [--max-rows N] [--output PATH]Inputs and options
- --full rebuilds instead of incrementing; page/row limits bound collection; --output overrides the JSONL cache path.
Output and state effect
- Fetches channel/thread messages, deduplicates/prunes them, writes JSONL, and prints a JSON summary.
Refusals and safe exits
- Refuses --token and a missing exact oko-slack credential; top-level refresh/write failures exit unsuccessfully while per-channel failures are reported and skipped.