// // Class: Options // Current CLR: 4.0.30319.42000 // System: Microsoft Visual Studio 10.0 // Author: dani // Created: 9/14/2015 8:01:53 PM // // Copyright (c) 2015 Informatikbüro Daniel Schick. All rights reserved. using CommandLine; namespace bsmd.Tool { public class Options { [Option('c', "core", Required=false, HelpText="MessageCoreId to process")] public string MessageCoreId { get; set; } [Option('v',"verbose", Default=true, HelpText="print messages to console")] public bool Verbose { get; set; } [Option('r', "checkrules", HelpText = "Use rule engine on message core")] public bool CheckRules { get; set; } [Option("locodes", HelpText = "use this flag if you want to import locodes")] public bool ImportLocodes { get; set; } [Option("echolot", HelpText = "use this flag to run the echolot output file evaluation")] public bool Echolot { get; set; } [Option('i', "input_folder", HelpText = "Input folder")] public string InputFolder { get; set; } [Option('o', "output_folder", HelpText = "Output folder")] public string OutputFolder { get; set; } [Option("max_threads", HelpText = "Maximum amount of parallelism for folder parsing")] public int? MaxThreads { get; set; } [Option('s', "staledays", Default = 30, HelpText ="Delete files older than X days")] public int StaleDays { get; set; } [Option('p', "path", HelpText ="Path to cleanup root folder")] public string CleanupFolderRoot { get; set; } [Option('x', "recursive", Default = false, HelpText ="Cleanup subdirectories recursively")] public bool CleanupRecursive { get; set; } [Option("csv", HelpText = "PATH to import LOCODE csv")] public string LocodeCSV { get; set; } [Option("db", HelpText = "PATH to locode db (SQLITE)")] public string LocodeDB { get; set; } } }