[Option("--disable-updatecheck", "If using ilspycmd in a tight loop or fully automated scenario, you might want to disable the automatic update check.", CommandOptionType.NoValue)]
[Option("--disable-updatecheck", "If using ilspycmd in a tight loop or fully automated scenario, you might want to disable the automatic update check.", CommandOptionType.NoValue)]
[Option(generateDiagrammerCmd,"Generates an interactive HTML diagrammer app from selected types in the target assembly"+
" - to the --outputdir or in a 'diagrammer' folder next to to the assembly by default.",CommandOptionType.NoValue)]
publicboolGenerateDiagrammer{get;}
[Option(include, "An optional regular expression matching Type.FullName used to whitelist types to include in the generated diagrammer.", CommandOptionType.SingleValue)]
publicstringInclude{get;set;}
[Option(exclude, "An optional regular expression matching Type.FullName used to blacklist types to exclude from the generated diagrammer.", CommandOptionType.SingleValue)]
publicstringExclude{get;set;}
[Option(generateDiagrammerCmd+"-report-excluded","Outputs a report of types excluded from the generated diagrammer"+
$" - whether by default because compiler-generated, explicitly by '{exclude}' or implicitly by '{include}'."+
" You may find this useful to develop and debug your regular expressions.",CommandOptionType.NoValue)]
publicboolReportExludedTypes{get;set;}
[Option(generateDiagrammerCmd+"-docs","The path or file:// URI of the XML file containing the target assembly's documentation comments."+
" You only need to set this if a) you want your diagrams annotated with them and b) the file name differs from that of the assmbly."+
" To enable XML documentation output for your assmbly, see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/#create-xml-documentation-output",
[Option(generateDiagrammerCmd+"-strip-namespaces","Optional space-separated namespace names that are removed for brevity from XML documentation comments."+
" Note that the order matters: e.g. replace 'System.Collections' before 'System' to remove both of them completely.",CommandOptionType.MultipleValue)]
publicstring[]StrippedNamespaces{get;set;}
[Option(generateDiagrammerCmd+"-json-only",
"Whether to generate a model.json file instead of baking it into the HTML template."+
" This is useful for the HTML/JS/CSS development loop.",CommandOptionType.NoValue,
ShowInHelpText=false)]// developer option, output is really only useful in combination with the corresponding task in html/gulpfile.js