# aspire docs get command

## Name

`aspire docs get` - Get the full content of a documentation page by its slug.

## Synopsis

```bash title="Aspire CLI"
aspire docs get <slug> [options]
```

<AsciinemaPlayer
  src="/casts/aspire-docs-get.cast"
  poster="npt:0:01"
  rows={24}
  loop={false}
  speed={.5}
/>

## Description

The `aspire docs get` command retrieves and displays the full content of a specific documentation page from [aspire.dev](https://aspire.dev). Use the [`aspire docs list`](../aspire-docs-list/) command to browse available pages, or the [`aspire docs search`](../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

- **`<slug>`**

  The slug of the documentation page to retrieve. For example, `redis-integration` or `getting-started`. Use the [`aspire docs list`](../aspire-docs-list/) or [`aspire docs search`](../aspire-docs-search/) commands to discover available slugs.

## 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 `Table` for a human-readable table or `Json` for machine-readable JSON output. Defaults to `Table`.

- <Include relativePath="reference/cli/includes/option-help.md" />

- <Include relativePath="reference/cli/includes/option-log-level.md" />

- <Include relativePath="reference/cli/includes/option-non-interactive.md" />

- <Include relativePath="reference/cli/includes/option-nologo.md" />

- <Include relativePath="reference/cli/includes/option-banner.md" />

- <Include relativePath="reference/cli/includes/option-wait.md" />

## Examples

- Get the full content of the Redis integration page:

  ```bash title="Aspire CLI"
  aspire docs get redis-integration
  ```

- Get only a specific section from a documentation page:

  ```bash title="Aspire CLI"
  aspire docs get redis-integration --section "Add Redis resource"
  ```

- Get page content in JSON format:

  ```bash title="Aspire CLI"
  aspire docs get getting-started --format Json
  ```

## See also

- [aspire docs command](../aspire-docs/)
- [aspire docs list command](../aspire-docs-list/)
- [aspire docs search command](../aspire-docs-search/)