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 custom user config file path #47

Open
brwai opened this issue Oct 4, 2024 · 0 comments
Open

Allow custom user config file path #47

brwai opened this issue Oct 4, 2024 · 0 comments

Comments

@brwai
Copy link

brwai commented Oct 4, 2024

Is your feature request related to a problem? Please describe.
Currently ado-npm-auth always looks for user config file under the home directory. This wouldn't work for cases where the project is not located under the user's home directory. It would be better to provide a way to customize where ado-npm-auth locates the user config file.

Describe the solution you'd like
Allow user config file customization through:

  1. --userConfigFile option
  2. Setting environment variable such as ADO_NPM_AUTH_USER_CONFIG

Please see this PR for suggested changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant