@simplysf/simply-gitlab 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -56,8 +56,8 @@ Connection settings come from environment variables, from flags, or from a `.env
56
56
  ignored.
57
57
 
58
58
  ```
59
- GITLAB_URL=https://gitlab.example.com # omit for gitlab.com
60
- GITLAB_TOKEN=glpat-...
59
+ SIMPLY_GITLAB_URL=https://gitlab.example.com # omit for gitlab.com
60
+ SIMPLY_GITLAB_TOKEN=glpat-...
61
61
  ```
62
62
 
63
63
  The token is a personal, project, or group access token, created under **Preferences › Access
@@ -66,9 +66,9 @@ tokens**. `read_api` is enough for every read command; `api` is needed to write.
66
66
  Explicit flags beat the environment, which beats the file's contents. Certificate verification is
67
67
  always on: for an instance behind an internal or agency CA, trust that CA with
68
68
  `NODE_EXTRA_CA_CERTS=/path/to/ca.pem` rather than disabling verification —
69
- `GITLAB_SSL_VERIFY=false` is refused with an error rather than ignored.
69
+ `SIMPLY_GITLAB_SSL_VERIFY=false` is refused with an error rather than ignored.
70
70
 
71
- `GITLAB_PROJECT` sets the default for `-p/--project`, so a shell in one repository's context need
71
+ `SIMPLY_GITLAB_PROJECT` sets the default for `-p/--project`, so a shell in one repository's context need
72
72
  not repeat it.
73
73
 
74
74
  ## Naming a project
@@ -89,13 +89,14 @@ wrong one does not fail: it addresses a different merge request in a different p
89
89
 
90
90
  ## Write safety
91
91
 
92
- Six commands change data: `branch create`, `file create`, `file update`, `commit create`,
93
- `mr create`, and `mr update`. Nothing here deletes anything.
92
+ Nine commands change data: `project create`, `branch create`, `file create`, `file update`,
93
+ `commit create`, `mr create`, `mr update`, `mr merge`, and `release create`. Nothing here deletes
94
+ anything.
94
95
 
95
96
  **`--dry-run`** is on every one of them. It prints the exact request body that would be sent and
96
97
  sends nothing, which is the cheapest way to check a command before running it for real.
97
98
 
98
- **`GITLAB_READ_ONLY=1`** refuses every write before any request is made. It is a guardrail against
99
+ **`SIMPLY_GITLAB_READ_ONLY=1`** refuses every write before any request is made. It is a guardrail against
99
100
  running against the wrong project or with the wrong credentials, not a security boundary — anyone
100
101
  who can set the variable can unset it.
101
102
 
@@ -132,10 +133,12 @@ exitCode, status?, body?}}` — and nothing to stdout. Exit codes are identical
132
133
 
133
134
  - [`simply gitlab branch create`](#simply-gitlab-branch-create)
134
135
  - [`simply gitlab branch list`](#simply-gitlab-branch-list)
136
+ - [`simply gitlab branch view`](#simply-gitlab-branch-view)
135
137
  - [`simply gitlab ci environment list`](#simply-gitlab-ci-environment-list)
136
138
  - [`simply gitlab ci job list`](#simply-gitlab-ci-job-list)
137
139
  - [`simply gitlab ci job log`](#simply-gitlab-ci-job-log)
138
140
  - [`simply gitlab ci variable list`](#simply-gitlab-ci-variable-list)
141
+ - [`simply gitlab commit compare`](#simply-gitlab-commit-compare)
139
142
  - [`simply gitlab commit create`](#simply-gitlab-commit-create)
140
143
  - [`simply gitlab commit diff`](#simply-gitlab-commit-diff)
141
144
  - [`simply gitlab commit list`](#simply-gitlab-commit-list)
@@ -155,7 +158,9 @@ exitCode, status?, body?}}` — and nothing to stdout. Exit codes are identical
155
158
  - [`simply gitlab project create`](#simply-gitlab-project-create)
156
159
  - [`simply gitlab project list`](#simply-gitlab-project-list)
157
160
  - [`simply gitlab project view`](#simply-gitlab-project-view)
161
+ - [`simply gitlab release create`](#simply-gitlab-release-create)
158
162
  - [`simply gitlab release list`](#simply-gitlab-release-list)
163
+ - [`simply gitlab release view`](#simply-gitlab-release-view)
159
164
  - [`simply gitlab search`](#simply-gitlab-search)
160
165
  - [`simply gitlab tag list`](#simply-gitlab-tag-list)
161
166
 
@@ -166,18 +171,23 @@ Create a branch.
166
171
  ```
167
172
  USAGE
168
173
  $ simply gitlab branch create -p <value> --branch <value> --ref <value> [--json] [-e <value>] [--gitlab-url <value>]
169
- [--gitlab-token <value>] [--dry-run]
174
+ [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--dry-run]
170
175
 
171
176
  FLAGS
172
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
177
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
178
+ group/subgroup/project.
173
179
  --branch=<value> (required) Name of the new branch.
174
180
  --dry-run Print the request that would be sent and exit without sending it.
175
181
  --ref=<value> (required) Branch, tag, or commit SHA to branch from.
176
182
 
177
183
  CONNECTION FLAGS
178
- -e, --env-file=<value> Path to a .env file holding connection settings.
179
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
180
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
184
+ -e, --env-file=<value> Path to a .env file holding connection settings.
185
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
186
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
187
+ personal.
188
+ <options: personal|job>
189
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
190
+ https://gitlab.com.
181
191
 
182
192
  GLOBAL FLAGS
183
193
  --json Format output as json.
@@ -197,10 +207,18 @@ FLAG DESCRIPTIONS
197
207
  -e, --env-file=<value> Path to a .env file holding connection settings.
198
208
 
199
209
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
200
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
210
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
211
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
212
+ all but the token kind) are read from it. A path that cannot be read is an error.
213
+
214
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
215
+
216
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
217
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
218
+ token settings.
201
219
  ```
202
220
 
203
- _See code: [lib/commands/gitlab/branch/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/branch/create.js)_
221
+ _See code: [lib/commands/gitlab/branch/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/branch/create.js)_
204
222
 
205
223
  ## `simply gitlab branch list`
206
224
 
@@ -208,18 +226,23 @@ List repository branches.
208
226
 
209
227
  ```
210
228
  USAGE
211
- $ simply gitlab branch list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
212
- <value>] [--search <value>]
229
+ $ simply gitlab branch list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
230
+ [--gitlab-token-kind personal|job] [--limit <value>] [--search <value>]
213
231
 
214
232
  FLAGS
215
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
233
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
234
+ group/subgroup/project.
216
235
  --limit=<value> [default: 20] Maximum number of branches to return across all pages.
217
236
  --search=<value> Return only branches whose name contains this term.
218
237
 
219
238
  CONNECTION FLAGS
220
- -e, --env-file=<value> Path to a .env file holding connection settings.
221
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
222
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
239
+ -e, --env-file=<value> Path to a .env file holding connection settings.
240
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
241
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
242
+ personal.
243
+ <options: personal|job>
244
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
245
+ https://gitlab.com.
223
246
 
224
247
  GLOBAL FLAGS
225
248
  --json Format output as json.
@@ -240,10 +263,73 @@ FLAG DESCRIPTIONS
240
263
  -e, --env-file=<value> Path to a .env file holding connection settings.
241
264
 
242
265
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
243
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
266
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
267
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
268
+ all but the token kind) are read from it. A path that cannot be read is an error.
269
+
270
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
271
+
272
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
273
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
274
+ token settings.
275
+ ```
276
+
277
+ _See code: [lib/commands/gitlab/branch/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/branch/list.js)_
278
+
279
+ ## `simply gitlab branch view`
280
+
281
+ Show one branch.
282
+
244
283
  ```
284
+ USAGE
285
+ $ simply gitlab branch view -p <value> --branch <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
286
+ <value>] [--gitlab-token-kind personal|job]
245
287
 
246
- _See code: [lib/commands/gitlab/branch/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/branch/list.js)_
288
+ FLAGS
289
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
290
+ group/subgroup/project.
291
+ --branch=<value> (required) Exact branch name.
292
+
293
+ CONNECTION FLAGS
294
+ -e, --env-file=<value> Path to a .env file holding connection settings.
295
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
296
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
297
+ personal.
298
+ <options: personal|job>
299
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
300
+ https://gitlab.com.
301
+
302
+ GLOBAL FLAGS
303
+ --json Format output as json.
304
+
305
+ DESCRIPTION
306
+ Show one branch.
307
+
308
+ Looks the branch up by its exact name, unlike branch list --search, which matches any part of a name. A branch that
309
+ does not exist fails with status 404. So does a project the token cannot see, so a 404 alone does not prove the branch
310
+ is missing.
311
+
312
+ EXAMPLES
313
+ $ simply gitlab branch view --project group/project --branch main
314
+
315
+ $ simply gitlab branch view --project group/project --branch release/1.2 --json
316
+
317
+ FLAG DESCRIPTIONS
318
+ -e, --env-file=<value> Path to a .env file holding connection settings.
319
+
320
+ Loaded before anything else. Variables already present in the environment win, so the file never overrides an
321
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
322
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
323
+ all but the token kind) are read from it. A path that cannot be read is an error.
324
+
325
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
326
+
327
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
328
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
329
+ token settings.
330
+ ```
331
+
332
+ _See code: [lib/commands/gitlab/branch/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/branch/view.js)_
247
333
 
248
334
  ## `simply gitlab ci environment list`
249
335
 
@@ -251,11 +337,12 @@ List a project deployment environments.
251
337
 
252
338
  ```
253
339
  USAGE
254
- $ simply gitlab ci environment list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
255
- <value>] [--name <value>] [--search <value>] [--state available|stopped]
340
+ $ simply gitlab ci environment list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
341
+ [--gitlab-token-kind personal|job] [--limit <value>] [--name <value>] [--search <value>] [--state available|stopped]
256
342
 
257
343
  FLAGS
258
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
344
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
345
+ group/subgroup/project.
259
346
  --limit=<value> [default: 20] Maximum number of environments to return across all pages.
260
347
  --name=<value> Return the environment with exactly this name.
261
348
  --search=<value> Return environments whose name contains this term.
@@ -263,9 +350,13 @@ FLAGS
263
350
  <options: available|stopped>
264
351
 
265
352
  CONNECTION FLAGS
266
- -e, --env-file=<value> Path to a .env file holding connection settings.
267
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
268
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
353
+ -e, --env-file=<value> Path to a .env file holding connection settings.
354
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
355
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
356
+ personal.
357
+ <options: personal|job>
358
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
359
+ https://gitlab.com.
269
360
 
270
361
  GLOBAL FLAGS
271
362
  --json Format output as json.
@@ -286,10 +377,18 @@ FLAG DESCRIPTIONS
286
377
  -e, --env-file=<value> Path to a .env file holding connection settings.
287
378
 
288
379
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
289
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
380
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
381
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
382
+ all but the token kind) are read from it. A path that cannot be read is an error.
383
+
384
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
385
+
386
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
387
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
388
+ token settings.
290
389
  ```
291
390
 
292
- _See code: [lib/commands/gitlab/ci/environment/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/ci/environment/list.js)_
391
+ _See code: [lib/commands/gitlab/ci/environment/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/ci/environment/list.js)_
293
392
 
294
393
  ## `simply gitlab ci job list`
295
394
 
@@ -297,20 +396,26 @@ List CI jobs for a project.
297
396
 
298
397
  ```
299
398
  USAGE
300
- $ simply gitlab ci job list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
301
- <value>] [--scope created|pending|running|failed|success|canceled|skipped|waiting_for_resource|manual...]
399
+ $ simply gitlab ci job list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
400
+ [--gitlab-token-kind personal|job] [--limit <value>] [--scope
401
+ created|pending|running|failed|success|canceled|skipped|waiting_for_resource|manual...]
302
402
 
303
403
  FLAGS
304
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
404
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
405
+ group/subgroup/project.
305
406
  --limit=<value> [default: 20] Maximum number of jobs to return across all pages.
306
407
  --scope=<option>... Job states to include. Repeatable.
307
408
  <options:
308
409
  created|pending|running|failed|success|canceled|skipped|waiting_for_resource|manual>
309
410
 
310
411
  CONNECTION FLAGS
311
- -e, --env-file=<value> Path to a .env file holding connection settings.
312
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
313
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
412
+ -e, --env-file=<value> Path to a .env file holding connection settings.
413
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
414
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
415
+ personal.
416
+ <options: personal|job>
417
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
418
+ https://gitlab.com.
314
419
 
315
420
  GLOBAL FLAGS
316
421
  --json Format output as json.
@@ -330,10 +435,18 @@ FLAG DESCRIPTIONS
330
435
  -e, --env-file=<value> Path to a .env file holding connection settings.
331
436
 
332
437
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
333
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
438
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
439
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
440
+ all but the token kind) are read from it. A path that cannot be read is an error.
441
+
442
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
443
+
444
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
445
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
446
+ token settings.
334
447
  ```
335
448
 
336
- _See code: [lib/commands/gitlab/ci/job/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/ci/job/list.js)_
449
+ _See code: [lib/commands/gitlab/ci/job/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/ci/job/list.js)_
337
450
 
338
451
  ## `simply gitlab ci job log`
339
452
 
@@ -342,17 +455,22 @@ Print a job log.
342
455
  ```
343
456
  USAGE
344
457
  $ simply gitlab ci job log -p <value> --job <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
345
- <value>] [--tail <value>]
458
+ <value>] [--gitlab-token-kind personal|job] [--tail <value>]
346
459
 
347
460
  FLAGS
348
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
461
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
462
+ group/subgroup/project.
349
463
  --job=<value> (required) Job id, as listed by ci job list.
350
464
  --tail=<value> [default: 200] Print only the last N lines. 0 prints the whole trace.
351
465
 
352
466
  CONNECTION FLAGS
353
- -e, --env-file=<value> Path to a .env file holding connection settings.
354
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
355
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
467
+ -e, --env-file=<value> Path to a .env file holding connection settings.
468
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
469
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
470
+ personal.
471
+ <options: personal|job>
472
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
473
+ https://gitlab.com.
356
474
 
357
475
  GLOBAL FLAGS
358
476
  --json Format output as json.
@@ -375,10 +493,18 @@ FLAG DESCRIPTIONS
375
493
  -e, --env-file=<value> Path to a .env file holding connection settings.
376
494
 
377
495
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
378
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
496
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
497
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
498
+ all but the token kind) are read from it. A path that cannot be read is an error.
499
+
500
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
501
+
502
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
503
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
504
+ token settings.
379
505
  ```
380
506
 
381
- _See code: [lib/commands/gitlab/ci/job/log.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/ci/job/log.js)_
507
+ _See code: [lib/commands/gitlab/ci/job/log.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/ci/job/log.js)_
382
508
 
383
509
  ## `simply gitlab ci variable list`
384
510
 
@@ -386,18 +512,23 @@ List a project CI/CD variables.
386
512
 
387
513
  ```
388
514
  USAGE
389
- $ simply gitlab ci variable list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
390
- <value>] [--reveal]
515
+ $ simply gitlab ci variable list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
516
+ [--gitlab-token-kind personal|job] [--limit <value>] [--reveal]
391
517
 
392
518
  FLAGS
393
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
519
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
520
+ group/subgroup/project.
394
521
  --limit=<value> [default: 50] Maximum number of variables to return across all pages.
395
522
  --reveal Print the variable values in clear text.
396
523
 
397
524
  CONNECTION FLAGS
398
- -e, --env-file=<value> Path to a .env file holding connection settings.
399
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
400
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
525
+ -e, --env-file=<value> Path to a .env file holding connection settings.
526
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
527
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
528
+ personal.
529
+ <options: personal|job>
530
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
531
+ https://gitlab.com.
401
532
 
402
533
  GLOBAL FLAGS
403
534
  --json Format output as json.
@@ -421,7 +552,15 @@ FLAG DESCRIPTIONS
421
552
  -e, --env-file=<value> Path to a .env file holding connection settings.
422
553
 
423
554
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
424
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
555
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
556
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
557
+ all but the token kind) are read from it. A path that cannot be read is an error.
558
+
559
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
560
+
561
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
562
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
563
+ token settings.
425
564
 
426
565
  --reveal Print the variable values in clear text.
427
566
 
@@ -429,7 +568,67 @@ FLAG DESCRIPTIONS
429
568
  where this output is going.
430
569
  ```
431
570
 
432
- _See code: [lib/commands/gitlab/ci/variable/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/ci/variable/list.js)_
571
+ _See code: [lib/commands/gitlab/ci/variable/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/ci/variable/list.js)_
572
+
573
+ ## `simply gitlab commit compare`
574
+
575
+ Compare two branches, tags, or commits.
576
+
577
+ ```
578
+ USAGE
579
+ $ simply gitlab commit compare -p <value> --from <value> --to <value> [--json] [-e <value>] [--gitlab-url <value>]
580
+ [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--straight]
581
+
582
+ FLAGS
583
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
584
+ group/subgroup/project.
585
+ --from=<value> (required) Branch, tag, or SHA to compare from.
586
+ --straight Compare the two refs directly rather than from where they diverge.
587
+ --to=<value> (required) Branch, tag, or SHA to compare to.
588
+
589
+ CONNECTION FLAGS
590
+ -e, --env-file=<value> Path to a .env file holding connection settings.
591
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
592
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
593
+ personal.
594
+ <options: personal|job>
595
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
596
+ https://gitlab.com.
597
+
598
+ GLOBAL FLAGS
599
+ --json Format output as json.
600
+
601
+ DESCRIPTION
602
+ Compare two branches, tags, or commits.
603
+
604
+ Lists the commits on --to that are not on --from, and counts the files they change. By default the comparison starts
605
+ where the two refs diverge, which answers "what would merging --to bring in". --straight compares the two refs
606
+ directly instead.
607
+
608
+ GitLab limits how much one comparison returns and says so in the payload rather than failing; this command says so
609
+ too. Use --json for the diffs themselves.
610
+
611
+ EXAMPLES
612
+ $ simply gitlab commit compare --project group/project --from v1.2.0 --to main
613
+
614
+ $ simply gitlab commit compare --project group/project --from main --to feature --straight --json
615
+
616
+ FLAG DESCRIPTIONS
617
+ -e, --env-file=<value> Path to a .env file holding connection settings.
618
+
619
+ Loaded before anything else. Variables already present in the environment win, so the file never overrides an
620
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
621
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
622
+ all but the token kind) are read from it. A path that cannot be read is an error.
623
+
624
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
625
+
626
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
627
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
628
+ token settings.
629
+ ```
630
+
631
+ _See code: [lib/commands/gitlab/commit/compare.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/commit/compare.js)_
433
632
 
434
633
  ## `simply gitlab commit create`
435
634
 
@@ -438,11 +637,12 @@ Commit several file changes at once.
438
637
  ```
439
638
  USAGE
440
639
  $ simply gitlab commit create -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
441
- [--dry-run] [--branch <value>] [--message <value>] [--actions <value>] [--start-branch <value>] [--start-sha
442
- <value>] [--author-email <value>] [--author-name <value>] [--force] [--body <value> | --body-file <value>]
640
+ [--gitlab-token-kind personal|job] [--dry-run] [--branch <value>] [--message <value>] [--actions <value>]
641
+ [--start-branch <value>] [--start-sha <value>] [--author-email <value>] [--author-name <value>] [--force] [--body
642
+ <value> | --body-file <value>]
443
643
 
444
644
  FLAGS
445
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
645
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
446
646
  group/subgroup/project.
447
647
  --actions=<value> JSON array of file actions.
448
648
  --author-email=<value> Commit author email.
@@ -457,9 +657,13 @@ FLAGS
457
657
  --start-sha=<value> Commit SHA to start the new commit from.
458
658
 
459
659
  CONNECTION FLAGS
460
- -e, --env-file=<value> Path to a .env file holding connection settings.
461
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
462
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
660
+ -e, --env-file=<value> Path to a .env file holding connection settings.
661
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
662
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
663
+ personal.
664
+ <options: personal|job>
665
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
666
+ https://gitlab.com.
463
667
 
464
668
  GLOBAL FLAGS
465
669
  --json Format output as json.
@@ -486,10 +690,18 @@ FLAG DESCRIPTIONS
486
690
  -e, --env-file=<value> Path to a .env file holding connection settings.
487
691
 
488
692
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
489
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
693
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
694
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
695
+ all but the token kind) are read from it. A path that cannot be read is an error.
696
+
697
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
698
+
699
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
700
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
701
+ token settings.
490
702
  ```
491
703
 
492
- _See code: [lib/commands/gitlab/commit/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/commit/create.js)_
704
+ _See code: [lib/commands/gitlab/commit/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/commit/create.js)_
493
705
 
494
706
  ## `simply gitlab commit diff`
495
707
 
@@ -498,17 +710,22 @@ Show the changes a commit made.
498
710
  ```
499
711
  USAGE
500
712
  $ simply gitlab commit diff -p <value> --sha <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
501
- <value>] [--stat]
713
+ <value>] [--gitlab-token-kind personal|job] [--stat]
502
714
 
503
715
  FLAGS
504
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
716
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
717
+ group/subgroup/project.
505
718
  --sha=<value> (required) Commit SHA, or the name of a branch or tag.
506
719
  --stat List the changed files without printing the hunks.
507
720
 
508
721
  CONNECTION FLAGS
509
- -e, --env-file=<value> Path to a .env file holding connection settings.
510
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
511
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
722
+ -e, --env-file=<value> Path to a .env file holding connection settings.
723
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
724
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
725
+ personal.
726
+ <options: personal|job>
727
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
728
+ https://gitlab.com.
512
729
 
513
730
  GLOBAL FLAGS
514
731
  --json Format output as json.
@@ -528,10 +745,18 @@ FLAG DESCRIPTIONS
528
745
  -e, --env-file=<value> Path to a .env file holding connection settings.
529
746
 
530
747
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
531
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
748
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
749
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
750
+ all but the token kind) are read from it. A path that cannot be read is an error.
751
+
752
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
753
+
754
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
755
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
756
+ token settings.
532
757
  ```
533
758
 
534
- _See code: [lib/commands/gitlab/commit/diff.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/commit/diff.js)_
759
+ _See code: [lib/commands/gitlab/commit/diff.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/commit/diff.js)_
535
760
 
536
761
  ## `simply gitlab commit list`
537
762
 
@@ -539,11 +764,13 @@ List repository commits.
539
764
 
540
765
  ```
541
766
  USAGE
542
- $ simply gitlab commit list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
543
- <value>] [--ref <value>] [--path <value>] [--since <value>] [--until <value>] [--author <value>] [--stats]
767
+ $ simply gitlab commit list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
768
+ [--gitlab-token-kind personal|job] [--limit <value>] [--ref <value>] [--path <value>] [--since <value>] [--until
769
+ <value>] [--author <value>] [--stats]
544
770
 
545
771
  FLAGS
546
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
772
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
773
+ group/subgroup/project.
547
774
  --author=<value> Only commits by this author name or email.
548
775
  --limit=<value> [default: 20] Maximum number of commits to return across all pages.
549
776
  --path=<value> Only commits that touched this file or directory.
@@ -553,9 +780,13 @@ FLAGS
553
780
  --until=<value> Only commits on or before this ISO 8601 timestamp.
554
781
 
555
782
  CONNECTION FLAGS
556
- -e, --env-file=<value> Path to a .env file holding connection settings.
557
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
558
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
783
+ -e, --env-file=<value> Path to a .env file holding connection settings.
784
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
785
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
786
+ personal.
787
+ <options: personal|job>
788
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
789
+ https://gitlab.com.
559
790
 
560
791
  GLOBAL FLAGS
561
792
  --json Format output as json.
@@ -579,10 +810,18 @@ FLAG DESCRIPTIONS
579
810
  -e, --env-file=<value> Path to a .env file holding connection settings.
580
811
 
581
812
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
582
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
813
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
814
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
815
+ all but the token kind) are read from it. A path that cannot be read is an error.
816
+
817
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
818
+
819
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
820
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
821
+ token settings.
583
822
  ```
584
823
 
585
- _See code: [lib/commands/gitlab/commit/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/commit/list.js)_
824
+ _See code: [lib/commands/gitlab/commit/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/commit/list.js)_
586
825
 
587
826
  ## `simply gitlab commit view`
588
827
 
@@ -591,16 +830,21 @@ Show one commit.
591
830
  ```
592
831
  USAGE
593
832
  $ simply gitlab commit view -p <value> --sha <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
594
- <value>]
833
+ <value>] [--gitlab-token-kind personal|job]
595
834
 
596
835
  FLAGS
597
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
836
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
837
+ group/subgroup/project.
598
838
  --sha=<value> (required) Commit SHA, or the name of a branch or tag.
599
839
 
600
840
  CONNECTION FLAGS
601
- -e, --env-file=<value> Path to a .env file holding connection settings.
602
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
603
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
841
+ -e, --env-file=<value> Path to a .env file holding connection settings.
842
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
843
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
844
+ personal.
845
+ <options: personal|job>
846
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
847
+ https://gitlab.com.
604
848
 
605
849
  GLOBAL FLAGS
606
850
  --json Format output as json.
@@ -620,10 +864,18 @@ FLAG DESCRIPTIONS
620
864
  -e, --env-file=<value> Path to a .env file holding connection settings.
621
865
 
622
866
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
623
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
867
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
868
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
869
+ all but the token kind) are read from it. A path that cannot be read is an error.
870
+
871
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
872
+
873
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
874
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
875
+ token settings.
624
876
  ```
625
877
 
626
- _See code: [lib/commands/gitlab/commit/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/commit/view.js)_
878
+ _See code: [lib/commands/gitlab/commit/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/commit/view.js)_
627
879
 
628
880
  ## `simply gitlab config apply`
629
881
 
@@ -631,8 +883,8 @@ Bring projects onto a baseline config.
631
883
 
632
884
  ```
633
885
  USAGE
634
- $ simply gitlab config apply -c <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--target
635
- <value>...] [--concurrency <value>] [--fail-fast] [--dry-run]
886
+ $ simply gitlab config apply -c <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
887
+ [--gitlab-token-kind personal|job] [--target <value>...] [--concurrency <value>] [--fail-fast] [--dry-run]
636
888
 
637
889
  FLAGS
638
890
  -c, --config=<value> (required) Path to the baseline configuration file.
@@ -642,9 +894,13 @@ FLAGS
642
894
  --target=<value>... Limit the run to this project path. Repeatable.
643
895
 
644
896
  CONNECTION FLAGS
645
- -e, --env-file=<value> Path to a .env file holding connection settings.
646
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
647
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
897
+ -e, --env-file=<value> Path to a .env file holding connection settings.
898
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
899
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
900
+ personal.
901
+ <options: personal|job>
902
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
903
+ https://gitlab.com.
648
904
 
649
905
  GLOBAL FLAGS
650
906
  --json Format output as json.
@@ -677,20 +933,28 @@ FLAG DESCRIPTIONS
677
933
  -e, --env-file=<value> Path to a .env file holding connection settings.
678
934
 
679
935
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
680
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
936
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
937
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
938
+ all but the token kind) are read from it. A path that cannot be read is an error.
681
939
 
682
940
  --concurrency=<value> How many targets to work on at once.
683
941
 
684
942
  Small by default. The client already retries a rate-limited request with a capped Retry-After, so raising this
685
943
  trades a shared instance responsiveness for very little wall-clock time.
686
944
 
945
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
946
+
947
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
948
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
949
+ token settings.
950
+
687
951
  --target=<value>... Limit the run to this project path. Repeatable.
688
952
 
689
953
  Narrows a run without editing the config, for the loop of fixing one project and checking it again. Naming a project
690
954
  the config does not target is an error rather than a silent no-op.
691
955
  ```
692
956
 
693
- _See code: [lib/commands/gitlab/config/apply.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/config/apply.js)_
957
+ _See code: [lib/commands/gitlab/config/apply.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/config/apply.js)_
694
958
 
695
959
  ## `simply gitlab config export`
696
960
 
@@ -699,19 +963,24 @@ Write a baseline config describing an existing project.
699
963
  ```
700
964
  USAGE
701
965
  $ simply gitlab config export -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
702
- [--section settings|protectedBranches|protectedTags|approvals|approvalRules|pushRules|badges|variables...]
966
+ [--gitlab-token-kind personal|job] [--section
967
+ settings|protectedBranches|protectedTags|approvals|approvalRules|pushRules|badges|variables...]
703
968
 
704
969
  FLAGS
705
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
970
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
706
971
  group/subgroup/project.
707
972
  --section=<option>... Comma-separated sections to export. Defaults to all of them.
708
973
  <options: settings|protectedBranches|protectedTags|approvals|approvalRules|pushRules|badges
709
974
  |variables>
710
975
 
711
976
  CONNECTION FLAGS
712
- -e, --env-file=<value> Path to a .env file holding connection settings.
713
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
714
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
977
+ -e, --env-file=<value> Path to a .env file holding connection settings.
978
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
979
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
980
+ personal.
981
+ <options: personal|job>
982
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
983
+ https://gitlab.com.
715
984
 
716
985
  GLOBAL FLAGS
717
986
  --json Format output as json.
@@ -738,10 +1007,18 @@ FLAG DESCRIPTIONS
738
1007
  -e, --env-file=<value> Path to a .env file holding connection settings.
739
1008
 
740
1009
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
741
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1010
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1011
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1012
+ all but the token kind) are read from it. A path that cannot be read is an error.
1013
+
1014
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1015
+
1016
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1017
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1018
+ token settings.
742
1019
  ```
743
1020
 
744
- _See code: [lib/commands/gitlab/config/export.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/config/export.js)_
1021
+ _See code: [lib/commands/gitlab/config/export.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/config/export.js)_
745
1022
 
746
1023
  ## `simply gitlab config plan`
747
1024
 
@@ -749,8 +1026,8 @@ Report how projects differ from a baseline config.
749
1026
 
750
1027
  ```
751
1028
  USAGE
752
- $ simply gitlab config plan -c <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--target
753
- <value>...] [--concurrency <value>] [--fail-fast] [--fail-on-drift]
1029
+ $ simply gitlab config plan -c <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1030
+ [--gitlab-token-kind personal|job] [--target <value>...] [--concurrency <value>] [--fail-fast] [--fail-on-drift]
754
1031
 
755
1032
  FLAGS
756
1033
  -c, --config=<value> (required) Path to the baseline configuration file.
@@ -760,9 +1037,13 @@ FLAGS
760
1037
  --target=<value>... Limit the run to this project path. Repeatable.
761
1038
 
762
1039
  CONNECTION FLAGS
763
- -e, --env-file=<value> Path to a .env file holding connection settings.
764
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
765
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1040
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1041
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1042
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1043
+ personal.
1044
+ <options: personal|job>
1045
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1046
+ https://gitlab.com.
766
1047
 
767
1048
  GLOBAL FLAGS
768
1049
  --json Format output as json.
@@ -796,20 +1077,28 @@ FLAG DESCRIPTIONS
796
1077
  -e, --env-file=<value> Path to a .env file holding connection settings.
797
1078
 
798
1079
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
799
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1080
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1081
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1082
+ all but the token kind) are read from it. A path that cannot be read is an error.
800
1083
 
801
1084
  --concurrency=<value> How many targets to work on at once.
802
1085
 
803
1086
  Small by default. The client already retries a rate-limited request with a capped Retry-After, so raising this
804
1087
  trades a shared instance responsiveness for very little wall-clock time.
805
1088
 
1089
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1090
+
1091
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1092
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1093
+ token settings.
1094
+
806
1095
  --target=<value>... Limit the run to this project path. Repeatable.
807
1096
 
808
1097
  Narrows a run without editing the config, for the loop of fixing one project and checking it again. Naming a project
809
1098
  the config does not target is an error rather than a silent no-op.
810
1099
  ```
811
1100
 
812
- _See code: [lib/commands/gitlab/config/plan.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/config/plan.js)_
1101
+ _See code: [lib/commands/gitlab/config/plan.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/config/plan.js)_
813
1102
 
814
1103
  ## `simply gitlab file create`
815
1104
 
@@ -818,11 +1107,11 @@ Create a file in a repository.
818
1107
  ```
819
1108
  USAGE
820
1109
  $ simply gitlab file create -p <value> --path <value> --branch <value> --message <value> [--json] [-e <value>]
821
- [--gitlab-url <value>] [--gitlab-token <value>] [--dry-run] [--content <value> | --content-file <value>]
822
- [--start-branch <value>] [--author-email <value>] [--author-name <value>]
1110
+ [--gitlab-url <value>] [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--dry-run] [--content <value> |
1111
+ --content-file <value>] [--start-branch <value>] [--author-email <value>] [--author-name <value>]
823
1112
 
824
1113
  FLAGS
825
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1114
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
826
1115
  group/subgroup/project.
827
1116
  --author-email=<value> Commit author email.
828
1117
  --author-name=<value> Commit author name.
@@ -835,9 +1124,13 @@ FLAGS
835
1124
  --start-branch=<value> Branch to create --branch from, if it does not exist.
836
1125
 
837
1126
  CONNECTION FLAGS
838
- -e, --env-file=<value> Path to a .env file holding connection settings.
839
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
840
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1127
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1128
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1129
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1130
+ personal.
1131
+ <options: personal|job>
1132
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1133
+ https://gitlab.com.
841
1134
 
842
1135
  GLOBAL FLAGS
843
1136
  --json Format output as json.
@@ -858,10 +1151,18 @@ FLAG DESCRIPTIONS
858
1151
  -e, --env-file=<value> Path to a .env file holding connection settings.
859
1152
 
860
1153
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
861
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1154
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1155
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1156
+ all but the token kind) are read from it. A path that cannot be read is an error.
1157
+
1158
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1159
+
1160
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1161
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1162
+ token settings.
862
1163
  ```
863
1164
 
864
- _See code: [lib/commands/gitlab/file/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/file/create.js)_
1165
+ _See code: [lib/commands/gitlab/file/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/file/create.js)_
865
1166
 
866
1167
  ## `simply gitlab file update`
867
1168
 
@@ -870,11 +1171,12 @@ Replace a file in a repository.
870
1171
  ```
871
1172
  USAGE
872
1173
  $ simply gitlab file update -p <value> --path <value> --branch <value> --message <value> [--json] [-e <value>]
873
- [--gitlab-url <value>] [--gitlab-token <value>] [--dry-run] [--content <value> | --content-file <value>]
874
- [--start-branch <value>] [--last-commit-id <value>] [--author-email <value>] [--author-name <value>]
1174
+ [--gitlab-url <value>] [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--dry-run] [--content <value> |
1175
+ --content-file <value>] [--start-branch <value>] [--last-commit-id <value>] [--author-email <value>] [--author-name
1176
+ <value>]
875
1177
 
876
1178
  FLAGS
877
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1179
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
878
1180
  group/subgroup/project.
879
1181
  --author-email=<value> Commit author email.
880
1182
  --author-name=<value> Commit author name.
@@ -888,9 +1190,13 @@ FLAGS
888
1190
  --start-branch=<value> Branch to create --branch from, if it does not exist.
889
1191
 
890
1192
  CONNECTION FLAGS
891
- -e, --env-file=<value> Path to a .env file holding connection settings.
892
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
893
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1193
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1194
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1195
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1196
+ personal.
1197
+ <options: personal|job>
1198
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1199
+ https://gitlab.com.
894
1200
 
895
1201
  GLOBAL FLAGS
896
1202
  --json Format output as json.
@@ -911,10 +1217,18 @@ FLAG DESCRIPTIONS
911
1217
  -e, --env-file=<value> Path to a .env file holding connection settings.
912
1218
 
913
1219
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
914
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1220
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1221
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1222
+ all but the token kind) are read from it. A path that cannot be read is an error.
1223
+
1224
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1225
+
1226
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1227
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1228
+ token settings.
915
1229
  ```
916
1230
 
917
- _See code: [lib/commands/gitlab/file/update.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/file/update.js)_
1231
+ _See code: [lib/commands/gitlab/file/update.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/file/update.js)_
918
1232
 
919
1233
  ## `simply gitlab file view`
920
1234
 
@@ -923,18 +1237,23 @@ Print a file from a repository.
923
1237
  ```
924
1238
  USAGE
925
1239
  $ simply gitlab file view -p <value> --path <value> --ref <value> [--json] [-e <value>] [--gitlab-url <value>]
926
- [--gitlab-token <value>] [--raw]
1240
+ [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--raw]
927
1241
 
928
1242
  FLAGS
929
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
1243
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1244
+ group/subgroup/project.
930
1245
  --path=<value> (required) Path to the file within the repository.
931
1246
  --raw Print only the file contents, with no metadata header.
932
1247
  --ref=<value> (required) Branch, tag, or commit SHA to read from.
933
1248
 
934
1249
  CONNECTION FLAGS
935
- -e, --env-file=<value> Path to a .env file holding connection settings.
936
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
937
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1250
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1251
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1252
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1253
+ personal.
1254
+ <options: personal|job>
1255
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1256
+ https://gitlab.com.
938
1257
 
939
1258
  GLOBAL FLAGS
940
1259
  --json Format output as json.
@@ -957,10 +1276,18 @@ FLAG DESCRIPTIONS
957
1276
  -e, --env-file=<value> Path to a .env file holding connection settings.
958
1277
 
959
1278
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
960
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1279
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1280
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1281
+ all but the token kind) are read from it. A path that cannot be read is an error.
1282
+
1283
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1284
+
1285
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1286
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1287
+ token settings.
961
1288
  ```
962
1289
 
963
- _See code: [lib/commands/gitlab/file/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/file/view.js)_
1290
+ _See code: [lib/commands/gitlab/file/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/file/view.js)_
964
1291
 
965
1292
  ## `simply gitlab mr comment list`
966
1293
 
@@ -969,10 +1296,11 @@ List the comments on a merge request.
969
1296
  ```
970
1297
  USAGE
971
1298
  $ simply gitlab mr comment list -p <value> --mr <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
972
- <value>] [--limit <value>] [--sort asc|desc] [--include-system | --code-only]
1299
+ <value>] [--gitlab-token-kind personal|job] [--limit <value>] [--sort asc|desc] [--include-system | --code-only]
973
1300
 
974
1301
  FLAGS
975
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
1302
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1303
+ group/subgroup/project.
976
1304
  --code-only Only return comments on the diff: on a line, a range of lines, or a whole file.
977
1305
  --include-system Also return the notes GitLab writes itself, such as "added 3 commits".
978
1306
  --limit=<value> [default: 20] Maximum number of comments to return across all pages.
@@ -981,9 +1309,13 @@ FLAGS
981
1309
  <options: asc|desc>
982
1310
 
983
1311
  CONNECTION FLAGS
984
- -e, --env-file=<value> Path to a .env file holding connection settings.
985
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
986
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1312
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1313
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1314
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1315
+ personal.
1316
+ <options: personal|job>
1317
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1318
+ https://gitlab.com.
987
1319
 
988
1320
  GLOBAL FLAGS
989
1321
  --json Format output as json.
@@ -1010,10 +1342,18 @@ FLAG DESCRIPTIONS
1010
1342
  -e, --env-file=<value> Path to a .env file holding connection settings.
1011
1343
 
1012
1344
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1013
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1345
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1346
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1347
+ all but the token kind) are read from it. A path that cannot be read is an error.
1348
+
1349
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1350
+
1351
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1352
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1353
+ token settings.
1014
1354
  ```
1015
1355
 
1016
- _See code: [lib/commands/gitlab/mr/comment/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/comment/list.js)_
1356
+ _See code: [lib/commands/gitlab/mr/comment/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/comment/list.js)_
1017
1357
 
1018
1358
  ## `simply gitlab mr create`
1019
1359
 
@@ -1022,12 +1362,12 @@ Open a merge request.
1022
1362
  ```
1023
1363
  USAGE
1024
1364
  $ simply gitlab mr create -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1025
- [--dry-run] [--source-branch <value>] [--target-branch <value>] [--title <value>] [--description <value>] [--draft]
1026
- [--squash] [--remove-source-branch] [--assignee-id <value>...] [--reviewer-id <value>...] [--labels <value>]
1027
- [--milestone-id <value>] [--body <value> | --body-file <value>]
1365
+ [--gitlab-token-kind personal|job] [--dry-run] [--source-branch <value>] [--target-branch <value>] [--title <value>]
1366
+ [--description <value>] [--draft] [--squash] [--remove-source-branch] [--assignee-id <value>...] [--reviewer-id
1367
+ <value>...] [--labels <value>] [--milestone-id <value>] [--body <value> | --body-file <value>]
1028
1368
 
1029
1369
  FLAGS
1030
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1370
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1031
1371
  group/subgroup/project.
1032
1372
  --assignee-id=<value>... User id to assign. Repeatable.
1033
1373
  --body=<value> Raw JSON request body.
@@ -1045,9 +1385,13 @@ FLAGS
1045
1385
  --title=<value> Merge request title.
1046
1386
 
1047
1387
  CONNECTION FLAGS
1048
- -e, --env-file=<value> Path to a .env file holding connection settings.
1049
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1050
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1388
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1389
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1390
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1391
+ personal.
1392
+ <options: personal|job>
1393
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1394
+ https://gitlab.com.
1051
1395
 
1052
1396
  GLOBAL FLAGS
1053
1397
  --json Format output as json.
@@ -1071,10 +1415,18 @@ FLAG DESCRIPTIONS
1071
1415
  -e, --env-file=<value> Path to a .env file holding connection settings.
1072
1416
 
1073
1417
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1074
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1418
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1419
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1420
+ all but the token kind) are read from it. A path that cannot be read is an error.
1421
+
1422
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1423
+
1424
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1425
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1426
+ token settings.
1075
1427
  ```
1076
1428
 
1077
- _See code: [lib/commands/gitlab/mr/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/create.js)_
1429
+ _See code: [lib/commands/gitlab/mr/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/create.js)_
1078
1430
 
1079
1431
  ## `simply gitlab mr list`
1080
1432
 
@@ -1082,12 +1434,13 @@ List merge requests for a project.
1082
1434
 
1083
1435
  ```
1084
1436
  USAGE
1085
- $ simply gitlab mr list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
1086
- <value>] [--state opened|closed|locked|merged|all] [--source-branch <value>] [--target-branch <value>]
1087
- [--author-username <value>] [--reviewer-username <value>] [--labels <value>] [--search <value>]
1437
+ $ simply gitlab mr list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1438
+ [--gitlab-token-kind personal|job] [--limit <value>] [--state opened|closed|locked|merged|all] [--source-branch
1439
+ <value>] [--target-branch <value>] [--author-username <value>] [--reviewer-username <value>] [--labels <value>]
1440
+ [--search <value>]
1088
1441
 
1089
1442
  FLAGS
1090
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1443
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1091
1444
  group/subgroup/project.
1092
1445
  --author-username=<value> Only merge requests opened by this username.
1093
1446
  --labels=<value> Comma-separated labels every result must carry.
@@ -1100,9 +1453,13 @@ FLAGS
1100
1453
  --target-branch=<value> Only merge requests into this target branch.
1101
1454
 
1102
1455
  CONNECTION FLAGS
1103
- -e, --env-file=<value> Path to a .env file holding connection settings.
1104
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1105
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1456
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1457
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1458
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1459
+ personal.
1460
+ <options: personal|job>
1461
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1462
+ https://gitlab.com.
1106
1463
 
1107
1464
  GLOBAL FLAGS
1108
1465
  --json Format output as json.
@@ -1125,10 +1482,18 @@ FLAG DESCRIPTIONS
1125
1482
  -e, --env-file=<value> Path to a .env file holding connection settings.
1126
1483
 
1127
1484
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1128
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1485
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1486
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1487
+ all but the token kind) are read from it. A path that cannot be read is an error.
1488
+
1489
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1490
+
1491
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1492
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1493
+ token settings.
1129
1494
  ```
1130
1495
 
1131
- _See code: [lib/commands/gitlab/mr/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/list.js)_
1496
+ _See code: [lib/commands/gitlab/mr/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/list.js)_
1132
1497
 
1133
1498
  ## `simply gitlab mr merge`
1134
1499
 
@@ -1137,11 +1502,11 @@ Merge a merge request, or add it to the merge train.
1137
1502
  ```
1138
1503
  USAGE
1139
1504
  $ simply gitlab mr merge -p <value> --mr <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
1140
- <value>] [--dry-run] [--sha <value>] [--auto-merge | --skip-merge-train] [--squash] [--remove-source-branch]
1141
- [--merge-commit-message <value>] [--squash-commit-message <value>] [--confirm]
1505
+ <value>] [--gitlab-token-kind personal|job] [--dry-run] [--sha <value>] [--auto-merge | --skip-merge-train]
1506
+ [--squash] [--remove-source-branch] [--merge-commit-message <value>] [--squash-commit-message <value>] [--confirm]
1142
1507
 
1143
1508
  FLAGS
1144
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1509
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1145
1510
  group/subgroup/project.
1146
1511
  --auto-merge Merge when checks pass. On a project with merge trains, this joins the train.
1147
1512
  --confirm Send the merge. Without it, nothing is sent.
@@ -1156,9 +1521,13 @@ FLAGS
1156
1521
  --squash-commit-message=<value> Custom squash commit message.
1157
1522
 
1158
1523
  CONNECTION FLAGS
1159
- -e, --env-file=<value> Path to a .env file holding connection settings.
1160
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1161
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1524
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1525
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1526
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1527
+ personal.
1528
+ <options: personal|job>
1529
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1530
+ https://gitlab.com.
1162
1531
 
1163
1532
  GLOBAL FLAGS
1164
1533
  --json Format output as json.
@@ -1189,10 +1558,18 @@ FLAG DESCRIPTIONS
1189
1558
  -e, --env-file=<value> Path to a .env file holding connection settings.
1190
1559
 
1191
1560
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1192
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1561
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1562
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1563
+ all but the token kind) are read from it. A path that cannot be read is an error.
1564
+
1565
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1566
+
1567
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1568
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1569
+ token settings.
1193
1570
  ```
1194
1571
 
1195
- _See code: [lib/commands/gitlab/mr/merge.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/merge.js)_
1572
+ _See code: [lib/commands/gitlab/mr/merge.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/merge.js)_
1196
1573
 
1197
1574
  ## `simply gitlab mr update`
1198
1575
 
@@ -1201,12 +1578,12 @@ Change an existing merge request.
1201
1578
  ```
1202
1579
  USAGE
1203
1580
  $ simply gitlab mr update -p <value> --mr <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
1204
- <value>] [--dry-run] [--title <value>] [--description <value>] [--target-branch <value>] [--state close|reopen]
1205
- [--squash] [--remove-source-branch] [--assignee-id <value>...] [--reviewer-id <value>...] [--labels <value>]
1206
- [--milestone-id <value>] [--body <value> | --body-file <value>]
1581
+ <value>] [--gitlab-token-kind personal|job] [--dry-run] [--title <value>] [--description <value>] [--target-branch
1582
+ <value>] [--state close|reopen] [--squash] [--remove-source-branch] [--assignee-id <value>...] [--reviewer-id
1583
+ <value>...] [--labels <value>] [--milestone-id <value>] [--body <value> | --body-file <value>]
1207
1584
 
1208
1585
  FLAGS
1209
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as
1586
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1210
1587
  group/subgroup/project.
1211
1588
  --assignee-id=<value>... User id to assign, replacing the set. Repeatable.
1212
1589
  --body=<value> Raw JSON request body.
@@ -1225,9 +1602,13 @@ FLAGS
1225
1602
  --title=<value> New title.
1226
1603
 
1227
1604
  CONNECTION FLAGS
1228
- -e, --env-file=<value> Path to a .env file holding connection settings.
1229
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1230
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1605
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1606
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1607
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1608
+ personal.
1609
+ <options: personal|job>
1610
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1611
+ https://gitlab.com.
1231
1612
 
1232
1613
  GLOBAL FLAGS
1233
1614
  --json Format output as json.
@@ -1253,10 +1634,18 @@ FLAG DESCRIPTIONS
1253
1634
  -e, --env-file=<value> Path to a .env file holding connection settings.
1254
1635
 
1255
1636
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1256
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1637
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1638
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1639
+ all but the token kind) are read from it. A path that cannot be read is an error.
1640
+
1641
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1642
+
1643
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1644
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1645
+ token settings.
1257
1646
  ```
1258
1647
 
1259
- _See code: [lib/commands/gitlab/mr/update.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/update.js)_
1648
+ _See code: [lib/commands/gitlab/mr/update.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/update.js)_
1260
1649
 
1261
1650
  ## `simply gitlab mr view`
1262
1651
 
@@ -1265,16 +1654,22 @@ Show one merge request.
1265
1654
  ```
1266
1655
  USAGE
1267
1656
  $ simply gitlab mr view -p <value> --mr <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
1268
- <value>]
1657
+ <value>] [--gitlab-token-kind personal|job] [--recheck]
1269
1658
 
1270
1659
  FLAGS
1271
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
1660
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1661
+ group/subgroup/project.
1272
1662
  --mr=<value> (required) Merge request iid.
1663
+ --recheck Ask GitLab to recheck the merge status first.
1273
1664
 
1274
1665
  CONNECTION FLAGS
1275
- -e, --env-file=<value> Path to a .env file holding connection settings.
1276
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1277
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1666
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1667
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1668
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1669
+ personal.
1670
+ <options: personal|job>
1671
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1672
+ https://gitlab.com.
1278
1673
 
1279
1674
  GLOBAL FLAGS
1280
1675
  --json Format output as json.
@@ -1285,19 +1680,32 @@ DESCRIPTION
1285
1680
  Takes the project-scoped iid — the number in the merge request URL — not the instance-wide id. Use --json for the full
1286
1681
  payload, which carries the pipeline status, approvals, and diff refs the summary below leaves out.
1287
1682
 
1683
+ Right after a push, GitLab can report a merge status it has not finished working out. --recheck asks it to work the
1684
+ status out again before answering.
1685
+
1288
1686
  EXAMPLES
1289
1687
  $ simply gitlab mr view --project group/project --mr 42
1290
1688
 
1291
1689
  $ simply gitlab mr view --project group/project --mr 42 --json
1292
1690
 
1691
+ $ simply gitlab mr view --project group/project --mr 42 --recheck
1692
+
1293
1693
  FLAG DESCRIPTIONS
1294
1694
  -e, --env-file=<value> Path to a .env file holding connection settings.
1295
1695
 
1296
1696
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1297
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1697
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1698
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1699
+ all but the token kind) are read from it. A path that cannot be read is an error.
1700
+
1701
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1702
+
1703
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1704
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1705
+ token settings.
1298
1706
  ```
1299
1707
 
1300
- _See code: [lib/commands/gitlab/mr/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/mr/view.js)_
1708
+ _See code: [lib/commands/gitlab/mr/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/mr/view.js)_
1301
1709
 
1302
1710
  ## `simply gitlab project create`
1303
1711
 
@@ -1305,10 +1713,11 @@ Create a project, blank or from a template.
1305
1713
 
1306
1714
  ```
1307
1715
  USAGE
1308
- $ simply gitlab project create [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--dry-run] [--name
1309
- <value>] [--path <value>] [--namespace <value>] [--description <value>] [--visibility private|internal|public]
1310
- [--default-branch <value>] [--initialize-with-readme] [--topics <value>] [--template <value>] [--custom-template]
1311
- [--template-group <value>] [--template-project <value>] [--body <value> | --body-file <value>]
1716
+ $ simply gitlab project create [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--gitlab-token-kind
1717
+ personal|job] [--dry-run] [--name <value>] [--path <value>] [--namespace <value>] [--description <value>]
1718
+ [--visibility private|internal|public] [--default-branch <value>] [--initialize-with-readme] [--topics <value>]
1719
+ [--template <value>] [--custom-template] [--template-group <value>] [--template-project <value>] [--body <value> |
1720
+ --body-file <value>]
1312
1721
 
1313
1722
  FLAGS
1314
1723
  --body=<value> Raw JSON request body.
@@ -1333,9 +1742,13 @@ FLAGS
1333
1742
  <options: private|internal|public>
1334
1743
 
1335
1744
  CONNECTION FLAGS
1336
- -e, --env-file=<value> Path to a .env file holding connection settings.
1337
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1338
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1745
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1746
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1747
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1748
+ personal.
1749
+ <options: personal|job>
1750
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1751
+ https://gitlab.com.
1339
1752
 
1340
1753
  GLOBAL FLAGS
1341
1754
  --json Format output as json.
@@ -1372,14 +1785,22 @@ FLAG DESCRIPTIONS
1372
1785
  -e, --env-file=<value> Path to a .env file holding connection settings.
1373
1786
 
1374
1787
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1375
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1788
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1789
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1790
+ all but the token kind) are read from it. A path that cannot be read is an error.
1791
+
1792
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1793
+
1794
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1795
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1796
+ token settings.
1376
1797
 
1377
1798
  --namespace=<value> Group or user namespace to create the project in, by id or full path.
1378
1799
 
1379
1800
  Defaults to the namespace of the token owner.
1380
1801
  ```
1381
1802
 
1382
- _See code: [lib/commands/gitlab/project/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/project/create.js)_
1803
+ _See code: [lib/commands/gitlab/project/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/project/create.js)_
1383
1804
 
1384
1805
  ## `simply gitlab project list`
1385
1806
 
@@ -1387,8 +1808,8 @@ List projects you can see.
1387
1808
 
1388
1809
  ```
1389
1810
  USAGE
1390
- $ simply gitlab project list [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit <value>]
1391
- [--search <value>] [--membership] [--owned] [--simple]
1811
+ $ simply gitlab project list [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--gitlab-token-kind
1812
+ personal|job] [--limit <value>] [--search <value>] [--membership] [--owned] [--simple]
1392
1813
 
1393
1814
  FLAGS
1394
1815
  --limit=<value> [default: 20] Maximum number of projects to return across all pages.
@@ -1398,9 +1819,13 @@ FLAGS
1398
1819
  --simple Return only the core fields, for a much smaller payload.
1399
1820
 
1400
1821
  CONNECTION FLAGS
1401
- -e, --env-file=<value> Path to a .env file holding connection settings.
1402
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1403
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1822
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1823
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1824
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1825
+ personal.
1826
+ <options: personal|job>
1827
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1828
+ https://gitlab.com.
1404
1829
 
1405
1830
  GLOBAL FLAGS
1406
1831
  --json Format output as json.
@@ -1423,10 +1848,18 @@ FLAG DESCRIPTIONS
1423
1848
  -e, --env-file=<value> Path to a .env file holding connection settings.
1424
1849
 
1425
1850
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1426
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1851
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1852
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1853
+ all but the token kind) are read from it. A path that cannot be read is an error.
1854
+
1855
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1856
+
1857
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1858
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1859
+ token settings.
1427
1860
  ```
1428
1861
 
1429
- _See code: [lib/commands/gitlab/project/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/project/list.js)_
1862
+ _See code: [lib/commands/gitlab/project/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/project/list.js)_
1430
1863
 
1431
1864
  ## `simply gitlab project view`
1432
1865
 
@@ -1435,14 +1868,20 @@ Show one project.
1435
1868
  ```
1436
1869
  USAGE
1437
1870
  $ simply gitlab project view -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1871
+ [--gitlab-token-kind personal|job]
1438
1872
 
1439
1873
  FLAGS
1440
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
1874
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1875
+ group/subgroup/project.
1441
1876
 
1442
1877
  CONNECTION FLAGS
1443
- -e, --env-file=<value> Path to a .env file holding connection settings.
1444
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1445
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1878
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1879
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1880
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1881
+ personal.
1882
+ <options: personal|job>
1883
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1884
+ https://gitlab.com.
1446
1885
 
1447
1886
  GLOBAL FLAGS
1448
1887
  --json Format output as json.
@@ -1462,10 +1901,85 @@ FLAG DESCRIPTIONS
1462
1901
  -e, --env-file=<value> Path to a .env file holding connection settings.
1463
1902
 
1464
1903
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1465
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
1904
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1905
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1906
+ all but the token kind) are read from it. A path that cannot be read is an error.
1907
+
1908
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1909
+
1910
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1911
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1912
+ token settings.
1913
+ ```
1914
+
1915
+ _See code: [lib/commands/gitlab/project/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/project/view.js)_
1916
+
1917
+ ## `simply gitlab release create`
1918
+
1919
+ Create a release.
1920
+
1921
+ ```
1922
+ USAGE
1923
+ $ simply gitlab release create -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1924
+ [--gitlab-token-kind personal|job] [--dry-run] [--tag <value>] [--name <value>] [--description <value>] [--ref
1925
+ <value>] [--milestone <value>...] [--released-at <value>] [--body <value> | --body-file <value>]
1926
+
1927
+ FLAGS
1928
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1929
+ group/subgroup/project.
1930
+ --body=<value> Raw JSON request body.
1931
+ --body-file=<value> Path to a file holding the raw JSON request body.
1932
+ --description=<value> Release notes, as Markdown.
1933
+ --dry-run Print the request that would be sent and exit without sending it.
1934
+ --milestone=<value>... Milestone title to associate. Repeatable.
1935
+ --name=<value> Release title. GitLab uses the tag name when it is omitted.
1936
+ --ref=<value> Branch, tag, or SHA to create the tag from, when it does not exist yet.
1937
+ --released-at=<value> Release date, as ISO 8601. Defaults to now.
1938
+ --tag=<value> Tag to attach the release to.
1939
+
1940
+ CONNECTION FLAGS
1941
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1942
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
1943
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
1944
+ personal.
1945
+ <options: personal|job>
1946
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
1947
+ https://gitlab.com.
1948
+
1949
+ GLOBAL FLAGS
1950
+ --json Format output as json.
1951
+
1952
+ DESCRIPTION
1953
+ Create a release.
1954
+
1955
+ Attaches a release to --tag. When the tag does not exist yet, pass --ref and GitLab creates the tag there first. When
1956
+ the tag exists, --ref is ignored, so this never moves a tag. A tag carries at most one release, and a second create
1957
+ for it is refused with status 409.
1958
+
1959
+ --body or --body-file supplies raw JSON for anything the flags do not cover, such as asset links. Use --dry-run to see
1960
+ exactly what would be sent.
1961
+
1962
+ EXAMPLES
1963
+ $ simply gitlab release create --project group/project --tag v1.2.0 --name 1.2.0 --description "Bug fixes."
1964
+
1965
+ $ simply gitlab release create --project group/project --tag v1.3.0 --ref main --dry-run
1966
+
1967
+ FLAG DESCRIPTIONS
1968
+ -e, --env-file=<value> Path to a .env file holding connection settings.
1969
+
1970
+ Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1971
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
1972
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
1973
+ all but the token kind) are read from it. A path that cannot be read is an error.
1974
+
1975
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
1976
+
1977
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
1978
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
1979
+ token settings.
1466
1980
  ```
1467
1981
 
1468
- _See code: [lib/commands/gitlab/project/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/project/view.js)_
1982
+ _See code: [lib/commands/gitlab/release/create.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/release/create.js)_
1469
1983
 
1470
1984
  ## `simply gitlab release list`
1471
1985
 
@@ -1473,17 +1987,22 @@ List releases for a project.
1473
1987
 
1474
1988
  ```
1475
1989
  USAGE
1476
- $ simply gitlab release list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
1477
- <value>]
1990
+ $ simply gitlab release list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
1991
+ [--gitlab-token-kind personal|job] [--limit <value>]
1478
1992
 
1479
1993
  FLAGS
1480
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
1994
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
1995
+ group/subgroup/project.
1481
1996
  --limit=<value> [default: 20] Maximum number of releases to return across all pages.
1482
1997
 
1483
1998
  CONNECTION FLAGS
1484
- -e, --env-file=<value> Path to a .env file holding connection settings.
1485
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1486
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
1999
+ -e, --env-file=<value> Path to a .env file holding connection settings.
2000
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
2001
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
2002
+ personal.
2003
+ <options: personal|job>
2004
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
2005
+ https://gitlab.com.
1487
2006
 
1488
2007
  GLOBAL FLAGS
1489
2008
  --json Format output as json.
@@ -1503,10 +2022,72 @@ FLAG DESCRIPTIONS
1503
2022
  -e, --env-file=<value> Path to a .env file holding connection settings.
1504
2023
 
1505
2024
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1506
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
2025
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
2026
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
2027
+ all but the token kind) are read from it. A path that cannot be read is an error.
2028
+
2029
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
2030
+
2031
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
2032
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
2033
+ token settings.
2034
+ ```
2035
+
2036
+ _See code: [lib/commands/gitlab/release/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/release/list.js)_
2037
+
2038
+ ## `simply gitlab release view`
2039
+
2040
+ Show one release.
2041
+
2042
+ ```
2043
+ USAGE
2044
+ $ simply gitlab release view -p <value> --tag <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token
2045
+ <value>] [--gitlab-token-kind personal|job]
2046
+
2047
+ FLAGS
2048
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
2049
+ group/subgroup/project.
2050
+ --tag=<value> (required) Tag the release is attached to.
2051
+
2052
+ CONNECTION FLAGS
2053
+ -e, --env-file=<value> Path to a .env file holding connection settings.
2054
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
2055
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
2056
+ personal.
2057
+ <options: personal|job>
2058
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
2059
+ https://gitlab.com.
2060
+
2061
+ GLOBAL FLAGS
2062
+ --json Format output as json.
2063
+
2064
+ DESCRIPTION
2065
+ Show one release.
2066
+
2067
+ Looks the release up by its tag. A tag that has no release fails with status 404, as does a project the token cannot
2068
+ see. Use --json for asset links and milestones.
2069
+
2070
+ EXAMPLES
2071
+ $ simply gitlab release view --project group/project --tag v1.2.0
2072
+
2073
+ $ simply gitlab release view --project group/project --tag v1.2.0 --json
2074
+
2075
+ FLAG DESCRIPTIONS
2076
+ -e, --env-file=<value> Path to a .env file holding connection settings.
2077
+
2078
+ Loaded before anything else. Variables already present in the environment win, so the file never overrides an
2079
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
2080
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
2081
+ all but the token kind) are read from it. A path that cannot be read is an error.
2082
+
2083
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
2084
+
2085
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
2086
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
2087
+ token settings.
1507
2088
  ```
1508
2089
 
1509
- _See code: [lib/commands/gitlab/release/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/release/list.js)_
2090
+ _See code: [lib/commands/gitlab/release/view.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/release/view.js)_
1510
2091
 
1511
2092
  ## `simply gitlab search`
1512
2093
 
@@ -1516,8 +2097,8 @@ Search GitLab.
1516
2097
  USAGE
1517
2098
  $ simply gitlab search --scope
1518
2099
  projects|issues|merge_requests|milestones|wiki_blobs|commits|blobs|notes|users|snippet_titles --query <value>
1519
- [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit <value>] [--project <value> | --group
1520
- <value>]
2100
+ [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--gitlab-token-kind personal|job] [--limit
2101
+ <value>] [--project <value> | --group <value>]
1521
2102
 
1522
2103
  FLAGS
1523
2104
  --group=<value> Search within this group id or path.
@@ -1529,9 +2110,13 @@ FLAGS
1529
2110
  projects|issues|merge_requests|milestones|wiki_blobs|commits|blobs|notes|users|snippet_titles>
1530
2111
 
1531
2112
  CONNECTION FLAGS
1532
- -e, --env-file=<value> Path to a .env file holding connection settings.
1533
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1534
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
2113
+ -e, --env-file=<value> Path to a .env file holding connection settings.
2114
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
2115
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
2116
+ personal.
2117
+ <options: personal|job>
2118
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
2119
+ https://gitlab.com.
1535
2120
 
1536
2121
  GLOBAL FLAGS
1537
2122
  --json Format output as json.
@@ -1558,10 +2143,18 @@ FLAG DESCRIPTIONS
1558
2143
  -e, --env-file=<value> Path to a .env file holding connection settings.
1559
2144
 
1560
2145
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1561
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
2146
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
2147
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
2148
+ all but the token kind) are read from it. A path that cannot be read is an error.
2149
+
2150
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
2151
+
2152
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
2153
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
2154
+ token settings.
1562
2155
  ```
1563
2156
 
1564
- _See code: [lib/commands/gitlab/search.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/search.js)_
2157
+ _See code: [lib/commands/gitlab/search.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/search.js)_
1565
2158
 
1566
2159
  ## `simply gitlab tag list`
1567
2160
 
@@ -1569,11 +2162,13 @@ List repository tags.
1569
2162
 
1570
2163
  ```
1571
2164
  USAGE
1572
- $ simply gitlab tag list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>] [--limit
1573
- <value>] [--search <value>] [--order-by name|updated|version] [--sort asc|desc]
2165
+ $ simply gitlab tag list -p <value> [--json] [-e <value>] [--gitlab-url <value>] [--gitlab-token <value>]
2166
+ [--gitlab-token-kind personal|job] [--limit <value>] [--search <value>] [--order-by name|updated|version] [--sort
2167
+ asc|desc]
1574
2168
 
1575
2169
  FLAGS
1576
- -p, --project=<value> (required) [env: GITLAB_PROJECT] Project id, or its full path such as group/subgroup/project.
2170
+ -p, --project=<value> (required) [env: SIMPLY_GITLAB_PROJECT] Project id, or its full path such as
2171
+ group/subgroup/project.
1577
2172
  --limit=<value> [default: 20] Maximum number of tags to return across all pages.
1578
2173
  --order-by=<option> Field to sort by.
1579
2174
  <options: name|updated|version>
@@ -1582,9 +2177,13 @@ FLAGS
1582
2177
  <options: asc|desc>
1583
2178
 
1584
2179
  CONNECTION FLAGS
1585
- -e, --env-file=<value> Path to a .env file holding connection settings.
1586
- --gitlab-token=<value> [env: GITLAB_TOKEN] Personal, project, or group access token.
1587
- --gitlab-url=<value> [env: GITLAB_URL] Base URL of the GitLab instance. Defaults to https://gitlab.com.
2180
+ -e, --env-file=<value> Path to a .env file holding connection settings.
2181
+ --gitlab-token=<value> [env: SIMPLY_GITLAB_TOKEN] Personal, project, or group access token.
2182
+ --gitlab-token-kind=<option> [env: SIMPLY_GITLAB_TOKEN_KIND] What kind of token --gitlab-token is. Defaults to
2183
+ personal.
2184
+ <options: personal|job>
2185
+ --gitlab-url=<value> [env: SIMPLY_GITLAB_URL] Base URL of the GitLab instance. Defaults to
2186
+ https://gitlab.com.
1588
2187
 
1589
2188
  GLOBAL FLAGS
1590
2189
  --json Format output as json.
@@ -1605,10 +2204,18 @@ FLAG DESCRIPTIONS
1605
2204
  -e, --env-file=<value> Path to a .env file holding connection settings.
1606
2205
 
1607
2206
  Loaded before anything else. Variables already present in the environment win, so the file never overrides an
1608
- explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.
2207
+ explicit export, and only GitLab connection variables (SIMPLY_GITLAB_URL, SIMPLY_GITLAB_TOKEN,
2208
+ SIMPLY_GITLAB_TOKEN_KIND, SIMPLY_GITLAB_SSL_VERIFY, SIMPLY_GITLAB_READ_ONLY, and the deprecated unprefixed names of
2209
+ all but the token kind) are read from it. A path that cannot be read is an error.
2210
+
2211
+ --gitlab-token-kind=personal|job What kind of token --gitlab-token is. Defaults to personal.
2212
+
2213
+ Pass job when the token is a pipeline's CI_JOB_TOKEN, which GitLab accepts under a different header from every other
2214
+ token. A job token can reach only some endpoints, and which ones depends on the instance and on the project's job
2215
+ token settings.
1609
2216
  ```
1610
2217
 
1611
- _See code: [lib/commands/gitlab/tag/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.10.0/packages/simply-gitlab/lib/commands/gitlab/tag/list.js)_
2218
+ _See code: [lib/commands/gitlab/tag/list.js](https://github.com/SimplySF/simply-gitlab/blob/@simplysf/simply-gitlab@0.12.0/packages/simply-gitlab/lib/commands/gitlab/tag/list.js)_
1612
2219
  <!-- commandsstop -->
1613
2220
 
1614
2221
  ## License