struct
Squarectl::CLI::Info::Compose::Flags
- Squarectl::CLI::Info::Compose::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
Constant Summary
-
DESCRIPTIONS =
{} of String => String -
SETTINGS =
{"allow_undefined_flags" => false} -
Per-class parser settings, populated at compile time by the DSL macros. Like
SPECS, this constant belongs to this command's nestedFlagsstruct only: sub-commands get their own and never inherit these values. -
SPECS =
{"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "config" => {kind: "nil", type: "String", default: "\"squarectl.yml\"", description: {"--config, -c (default: \"squarectl.yml\")", "Path to config file"}, short: "c", long: "config", 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)