Sha256: e0c2fc13c8b6b38ab089e2be1a2328a1e1a7675ccad9424c47dffa64d0ea5962

Contents?: true

Size: 849 Bytes

Versions: 65

Compression:

Stored size: 849 Bytes

Contents

require_relative 'config/set_command'
require_relative 'config/get_command'
require_relative 'config/unset_command'
require_relative 'config/export_command'
require_relative 'config/import_command'

module Kontena
  module Cli
    module Master
      class ConfigCommand < Kontena::Command
        subcommand "set", "Set a config value", Kontena::Cli::Master::Config::SetCommand
        subcommand "get", "Get a config value", Kontena::Cli::Master::Config::GetCommand
        subcommand "unset", "Clear a config value", Kontena::Cli::Master::Config::UnsetCommand
        subcommand ["load", "import"], "Upload config to Master", Kontena::Cli::Master::Config::ImportCommand
        subcommand ["dump", "export"], "Download config from Master", Kontena::Cli::Master::Config::ExportCommand

        def execute
        end
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
kontena-cli-1.1.6 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.5 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.5.rc3 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.5.rc2 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.5.rc1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.4 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.3 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.2 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.2.rc2 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.2.rc1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.1.rc1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.0 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.0.rc2 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.0.rc1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.1.0.pre1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.0.6 lib/kontena/cli/master/config_command.rb
kontena-cli-1.0.6.rc1 lib/kontena/cli/master/config_command.rb
kontena-cli-1.0.5 lib/kontena/cli/master/config_command.rb
kontena-cli-1.0.5.rc1 lib/kontena/cli/master/config_command.rb