paket config
Store global configuration values like NuGet credentials.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
|
If you add the --verbose
flag Paket will run in verbose mode and show detailed information.
With --log-file [path]
you can trace the logged information into a file.
Adding credentials
URL credentials
1:
|
|
Paket will then ask you for the username, password, and authentication type that
will be used for the specified <source URL>
.
The credentials you enter here will then be used for source
s in the
paket.dependencies
file that match <source URL>
unless they carry a username and password.
Verifying the source URL and credentials
1:
|
|
Paket will verify that the <source URL>
and the credentials entered with the given
authentication type are valid. This feature is useful if you want to avoid storing
wrong credentials or URL in the Paket configuration file.
GitHub credentials
1:
|
|
Paket will then ask you for the username and password that will be used for the
specified <credential key>
.
The credentials you enter here will then be used to access any GitHub files from
the paket.dependencies
file that carry the
specified <credential key>
.
1:
|
|
The <token>
you enter here will then be used to access any GitHub files from
the paket.dependencies
file that carry the
specified <credential key>
.
The configuration file can be found at:
1: 2: 3: |
|
Example
Adding a NuGet API key
1:
|
|