Add nuget-config-dir parameter support.#25
Add nuget-config-dir parameter support.#25kassemsandarusi wants to merge 1 commit intonullean:masterfrom
Conversation
|
@Mpdreamz ping! If you're busy no worries, just hoping for this to get noticed. |
|
Hey @kassemsandarusi you hit the nail on a sore spot :) I totally agree this is overdue a revamp ideally everything is command line based. We should do the parsing of the commandline before setting up the providers so things do not need to be mutable. I'm also open to move to a different command line parser if that eases things. I am happy to first review this PR and get it out there and if you are willing we can follow up trying to clean this up? |
++ to this. Looks like the instantiation of |
Fixes #24
This is just an attempt, but I'm not committed to anything. The main challenge is that providers needs to be initialized, so we can't easily inject changes from options. Options I saw in order from least to most aggressive:
INuGet.InstallPackagethat takes the nuget config directory, then somehow change theAssemblyProviderFactorypost argument parsing.