struct OIJ::CLI::GenerateInput::Flags
- OIJ::CLI::GenerateInput::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
oij.cr:224oij.cr:228
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help, -h", "Displays help for the current command."}, short: "h", long: "help", is_required: true}, "option" => {kind: "nil", type: "String", default: "nil", description: {"--option, -o", ""}, short: "o", long: "option", is_required: false}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)