Sha256: 19f729f90f6f9e396a8a815ae6f302233cc39e5af2e5ed86a9b49e12848648d0

Contents?: true

Size: 581 Bytes

Versions: 4

Compression:

Stored size: 581 Bytes

Contents

require_relative 'users/invite_command'
require_relative 'users/list_command'
require_relative 'users/add_role_command'
require_relative 'users/remove_role_command'

class Kontena::Cli::UsersCommand < Clamp::Command

  subcommand "invite", "Invite user to Kontena Master", Kontena::Cli::Users::InviteCommand
  subcommand ["list", "ls"], "List users", Kontena::Cli::Users::ListCommand
  subcommand "add-role", "Add role to user", Kontena::Cli::Users::AddRoleCommand
  subcommand "remove-role", "Remove role from user", Kontena::Cli::Users::RemoveRoleCommand

  def execute
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kontena-cli-0.12.3 lib/kontena/cli/users_command.rb
kontena-cli-0.12.2 lib/kontena/cli/users_command.rb
kontena-cli-0.12.1 lib/kontena/cli/users_command.rb
kontena-cli-0.12.0 lib/kontena/cli/users_command.rb