private static bool ReadOptions(string[] args) { try { opt = new ElaOptions(); ConfigReader.ReadOptions(opt); var clp = new CommandLineParser(opt); clp.Parse(args); return(true); } catch (ElaOptionException ex) { helper = new MessageHelper(null); helper.PrintInvalidOption(ex); return(false); } }
internal InteractiveCommands(ElaMachine machine, MessageHelper helper, ElaOptions opts) { this.machine = machine; this.helper = helper; this.opts = opts; }
internal MessageHelper(ElaOptions opt) { this.opt = opt; }