Namespace Pixie.Options

Classes

CommandLine

Defines the options accepted by a command-line program and parses argument lists into an OptionParseResult. Use this type when you want one place to describe your options, positional arguments, and common built-in behaviors such as --help and --version.

FlagOption

Describes a flag option: a Boolean option whose value is set by mentioning one of the option's forms. Flag options take no arguments.

GnuOptionPrinter

An option printer for GNU-style options.

GnuOptionSetParser

A parser for GNU-style option sets.

Option

Describes a command-line option.

OptionDocs

Represents documentation attached to an option.

OptionParameter

A base class for option parameter definitions. Option parameters are intended for use in option documentation. Their intent is to communicate how to use an option, not to formally define how arguments are parsed.

OptionParseResult

Represents the outcome of parsing a command line.

OptionParser

Describes a parser for a command-line option.

OptionPrinter

Defines a common interface for option printers: classes that print option forms and their parameters according to a particular scheme, for documentation purposes.

OptionSetParser

Defines a common interface for option set parsers.

OptionalOptionParameter

An option parameter that is optional: it may or may not be present.

SequenceOption

Helps build sequence options.

SequenceOption<T>

Describes a sequence option: an option that can take any number of arguments. Each argument is parsed identically and the result of the option is formatted as an IReadOnlyList<T>.

SymbolicOptionParameter

An option parameter that is a stand-in for some argument.

ValueOption

Helps build value options.

ValueOption<T>

Describes a value option: an option takes exactly one argument.

VerbatimOptionParameter

An option parameter that always takes the same value.

Structs

OptionForm

Defines a form for an option.

OptionSet

Represents a set of parsed options.

ParsedOption

Represents a parsed option.