old_contents: """
  command_line_runner.py
  
  Created by Scott on 2014-08-14.
  Copyright (c) 2014 Scott Rice. All rights reserved.
  """
  
  from ice_engine import IceEngine
  
  
  class CommandLineRunner(object):
  
    def run(self, argv):
      # TODO: Configure IceEngine based on the contents of argv
      engine = IceEngine()
      engine.run()
      # Keeps the console from closing (until the user hits enter) so they can
      # read any console output
      print ""
      print "Close the window, or hit enter to exit..."
      raw_input()
  
new_contents: """
  command_line_runner.py
  
  Created by Scott on 2014-08-14.
  Copyright (c) 2014 Scott Rice. All rights reserved.
  """
  
  import argparse
  
  from ice_engine import IceEngine
  
  
  class CommandLineRunner(object):
  
    def get_command_line_args(self, argv):
      parser = argparse.ArgumentParser()
      parser.add_argument('-c', '--config', type=str, default=None)
      parser.add_argument('-C', '--consoles', type=str, default=None)
      parser.add_argument('-e', '--emulators', type=str, default=None)
      return parser.parse_args(argv)
  
    def run(self, argv):
      options = self.get_command_line_args(argv[1:])
      engine = IceEngine(
        config_override=options.config,
        consoles_override=options.consoles,
        emulators_override=options.emulators,
      )
      engine.run()
      # Keeps the console from closing (until the user hits enter) so they can
      # read any console output
      print ""
      print "Close the window, or hit enter to exit..."
      raw_input()
  
subject: Allow passing in config/consoles/emulators.txt locations from command line