-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDotNetFormatOptions.cs
More file actions
33 lines (23 loc) · 1.02 KB
/
DotNetFormatOptions.cs
File metadata and controls
33 lines (23 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using ModularPipelines.Attributes;
namespace ModularPipelines.DotNet.Options;
public record DotNetFormatOptions : DotNetOptions
{
[CommandLongSwitch("diagnostics", SwitchValueSeparator = " ")]
public string Diagnostics { get; init; }
[BooleanCommandSwitch("severity")]
public string Severity { get; init; }
[BooleanCommandSwitch("no-restore")]
public bool NoRestore { get; init; }
[BooleanCommandSwitch("verify-no-changes")]
public bool VerifyNoChanges { get; init; } = true;
[CommandLongSwitch("include", SwitchValueSeparator = " ")]
public string Include { get; init; }
[CommandLongSwitch("exclude", SwitchValueSeparator = " ")]
public string Exclude { get; init; }
[BooleanCommandSwitch("include-generated")]
public bool IncludeGenerated { get; init; }
[CommandLongSwitch("binary-log", SwitchValueSeparator = " ")]
public string BinaryLogPath { get; init; }
[CommandLongSwitch("report", SwitchValueSeparator = " ")]
public string ReportPath { get; init; }
}