Перейти к содержимому

aspire command

Это содержимое пока не доступно на вашем языке.

aspire - The generic driver for the Aspire CLI.

To get information about the available commands and the environment:

Aspire CLI
aspire [command] [options]

The aspire command provides commands for working with Aspire projects. For example, aspire run runs your Aspire AppHost.

The following options are available when aspire is used by itself, without specifying a command. For example, aspire --version.

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • --version

    Prints the version of the Aspire CLI tool.

  • -d, --debug

    Enable debug logging to the console, which prints detailed information about what Aspire CLI is doing when a command is run.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

The following commands are available:

CommandStatusFunction
aspire addStableAdd an integration to the Aspire project.
aspire cacheStableManage disk cache for CLI operations.
aspire configStableConfigures the Aspire environment.
aspire deployPreviewDeploys the artifacts created by aspire publish.
aspire doPreviewExecute a specific pipeline step and its dependencies.
aspire execPreviewSimilar to the aspire run command, but passes commands to the apphost.
aspire initStableInitialize Aspire support in an existing solution or create a single-file AppHost.
aspire newStableCreate an Aspire sample project from a template.
aspire publishPreviewGenerates deployment artifacts for an Aspire apphost project.
aspire runStableRun an Aspire apphost for local development.
aspire updatePreviewUpdate Aspire packages and templates in your project.
  • Create an Aspire solution from the template:

    Aspire CLI
    aspire new aspire-starter
  • Run an Aspire AppHost:

    Aspire CLI
    aspire run
Вопросы & ответыСотрудничатьСообществоОбсуждатьСмотреть