# CreateOptionProgramOpts

Option properties

# Hierarchy

# Properties

# Optional action

action? : Action

Action to call when a global-option is passed. Only available for global options, e.g. when global is set to true.


# Optional default

default? : ParsedOption

Inherited from CreateOptionCommandOpts.default

Default value for the Option


# Optional global

global? : undefined | false | true

Set to true for a global option.


# Optional hidden

hidden? : undefined | false | true

Inherited from CreateOptionCommandOpts.hidden

Hide the option from help


# Optional required

required? : undefined | false | true

Inherited from CreateOptionCommandOpts.required

Set the Option as itself required


# Optional validator

validator? : Validator

Inherited from CreateOptionCommandOpts.validator

Optional validator