-
Notifications
You must be signed in to change notification settings - Fork 520
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
Feature Request: Add Batch option for add-credentials #1722
Comments
Yes this sounds doable.
|
This allows add-credentials to supply username and password from the command line.
Currently, add-credentials always asks credentials from the console.
In our developer machine setup, we automatically configure configuration files for various build systems / tools like maven, gradle, npm, nuget all using the same user credentials.
We do this by reading the credentials from the user once and after that executing config commands of the tools in sequence (npm config auth, nuget source...)
However, Paket does not allow to specify username and password directly on the command line, which makes it a lot harder to automatically configure it using that system.
I suggest providing a --batch flag:
paket config add-credentials --batch
alternatively:
paket config add-credentials --username --password
The text was updated successfully, but these errors were encountered: