class Dockland::CLI
Public Instance Methods
help()
click to toggle source
# File lib/dockland/cli.rb, line 14 def help puts Dockland.dokku_exec( 'help' ) end
info()
click to toggle source
# File lib/dockland/cli.rb, line 7 def info remote = Dockland.dokku_remote puts "Remote : #{remote[:username]}@#{remote[:host]}:#{remote[:app_name]}" puts "Host : #{remote[:host]}" puts "AppName: #{remote[:app_name]}" end
method_missing(*args)
click to toggle source
# File lib/dockland/cli.rb, line 18 def method_missing(*args) command, *opt = args lines = Dockland.dokku_exec( command.to_s, opt.join(' ') ) puts lines end