Aspirerelease/17.0

aspire template source list command

Este conteúdo não está disponível em sua língua ainda.

aspire template source list - List named template sources without discovering templates.

Aspire CLI
aspire template source list [options]

The aspire template source list command lists the template sources in global Aspire configuration, sorted by name. It reads only configuration: it doesn’t contact repositories or discover templates. Incomplete source definitions are included so that you can inspect and fix them.

By default, the command shows a table with each source name and its configured fields. If no sources are configured, the command says so and suggests aspire template source add.

The following options are available:

  • --format <Json|Table>

    The output format. The default is Table. Json writes an object keyed by source name to standard output, preserving the configured fields without adding defaults.

  • -?, -h, --help

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

  • -l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>

    Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.

  • --non-interactive

    Run the command in non-interactive mode, disabling all interactive prompts and spinners.

  • --nologo

    Suppress the startup banner and telemetry notice.

  • --banner

    Display the animated Aspire CLI welcome banner.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

  • List template sources as a table:

    Aspire CLI
    aspire template source list
  • List template sources as JSON:

    Aspire CLI
    aspire template source list --format Json