using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CommandLine; namespace f03deps { /// /// Command line options class /// public class CommandLineOptions { /// /// Provide detailed information on the executed process /// [Option("verbose", Required = false, Default = false, HelpText = "Generate process tracing information")] public Boolean Verbose { get; set; } /// /// /// [Option("outdir", Required = false, Default = ".", HelpText = "Directory to look for object file")] public String OutDir { get; set; } /// /// /// [Option("modules", Required = true, Separator = ',', HelpText = "Directories to look for module file")] public IEnumerable ModuleDirs { get; set; } /// /// /// [Option("ignore", Required = false, Separator = ' ', HelpText = "List of additional module name references to ignore")] public IEnumerable Ignores { get; set; } /// /// List of files to process /// [Value(100, Required = true, HelpText = "List of Fortran source files to process")] public IEnumerable Srcs { get; set; } } }