aspire docs api get command
Bu içerik henüz dilinizde mevcut değil.
aspire docs api get - Get the full content of an API reference entry by identifier.
Synopsis
Section titled “Synopsis”aspire docs api get <id> [options]Description
Section titled “Description”The aspire docs api get command retrieves and displays the full API reference content for a specific entry from aspire.dev. The content is rendered as Markdown in the terminal.
Use the aspire docs api list command to browse available scopes and discover identifiers, or use the aspire docs api search command to find identifiers by keyword.
Arguments
Section titled “Arguments”-
<id>The identifier of the API reference entry to retrieve. Identifiers are path-based strings derived from the API route structure on
aspire.dev, for examplecsharp/aspire.hosting/iresourcebuilderortypescript/aspire.hosting/addredis.Use
aspire docs api listoraspire docs api searchto discover valid identifiers.
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”-
Get the API reference for a C# package:
Aspire CLI aspire docs api get csharp/aspire.hosting -
Get the API reference for a specific C# type:
Aspire CLI aspire docs api get csharp/aspire.hosting/iresourcebuilder -
Get the API reference for a TypeScript module symbol:
Aspire CLI aspire docs api get typescript/aspire.hosting/addredis -
Get API content in JSON format:
Aspire CLI aspire docs api get csharp/aspire.hosting/iresourcebuilder --format Json