class Commander::Flag
- Commander::Flag
- Reference
- Object
Defined in:
commander/flag.crConstant Summary
-
FLOAT_PATTERN =
/^(\d+|\d+\.\d+)$/
-
INT_PATTERN =
/^\d+$/
-
LONG_PATTERN =
/^\-\-[a-zA-Z0-9-]+$/
-
SHORT_PATTERN =
/^\-[a-zA-Z0-9]$/
Constructors
Instance Method Summary
- #arg : String | Nil
- #default : Types
- #default=(default : Types)
- #description : String
- #description=(description : String)
- #long : String
- #long=(long : String)
- #name : String
- #name=(name : String)
- #persistent : Bool
- #persistent=(persistent : Bool)
- #short : String
- #short=(short : String)