Class: Mrsk::Cli::Registry

Inherits:
Base
  • Object
show all
Defined in:
lib/mrsk/cli/registry.rb

Instance Method Summary collapse

Methods inherited from Base

exit_on_failure?, #initialize

Constructor Details

This class inherits a constructor from Mrsk::Cli::Base

Instance Method Details

#loginObject



5
6
7
8
9
10
# File 'lib/mrsk/cli/registry.rb', line 5

def 
  run_locally           { execute *MRSK.registry. }
  on(MRSK.hosts) { execute *MRSK.registry. }
rescue ArgumentError => e
  puts e.message
end

#logoutObject



13
14
15
16
17
# File 'lib/mrsk/cli/registry.rb', line 13

def logout
  on(MRSK.hosts) { execute *MRSK.registry.logout }
rescue ArgumentError => e
  puts e.message
end