lib/kontena/cli/master_command.rb in kontena-cli-0.12.3 vs lib/kontena/cli/master_command.rb in kontena-cli-0.13.0
- old
+ new
@@ -3,18 +3,20 @@
require_relative 'master/digital_ocean_command'
require_relative 'master/azure_command'
require_relative 'master/use_command'
require_relative 'master/list_command'
require_relative 'master/users_command'
+require_relative 'master/current_command'
class Kontena::Cli::MasterCommand < Clamp::Command
subcommand "vagrant", "Vagrant specific commands", Kontena::Cli::Master::VagrantCommand
subcommand "aws", "AWS specific commands", Kontena::Cli::Master::AwsCommand
subcommand "digitalocean", "DigitalOcean specific commands", Kontena::Cli::Master::DigitalOceanCommand
subcommand "azure", "Azure specific commands", Kontena::Cli::Master::AzureCommand
subcommand ["list", "ls"], "List masters where client has logged in", Kontena::Cli::Master::ListCommand
subcommand "use", "Switch to use selected master", Kontena::Cli::Master::UseCommand
subcommand "users", "Users specific commands", Kontena::Cli::Master::UsersCommand
+ subcommand "current", "Show current master details", Kontena::Cli::Master::CurrentCommand
def execute
end
end