React to changes in command line utils
This commit is contained in:
parent
1f8e8fae5d
commit
849319bcff
|
|
@ -6,7 +6,7 @@ using System.Reflection;
|
|||
|
||||
namespace Microsoft.Extensions.CommandLineUtils
|
||||
{
|
||||
public static class CommandLineApplicationExtensions
|
||||
internal static class CommandLineApplicationExtensions
|
||||
{
|
||||
public static CommandOption HelpOption(this CommandLineApplication app)
|
||||
=> app.HelpOption("-?|-h|--help");
|
||||
|
|
@ -35,4 +35,4 @@ namespace Microsoft.Extensions.CommandLineUtils
|
|||
return versionAttribute;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using Microsoft.Extensions.CommandLineUtils;
|
|||
|
||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||
{
|
||||
public class ClearCommand : ICommand
|
||||
internal class ClearCommand : ICommand
|
||||
{
|
||||
public static void Configure(CommandLineApplication command, CommandLineOptions options)
|
||||
{
|
||||
|
|
@ -24,4 +24,4 @@ namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
|||
context.SecretStore.Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using Newtonsoft.Json.Linq;
|
|||
|
||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||
{
|
||||
public class ListCommand : ICommand
|
||||
internal class ListCommand : ICommand
|
||||
{
|
||||
private readonly bool _jsonOutput;
|
||||
|
||||
|
|
@ -64,4 +64,4 @@ namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
|||
context.Reporter.Output("//END");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,11 +2,10 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Extensions.CommandLineUtils;
|
||||
using Microsoft.Extensions.Tools.Internal;
|
||||
|
||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||
{
|
||||
public class RemoveCommand : ICommand
|
||||
internal class RemoveCommand : ICommand
|
||||
{
|
||||
private readonly string _keyName;
|
||||
|
||||
|
|
@ -46,4 +45,4 @@ namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Microsoft.Extensions.Tools.Internal;
|
|||
|
||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||
{
|
||||
public class SetCommand
|
||||
internal class SetCommand
|
||||
{
|
||||
public static void Configure(CommandLineApplication command, CommandLineOptions options, IConsole console)
|
||||
{
|
||||
|
|
@ -102,4 +102,4 @@ Examples:
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue