From afab2361b1efa58fc1f3c917ab5da18eb90813bd Mon Sep 17 00:00:00 2001 From: Eris Date: Sun, 19 Nov 2023 22:53:03 +0100 Subject: [PATCH] fix(tools): missing DotNetTasks command (#1184) --- source/Nuke.Common/Tools/DotNet/DotNet.json | 62 ++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/source/Nuke.Common/Tools/DotNet/DotNet.json b/source/Nuke.Common/Tools/DotNet/DotNet.json index 0b42d4810..0442d6fea 100644 --- a/source/Nuke.Common/Tools/DotNet/DotNet.json +++ b/source/Nuke.Common/Tools/DotNet/DotNet.json @@ -878,9 +878,69 @@ { "name": "ValidAuthenticationTypes", "type": "List", - "format": "--valid-authentication-types", + "format": "--valid-authentication-types {value}", "separator": ",", "help": "List of valid authentication types for this source. Set this to basic if the server advertises NTLM or Negotiate and your credentials must be sent using the Basic mechanism, for instance when using a PAT with on-premises Azure DevOps Server. Other valid values include negotiate, kerberos, ntlm, and digest, but these values are unlikely to be useful." + }, + { + "name": "ConfigFile", + "type": "string", + "format": "--configfile {value}", + "help": "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." + } + ] + } + }, + { + "help": "Updates a NuGet source.", + "postfix": "NuGetUpdateSource", + "omitCommonProperties": true, + "definiteArgument": "nuget update source", + "settingsClass": { + "properties": [ + { + "name": "Name", + "type": "string", + "format": "{value}", + "help": "Name of the source." + }, + { + "name": "Source", + "type": "string", + "format": "--source {value}", + "help": "URL of the source." + }, + { + "name": "Username", + "type": "string", + "format": "--username {value}", + "help": "Username to be used when connecting to an authenticated source." + }, + { + "name": "Password", + "type": "string", + "format": "--password {value}", + "secret": true, + "help": "Password to be used when connecting to an authenticated source." + }, + { + "name": "StorePasswordInClearText", + "type": "bool", + "format": "--store-password-in-clear-text", + "help": "Enables storing portable package source credentials by disabling password encryption." + }, + { + "name": "ValidAuthenticationTypes", + "type": "List", + "format": "--valid-authentication-types {value}", + "separator": ",", + "help": "List of valid authentication types for this source. Set this to basic if the server advertises NTLM or Negotiate and your credentials must be sent using the Basic mechanism, for instance when using a PAT with on-premises Azure DevOps Server. Other valid values include negotiate, kerberos, ntlm, and digest, but these values are unlikely to be useful." + }, + { + "name": "ConfigFile", + "type": "string", + "format": "--configfile {value}", + "help": "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." } ] }