WIP Paket global and local tools
#3737
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
modify
Pakettoo so can be installed global (-g) and local (--local) with different behaviour.as global tool, installed like
dotnet tool install -g Paket, behaviour depends:.paket/paket.exeORdotnet paket), it execute the repo paket exe, passing the same arguments (sort of magic mode). sopaket --helpis like.paket/paket.exe --helppaket init.as local tool, installed like
dotnet tool install --local Paket(the--locali think is optional), is:dotnet paketpaket --help->dotnet paket --help, so will forward.Current status
works now as ☝️ in windows, printing the command who will run
TODO
TODOcommentsPRocessStartInfo.ArgumentList? or continue to use Paket.Bootstrapper quoting code.dotnet paketALWAYS)ref #3623