6 writes to Command
dotnet-user-secrets (6)
Internal\ClearCommand.cs (1)
17options.Command = new ClearCommand();
Internal\InitCommand.cs (1)
26options.Command = new InitCommandFactory(options);
Internal\ListCommand.cs (1)
24options.Command = new ListCommand(optJson.HasValue());
Internal\RemoveCommand.cs (1)
25options.Command = new RemoveCommand(keyArg.Value);
Internal\SetCommand.cs (2)
40options.Command = new FromStdInStrategy(); 54options.Command = new ForOneValueStrategy(nameArg.Value, valueArg.Value);
3 references to Command
dotnet-user-secrets (2)
Program.cs (2)
75if (options.Command is InitCommandFactory initCmd) 90options.Command.Execute(context);
Microsoft.Extensions.SecretManager.Tools.Tests (1)
SetCommandTest.cs (1)
84Assert.IsType<SetCommand.ForOneValueStrategy>(options.Command);