Sha256: 316dc25065ef281059a8aeec8a64caa4b833238edd9b48acf44bda623224299d

Contents?: true

Size: 801 Bytes

Versions: 6

Compression:

Stored size: 801 Bytes

Contents

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

require_relative 'nodes/vagrant_command'
require_relative 'nodes/digital_ocean_command'

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

  subcommand "list", "List grid nodes", Kontena::Cli::Nodes::ListCommand
  subcommand "show", "Show node", Kontena::Cli::Nodes::ShowCommand
  subcommand "update", "Update node", Kontena::Cli::Nodes::UpdateCommand
  subcommand "remove", "Remove node", Kontena::Cli::Nodes::RemoveCommand

  subcommand "vagrant", "Vagrant specific commands", Kontena::Cli::Nodes::VagrantCommand
  subcommand "digitalocean", "DigitalOcean specific commands", Kontena::Cli::Nodes::DigitalOceanCommand

  def execute
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kontena-cli-0.8.4 lib/kontena/cli/node_command.rb
kontena-cli-0.8.3 lib/kontena/cli/node_command.rb
kontena-cli-0.8.2 lib/kontena/cli/node_command.rb
kontena-cli-0.8.1 lib/kontena/cli/node_command.rb
kontena-cli-0.8.0.1 lib/kontena/cli/node_command.rb
kontena-cli-0.8.0 lib/kontena/cli/node_command.rb