class Swm::AddCluster

Included Modules

Defined in:

commands/cluster/add_cluster.cr

Constant Summary

HELP = {"description" => ""}

Class Method Summary

Instance Method Summary

Instance methods inherited from module Swm::SwmCommand

cluster : Cluster cluster, cluster_id : String cluster_id, docker_client docker_client, docker_host : String docker_host, info(message) info, synopsis(e) synopsis

Macros inherited from module Swm::SwmCommand

rescue_from_errors rescue_from_errors

Class Method Detail

def self.description #

[View source]
def self.run(*args, **params) #

[View source]

Instance Method Detail

def __rescue_from___Admiral__Error(e) #

def arguments #
Description copied from class Admiral::Command

Returns the commands Arguments object.

You can access names arguments by name. You can also access the remaning arguments using .arguments[index].


[View source]
def flags #
Description copied from class Admiral::Command

Returns the commands Flags object.

You can access names flags by name.


[View source]
def help #

def run #
Description copied from class Admiral::Command

The run command.


[View source]
def sub(command, *args, **params) #
Description copied from class Admiral::Command

Invokes a sub command by name, passing self as the parent.


[View source]