aspire docs get command
aspire docs get - Get the full content of a documentation page by its slug.
Synopsis
Section titled “Synopsis”aspire docs get <slug> [options]Description
Section titled “Description”The aspire docs get command retrieves and displays the full content of a specific documentation page from aspire.dev. Use the aspire docs list command to browse available pages, or the aspire docs search command to find relevant content by keyword.
You can optionally filter the output to a specific section of the page by providing a section heading with the --section option.
Arguments
Section titled “Arguments”-
<slug>The slug of the documentation page to retrieve. For example,
redis-integrationorgetting-started. Use theaspire docs listoraspire docs searchcommands to discover available slugs.
Options
Section titled “Options”The following options are available:
-
--section <section>Return only the specified section of the page. Provide the section heading to filter the output to that section and its content.
-
--format <Table|Json>Output format. Choose
Tablefor a human-readable table orJsonfor machine-readable JSON output. Defaults toTable. -
-?, -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”-
Get the full content of the Redis integration page:
Aspire CLI aspire docs get redis-integration -
Get only a specific section from a documentation page:
Aspire CLI aspire docs get redis-integration --section "Add Redis resource" -
Get page content in JSON format:
Aspire CLI aspire docs get getting-started --format Json