Skip to content

Commit e87661e

Browse files
authored
Add configfile option to dotnet nuget push (#45050)
1 parent 2a36a37 commit e87661e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/core/tools/dotnet-nuget-push.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dotnet nuget push [<ROOT>] [-d|--disable-buffering] [--force-english-output]
2020
[--no-service-endpoint] [-s|--source <SOURCE>] [--skip-duplicate]
2121
[-sk|--symbol-api-key <API_KEY>] [-ss|--symbol-source <SOURCE>]
2222
[-t|--timeout <TIMEOUT>]
23+
[--configfile <FILE>]
2324
2425
dotnet nuget push -h|--help
2526
```
@@ -94,6 +95,10 @@ Alternatively, use the NuGet CLI for the first package, then you can use `dotnet
9495

9596
Specifies the timeout for pushing to a server in seconds. Defaults to 300 seconds (5 minutes). Specifying 0 applies the default value.
9697

98+
- **`--configfile`**
99+
100+
The NuGet configuration file (*nuget.config*) to use. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see [Common NuGet Configurations](/nuget/consume-packages/configuring-nuget-behavior).
101+
97102
## Examples
98103

99104
- Push *foo.nupkg* to the default push source specified in the NuGet config file, using an API key:

0 commit comments

Comments
 (0)