Definition
Assembly: CloudNimble.DotNetDocs.Tools.dll Namespace: CloudNimble.DotNetDocs.Tools.Commands Inheritance: CloudNimble.DotNetDocs.Tools.Commands.Base.DocsCommandBaseSyntax
Summary
Represents the root command for the DotNetDocs command-line interface (CLI) application.Remarks
This command serves as the entry point for the DotNetDocs CLI and provides access to subcommands such as build and add. When invoked without a subcommand or with insufficient arguments, it displays help information describing available commands and usage.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
CloudNimble.DotNetDocs.Tools.Commands.Base.DocsCommandBaseSyntax
.ctor Inherited
Inherited from
objectSyntax
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetLatestSdkVersionAsync Inherited
Inherited from
CloudNimble.DotNetDocs.Tools.Commands.Base.DocsCommandBaseSyntax
Parameters
| Name | Type | Description |
|---|---|---|
includePrerelease | bool | Whether to include prerelease versions in the search. |
Returns
Type:System.Threading.Tasks.Task<string?>
The latest version string, or null if the query fails.
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
GetVersion Inherited
Inherited from
CloudNimble.DotNetDocs.Tools.Commands.Base.DocsCommandBaseSyntax
Returns
Type:string
The version string.
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
OnExecute
Displays the help information for the specified command-line application.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
app | McMaster.Extensions.CommandLineUtils.CommandLineApplication | The command-line application for which to display help information. Cannot be null. |
Returns
Type:int
Always returns 0 after displaying the help information.
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
WriteHeader Inherited
Inherited from
CloudNimble.DotNetDocs.Tools.Commands.Base.DocsCommandBase