class Pushapp::CLI
Public Instance Methods
exec(remote, *args)
click to toggle source
# File lib/pushapp/cli.rb, line 67 def exec(remote, *args) Pushapp::Commands.run(:exec, remote: remote, args: args, options: options) end
init()
click to toggle source
# File lib/pushapp/cli.rb, line 12 def init Pushapp::Commands.run(:init) end
remotes()
click to toggle source
# File lib/pushapp/cli.rb, line 36 def remotes Pushapp::Commands.run(:list_remotes, options: options) end
setup(*remotes)
click to toggle source
# File lib/pushapp/cli.rb, line 20 def setup(*remotes) Pushapp::Commands.run(:setup, remotes: remotes, options: options) end
ssh(remote=nil)
click to toggle source
# File lib/pushapp/cli.rb, line 59 def ssh(remote=nil) Pushapp::Commands.run(:ssh, remote: remote, options: options) end
tasks(*remotes)
click to toggle source
# File lib/pushapp/cli.rb, line 42 def tasks(*remotes) Pushapp::Commands.run(:tasks, remotes: remotes, options: options) end
trigger(event, *remotes)
click to toggle source
# File lib/pushapp/cli.rb, line 51 def trigger(event, *remotes) Pushapp::Commands.run(:trigger, event: event, remotes: remotes, local: options['local'], options: options) end
update_refs()
click to toggle source
# File lib/pushapp/cli.rb, line 28 def update_refs Pushapp::Commands.run(:update_refs, options: options) end