getopt.net
A port of getopt in pure C#.
getopt.net Namespace Reference

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...
 
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...
 

Enumeration Type Documentation

◆ ArgumentType

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.

8 {
9
13 None,
14
19
24
25 }
@ None
No argument is required for the option.
@ Required
The option has a mandatory argument.
@ Optional
Arguments are optional for this argument.