Command reference
oko-cli context search-slack
Searches Slack’s API, Oko’s local cache, or both and returns deduplicated results.
Invocation
oko-cli context search-slack --query TEXT [--source api|cache|both] [--count N] [--cache PATH]Inputs and options
- Required nonempty --query (or positional query text).
- --source defaults to both; --count defaults to 10; --cache overrides the local cache path.
Output and state effect
- Prints JSON containing results and any source-level errors; no cache state is changed.
Refusals and safe exits
- Refuses --token, empty queries, and sources other than api/cache/both; credentials remain Skarbiec-only.