class Gleis::CLI::App
Application-related CLI
commands
Public Instance Methods
config(env_var = '')
click to toggle source
# File lib/gleis/cli/app.rb, line 8 def config(env_var = '') Application.config(options[:app], env_var) end
create()
click to toggle source
# File lib/gleis/cli/app.rb, line 13 def create Application.create(options[:app]) end
deployments()
click to toggle source
# File lib/gleis/cli/app.rb, line 23 def deployments Application.deployments(options[:app]) end
destroy()
click to toggle source
# File lib/gleis/cli/app.rb, line 18 def destroy Application.destroy(options[:app]) end
exec(command)
click to toggle source
# File lib/gleis/cli/app.rb, line 28 def exec(command) Application.exec(options[:app], command) end
git()
click to toggle source
# File lib/gleis/cli/app.rb, line 34 def git Application.git(options[:app], options[:quiet]) end
healthcheck(path = '')
click to toggle source
# File lib/gleis/cli/app.rb, line 39 def healthcheck(path = '') Application.healthcheck(options[:app], path) end
logs()
click to toggle source
# File lib/gleis/cli/app.rb, line 48 def logs Application.logs(options[:app], options[:follow], options[:process]) end
maintenance()
click to toggle source
# File lib/gleis/cli/app.rb, line 55 def maintenance abort('On and off are mutually exclusive options.') if options[:on] && options[:off] if options[:on] mode = true elsif options[:off] mode = false end Application.maintenance(options[:app], mode) end
ps()
click to toggle source
# File lib/gleis/cli/app.rb, line 66 def ps Application.ps(options[:app]) end
rebuild()
click to toggle source
# File lib/gleis/cli/app.rb, line 71 def rebuild Application.rebuild(options[:app]) end
restart()
click to toggle source
# File lib/gleis/cli/app.rb, line 76 def restart Application.restart(options[:app]) end
rollback(commit)
click to toggle source
# File lib/gleis/cli/app.rb, line 81 def rollback(commit) Application.rollback(options[:app], commit) end
scale(replica)
click to toggle source
# File lib/gleis/cli/app.rb, line 86 def scale(replica) Application.scale(options[:app], replica) end
start()
click to toggle source
# File lib/gleis/cli/app.rb, line 91 def start Application.start(options[:app]) end
status()
click to toggle source
# File lib/gleis/cli/app.rb, line 96 def status Application.status(options[:app]) end
stop()
click to toggle source
# File lib/gleis/cli/app.rb, line 101 def stop Application.stop(options[:app]) end