struct Swm::AddCluster::Arguments

Included Modules

Defined in:

commands/cluster/add_cluster.cr:5
commands/cluster/add_cluster.cr:11
commands/cluster/add_cluster.cr:14

Constant Summary

SPECS = {"name" => {type: "String", description: {"name (required)", "name for the cluster"}, default: "nil", is_required: true}, "ssh_host" => {type: "String", description: {"ssh_host (required)", "node to fetch information from (user@host)"}, default: "nil", is_required: true}} of String => NamedTuple(type: String, description: Tuple(String, String | ::Nil), default: String, is_required: Bool)

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def [](*args, **options) #

def [](*args, **options, &) #

def each(*args, **options) #

def each(*args, **options, &) #

def exists?(name : Symbol) #

def get(name : Symbol) #

def get?(name : Symbol) #

def inspect(io) #

[View source]
def name : String #

[View source]
def ssh_host : String #

[View source]
def validate!(command : Admiral::Command) #

def value_from_spec(command : Admiral::Command, *, arg : String, type, default, is_required : Bool) #

[View source]