private static bool Prepare(string[] args, out DyaOptions options) { try { var config = ConfigReader.Read(Path.Combine(FS.GetStartupPath(), "config.json")); options = CommandLineReader.Read <DyaOptions>(args, config); } catch (DyaException ex) { Printer.Header(); Printer.LineFeed(); Printer.Error(ex.Message); options = null; return(false); } Printer.NoLogo = options.NoLogo; return(true); }