Sha256: c74525027b1ecc7d4194bdc984f582a9afb9954dd0454d9c71936b5929f223d9

Contents?: true

Size: 671 Bytes

Versions: 16

Compression:

Stored size: 671 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 "mk", "Create a directory", Kontena::Cli::Etcd::MkdirCommand
  subcommand "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

16 entries across 16 versions & 1 rubygems

Version Path
kontena-cli-0.11.7 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.6 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.5 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.4 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.11.0 lib/kontena/cli/etcd_command.rb
kontena-cli-0.10.3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.10.2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.10.1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.10.0 lib/kontena/cli/etcd_command.rb
kontena-cli-0.9.3 lib/kontena/cli/etcd_command.rb
kontena-cli-0.9.2 lib/kontena/cli/etcd_command.rb
kontena-cli-0.9.1 lib/kontena/cli/etcd_command.rb
kontena-cli-0.9.0 lib/kontena/cli/etcd_command.rb