Class: Me::Cli::App

Inherits:
BaseApp show all
Defined in:
lib/me/cli.rb

Instance Method Summary collapse

Instance Method Details

#activateObject



77
78
79
# File 'lib/me/cli.rb', line 77

def activate
  render { ActivateCommand.new.call }
end

#switch(identity) ⇒ Object



72
73
74
# File 'lib/me/cli.rb', line 72

def switch(identity)
  render { SwitchCommand[identity].call }
end

#whoamiObject



67
68
69
# File 'lib/me/cli.rb', line 67

def whoami
  render { WhoamiCommand.new.call }
end