-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
using CommandLine; | ||
using System.Diagnostics.CodeAnalysis; | ||
using CommandLine; | ||
|
||
namespace Pvs2codequality | ||
{ | ||
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] | ||
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")] | ||
#pragma warning disable 8618 | ||
public class Options | ||
{ | ||
[Option('i', "input", Required = true, HelpText = "Input plog file")] | ||
public string InputFile { get; set; } | ||
|
||
[Option('o', "output", Required = false, HelpText = "Output json file")] | ||
public string? OutputFile { get; set; } | ||
|
||
[Option("report-filename-prefix", Required = false, Default = null, | ||
HelpText = "Prefixes for filename in output report. If null or empty, then no prefixes attach")] | ||
public string? ReportFilenamePrefix { get; set; } | ||
|
||
// TODO TrimFolderName | ||
} | ||
#pragma warning restore 8618 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters