Using nuget.exe 3.4.3.854
REPRO
- nuget.exe delete foo 99.99 -Source nuget.org
RESULT
WARNING: No API Key was provided and no API Key could be found for 'https://www.nuget.org/api/v2/package'. To save an API Key for a source use the 'setApiKey' command.
WARNING: Deleting foo 99.99 from the 'https://www.nuget.org/api/v2/package'.
DELETE https://www.nuget.org/api/v2/package/foo/99.99
Unauthorized https://www.nuget.org/api/v2/package/foo/99.99 335ms
Please provide credentials for: https://api.nuget.org/v3/index.json
UserName: Cannot prompt for input in non-interactive mode.
EXPECT
The command prompt shouldn't be in non-interactive mode. If there is some other reason that the username can't be typed, then show the real reason.
Using nuget.exe 3.4.3.854
REPRO
RESULT
WARNING: No API Key was provided and no API Key could be found for 'https://www.nuget.org/api/v2/package'. To save an API Key for a source use the 'setApiKey' command.
WARNING: Deleting foo 99.99 from the 'https://www.nuget.org/api/v2/package'.
DELETE https://www.nuget.org/api/v2/package/foo/99.99
Unauthorized https://www.nuget.org/api/v2/package/foo/99.99 335ms
Please provide credentials for: https://api.nuget.org/v3/index.json
UserName: Cannot prompt for input in non-interactive mode.
EXPECT
The command prompt shouldn't be in non-interactive mode. If there is some other reason that the username can't be typed, then show the real reason.