Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ The command also removes skill files from any locations that were deselected, ke

The following options are available:

- **`--workspace-root`**

Path to the workspace root directory. When not specified, the current directory is used as the workspace root.

- **`--skill-locations`**

Comma-separated list of skill locations to configure (for example, `vscode,github`). Use `all` to configure all detected locations, or `none` to skip. When not specified, the command prompts interactively.

- **`--skills`**

Comma-separated list of skills to enable (for example, `mcp,cli`). Use `all` to enable all available skills, or `none` to skip. When not specified, the command prompts interactively.

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

- <Include relativePath="reference/cli/includes/option-log-level.md" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ The following options are available:

Channel to use for templates (`stable`, `staging`, `daily`).

- **`--suppress-agent-init`**

Suppress the prompt to initialize MCP server configuration for agent environments after project creation.

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

- <Include relativePath="reference/cli/includes/option-log-level.md" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import AsciinemaPlayer from '@components/AsciinemaPlayer.astro';

import Include from '@components/Include.astro';
import LearnMore from '@components/LearnMore.astro';
import { Aside } from '@astrojs/starlight/components';

## Name

Expand Down Expand Up @@ -37,13 +36,6 @@ The command performs the following:
- Validates package compatibility before applying changes
- Provides colorized output with detailed summary of changes

<Aside type="note">
The `aspire update` command requires an interactive terminal. The
`--non-interactive` flag is not currently supported for this command. In CI/CD
pipelines or other non-interactive environments, update Aspire packages
manually using `aspire add {package}` or equivalent tooling.
</Aside>

## Options

The following options are available:
Expand All @@ -58,6 +50,14 @@ The following options are available:

Channel to update to (`stable`, `staging`, `daily`).

- **`-y, --yes`**

Automatically confirm all prompts without user input. Use this option in CI/CD pipelines or other non-interactive environments to skip confirmation dialogs.

- **`--nuget-config-dir`**

Path to the directory containing the `NuGet.Config` file to use when searching for packages. When not specified, the command searches for a `NuGet.Config` file in the current directory and its parents.

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

- <Include relativePath="reference/cli/includes/option-log-level.md" />
Expand All @@ -83,3 +83,15 @@ The following options are available:
```bash title="Aspire CLI"
aspire update --apphost './projects/apphost/orchestration.AppHost.csproj'
```

- Update packages in a CI/CD pipeline without interactive prompts:

```bash title="Aspire CLI"
aspire update --yes --non-interactive
```

- Update packages using a specific NuGet configuration file:

```bash title="Aspire CLI"
aspire update --nuget-config-dir './config'
```