Sha256: 2124eb12c0242610e1626545b0b4594eaae8ea3431a2caa149810a570c0929b0

Contents?: true

Size: 1.58 KB

Versions: 8

Compression:

Stored size: 1.58 KB

Contents

require_relative 'grids/list_command'
require_relative 'grids/create_command'
require_relative 'grids/use_command'
require_relative 'grids/show_command'
require_relative 'grids/logs_command'
require_relative 'grids/remove_command'
require_relative 'grids/current_command'
require_relative 'grids/env_command'
require_relative 'grids/audit_log_command'
require_relative 'grids/list_users_command'
require_relative 'grids/add_user_command'
require_relative 'grids/remove_user_command'

class Kontena::Cli::GridCommand < Clamp::Command

  subcommand "list", "List all grids", Kontena::Cli::Grids::ListCommand
  subcommand "create", "Create a new grid", Kontena::Cli::Grids::CreateCommand
  subcommand "use", "Switch to use specific grid", Kontena::Cli::Grids::UseCommand
  subcommand "show", "Show grid details", Kontena::Cli::Grids::ShowCommand
  subcommand "logs", "Show logs from grid containers", Kontena::Cli::Grids::LogsCommand
  subcommand ["remove","rm"], "Remove a grid", Kontena::Cli::Grids::RemoveCommand
  subcommand "current", "Show current grid details", Kontena::Cli::Grids::CurrentCommand
  subcommand "env", "Show the current grid environment details", Kontena::Cli::Grids::EnvCommand
  subcommand "audit-log", "Show audit log of the current grid", Kontena::Cli::Grids::AuditLogCommand
  subcommand "list-users", "List current grid users", Kontena::Cli::Grids::ListUsersCommand
  subcommand "add-user", "Add user to the current grid", Kontena::Cli::Grids::AddUserCommand
  subcommand "remove-user", "Remove user from the current grid", Kontena::Cli::Grids::RemoveUserCommand

  def execute
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kontena-cli-0.11.7 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.6 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.5 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.4 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.3 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.2 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.1 lib/kontena/cli/grid_command.rb
kontena-cli-0.11.0 lib/kontena/cli/grid_command.rb