Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of cli settings via a JSON file #6049

Open
ellismg opened this issue May 9, 2016 · 3 comments
Open

Allow configuration of cli settings via a JSON file #6049

ellismg opened this issue May 9, 2016 · 3 comments
Labels
Milestone

Comments

@ellismg
Copy link
Contributor

ellismg commented May 9, 2016

Today, we have a collection of environment variables and XML files that provide configuration to the toolchain. For example, we have an environment variable to to control if telemetry is reported. We have another that you can use to change where the machine wide nuget configuration is read from (so folks can add additional sources).

It would be nice if this configuration could be centralized in some sort of config.json file SxS with the SDK files, to make it easier for folks to control instead of having to add tons of environment variables to their command lines or environment.

@ellismg ellismg self-assigned this May 9, 2016
@TheRealPiotrP
Copy link
Contributor

@ellismg do we have an explicit list of the configuration you care about? If this is going to make preview2 it needs to come in fairly soon. You should also note that the env vars you mention, NuGet reads some and CLI reads others...

@ellismg
Copy link
Contributor Author

ellismg commented May 26, 2016

Can we start with the environment variables that CLI reads (I know the telemetry one, I was unaware there were others).

Ignoring the NuGet ones for preview fine is reasonable, we can figure out the best way to centralize them later.

@blackdwarf
Copy link

Generally agree that this would be a good overall usability addition, so moving to RTM for further scoping and proper evaluation.

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the 2.2.1xx milestone Jan 31, 2020
@ellismg ellismg removed their assignment Sep 23, 2020
@marcpopMSFT marcpopMSFT modified the milestones: 2.2.1xx, Backlog Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants