lib/aia.rb in aia-0.3.4 vs lib/aia.rb in aia-0.3.19

- old
+ new

@@ -1,7 +1,11 @@ # lib/aia.rb +require 'debug_me' +include DebugMe + +require 'hashie' require 'pathname' require 'readline' require 'tempfile' require 'prompt_manager' @@ -10,11 +14,21 @@ require_relative "aia/version" require_relative "aia/main" require_relative "core_ext/string_wrap" module AIA - def self.run(args=ARGV) - args = args.split(' ') if args.is_a?(String) - AIA::Main.new(args).call + class << self + attr_accessor :config + + def run(args=ARGV) + args = args.split(' ') if args.is_a?(String) + + # TODO: Currently this is a one and done architecture. + # If the args contain an "-i" or and "--interactive" + # flag could this turn into some kind of + # conversation REPL? + + AIA::Main.new(args).call + end end end