System.CommandLine Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
Argument |
A symbol defining a value that can be passed on the command line to a command or option. |
Argument<T> |
A symbol defining a value that can be passed on the command line to a command or option. |
ArgumentExtensions |
Provides extension methods for Argument. |
Command |
Represents a specific action that the application performs. |
CommandExtensions |
Provides extension methods for Command. |
CommandLineConfiguration |
Represents the configuration used by the Parser. |
CommandLineConfigurationException |
Indicates that a command line configuration is invalid. |
CompletionSourceExtensions |
Provides extension methods for working with completion sources. |
CompletionSourceList |
A list of completion sources to be used when providing completions for completion. |
ConsoleExtensions |
Provides extension methods for IConsole. |
DirectiveCollection |
A collection of directives parsed from a command line. |
Handler |
Provides methods for creating and working with command handlers. |
IdentifierSymbol |
A symbol, such as an option or command, having one or more fixed names in a command line interface. |
LocalizationResources |
Provides localizable strings for help and error messages. |
Option |
A symbol defining a named parameter and a value for that parameter. |
Option<T> |
A symbol defining a named parameter and a value for that parameter. |
OptionExtensions |
Provides extension methods for Option. |
RootCommand |
Represents the main action that the application performs. |
Symbol |
Defines a named symbol that resides in a hierarchy with parent and child symbols. |
Structs
ArgumentArity |
Defines the arity of an option or argument. |
Interfaces
IConsole |
Represents the standard console input, output, and error streams. |
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기