struct Main::Flags
- Main::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
main.cr:5main.cr:20
main.cr:25
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}, "verbose" => {kind: "bool", type: "Bool", default: "false", description: {"--verbose, -v", "Output the actual kubectl commands that are used to generate the kubeconfig file"}, short: "v", long: "verbose", is_required: true}, "dry_run" => {kind: "bool", type: "Bool", default: "false", description: {"--dry-run, -v", "Don't actually generate the kubeconfig file (also turns on verbose mode)"}, short: "v", long: "dry-run", 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)