Option

Represents an option.

Options hold any value as string (or array of strings). Options by default are optional, but can be marked as required.

Order in which options are passed does not matter.

Constructors

this
this(string name)

Creates new option.

this
this(string abbrev, string full, string description)

Creates new option.

Members

Functions

tag
typeof(this) tag(string tag)

Sets option value tag.

tag
string tag()

Option value tag.

Inherited Members

From IOption

full
typeof(this) full(string full)

Sets option full name (long-form).

full
string full()
long_
alias long_ = full

Option full name (long-form).

abbrev
typeof(this) abbrev(string abbrev)

Sets option abbrevation (short-form).

abbrev
string abbrev()
short_
alias short_ = abbrev

Sets option abbrevation (short-form).

Meta