class CLI::Parser::Result
- CLI::Parser::Result
- Reference
- Object
Overview
The result of a parsed value from the command line. This can be a normal argument, string argument, short flag, or long flag.
Defined in:
cli/parser.crConstructors
Instance Method Summary
- #kind : ResultKind
- #kind=(kind : ResultKind)
-
#parse_value : String
Returns the key form of the value for flag results, or
#value
for argument results. - #string? : Bool
- #value : String
- #value=(value : String)