chocolatey/chocolatey — pull request #101 by LucidSage (2012-06-05 18:46:38+00:00)
Title: Source config implementation

I have removed the source argument defaults used in all the functions.
I have added a new Get-SourceArgument function to wrap the logic for handling the source argument generation.
This new function is then used in Chocolatey-List, Chocolatey-Version, and Run-Get functions.

Basic logic used in Get-SourceArgument:
- if the user supplied a source, use it
- if the useNuGetForSources flag is true, do not set the source argument, which will let NuGet handle it.
- otherwise read the sources out of the chocolatey.config file and use those.