public VerifyRulesCommand(VerifyRulesCommandOptions opt)
 {
     _arg_customRulesPath    = opt.CustomRulesPath;
     _arg_ignoreDefaultRules = opt.IgnoreDefaultRules;
     _arg_outputFile         = opt.OutputFilePath;
     if (!Enum.TryParse(opt.ConsoleVerbosityLevel, true, out _arg_consoleVerbosityLevel))
     {
         throw new OpException(String.Format(ErrMsg.FormatString(ErrMsg.ID.CMD_INVALID_ARG_VALUE, "-x")));
     }
     WriteOnce.Verbosity = _arg_consoleVerbosityLevel;
     ConfigureOutput();
     ConfigRules();
 }
 private static int RunVerifyRulesCommand(VerifyRulesCommandOptions opts)
 {
     SetupLogging(opts.LogFilePath, opts.LogFileLevel);
     return(new VerifyRulesCommand(opts).Run());
 }