Module: Kontena::Cli::GridOptions

Included in:
Certificate::AuthorizeCommand, Certificate::DomainAuthorization::ListCommand, Certificate::DomainAuthorization::RemoveAuthorizationCommand, Certificate::ExportCommand, Certificate::GetCommand, Certificate::ImportCommand, Certificate::ListCommand, Certificate::RegisterCommand, Certificate::RemoveCommand, Certificate::RequestCommand, Certificate::ShowCommand, Containers::ExecCommand, Containers::InspectCommand, Containers::ListCommand, Containers::LogsCommand, Etcd::GetCommand, Etcd::HealthCommand, Etcd::ListCommand, Etcd::MkdirCommand, Etcd::RemoveCommand, Etcd::SetCommand, ExternalRegistries::AddCommand, ExternalRegistries::ListCommand, Kontena::Cli::Grids::TrustedSubnets::AddCommand, Kontena::Cli::Grids::TrustedSubnets::ListCommand, Kontena::Cli::Grids::TrustedSubnets::RemoveCommand, Kontena::Cli::Grids::Users::AddCommand, Kontena::Cli::Grids::Users::ListCommand, Kontena::Cli::Grids::Users::RemoveCommand, Nodes::CreateCommand, Nodes::EnvCommand, Nodes::HealthCommand, Nodes::ListCommand, Nodes::RemoveCommand, Nodes::ResetTokenCommand, Nodes::ShowCommand, Nodes::SshCommand, Nodes::UpdateCommand, Registry::CreateCommand, Services::ContainersCommand, Services::CreateCommand, Services::DeployCommand, Services::Envs::AddCommand, Services::Envs::ListCommand, Services::Envs::RemoveCommand, Services::EventsCommand, Services::ExecCommand, 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::EventsCommand, Stacks::InspectCommand, Stacks::InstallCommand, Stacks::Labels::AddCommand, Stacks::Labels::ListCommand, Stacks::Labels::RemoveCommand, Stacks::ListCommand, Stacks::LogsCommand, Stacks::MonitorCommand, Stacks::RemoveCommand, Stacks::RestartCommand, Stacks::ShowCommand, Stacks::StopCommand, Stacks::UpgradeCommand, Stacks::ValidateCommand, Vault::ExportCommand, Vault::ImportCommand, Vault::ListCommand, Vault::ReadCommand, Vault::RemoveCommand, Vault::UpdateCommand, Vault::WriteCommand, Volumes::CreateCommand, Volumes::ListCommand, Volumes::RemoveCommand, Volumes::ShowCommand, 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