aspire docs search command
Name
aspire docs search - Search Aspire documentation by keywords.
Synopsis
aspire docs search [options]
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
<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
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.-
-
-
-
-
Examples
-
-
-
-
Search for documentation about Redis:
aspire docs search "redis"Search with a custom result limit:
aspire docs search "service defaults" --limit 3Search and output results in JSON format:
aspire docs search "deployment" --format Json