Module: Kontena::Cli::GridOptions

Included in:
Apps::DeployCommand, Apps::ListCommand, Apps::LogsCommand, Apps::MonitorCommand, Apps::RemoveCommand, Apps::ScaleCommand, Apps::ShowCommand, Apps::StartCommand, Apps::StopCommand, Certificate::AuthorizeCommand, Certificate::GetCommand, Certificate::RegisterCommand, Containers::ExecCommand, Containers::InspectCommand, Containers::ListCommand, Containers::LogsCommand, Etcd::GetCommand, Etcd::ListCommand, Etcd::MkdirCommand, Etcd::RemoveCommand, Etcd::SetCommand, ExternalRegistries::AddCommand, ExternalRegistries::DeleteCommand, ExternalRegistries::ListCommand, Kontena::Cli::Grids::Users::AddCommand, Kontena::Cli::Grids::Users::RemoveCommand, Nodes::ListCommand, Nodes::RemoveCommand, Nodes::ShowCommand, Nodes::SshCommand, Nodes::UpdateCommand, Registry::CreateCommand, Services::ContainersCommand, Services::CreateCommand, Services::DeleteCommand, Services::DeployCommand, Services::Envs::AddCommand, Services::Envs::ListCommand, Services::Envs::RemoveCommand, Services::LinkCommand, Services::ListCommand, Services::LogsCommand, Services::MonitorCommand, Services::RestartCommand, Services::ScaleCommand, Services::Secrets::LinkCommand, Services::Secrets::UnlinkCommand, Services::ShowCommand, Services::StartCommand, Services::StatsCommand, Services::StopCommand, Services::UnlinkCommand, Services::UpdateCommand, Stacks::DeployCommand, Stacks::InstallCommand, Stacks::ListCommand, Stacks::LogsCommand, Stacks::MonitorCommand, Stacks::RemoveCommand, Stacks::ShowCommand, Stacks::UpgradeCommand, Vault::ListCommand, Vault::ReadCommand, Vault::RemoveCommand, Vault::WriteCommand, Vpn::ConfigCommand, Vpn::CreateCommand, Vpn::RemoveCommand
Defined in:
lib/kontena/cli/grid_options.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
# File 'lib/kontena/cli/grid_options.rb', line 5

def self.included(base)
  if base.respond_to?(:option)
    base.option '--grid', 'GRID', 'Specify grid to use'
  end
end