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