aspire docs api list command
このコンテンツはまだ日本語訳がありません。
aspire docs api list - Browse API reference entries under a given scope.
Synopsis
Section titled “Synopsis”aspire docs api list <scope> [options]Description
Section titled “Description”The aspire docs api list command lets you navigate the Aspire API reference catalog from aspire.dev in a scoped, hierarchical way. Rather than returning the entire catalog at once, list returns only the direct children of the provided scope.
Start with a language root (csharp or typescript) to see the top-level packages or modules, then progressively narrow the scope to explore types, member groups, and individual members.
Arguments
Section titled “Arguments”-
<scope>The scope to browse. Use a language root or a path-based identifier to navigate the API hierarchy.
C# scopes:
Scope Returns csharpTop-level C# packages csharp/<package>Types in the package csharp/<package>/<type>Member-group pages (for example, methods,properties,constructors)TypeScript scopes:
Scope Returns typescriptTop-level TypeScript modules typescript/<module>Direct symbols in the module typescript/<module>/<symbol>Members under the symbol If a scope has no children,
listreturns no results.
Options
Section titled “Options”The following options are available:
-
--format <Table|Json>Output format. Choose
Tablefor a human-readable table orJsonfor machine-readable JSON output. Defaults toTable. -
-?, -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 all top-level C# packages:
Aspire CLI aspire docs api list csharp -
List all types in a specific C# package:
Aspire CLI aspire docs api list csharp/aspire.hosting -
List member groups for a specific C# type:
Aspire CLI aspire docs api list csharp/aspire.hosting/idistributedapplicationbuilder -
List all top-level TypeScript modules:
Aspire CLI aspire docs api list typescript -
List symbols in a specific TypeScript module:
Aspire CLI aspire docs api list typescript/aspire.hosting -
List results in JSON format:
Aspire CLI aspire docs api list csharp --format Json