struct Hetzner::K3s::CLI::Upgrade::Flags

Overview

Extend the flags struct to include the flag

Defined in:

hetzner-k3s.cr:47
hetzner-k3s.cr:50
hetzner-k3s.cr:56

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}, "new_k3s_version" => {kind: "nil", type: "String", default: "nil", description: {"--new-k3s-version (required)", "The new version of k3s to upgrade to"}, short: "nil", long: "new-k3s-version", 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)

Constructors

Instance Method Summary

Constructor Detail

def self.new(command : Admiral::Command) #

Instance Method Detail

def __help__ #

def configuration_file_path #

[View source]
def inspect(io) #

[View source]
def new_k3s_version #

[View source]
def validate!(command) #