Skip to content

Commit 3b0113a

Browse files
authored
Add --configfile option to dotnet nuget push command (#47126)
1 parent 15e448c commit 3b0113a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Cli/dotnet/commands/dotnet-nuget/NuGetCommandParser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ private static CliCommand GetPushCommand()
9494
pushCommand.Options.Add(new CliOption<bool>("--no-service-endpoint"));
9595
pushCommand.Options.Add(new CliOption<bool>("--interactive"));
9696
pushCommand.Options.Add(new CliOption<bool>("--skip-duplicate"));
97+
pushCommand.Options.Add(new CliOption<string>("--configfile"));
9798

9899
pushCommand.SetAction(NuGetCommand.Run);
99100

test/dotnet.Tests/CommandTests/CompleteCommandTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public void GivenNuGetPushCommandItDisplaysCompletions()
182182
{
183183
var expected = new[] {
184184
"--api-key",
185+
"--configfile",
185186
"--disable-buffering",
186187
"--force-english-output",
187188
"--help",

0 commit comments

Comments
 (0)