React to changes in command line utils

This commit is contained in:
Nate McMaster 2017-03-21 16:31:29 -07:00
parent 1f8e8fae5d
commit 849319bcff
No known key found for this signature in database
GPG Key ID: BD729980AA6A21BD
5 changed files with 10 additions and 11 deletions

View File

@ -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;
}
}
}
}

View File

@ -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();
}
}
}
}

View File

@ -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");
}
}
}
}

View File

@ -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
}
}
}
}
}

View File

@ -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:
}
}
}
}
}