Sha256: e0496e2069705308400097ff59b6bd16130db5325487d1075efa2d5b28f41371

Contents?: true

Size: 916 Bytes

Versions: 16

Compression:

Stored size: 916 Bytes

Contents

require_relative 'vault/export_command'
require_relative 'vault/import_command'
require_relative 'vault/list_command'
require_relative 'vault/read_command'
require_relative 'vault/remove_command'
require_relative 'vault/update_command'
require_relative 'vault/write_command'

class Kontena::Cli::VaultCommand < Kontena::Command

  subcommand ["list", "ls"], "List secrets", Kontena::Cli::Vault::ListCommand
  subcommand "write", "Write a secret", Kontena::Cli::Vault::WriteCommand
  subcommand "read", "Read secret", Kontena::Cli::Vault::ReadCommand
  subcommand "update", "Update secret", Kontena::Cli::Vault::UpdateCommand
  subcommand ["remove", "rm"], "Remove secret", Kontena::Cli::Vault::RemoveCommand
  subcommand "export", "Export secrets to STDOUT", Kontena::Cli::Vault::ExportCommand
  subcommand "import", "Import secrets from a file or STDIN", Kontena::Cli::Vault::ImportCommand

  def execute
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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