class Enroute::CLI

Public Class Methods

exit_on_failure?() click to toggle source
# File lib/enroute/cli.rb, line 5
def self.exit_on_failure?
  true
end

Public Instance Methods

export() click to toggle source
# File lib/enroute/cli.rb, line 33
def export
  require_path = File.expand_path(options["require"])
  output_path = File.expand_path(options["output"])
  config_path = File.expand_path(options["config"])

  require require_path
  Export.call(output_path, config_path)
end
version() click to toggle source
# File lib/enroute/cli.rb, line 12
def version
  say "Enroute #{Enroute::VERSION}"
end