Sha256: 726bf5ea7ede596e453924ac964717f9b570d17b94f01109f68c8dc98c403a49

Contents?: true

Size: 692 Bytes

Versions: 32

Compression:

Stored size: 692 Bytes

Contents

require_relative 'etcd/get_command'
require_relative 'etcd/set_command'
require_relative 'etcd/mkdir_command'
require_relative 'etcd/list_command'
require_relative 'etcd/remove_command'

class Kontena::Cli::EtcdCommand < Clamp::Command

  subcommand "get", "Get the current value for a single key", Kontena::Cli::Etcd::GetCommand
  subcommand "set", "Set a value on the specified key", Kontena::Cli::Etcd::SetCommand
  subcommand ["mkdir", "mk"], "Create a directory", Kontena::Cli::Etcd::MkdirCommand
  subcommand ["list", "ls"], "List a directory", Kontena::Cli::Etcd::ListCommand
  subcommand "rm", "Remove a key or a directory", Kontena::Cli::Etcd::RemoveCommand

  def execute
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
kontena-cli-0.15.5 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.5.rc2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.5.rc1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.4 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.4.rc2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.4.rc1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.4.pre1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.0 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.0.rc3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.0.rc2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.15.0.rc1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.7 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.6 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.5 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.4 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.14.2 lib/kontena/cli/etcd_command.rb