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
|
namespace Microsoft.Extensions.CommandLineUtils
|
||||||
{
|
{
|
||||||
public static class CommandLineApplicationExtensions
|
internal static class CommandLineApplicationExtensions
|
||||||
{
|
{
|
||||||
public static CommandOption HelpOption(this CommandLineApplication app)
|
public static CommandOption HelpOption(this CommandLineApplication app)
|
||||||
=> app.HelpOption("-?|-h|--help");
|
=> app.HelpOption("-?|-h|--help");
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using Microsoft.Extensions.CommandLineUtils;
|
||||||
|
|
||||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||||
{
|
{
|
||||||
public class ClearCommand : ICommand
|
internal class ClearCommand : ICommand
|
||||||
{
|
{
|
||||||
public static void Configure(CommandLineApplication command, CommandLineOptions options)
|
public static void Configure(CommandLineApplication command, CommandLineOptions options)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||||
{
|
{
|
||||||
public class ListCommand : ICommand
|
internal class ListCommand : ICommand
|
||||||
{
|
{
|
||||||
private readonly bool _jsonOutput;
|
private readonly bool _jsonOutput;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,10 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// 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.CommandLineUtils;
|
||||||
using Microsoft.Extensions.Tools.Internal;
|
|
||||||
|
|
||||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||||
{
|
{
|
||||||
public class RemoveCommand : ICommand
|
internal class RemoveCommand : ICommand
|
||||||
{
|
{
|
||||||
private readonly string _keyName;
|
private readonly string _keyName;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ using Microsoft.Extensions.Tools.Internal;
|
||||||
|
|
||||||
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
namespace Microsoft.Extensions.SecretManager.Tools.Internal
|
||||||
{
|
{
|
||||||
public class SetCommand
|
internal class SetCommand
|
||||||
{
|
{
|
||||||
public static void Configure(CommandLineApplication command, CommandLineOptions options, IConsole console)
|
public static void Configure(CommandLineApplication command, CommandLineOptions options, IConsole console)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue