class

Commander::Flag

Inherits Reference / Object

Constants

FLOAT_PATTERN = /^(\d+|\d+\.\d+)$/
INT_PATTERN = /^\d+$/
LONG_PATTERN = /^\-\-[a-zA-Z0-9-]+$/
SHORT_PATTERN = /^\-[a-zA-Z0-9]$/

Constructors

Instance methods

default
Source
default=(default : Types)
Source
description
Source
description=(description : String)
Source
long
Source
long=(long : String)
Source
name
Source
name=(name : String)
Source
persistent
Source
persistent=(persistent : Bool)
Source
short
Source
short=(short : String)
Source

Nested types