class Tug::Interface

Public Instance Methods

build() click to toggle source
# File lib/tug/interface/interface.rb, line 91
def build
  config_file = Tug::ConfigFile.config_file(options)
  execute(__method__.to_s, config_file)
end
execute(command, config_file) click to toggle source
# File lib/tug/interface/interface.rb, line 142
def execute(command, config_file)
  command = Tug::Command.command_for_string(command)
  command.execute(config_file)
end
ipa() click to toggle source
# File lib/tug/interface/interface.rb, line 106
def ipa
  config_file = Tug::ConfigFile.config_file(options)
  execute(__method__.to_s, config_file)
end
notify() click to toggle source
# File lib/tug/interface/interface.rb, line 118
def notify
  slack = Tug::Slack.new(options)
  slack.notify(options[:message])
end
provision() click to toggle source
# File lib/tug/interface/interface.rb, line 133
def provision
  config_file = Tug::ConfigFile.config_file(options)
  execute(__method__.to_s, config_file)
end