@@ -5,40 +5,40 @@ namespace GitVersion;
55
66internal class Arguments
77{
8- public AuthenticationInfo Authentication = new ( ) ;
8+ public AuthenticationInfo Authentication { get ; set ; } = new ( ) ;
99
10- public string ? ConfigurationFile ;
11- public IReadOnlyDictionary < object , object ? > OverrideConfiguration = new Dictionary < object , object ? > ( ) ;
12- public bool ShowConfiguration ;
10+ public string ? ConfigurationFile { get ; set ; }
11+ public IReadOnlyDictionary < object , object ? > OverrideConfiguration { get ; set ; } = new Dictionary < object , object ? > ( ) ;
12+ public bool ShowConfiguration { get ; set ; }
1313
14- public string ? TargetPath ;
14+ public string ? TargetPath { get ; set ; }
1515
16- public string ? TargetUrl ;
17- public string ? TargetBranch ;
18- public string ? CommitId ;
19- public string ? ClonePath ;
16+ public string ? TargetUrl { get ; set ; }
17+ public string ? TargetBranch { get ; set ; }
18+ public string ? CommitId { get ; set ; }
19+ public string ? ClonePath { get ; set ; }
2020
21- public bool Diag ;
22- public bool IsVersion ;
23- public bool IsHelp ;
21+ public bool Diag { get ; set ; }
22+ public bool IsVersion { get ; set ; }
23+ public bool IsHelp { get ; set ; }
2424
25- public bool NoFetch ;
26- public bool NoCache ;
27- public bool NoNormalize ;
28- public bool AllowShallow ;
25+ public bool NoFetch { get ; set ; }
26+ public bool NoCache { get ; set ; }
27+ public bool NoNormalize { get ; set ; }
28+ public bool AllowShallow { get ; set ; }
2929
30- public string ? LogFilePath ;
31- public string ? ShowVariable ;
32- public string ? Format ;
33- public string ? OutputFile ;
34- public ISet < OutputType > Output = new HashSet < OutputType > ( ) ;
35- public Verbosity Verbosity = Verbosity . Normal ;
30+ public string ? LogFilePath { get ; set ; }
31+ public string ? ShowVariable { get ; set ; }
32+ public string ? Format { get ; set ; }
33+ public string ? OutputFile { get ; set ; }
34+ public ISet < OutputType > Output { get ; set ; } = new HashSet < OutputType > ( ) ;
35+ public Verbosity Verbosity { get ; set ; } = Verbosity . Normal ;
3636
37- public bool UpdateWixVersionFile ;
38- public bool UpdateProjectFiles ;
39- public bool UpdateAssemblyInfo ;
40- public bool EnsureAssemblyInfo ;
41- public ISet < string > UpdateAssemblyInfoFileName = new HashSet < string > ( ) ;
37+ public bool UpdateWixVersionFile { get ; set ; }
38+ public bool UpdateProjectFiles { get ; set ; }
39+ public bool UpdateAssemblyInfo { get ; set ; }
40+ public bool EnsureAssemblyInfo { get ; set ; }
41+ public ISet < string > UpdateAssemblyInfoFileName { get ; set ; } = new HashSet < string > ( ) ;
4242
4343 public GitVersionOptions ToOptions ( )
4444 {
@@ -54,9 +54,9 @@ public GitVersionOptions ToOptions()
5454
5555 AuthenticationInfo =
5656 {
57- Username = this . Authentication . Username ,
58- Password = this . Authentication . Password ,
59- Token = this . Authentication . Token
57+ Username = Authentication . Username ,
58+ Password = Authentication . Password ,
59+ Token = Authentication . Token
6060 } ,
6161
6262 ConfigurationInfo =
@@ -99,7 +99,7 @@ public GitVersionOptions ToOptions()
9999 OutputFile = OutputFile
100100 } ;
101101
102- var workingDirectory = this . TargetPath ? . TrimEnd ( '/' , '\\ ' ) ;
102+ var workingDirectory = TargetPath ? . TrimEnd ( '/' , '\\ ' ) ;
103103 if ( workingDirectory != null )
104104 {
105105 gitVersionOptions . WorkingDirectory = workingDirectory ;
0 commit comments