slack docs
Search and open Slack developer docs
Description
Search the Slack developer docs and print their pages from the terminal with the search and get subcommands, or open them in your browser
slack docs [flags]
Flags
-h, --help help for docs
Global flags
--accessible use accessible prompts for screen readers
-a, --app string use a specific app ID or environment
--config-dir string use a custom path for system config directory
-e, --experiment strings use the experiment(s) in the command
-f, --force ignore warnings and continue executing command
--no-color remove styles and formatting from outputs
-s, --skip-update skip checking for latest version of CLI
-w, --team string select workspace or organization by team name or ID
--token string set the access token associated with a team
(use - to read from standard input)
-v, --verbose print debug logging and additional info
Examples
# Open Slack developer docs homepage
$ slack docs
# Search Slack developer docs for Block Kit
$ slack docs search "Block Kit"
# Search docs and open results in browser
$ slack docs search "Block Kit" --output=browser
See also
- slack - Slack command-line tool
- slack docs get - Print a Slack developer docs page
- slack docs search - Search Slack developer docs