2020
2121namespace Microsoft . DotNet . Tools . Uninstall . Shared . Configs
2222{
23- internal static class CommandLineConfigs
23+ public static class CommandLineConfigs
2424 {
2525 public static Parser UninstallCommandParser ;
2626
@@ -185,7 +185,7 @@ internal static class CommandLineConfigs
185185 ForceOption
186186 } ;
187187
188- public static readonly Dictionary < string , VerbosityLevel > VerbosityLevels = new Dictionary < string , VerbosityLevel >
188+ internal static readonly Dictionary < string , VerbosityLevel > VerbosityLevels = new Dictionary < string , VerbosityLevel >
189189 {
190190 { "q" , VerbosityLevel . Quiet } , { "quiet" , VerbosityLevel . Quiet } ,
191191 { "m" , VerbosityLevel . Minimal } , { "minimal" , VerbosityLevel . Minimal } ,
@@ -221,7 +221,7 @@ static CommandLineConfigs()
221221 UninstallRootCommand . AddCommand ( ListCommand ) ;
222222 UninstallRootCommand . AddCommand ( DryRunCommand ) ;
223223 UninstallRootCommand . AddCommand ( RemoveCommand ) ;
224- RemoveCommand . Aliases . Add ( UninstallCommandName ) ; // The verbiage that makes the most sense from the bootstrapper would be 'uninstall', so just adding an alias permits more code sharing
224+ RemoveCommand . AddAlias ( UninstallCommandName ) ; // The verbiage that makes the most sense from the bootstrapper would be 'uninstall', so just adding an alias permits more code sharing
225225 UninstallRootCommand . AddCommand ( VersionSubcommand ) ;
226226
227227 if ( RuntimeInfo . RunningOnOSX )
@@ -314,7 +314,7 @@ public static Option GetUninstallMainOption(this CommandResult commandResult)
314314 return specifiedOption ;
315315 }
316316
317- public static BundleType GetTypeSelection ( this ParseResult parseResult )
317+ internal static BundleType GetTypeSelection ( this ParseResult parseResult )
318318 {
319319 var supportedBundleTypes = SupportedBundleTypeConfigs . GetSupportedBundleTypes ( ) ;
320320
@@ -328,7 +328,7 @@ public static BundleType GetTypeSelection(this ParseResult parseResult)
328328 typeSelection ;
329329 }
330330
331- public static BundleArch GetArchSelection ( this ParseResult parseResult )
331+ internal static BundleArch GetArchSelection ( this ParseResult parseResult )
332332 {
333333 var archSelection = new [ ]
334334 {
@@ -345,7 +345,7 @@ public static BundleArch GetArchSelection(this ParseResult parseResult)
345345 archSelection ;
346346 }
347347
348- public static VerbosityLevel GetVerbosityLevel ( this CommandResult commandResult )
348+ internal static VerbosityLevel GetVerbosityLevel ( this CommandResult commandResult )
349349 {
350350 var optionResult = commandResult . FindResultFor ( VerbosityOption ) ;
351351
0 commit comments