struct Oid::Cli::Generator::Flags
- Oid::Cli::Generator::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
oid/cli/generator.cr:6oid/cli/generator.cr:15
oid/cli/generator.cr:19
oid/cli/generator.cr:23
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "gfx_backend" => {kind: "nil", type: "String", default: "\"raylib\"", description: {"--gfx-backend, -g (default: \"raylib\")", "The GFX backend to use [raylib]"}, short: "g", long: "gfx-backend", is_required: true}, "template_path" => {kind: "nil", type: "String", default: "\"./templates\"", description: {"--template-path, -t (default: \"./templates\")", "Path to Oid templates"}, short: "t", long: "template-path", is_required: true}, "camera" => {kind: "nil", type: "String", default: "\"2d\"", description: {"--camera (default: \"2d\")", "Type of game camera [2d|3d]"}, short: "nil", long: "camera", is_required: true}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)