Convert nuget sources update to dotnet nuget

Converting nuget or msbuild for that matter, find the equivalent in dotnet. For converting your nuget sources update you have to change almost all words. Here an example:

//nuget sources <operation> -Name <name> -Source <source>
nuget sources update -name "my-package" -Username name -Password ${{ secrets.mysecret }}
// dotnet nuget update source <NAME>
dotnet nuget update source my-package --username name --password ${{ secrets.mysecret }}

You add dotnet at the start. Remember to change sources to source without the s. Update and source has moved places. All argument will be changed from one dash – to double dashes –. And argument names are all lowercases.

Nuget source: https://docs.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-sources

Dotnet Source: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-update-source