aspire template source list command
aspire template source list - List named template sources without discovering templates.
Synopsis
Section titled “Synopsis”aspire template source list [options]Description
Section titled “Description”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.
Options
Section titled “Options”The following options are available:
-
--format <Json|Table>The output format. The default is
Table.Jsonwrites an object keyed by source name to standard output, preserving the configured fields without adding defaults. -
-?, -h, --helpPrints 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-interactiveRun the command in non-interactive mode, disabling all interactive prompts and spinners.
-
--nologoSuppress the startup banner and telemetry notice.
-
--bannerDisplay the animated Aspire CLI welcome banner.
-
--wait-for-debuggerWait for a debugger to attach before running a command.
Examples
Section titled “Examples”-
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