struct
Hetzner::K3s::CLI::RunCmd::Flags
- Hetzner::K3s::CLI::RunCmd::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
hetzner-k3s.cr:102hetzner-k3s.cr:105
hetzner-k3s.cr:111
hetzner-k3s.cr:116
hetzner-k3s.cr:121
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}, "configuration_file_path" => {kind: "nil", type: "String", default: "nil", description: {"--config, -c (required)", "The path of the YAML configuration file"}, short: "c", long: "config", is_required: true}, "command" => {kind: "nil", type: "String", default: "nil", description: {"--command", "The command to execute on all nodes"}, short: "nil", long: "command", is_required: false}, "script" => {kind: "nil", type: "String", default: "nil", description: {"--script", "The path to the script file to execute on all nodes"}, short: "nil", long: "script", is_required: false}, "instance" => {kind: "nil", type: "String", default: "nil", description: {"--instance", "The instance name to run the command/script on (if not specified, runs on all instances)"}, short: "nil", long: "instance", 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)
Constructors
Instance Method Summary
- #__help__
- #command : String?
- #configuration_file_path
- #inspect(io)
- #instance : String?
- #script : String?
- #validate!(command)