aspire docs search command
aspire docs search - Search Aspire documentation by keywords.
Synopsis
Section titled “Synopsis”aspire docs search <query> [options]Description
Section titled “Description”The aspire docs search command performs a keyword-based search across the Aspire documentation on aspire.dev. Results are ranked by relevance and include the page title, slug, matching section, and a relevance score.
The slugs returned in search results can be passed to the aspire docs get command to retrieve the full content of a matching page.
Arguments
Section titled “Arguments”-
<query>The search query. Use keywords to describe what you’re looking for. For best results, include relevant terms such as API names, configuration keys, or feature names.
Options
Section titled “Options”The following options are available:
-
--format <Table|Json>Output format. Choose
Tablefor a human-readable table orJsonfor machine-readable JSON output. Defaults toTable. -
-n, --limit <limit>Maximum number of search results to return. Defaults to
5, with a maximum of10. -
-?, -h, --helpPrints help and usage documentation for the available commands and options.
-
-d, --debugEnable debug logging to the console, which prints detailed information about what Aspire CLI is doing when a command is run.
-
--non-interactiveRun the command in non-interactive mode, disabling all interactive prompts and spinners.
-
--wait-for-debuggerWait for a debugger to attach before running a command.
Examples
Section titled “Examples”-
Search for documentation about Redis:
Aspire CLI aspire docs search "redis" -
Search with a custom result limit:
Aspire CLI aspire docs search "service defaults" --limit 3 -
Search and output results in JSON format:
Aspire CLI aspire docs search "deployment" --format Json