File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,27 @@ You can also edit the permission of existing tokens later.
7878
7979After the token is generated, you can give it to NCU using:
8080
81+ <details open name =" set-token " ><summary >With encryption (Recommended)</summary >
82+
8183``` sh
8284ncu-config set username your_github_username
83- # It is strongly recommended to encrypt your token. Do not provide it in the CLI,
84- # `ncu-config` will prompt you for it.
85+ # Do not provide the token in the CLI, `ncu-config` will prompt you for it.
8586ncu-config set -x token
8687```
8788
88- Note: Encryption is available only if you have ` gpg ` setup on your machine. If
89- not, do not pass the ` -x ` flag.
89+ Note: Encryption is available only if you have ` gpg ` setup on your machine.
90+
91+ </details >
92+
93+ <details name =" set-token " ><summary >Without encryption</summary >
94+
95+ ``` sh
96+ ncu-config set username your_github_username
97+ # Do not provide the token in the CLI, `ncu-config` will prompt you for it.
98+ ncu-config set token
99+ ```
100+
101+ </details >
90102
91103### Setting up Jenkins credentials
92104
You can’t perform that action at this time.
0 commit comments