struct BmiValues::Flags
- BmiValues::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
bmi-cli.cr:4bmi-cli.cr:6
bmi-cli.cr:12
bmi-cli.cr:16
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__help__" => {type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "name" => {type: "String", default: "nil", description: {"--name", "Just put in your first naem with no spaces."}, short: "nil", long: "name", is_required: false}, "height" => {type: "Float64", default: "6.2", description: {"--height (default: 6.2)", "This is your height in feet or meters."}, short: "nil", long: "height", is_required: true}, "weight" => {type: "Int32", default: "190", description: {"--weight (default: 190)", "This is your weight in pounds."}, short: "nil", long: "weight", is_required: true}} of String => NamedTuple(type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)