getopt.net
A port of getopt in pure C#.
|
Classes | |
class | CommandOption |
Represents a single argument received via command-line options. More... | |
class | Extensions |
class | GetOpt |
GetOpt-like class for handling getopt-like command-line arguments in .net. More... | |
class | HelpTextConfig |
A class that contains configuration options for the help text generator. More... | |
struct | Option |
Represents a single long option for getopt. More... | |
class | ParseException |
Generic exception class that is thrown when the parser is not configured to ignore errors. More... | |
Enumerations | |
enum | ArgumentType { None , Required , Optional } |
Enumeration containing the argument types possible for getopt. More... | |
enum | OptStringPrefix { None , Plus = '+' , Minus = '-' } |
This enumeration contains different prefixes for the generation of shortopt strings. More... | |
enum | OptionConvention { GnuPosix , Windows , Powershell } |
An enumeration of option conventions. More... | |
Enumeration containing the argument types possible for getopt.
Enumerator | |
---|---|
None | No argument is required for the option. |
Required | The option has a mandatory argument. |
Optional | Arguments are optional for this argument. |
Definition at line 8 of file ArgumentType.cs.
An enumeration of option conventions.
Enumerator | |
---|---|
GnuPosix | The GNU/POSIX convention. |
Windows | The Windows convention. |
Powershell | The Powershell convention. |
Definition at line 94 of file HelpTextConfig.cs.
This enumeration contains different prefixes for the generation of shortopt strings.
Definition at line 11 of file Extensions.cs.