@@ -12,7 +12,7 @@ public static void ConfigureCommands(this CommandApp<RootCommand> app)
1212
1313 ConfigureSanityCheckCommand ( config ) ;
1414
15- config . AddBranch ( NameCommandConstants . OptionsFile , ConfigureOptionsFileCommands ( ) ) ;
15+ config . AddBranch ( CommandConstants . NameOptionsFile , ConfigureOptionsFileCommands ( ) ) ;
1616
1717 config . AddBranch ( NameCommandConstants . AnalyzerProviders , ConfigureAnalyzerProvidersCommands ( ) ) ;
1818 } ) ;
@@ -57,14 +57,14 @@ private static Action<IConfigurator<CommandSettings>> ConfigureOptionsFileComman
5757 node . SetDescription ( "Commands for the options file 'atc-coding-rules-updater.json'" ) ;
5858
5959 node
60- . AddCommand < OptionsFileCreateCommand > ( NameCommandConstants . OptionsFileCreate )
60+ . AddCommand < OptionsFileCreateCommand > ( CommandConstants . NameOptionsFileCreate )
6161 . WithDescription ( "Create default options file 'atc-coding-rules-updater.json' if it doesn't exist" )
6262 . WithExample ( new [ ] { CreateArgumentCommandsOptionsFileWithCreate ( ) , "." , CreateEquivalentToOptionsFileCreate ( 6 ) , } )
6363 . WithExample ( new [ ] { CreateArgumentCommandsOptionsFileWithCreate ( ) , CreateArgumentProjectPathWithDot ( ) , CreateEquivalentToOptionsFileCreate ( 3 ) , } )
6464 . WithExample ( new [ ] { CreateArgumentCommandsOptionsFileWithCreate ( ) , CreateArgumentProjectPathWithTestFolder ( ) , } ) ;
6565
6666 node
67- . AddCommand < OptionsFileValidateCommand > ( NameCommandConstants . OptionsFileValidate )
67+ . AddCommand < OptionsFileValidateCommand > ( CommandConstants . NameOptionsFileValidate )
6868 . WithDescription ( "Validate the options file 'atc-coding-rules-updater.json'" )
6969 . WithExample ( new [ ] { CreateArgumentCommandsOptionsFileWithValidate ( ) , "." , CreateEquivalentToOptionsFileValidate ( 4 ) , } )
7070 . WithExample ( new [ ] { CreateArgumentCommandsOptionsFileWithValidate ( ) , CreateArgumentProjectPathWithTestFolder ( ) } ) ;
@@ -96,23 +96,32 @@ private static Action<IConfigurator<CommandSettings>> ConfigureAnalyzerProviders
9696 . WithExample ( new [ ] { CreateArgumentCommandsAnalyzerProvidersWithCleanupCache ( ) } ) ;
9797 } ;
9898
99- private static string CreateArgumentProjectPathWithDot ( ) => $ "{ ArgumentCommandConstants . ShortProjectPath } .";
99+ private static string CreateArgumentProjectPathWithDot ( )
100+ => $ "{ ArgumentCommandConstants . ShortProjectPath } .";
100101
101- private static string CreateArgumentProjectPathWithCurrentFolder ( ) => $ "{ ArgumentCommandConstants . ShortProjectPath } [CurrentFolder]";
102+ private static string CreateArgumentProjectPathWithCurrentFolder ( )
103+ => $ "{ ArgumentCommandConstants . ShortProjectPath } [CurrentFolder]";
102104
103- private static string CreateArgumentProjectPathWithTestFolder ( ) => @$ "{ ArgumentCommandConstants . ShortProjectPath } c:\temp\MyProject";
105+ private static string CreateArgumentProjectPathWithTestFolder ( )
106+ => @$ "{ ArgumentCommandConstants . ShortProjectPath } c:\temp\MyProject";
104107
105- private static string CreateArgumentProjectTarget ( SupportedProjectTargetType targetType ) => @$ "{ ArgumentCommandConstants . ShortProjectTarget } { targetType } ";
108+ private static string CreateArgumentProjectTarget ( SupportedProjectTargetType targetType )
109+ => @$ "{ ArgumentCommandConstants . ShortProjectTarget } { targetType } ";
106110
107- private static string CreateArgumentFetchMode ( ProviderCollectingMode collectingMode ) => @$ "{ ArgumentCommandConstants . LongFetchMode } { collectingMode } ";
111+ private static string CreateArgumentFetchMode ( ProviderCollectingMode collectingMode )
112+ => @$ "{ ArgumentCommandConstants . LongFetchMode } { collectingMode } ";
108113
109- private static string CreateArgumentCommandsAnalyzerProvidersWithCollect ( ) => $ "{ NameCommandConstants . AnalyzerProviders } { NameCommandConstants . AnalyzerProvidersCollect } ";
114+ private static string CreateArgumentCommandsAnalyzerProvidersWithCollect ( )
115+ => $ "{ NameCommandConstants . AnalyzerProviders } { NameCommandConstants . AnalyzerProvidersCollect } ";
110116
111- private static string CreateArgumentCommandsOptionsFileWithCreate ( ) => $ "{ NameCommandConstants . OptionsFile } { NameCommandConstants . OptionsFileCreate } ";
117+ private static string CreateArgumentCommandsOptionsFileWithCreate ( )
118+ => $ "{ CommandConstants . NameOptionsFile } { CommandConstants . NameOptionsFileCreate } ";
112119
113- private static string CreateArgumentCommandsOptionsFileWithValidate ( ) => $ "{ NameCommandConstants . OptionsFile } { NameCommandConstants . OptionsFileValidate } ";
120+ private static string CreateArgumentCommandsOptionsFileWithValidate ( )
121+ => $ "{ CommandConstants . NameOptionsFile } { CommandConstants . NameOptionsFileValidate } ";
114122
115- private static string CreateArgumentCommandsAnalyzerProvidersWithCleanupCache ( ) => $ "{ NameCommandConstants . AnalyzerProviders } { NameCommandConstants . AnalyzerProvidersCleanupCache } ";
123+ private static string CreateArgumentCommandsAnalyzerProvidersWithCleanupCache ( )
124+ => $ "{ NameCommandConstants . AnalyzerProviders } { NameCommandConstants . AnalyzerProvidersCleanupCache } ";
116125
117126 private static string CreateEquivalentToRun ( int indentSpaces )
118127 => PrefixSpaces ( indentSpaces , $ "(equivalent to '{ NameCommandConstants . Run } { CreateArgumentProjectPathWithCurrentFolder ( ) } ')") ;
0 commit comments