CommandLineApplication Class

Definition

public ref class CommandLineApplication
public class CommandLineApplication
type CommandLineApplication = class
Public Class CommandLineApplication
Inheritance
CommandLineApplication

Constructors

CommandLineApplication(Boolean)

Fields

Arguments
Commands
Options
RemainingArguments

Properties

AllowArgumentSeparator
Description
Error
ExtendedHelpText
FullName
Invoke
IsShowingInformation
LongVersionGetter
Name
OptionHelp
OptionVersion
Out
Parent
ShortVersionGetter
ShowInHelpText
Syntax

Methods

Argument(String, String, Action<CommandArgument>, Boolean)
Argument(String, String, Boolean)
Command(String, Action<CommandLineApplication>, Boolean)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute(String[])
GetFullNameAndVersion()
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHelpText(String)
GetOptions()
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HelpOption(String)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnExecute(Func<Int32>)
OnExecute(Func<Task<Int32>>)
Option(String, String, CommandOptionType)
Option(String, String, CommandOptionType, Action<CommandOption>)
Option(String, String, CommandOptionType, Action<CommandOption>, Boolean)
Option(String, String, CommandOptionType, Boolean)
ShowHelp(String)
ShowHint()
ShowRootCommandFullNameAndVersion()
ShowVersion()
ToString()

Returns a string that represents the current object.

(Inherited from Object)
VersionOption(String, Func<String>, Func<String>)
VersionOption(String, String, String)

Applies to