Class: Me::Cli::Config

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

Instance Method Summary collapse

Instance Method Details

#git(identity, name = nil, email = nil) ⇒ Object



55
56
57
# File 'lib/me/cli.rb', line 55

def git(identity, name=nil, email=nil)
  render { GitConfigCommand[identity, name, email].call }
end

#ssh(identity, *keys) ⇒ Object



60
61
62
# File 'lib/me/cli.rb', line 60

def ssh(identity, *keys)
  render { SshConfigCommand[identity, keys].call }
end