jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
529 stars 227 forks source link

Support providing a NuGet config file using /p:RestoreConfigFile #2522

Open RobiNino opened 5 months ago

RobiNino commented 5 months ago

Describe the bug

The /p:RestoreConfigFile option is used with the dotnet restore command to specify a NuGet configuration file to be used for the restore operation. This option is an alternative to the --configfile option which is already supported by the CLI.

Current behavior

A new nuget.config file is generated and the provided one is ignored.

Reproduction steps

jf dotnet restore '/p:RestoreConfigFile=/path/to/nuget.config'

Expected behavior

No response

JFrog CLI version

2.55.0

Operating system type and version

-

JFrog Artifactory version

No response

JFrog Xray version

No response