Sha256: da7ecaea67ddd946e253d583428c38832fed664ea261aef3a3e61ab50865eabe

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 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/vagrant_command'
require_relative 'nodes/digital_ocean_command'
require_relative 'nodes/aws_command'
require_relative 'nodes/azure_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
  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

4 entries across 4 versions & 1 rubygems

Version Path
kontena-cli-0.9.3 lib/kontena/cli/node_command.rb
kontena-cli-0.9.2 lib/kontena/cli/node_command.rb
kontena-cli-0.9.1 lib/kontena/cli/node_command.rb
kontena-cli-0.9.0 lib/kontena/cli/node_command.rb