Sha256: 4ddfd27f4850dc1d2d7336b634befb540af6851ce78a49bacbd15da28bb5976f

Contents?: true

Size: 1.51 KB

Versions: 8

Compression:

Stored size: 1.51 KB

Contents

require_relative 'nodes/list_command'
require_relative 'nodes/remove_command'
require_relative 'nodes/show_command'
require_relative 'nodes/update_command'
require_relative 'nodes/ssh_command'

require_relative 'nodes/label_command'

require_relative 'nodes/vagrant_command'
require_relative 'nodes/digital_ocean_command'
require_relative 'nodes/packet_command'
require_relative 'nodes/upcloud_command'
require_relative 'nodes/aws_command'
require_relative 'nodes/azure_command'

class Kontena::Cli::NodeCommand < Clamp::Command

  subcommand ["list","ls"], "List grid nodes", Kontena::Cli::Nodes::ListCommand
  subcommand "show", "Show node", Kontena::Cli::Nodes::ShowCommand
  subcommand "ssh", "Ssh into node", Kontena::Cli::Nodes::SshCommand
  subcommand "update", "Update node", Kontena::Cli::Nodes::UpdateCommand
  subcommand ["remove","rm"], "Remove node", Kontena::Cli::Nodes::RemoveCommand

  subcommand "label", "Node label specific commands", Kontena::Cli::Nodes::LabelCommand

  subcommand "vagrant", "Vagrant specific commands", Kontena::Cli::Nodes::VagrantCommand
  subcommand "digitalocean", "DigitalOcean specific commands", Kontena::Cli::Nodes::DigitalOceanCommand
  subcommand "packet", "Packet specific commands", Kontena::Cli::Nodes::PacketCommand
  subcommand "upcloud", "Upcloud specific commands", Kontena::Cli::Nodes::UpcloudCommand
  subcommand "aws", "AWS specific commands", Kontena::Cli::Nodes::AwsCommand
  subcommand "azure", "Azure specific commands", Kontena::Cli::Nodes::AzureCommand

  def execute
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kontena-cli-0.14.7 lib/kontena/cli/node_command.rb
kontena-cli-0.14.6 lib/kontena/cli/node_command.rb
kontena-cli-0.14.5 lib/kontena/cli/node_command.rb
kontena-cli-0.14.4 lib/kontena/cli/node_command.rb
kontena-cli-0.14.3 lib/kontena/cli/node_command.rb
kontena-cli-0.14.2 lib/kontena/cli/node_command.rb
kontena-cli-0.14.1 lib/kontena/cli/node_command.rb
kontena-cli-0.14.0 lib/kontena/cli/node_command.rb