lib/kontena/cli/master_command.rb in kontena-cli-1.1.0.pre1 vs lib/kontena/cli/master_command.rb in kontena-cli-1.1.0.rc1
- old
+ new
@@ -9,10 +9,11 @@
require_relative 'master/logout_command'
require_relative 'master/join_command'
require_relative 'master/audit_log_command'
require_relative 'master/token_command'
require_relative 'master/init_cloud_command'
+require_relative 'master/ssh_command'
class Kontena::Cli::MasterCommand < Kontena::Command
include Kontena::Util
subcommand ["list", "ls"], "List masters where client has logged in", Kontena::Cli::Master::ListCommand
@@ -25,9 +26,11 @@
subcommand "logout", "Log out of Kontena Master", Kontena::Cli::Master::LogoutCommand
subcommand "token", "Manage Kontena Master access tokens", Kontena::Cli::Master::TokenCommand
subcommand "join", "Join Kontena Master using an invitation code", Kontena::Cli::Master::JoinCommand
subcommand "audit-log", "Show master audit logs", Kontena::Cli::Master::AuditLogCommand
subcommand "init-cloud", "Configure current master to use Kontena Cloud services", Kontena::Cli::Master::InitCloudCommand
+ subcommand "ssh", "Connect to the master via SSH", Kontena::Cli::Master::SshCommand
+
if experimental?
require_relative 'master/create_command'
subcommand "create", "Install a new Kontena Master", Kontena::Cli::Master::CreateCommand
end