@simplysf/simply-gitlab 0.5.0 → 0.6.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/oclif.manifest.json
CHANGED
|
@@ -325,14 +325,13 @@
|
|
|
325
325
|
"list:branch:gitlab"
|
|
326
326
|
]
|
|
327
327
|
},
|
|
328
|
-
"gitlab:
|
|
328
|
+
"gitlab:commit:create": {
|
|
329
329
|
"aliases": [],
|
|
330
330
|
"args": {},
|
|
331
|
-
"description": "
|
|
331
|
+
"description": "Sends one commit containing a batch of actions — create, update, delete, move, chmod — which is how GitLab writes more than one file atomically. The actions are JSON, supplied with --actions or inside a --body-file, because there is no readable flag form for a list of file operations.\n\nEach action is an object with an \"action\" and a \"file_path\"; create and update also need \"content\", move needs \"previous_path\", and chmod needs \"execute_filemode\". Those rules are checked before anything is sent, so a bad entry names its own index.\n\nUse --dry-run to see exactly what would be sent.",
|
|
332
332
|
"examples": [
|
|
333
|
-
"<%= config.bin %> <%= command.id %> --
|
|
334
|
-
"<%= config.bin %> <%= command.id %> --
|
|
335
|
-
"<%= config.bin %> <%= command.id %> --config ./baseline.json --target group/project"
|
|
333
|
+
"<%= config.bin %> <%= command.id %> --project group/project --branch main --message \"chore: tidy\" --actions '[{\"action\":\"delete\",\"file_path\":\"old.txt\"}]'",
|
|
334
|
+
"<%= config.bin %> <%= command.id %> --project group/project --branch main --message \"feat: batch\" --body-file ./commit.json --dry-run"
|
|
336
335
|
],
|
|
337
336
|
"flags": {
|
|
338
337
|
"json": {
|
|
@@ -370,53 +369,103 @@
|
|
|
370
369
|
"multiple": false,
|
|
371
370
|
"type": "option"
|
|
372
371
|
},
|
|
373
|
-
"
|
|
374
|
-
"char": "
|
|
375
|
-
"
|
|
372
|
+
"project": {
|
|
373
|
+
"char": "p",
|
|
374
|
+
"env": "GITLAB_PROJECT",
|
|
375
|
+
"name": "project",
|
|
376
376
|
"required": true,
|
|
377
|
-
"summary": "
|
|
377
|
+
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
378
378
|
"hasDynamicHelp": false,
|
|
379
379
|
"multiple": false,
|
|
380
380
|
"type": "option"
|
|
381
381
|
},
|
|
382
|
-
"
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
382
|
+
"dry-run": {
|
|
383
|
+
"name": "dry-run",
|
|
384
|
+
"summary": "Print the request that would be sent and exit without sending it.",
|
|
385
|
+
"allowNo": false,
|
|
386
|
+
"type": "boolean"
|
|
387
|
+
},
|
|
388
|
+
"branch": {
|
|
389
|
+
"name": "branch",
|
|
390
|
+
"summary": "Branch to commit to.",
|
|
386
391
|
"hasDynamicHelp": false,
|
|
387
|
-
"multiple":
|
|
392
|
+
"multiple": false,
|
|
388
393
|
"type": "option"
|
|
389
394
|
},
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"summary": "How many targets to work on at once.",
|
|
394
|
-
"default": 4,
|
|
395
|
+
"message": {
|
|
396
|
+
"name": "message",
|
|
397
|
+
"summary": "Commit message.",
|
|
395
398
|
"hasDynamicHelp": false,
|
|
396
399
|
"multiple": false,
|
|
397
400
|
"type": "option"
|
|
398
401
|
},
|
|
399
|
-
"
|
|
400
|
-
"name": "
|
|
401
|
-
"summary": "
|
|
402
|
-
"
|
|
403
|
-
"
|
|
402
|
+
"actions": {
|
|
403
|
+
"name": "actions",
|
|
404
|
+
"summary": "JSON array of file actions.",
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
404
408
|
},
|
|
405
|
-
"
|
|
406
|
-
"name": "
|
|
407
|
-
"summary": "
|
|
409
|
+
"start-branch": {
|
|
410
|
+
"name": "start-branch",
|
|
411
|
+
"summary": "Branch to create --branch from, if it does not exist.",
|
|
412
|
+
"hasDynamicHelp": false,
|
|
413
|
+
"multiple": false,
|
|
414
|
+
"type": "option"
|
|
415
|
+
},
|
|
416
|
+
"start-sha": {
|
|
417
|
+
"name": "start-sha",
|
|
418
|
+
"summary": "Commit SHA to start the new commit from.",
|
|
419
|
+
"hasDynamicHelp": false,
|
|
420
|
+
"multiple": false,
|
|
421
|
+
"type": "option"
|
|
422
|
+
},
|
|
423
|
+
"author-email": {
|
|
424
|
+
"name": "author-email",
|
|
425
|
+
"summary": "Commit author email.",
|
|
426
|
+
"hasDynamicHelp": false,
|
|
427
|
+
"multiple": false,
|
|
428
|
+
"type": "option"
|
|
429
|
+
},
|
|
430
|
+
"author-name": {
|
|
431
|
+
"name": "author-name",
|
|
432
|
+
"summary": "Commit author name.",
|
|
433
|
+
"hasDynamicHelp": false,
|
|
434
|
+
"multiple": false,
|
|
435
|
+
"type": "option"
|
|
436
|
+
},
|
|
437
|
+
"force": {
|
|
438
|
+
"name": "force",
|
|
439
|
+
"summary": "Overwrite the branch with the new commit.",
|
|
408
440
|
"allowNo": false,
|
|
409
441
|
"type": "boolean"
|
|
442
|
+
},
|
|
443
|
+
"body": {
|
|
444
|
+
"exclusive": [
|
|
445
|
+
"body-file"
|
|
446
|
+
],
|
|
447
|
+
"name": "body",
|
|
448
|
+
"summary": "Raw JSON request body.",
|
|
449
|
+
"hasDynamicHelp": false,
|
|
450
|
+
"multiple": false,
|
|
451
|
+
"type": "option"
|
|
452
|
+
},
|
|
453
|
+
"body-file": {
|
|
454
|
+
"name": "body-file",
|
|
455
|
+
"summary": "Path to a file holding the raw JSON request body.",
|
|
456
|
+
"hasDynamicHelp": false,
|
|
457
|
+
"multiple": false,
|
|
458
|
+
"type": "option"
|
|
410
459
|
}
|
|
411
460
|
},
|
|
412
461
|
"hasDynamicHelp": false,
|
|
413
462
|
"hiddenAliases": [],
|
|
414
|
-
"id": "gitlab:
|
|
463
|
+
"id": "gitlab:commit:create",
|
|
415
464
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
416
465
|
"pluginName": "@simplysf/simply-gitlab",
|
|
417
466
|
"pluginType": "core",
|
|
418
467
|
"strict": true,
|
|
419
|
-
"summary": "
|
|
468
|
+
"summary": "Commit several file changes at once.",
|
|
420
469
|
"enableJsonFlag": true,
|
|
421
470
|
"isWrite": true,
|
|
422
471
|
"isESM": true,
|
|
@@ -424,26 +473,26 @@
|
|
|
424
473
|
"lib",
|
|
425
474
|
"commands",
|
|
426
475
|
"gitlab",
|
|
427
|
-
"
|
|
428
|
-
"
|
|
476
|
+
"commit",
|
|
477
|
+
"create.js"
|
|
429
478
|
],
|
|
430
479
|
"aliasPermutations": [],
|
|
431
480
|
"permutations": [
|
|
432
|
-
"gitlab:
|
|
433
|
-
"
|
|
434
|
-
"
|
|
435
|
-
"gitlab:
|
|
436
|
-
"
|
|
437
|
-
"
|
|
481
|
+
"gitlab:commit:create",
|
|
482
|
+
"commit:gitlab:create",
|
|
483
|
+
"commit:create:gitlab",
|
|
484
|
+
"gitlab:create:commit",
|
|
485
|
+
"create:gitlab:commit",
|
|
486
|
+
"create:commit:gitlab"
|
|
438
487
|
]
|
|
439
488
|
},
|
|
440
|
-
"gitlab:
|
|
489
|
+
"gitlab:commit:diff": {
|
|
441
490
|
"aliases": [],
|
|
442
491
|
"args": {},
|
|
443
|
-
"description": "
|
|
492
|
+
"description": "Prints the unified diff for each file the commit touched. GitLab truncates very large diffs server-side and says so in the payload, so --stat is worth reaching for first on a big commit: it lists the files without any hunks.",
|
|
444
493
|
"examples": [
|
|
445
|
-
"<%= config.bin %> <%= command.id %> --project group/project
|
|
446
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
494
|
+
"<%= config.bin %> <%= command.id %> --project group/project --sha 9a1b2c3",
|
|
495
|
+
"<%= config.bin %> <%= command.id %> --project group/project --sha 9a1b2c3 --stat"
|
|
447
496
|
],
|
|
448
497
|
"flags": {
|
|
449
498
|
"json": {
|
|
@@ -491,32 +540,29 @@
|
|
|
491
540
|
"multiple": false,
|
|
492
541
|
"type": "option"
|
|
493
542
|
},
|
|
494
|
-
"
|
|
495
|
-
"name": "
|
|
496
|
-
"
|
|
497
|
-
"
|
|
543
|
+
"sha": {
|
|
544
|
+
"name": "sha",
|
|
545
|
+
"required": true,
|
|
546
|
+
"summary": "Commit SHA, or the name of a branch or tag.",
|
|
498
547
|
"hasDynamicHelp": false,
|
|
499
|
-
"multiple":
|
|
500
|
-
"options": [
|
|
501
|
-
"settings",
|
|
502
|
-
"protectedBranches",
|
|
503
|
-
"protectedTags",
|
|
504
|
-
"approvals",
|
|
505
|
-
"approvalRules",
|
|
506
|
-
"pushRules",
|
|
507
|
-
"variables"
|
|
508
|
-
],
|
|
548
|
+
"multiple": false,
|
|
509
549
|
"type": "option"
|
|
550
|
+
},
|
|
551
|
+
"stat": {
|
|
552
|
+
"name": "stat",
|
|
553
|
+
"summary": "List the changed files without printing the hunks.",
|
|
554
|
+
"allowNo": false,
|
|
555
|
+
"type": "boolean"
|
|
510
556
|
}
|
|
511
557
|
},
|
|
512
558
|
"hasDynamicHelp": false,
|
|
513
559
|
"hiddenAliases": [],
|
|
514
|
-
"id": "gitlab:
|
|
560
|
+
"id": "gitlab:commit:diff",
|
|
515
561
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
516
562
|
"pluginName": "@simplysf/simply-gitlab",
|
|
517
563
|
"pluginType": "core",
|
|
518
564
|
"strict": true,
|
|
519
|
-
"summary": "
|
|
565
|
+
"summary": "Show the changes a commit made.",
|
|
520
566
|
"enableJsonFlag": true,
|
|
521
567
|
"isWrite": false,
|
|
522
568
|
"isESM": true,
|
|
@@ -524,28 +570,27 @@
|
|
|
524
570
|
"lib",
|
|
525
571
|
"commands",
|
|
526
572
|
"gitlab",
|
|
527
|
-
"
|
|
528
|
-
"
|
|
573
|
+
"commit",
|
|
574
|
+
"diff.js"
|
|
529
575
|
],
|
|
530
576
|
"aliasPermutations": [],
|
|
531
577
|
"permutations": [
|
|
532
|
-
"gitlab:
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"gitlab:
|
|
536
|
-
"
|
|
537
|
-
"
|
|
578
|
+
"gitlab:commit:diff",
|
|
579
|
+
"commit:gitlab:diff",
|
|
580
|
+
"commit:diff:gitlab",
|
|
581
|
+
"gitlab:diff:commit",
|
|
582
|
+
"diff:gitlab:commit",
|
|
583
|
+
"diff:commit:gitlab"
|
|
538
584
|
]
|
|
539
585
|
},
|
|
540
|
-
"gitlab:
|
|
586
|
+
"gitlab:commit:list": {
|
|
541
587
|
"aliases": [],
|
|
542
588
|
"args": {},
|
|
543
|
-
"description": "
|
|
589
|
+
"description": "Walks the history of a ref, newest first. --path narrows to commits that touched one file or directory, which is the fastest way to answer \"when did this change and who changed it\".\n\n--since and --until take ISO 8601 timestamps (2026-01-31T00:00:00Z); a bare date works too.",
|
|
544
590
|
"examples": [
|
|
545
|
-
"<%= config.bin %> <%= command.id %> --
|
|
546
|
-
"<%= config.bin %> <%= command.id %> --
|
|
547
|
-
"<%= config.bin %> <%= command.id %> --
|
|
548
|
-
"<%= config.bin %> <%= command.id %> --config ./baseline.json --json | jq .summary"
|
|
591
|
+
"<%= config.bin %> <%= command.id %> --project group/project --ref main --limit 10",
|
|
592
|
+
"<%= config.bin %> <%= command.id %> --project group/project --path src/index.ts",
|
|
593
|
+
"<%= config.bin %> <%= command.id %> --project group/project --since 2026-01-01 --until 2026-02-01"
|
|
549
594
|
],
|
|
550
595
|
"flags": {
|
|
551
596
|
"json": {
|
|
@@ -583,53 +628,74 @@
|
|
|
583
628
|
"multiple": false,
|
|
584
629
|
"type": "option"
|
|
585
630
|
},
|
|
586
|
-
"
|
|
587
|
-
"char": "
|
|
588
|
-
"
|
|
631
|
+
"project": {
|
|
632
|
+
"char": "p",
|
|
633
|
+
"env": "GITLAB_PROJECT",
|
|
634
|
+
"name": "project",
|
|
589
635
|
"required": true,
|
|
590
|
-
"summary": "
|
|
636
|
+
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
591
637
|
"hasDynamicHelp": false,
|
|
592
638
|
"multiple": false,
|
|
593
639
|
"type": "option"
|
|
594
640
|
},
|
|
595
|
-
"
|
|
596
|
-
"
|
|
597
|
-
"
|
|
598
|
-
"
|
|
641
|
+
"limit": {
|
|
642
|
+
"name": "limit",
|
|
643
|
+
"summary": "Maximum number of commits to return across all pages.",
|
|
644
|
+
"default": 20,
|
|
599
645
|
"hasDynamicHelp": false,
|
|
600
|
-
"multiple":
|
|
646
|
+
"multiple": false,
|
|
601
647
|
"type": "option"
|
|
602
648
|
},
|
|
603
|
-
"
|
|
604
|
-
"
|
|
605
|
-
"
|
|
606
|
-
"summary": "How many targets to work on at once.",
|
|
607
|
-
"default": 4,
|
|
649
|
+
"ref": {
|
|
650
|
+
"name": "ref",
|
|
651
|
+
"summary": "Branch, tag, or SHA to list from. Defaults to the default branch.",
|
|
608
652
|
"hasDynamicHelp": false,
|
|
609
653
|
"multiple": false,
|
|
610
654
|
"type": "option"
|
|
611
655
|
},
|
|
612
|
-
"
|
|
613
|
-
"name": "
|
|
614
|
-
"summary": "
|
|
615
|
-
"
|
|
616
|
-
"
|
|
656
|
+
"path": {
|
|
657
|
+
"name": "path",
|
|
658
|
+
"summary": "Only commits that touched this file or directory.",
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"multiple": false,
|
|
661
|
+
"type": "option"
|
|
617
662
|
},
|
|
618
|
-
"
|
|
619
|
-
"name": "
|
|
620
|
-
"summary": "
|
|
663
|
+
"since": {
|
|
664
|
+
"name": "since",
|
|
665
|
+
"summary": "Only commits on or after this ISO 8601 timestamp.",
|
|
666
|
+
"hasDynamicHelp": false,
|
|
667
|
+
"multiple": false,
|
|
668
|
+
"type": "option"
|
|
669
|
+
},
|
|
670
|
+
"until": {
|
|
671
|
+
"name": "until",
|
|
672
|
+
"summary": "Only commits on or before this ISO 8601 timestamp.",
|
|
673
|
+
"hasDynamicHelp": false,
|
|
674
|
+
"multiple": false,
|
|
675
|
+
"type": "option"
|
|
676
|
+
},
|
|
677
|
+
"author": {
|
|
678
|
+
"name": "author",
|
|
679
|
+
"summary": "Only commits by this author name or email.",
|
|
680
|
+
"hasDynamicHelp": false,
|
|
681
|
+
"multiple": false,
|
|
682
|
+
"type": "option"
|
|
683
|
+
},
|
|
684
|
+
"stats": {
|
|
685
|
+
"name": "stats",
|
|
686
|
+
"summary": "Include per-commit line counts in the JSON payload.",
|
|
621
687
|
"allowNo": false,
|
|
622
688
|
"type": "boolean"
|
|
623
689
|
}
|
|
624
690
|
},
|
|
625
691
|
"hasDynamicHelp": false,
|
|
626
692
|
"hiddenAliases": [],
|
|
627
|
-
"id": "gitlab:
|
|
693
|
+
"id": "gitlab:commit:list",
|
|
628
694
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
629
695
|
"pluginName": "@simplysf/simply-gitlab",
|
|
630
696
|
"pluginType": "core",
|
|
631
697
|
"strict": true,
|
|
632
|
-
"summary": "
|
|
698
|
+
"summary": "List repository commits.",
|
|
633
699
|
"enableJsonFlag": true,
|
|
634
700
|
"isWrite": false,
|
|
635
701
|
"isESM": true,
|
|
@@ -637,26 +703,26 @@
|
|
|
637
703
|
"lib",
|
|
638
704
|
"commands",
|
|
639
705
|
"gitlab",
|
|
640
|
-
"
|
|
641
|
-
"
|
|
706
|
+
"commit",
|
|
707
|
+
"list.js"
|
|
642
708
|
],
|
|
643
709
|
"aliasPermutations": [],
|
|
644
710
|
"permutations": [
|
|
645
|
-
"gitlab:
|
|
646
|
-
"
|
|
647
|
-
"
|
|
648
|
-
"gitlab:
|
|
649
|
-
"
|
|
650
|
-
"
|
|
711
|
+
"gitlab:commit:list",
|
|
712
|
+
"commit:gitlab:list",
|
|
713
|
+
"commit:list:gitlab",
|
|
714
|
+
"gitlab:list:commit",
|
|
715
|
+
"list:gitlab:commit",
|
|
716
|
+
"list:commit:gitlab"
|
|
651
717
|
]
|
|
652
718
|
},
|
|
653
|
-
"gitlab:commit:
|
|
719
|
+
"gitlab:commit:view": {
|
|
654
720
|
"aliases": [],
|
|
655
721
|
"args": {},
|
|
656
|
-
"description": "
|
|
722
|
+
"description": "Accepts a full or short SHA, or the name of a branch or tag — in which case the commit at its tip is shown, so the answer changes as the branch moves. Use commit diff for the changes themselves.",
|
|
657
723
|
"examples": [
|
|
658
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
659
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
724
|
+
"<%= config.bin %> <%= command.id %> --project group/project --sha 9a1b2c3",
|
|
725
|
+
"<%= config.bin %> <%= command.id %> --project group/project --sha main --json"
|
|
660
726
|
],
|
|
661
727
|
"flags": {
|
|
662
728
|
"json": {
|
|
@@ -704,80 +770,10 @@
|
|
|
704
770
|
"multiple": false,
|
|
705
771
|
"type": "option"
|
|
706
772
|
},
|
|
707
|
-
"
|
|
708
|
-
"name": "
|
|
709
|
-
"
|
|
710
|
-
"
|
|
711
|
-
"type": "boolean"
|
|
712
|
-
},
|
|
713
|
-
"branch": {
|
|
714
|
-
"name": "branch",
|
|
715
|
-
"summary": "Branch to commit to.",
|
|
716
|
-
"hasDynamicHelp": false,
|
|
717
|
-
"multiple": false,
|
|
718
|
-
"type": "option"
|
|
719
|
-
},
|
|
720
|
-
"message": {
|
|
721
|
-
"name": "message",
|
|
722
|
-
"summary": "Commit message.",
|
|
723
|
-
"hasDynamicHelp": false,
|
|
724
|
-
"multiple": false,
|
|
725
|
-
"type": "option"
|
|
726
|
-
},
|
|
727
|
-
"actions": {
|
|
728
|
-
"name": "actions",
|
|
729
|
-
"summary": "JSON array of file actions.",
|
|
730
|
-
"hasDynamicHelp": false,
|
|
731
|
-
"multiple": false,
|
|
732
|
-
"type": "option"
|
|
733
|
-
},
|
|
734
|
-
"start-branch": {
|
|
735
|
-
"name": "start-branch",
|
|
736
|
-
"summary": "Branch to create --branch from, if it does not exist.",
|
|
737
|
-
"hasDynamicHelp": false,
|
|
738
|
-
"multiple": false,
|
|
739
|
-
"type": "option"
|
|
740
|
-
},
|
|
741
|
-
"start-sha": {
|
|
742
|
-
"name": "start-sha",
|
|
743
|
-
"summary": "Commit SHA to start the new commit from.",
|
|
744
|
-
"hasDynamicHelp": false,
|
|
745
|
-
"multiple": false,
|
|
746
|
-
"type": "option"
|
|
747
|
-
},
|
|
748
|
-
"author-email": {
|
|
749
|
-
"name": "author-email",
|
|
750
|
-
"summary": "Commit author email.",
|
|
751
|
-
"hasDynamicHelp": false,
|
|
752
|
-
"multiple": false,
|
|
753
|
-
"type": "option"
|
|
754
|
-
},
|
|
755
|
-
"author-name": {
|
|
756
|
-
"name": "author-name",
|
|
757
|
-
"summary": "Commit author name.",
|
|
758
|
-
"hasDynamicHelp": false,
|
|
759
|
-
"multiple": false,
|
|
760
|
-
"type": "option"
|
|
761
|
-
},
|
|
762
|
-
"force": {
|
|
763
|
-
"name": "force",
|
|
764
|
-
"summary": "Overwrite the branch with the new commit.",
|
|
765
|
-
"allowNo": false,
|
|
766
|
-
"type": "boolean"
|
|
767
|
-
},
|
|
768
|
-
"body": {
|
|
769
|
-
"exclusive": [
|
|
770
|
-
"body-file"
|
|
771
|
-
],
|
|
772
|
-
"name": "body",
|
|
773
|
-
"summary": "Raw JSON request body.",
|
|
774
|
-
"hasDynamicHelp": false,
|
|
775
|
-
"multiple": false,
|
|
776
|
-
"type": "option"
|
|
777
|
-
},
|
|
778
|
-
"body-file": {
|
|
779
|
-
"name": "body-file",
|
|
780
|
-
"summary": "Path to a file holding the raw JSON request body.",
|
|
773
|
+
"sha": {
|
|
774
|
+
"name": "sha",
|
|
775
|
+
"required": true,
|
|
776
|
+
"summary": "Commit SHA, or the name of a branch or tag.",
|
|
781
777
|
"hasDynamicHelp": false,
|
|
782
778
|
"multiple": false,
|
|
783
779
|
"type": "option"
|
|
@@ -785,39 +781,40 @@
|
|
|
785
781
|
},
|
|
786
782
|
"hasDynamicHelp": false,
|
|
787
783
|
"hiddenAliases": [],
|
|
788
|
-
"id": "gitlab:commit:
|
|
784
|
+
"id": "gitlab:commit:view",
|
|
789
785
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
790
786
|
"pluginName": "@simplysf/simply-gitlab",
|
|
791
787
|
"pluginType": "core",
|
|
792
788
|
"strict": true,
|
|
793
|
-
"summary": "
|
|
789
|
+
"summary": "Show one commit.",
|
|
794
790
|
"enableJsonFlag": true,
|
|
795
|
-
"isWrite":
|
|
791
|
+
"isWrite": false,
|
|
796
792
|
"isESM": true,
|
|
797
793
|
"relativePath": [
|
|
798
794
|
"lib",
|
|
799
795
|
"commands",
|
|
800
796
|
"gitlab",
|
|
801
797
|
"commit",
|
|
802
|
-
"
|
|
798
|
+
"view.js"
|
|
803
799
|
],
|
|
804
800
|
"aliasPermutations": [],
|
|
805
801
|
"permutations": [
|
|
806
|
-
"gitlab:commit:
|
|
807
|
-
"commit:gitlab:
|
|
808
|
-
"commit:
|
|
809
|
-
"gitlab:
|
|
810
|
-
"
|
|
811
|
-
"
|
|
802
|
+
"gitlab:commit:view",
|
|
803
|
+
"commit:gitlab:view",
|
|
804
|
+
"commit:view:gitlab",
|
|
805
|
+
"gitlab:view:commit",
|
|
806
|
+
"view:gitlab:commit",
|
|
807
|
+
"view:commit:gitlab"
|
|
812
808
|
]
|
|
813
809
|
},
|
|
814
|
-
"gitlab:
|
|
810
|
+
"gitlab:config:apply": {
|
|
815
811
|
"aliases": [],
|
|
816
812
|
"args": {},
|
|
817
|
-
"description": "
|
|
813
|
+
"description": "Computes the same plan as config plan, then executes it. Only what the plan showed is sent, so a preview is a guarantee rather than an approximation, and a second run against a converged project sends no requests at all.\n\nSections are applied in a fixed order — settings, protected branches, protected tags, approval settings, approval rules, push rules — because an approval rule scoped to a branch needs that branch protected before it can reference it.\n\nBy default the config only adds and corrects what it declares. A section that sets \"prune\": true also deletes entries the config does not mention.\n\nOne target failing does not abandon the rest; the summary says which ones failed and where they stopped. There is no transaction across GitLab endpoints, so a target that failed part-way keeps the sections already applied — run config plan afterwards to see what is left.",
|
|
818
814
|
"examples": [
|
|
819
|
-
"<%= config.bin %> <%= command.id %> --
|
|
820
|
-
"<%= config.bin %> <%= command.id %> --
|
|
815
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json --dry-run",
|
|
816
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json",
|
|
817
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json --target group/project"
|
|
821
818
|
],
|
|
822
819
|
"flags": {
|
|
823
820
|
"json": {
|
|
@@ -855,67 +852,80 @@
|
|
|
855
852
|
"multiple": false,
|
|
856
853
|
"type": "option"
|
|
857
854
|
},
|
|
858
|
-
"
|
|
859
|
-
"char": "
|
|
860
|
-
"
|
|
861
|
-
"name": "project",
|
|
855
|
+
"config": {
|
|
856
|
+
"char": "c",
|
|
857
|
+
"name": "config",
|
|
862
858
|
"required": true,
|
|
863
|
-
"summary": "
|
|
859
|
+
"summary": "Path to the baseline configuration file.",
|
|
864
860
|
"hasDynamicHelp": false,
|
|
865
861
|
"multiple": false,
|
|
866
862
|
"type": "option"
|
|
867
863
|
},
|
|
868
|
-
"
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"summary": "
|
|
864
|
+
"target": {
|
|
865
|
+
"description": "Narrows a run without editing the config, for the loop of fixing one project and checking it again. Naming a project the config does not target is an error rather than a silent no-op.",
|
|
866
|
+
"name": "target",
|
|
867
|
+
"summary": "Limit the run to this project path. Repeatable.",
|
|
868
|
+
"hasDynamicHelp": false,
|
|
869
|
+
"multiple": true,
|
|
870
|
+
"type": "option"
|
|
871
|
+
},
|
|
872
|
+
"concurrency": {
|
|
873
|
+
"description": "Small by default. The client already retries a rate-limited request with a capped Retry-After, so raising this trades a shared instance responsiveness for very little wall-clock time.",
|
|
874
|
+
"name": "concurrency",
|
|
875
|
+
"summary": "How many targets to work on at once.",
|
|
876
|
+
"default": 4,
|
|
872
877
|
"hasDynamicHelp": false,
|
|
873
878
|
"multiple": false,
|
|
874
879
|
"type": "option"
|
|
875
880
|
},
|
|
876
|
-
"
|
|
877
|
-
"name": "
|
|
878
|
-
"summary": "
|
|
881
|
+
"fail-fast": {
|
|
882
|
+
"name": "fail-fast",
|
|
883
|
+
"summary": "Stop at the first target that fails instead of continuing.",
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
886
|
+
},
|
|
887
|
+
"dry-run": {
|
|
888
|
+
"name": "dry-run",
|
|
889
|
+
"summary": "Print the request that would be sent and exit without sending it.",
|
|
879
890
|
"allowNo": false,
|
|
880
891
|
"type": "boolean"
|
|
881
892
|
}
|
|
882
893
|
},
|
|
883
894
|
"hasDynamicHelp": false,
|
|
884
895
|
"hiddenAliases": [],
|
|
885
|
-
"id": "gitlab:
|
|
896
|
+
"id": "gitlab:config:apply",
|
|
886
897
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
887
898
|
"pluginName": "@simplysf/simply-gitlab",
|
|
888
899
|
"pluginType": "core",
|
|
889
900
|
"strict": true,
|
|
890
|
-
"summary": "
|
|
901
|
+
"summary": "Bring projects onto a baseline config.",
|
|
891
902
|
"enableJsonFlag": true,
|
|
892
|
-
"isWrite":
|
|
903
|
+
"isWrite": true,
|
|
893
904
|
"isESM": true,
|
|
894
905
|
"relativePath": [
|
|
895
906
|
"lib",
|
|
896
907
|
"commands",
|
|
897
908
|
"gitlab",
|
|
898
|
-
"
|
|
899
|
-
"
|
|
909
|
+
"config",
|
|
910
|
+
"apply.js"
|
|
900
911
|
],
|
|
901
912
|
"aliasPermutations": [],
|
|
902
913
|
"permutations": [
|
|
903
|
-
"gitlab:
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
"gitlab:
|
|
907
|
-
"
|
|
908
|
-
"
|
|
914
|
+
"gitlab:config:apply",
|
|
915
|
+
"config:gitlab:apply",
|
|
916
|
+
"config:apply:gitlab",
|
|
917
|
+
"gitlab:apply:config",
|
|
918
|
+
"apply:gitlab:config",
|
|
919
|
+
"apply:config:gitlab"
|
|
909
920
|
]
|
|
910
921
|
},
|
|
911
|
-
"gitlab:
|
|
922
|
+
"gitlab:config:export": {
|
|
912
923
|
"aliases": [],
|
|
913
924
|
"args": {},
|
|
914
|
-
"description": "
|
|
925
|
+
"description": "Reads one project and prints a configuration file that describes it, ready to be edited and pointed at the rest of your projects. Writing a baseline by hand against forty attributes is miserable and the first draft is wrong; exporting the project that already looks right and deleting what you do not care about is the way to start.\n\nThe output is deliberately verbose — every supported key, not a curated subset — because deleting a line is easier than discovering that a key exists. Variables are exported as metadata only: keys, scopes, and flags, never values.\n\nThe exported targets name only the project it came from. Widen that on purpose rather than inheriting a blast radius from an export.",
|
|
915
926
|
"examples": [
|
|
916
|
-
"<%= config.bin %> <%= command.id %> --project group/project
|
|
917
|
-
"<%= config.bin %> <%= command.id %> --project group/project --
|
|
918
|
-
"<%= config.bin %> <%= command.id %> --project group/project --since 2026-01-01 --until 2026-02-01"
|
|
927
|
+
"<%= config.bin %> <%= command.id %> --project group/project > baseline.json",
|
|
928
|
+
"<%= config.bin %> <%= command.id %> --project group/project --section settings,protectedBranches"
|
|
919
929
|
],
|
|
920
930
|
"flags": {
|
|
921
931
|
"json": {
|
|
@@ -953,74 +963,42 @@
|
|
|
953
963
|
"multiple": false,
|
|
954
964
|
"type": "option"
|
|
955
965
|
},
|
|
956
|
-
"project": {
|
|
957
|
-
"char": "p",
|
|
958
|
-
"env": "GITLAB_PROJECT",
|
|
959
|
-
"name": "project",
|
|
960
|
-
"required": true,
|
|
961
|
-
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
962
|
-
"hasDynamicHelp": false,
|
|
963
|
-
"multiple": false,
|
|
964
|
-
"type": "option"
|
|
965
|
-
},
|
|
966
|
-
"limit": {
|
|
967
|
-
"name": "limit",
|
|
968
|
-
"summary": "Maximum number of commits to return across all pages.",
|
|
969
|
-
"default": 20,
|
|
970
|
-
"hasDynamicHelp": false,
|
|
971
|
-
"multiple": false,
|
|
972
|
-
"type": "option"
|
|
973
|
-
},
|
|
974
|
-
"ref": {
|
|
975
|
-
"name": "ref",
|
|
976
|
-
"summary": "Branch, tag, or SHA to list from. Defaults to the default branch.",
|
|
977
|
-
"hasDynamicHelp": false,
|
|
978
|
-
"multiple": false,
|
|
979
|
-
"type": "option"
|
|
980
|
-
},
|
|
981
|
-
"path": {
|
|
982
|
-
"name": "path",
|
|
983
|
-
"summary": "Only commits that touched this file or directory.",
|
|
984
|
-
"hasDynamicHelp": false,
|
|
985
|
-
"multiple": false,
|
|
986
|
-
"type": "option"
|
|
987
|
-
},
|
|
988
|
-
"since": {
|
|
989
|
-
"name": "since",
|
|
990
|
-
"summary": "Only commits on or after this ISO 8601 timestamp.",
|
|
991
|
-
"hasDynamicHelp": false,
|
|
992
|
-
"multiple": false,
|
|
993
|
-
"type": "option"
|
|
994
|
-
},
|
|
995
|
-
"until": {
|
|
996
|
-
"name": "until",
|
|
997
|
-
"summary": "Only commits on or before this ISO 8601 timestamp.",
|
|
998
|
-
"hasDynamicHelp": false,
|
|
999
|
-
"multiple": false,
|
|
1000
|
-
"type": "option"
|
|
1001
|
-
},
|
|
1002
|
-
"author": {
|
|
1003
|
-
"name": "author",
|
|
1004
|
-
"summary": "Only commits by this author name or email.",
|
|
966
|
+
"project": {
|
|
967
|
+
"char": "p",
|
|
968
|
+
"env": "GITLAB_PROJECT",
|
|
969
|
+
"name": "project",
|
|
970
|
+
"required": true,
|
|
971
|
+
"summary": "Project id, or its full path such as group/subgroup/project.",
|
|
1005
972
|
"hasDynamicHelp": false,
|
|
1006
973
|
"multiple": false,
|
|
1007
974
|
"type": "option"
|
|
1008
975
|
},
|
|
1009
|
-
"
|
|
1010
|
-
"name": "
|
|
1011
|
-
"summary": "
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
976
|
+
"section": {
|
|
977
|
+
"name": "section",
|
|
978
|
+
"summary": "Comma-separated sections to export. Defaults to all of them.",
|
|
979
|
+
"delimiter": ",",
|
|
980
|
+
"hasDynamicHelp": false,
|
|
981
|
+
"multiple": true,
|
|
982
|
+
"options": [
|
|
983
|
+
"settings",
|
|
984
|
+
"protectedBranches",
|
|
985
|
+
"protectedTags",
|
|
986
|
+
"approvals",
|
|
987
|
+
"approvalRules",
|
|
988
|
+
"pushRules",
|
|
989
|
+
"variables"
|
|
990
|
+
],
|
|
991
|
+
"type": "option"
|
|
1014
992
|
}
|
|
1015
993
|
},
|
|
1016
994
|
"hasDynamicHelp": false,
|
|
1017
995
|
"hiddenAliases": [],
|
|
1018
|
-
"id": "gitlab:
|
|
996
|
+
"id": "gitlab:config:export",
|
|
1019
997
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
1020
998
|
"pluginName": "@simplysf/simply-gitlab",
|
|
1021
999
|
"pluginType": "core",
|
|
1022
1000
|
"strict": true,
|
|
1023
|
-
"summary": "
|
|
1001
|
+
"summary": "Write a baseline config describing an existing project.",
|
|
1024
1002
|
"enableJsonFlag": true,
|
|
1025
1003
|
"isWrite": false,
|
|
1026
1004
|
"isESM": true,
|
|
@@ -1028,26 +1006,28 @@
|
|
|
1028
1006
|
"lib",
|
|
1029
1007
|
"commands",
|
|
1030
1008
|
"gitlab",
|
|
1031
|
-
"
|
|
1032
|
-
"
|
|
1009
|
+
"config",
|
|
1010
|
+
"export.js"
|
|
1033
1011
|
],
|
|
1034
1012
|
"aliasPermutations": [],
|
|
1035
1013
|
"permutations": [
|
|
1036
|
-
"gitlab:
|
|
1037
|
-
"
|
|
1038
|
-
"
|
|
1039
|
-
"gitlab:
|
|
1040
|
-
"
|
|
1041
|
-
"
|
|
1014
|
+
"gitlab:config:export",
|
|
1015
|
+
"config:gitlab:export",
|
|
1016
|
+
"config:export:gitlab",
|
|
1017
|
+
"gitlab:export:config",
|
|
1018
|
+
"export:gitlab:config",
|
|
1019
|
+
"export:config:gitlab"
|
|
1042
1020
|
]
|
|
1043
1021
|
},
|
|
1044
|
-
"gitlab:
|
|
1022
|
+
"gitlab:config:plan": {
|
|
1045
1023
|
"aliases": [],
|
|
1046
1024
|
"args": {},
|
|
1047
|
-
"description": "
|
|
1025
|
+
"description": "Reads the baseline, expands its targets, and prints what differs on each one. Nothing is sent that changes anything, so this is safe to run against every project you have.\n\nOnly the attributes the config declares are compared. A project with forty settings the config never mentions shows nothing for them — that is what makes a baseline safe to point at projects that already exist.\n\nEntries that exist on the instance but are not in the config are shown as removals, marked as not pruned unless that section opts into pruning. Seeing what you are choosing not to fix is most of the value of running this across fifty projects.\n\nUse --fail-on-drift in a scheduled job: it exits 1 when anything differs, so CI can tell you that something drifted without anyone having to read the output.",
|
|
1048
1026
|
"examples": [
|
|
1049
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1050
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1027
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json",
|
|
1028
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json --target group/project",
|
|
1029
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json --fail-on-drift",
|
|
1030
|
+
"<%= config.bin %> <%= command.id %> --config ./baseline.json --json | jq .summary"
|
|
1051
1031
|
],
|
|
1052
1032
|
"flags": {
|
|
1053
1033
|
"json": {
|
|
@@ -1085,33 +1065,53 @@
|
|
|
1085
1065
|
"multiple": false,
|
|
1086
1066
|
"type": "option"
|
|
1087
1067
|
},
|
|
1088
|
-
"
|
|
1089
|
-
"char": "
|
|
1090
|
-
"
|
|
1091
|
-
"name": "project",
|
|
1068
|
+
"config": {
|
|
1069
|
+
"char": "c",
|
|
1070
|
+
"name": "config",
|
|
1092
1071
|
"required": true,
|
|
1093
|
-
"summary": "
|
|
1072
|
+
"summary": "Path to the baseline configuration file.",
|
|
1094
1073
|
"hasDynamicHelp": false,
|
|
1095
1074
|
"multiple": false,
|
|
1096
1075
|
"type": "option"
|
|
1097
1076
|
},
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1100
|
-
"
|
|
1101
|
-
"summary": "
|
|
1077
|
+
"target": {
|
|
1078
|
+
"description": "Narrows a run without editing the config, for the loop of fixing one project and checking it again. Naming a project the config does not target is an error rather than a silent no-op.",
|
|
1079
|
+
"name": "target",
|
|
1080
|
+
"summary": "Limit the run to this project path. Repeatable.",
|
|
1081
|
+
"hasDynamicHelp": false,
|
|
1082
|
+
"multiple": true,
|
|
1083
|
+
"type": "option"
|
|
1084
|
+
},
|
|
1085
|
+
"concurrency": {
|
|
1086
|
+
"description": "Small by default. The client already retries a rate-limited request with a capped Retry-After, so raising this trades a shared instance responsiveness for very little wall-clock time.",
|
|
1087
|
+
"name": "concurrency",
|
|
1088
|
+
"summary": "How many targets to work on at once.",
|
|
1089
|
+
"default": 4,
|
|
1102
1090
|
"hasDynamicHelp": false,
|
|
1103
1091
|
"multiple": false,
|
|
1104
1092
|
"type": "option"
|
|
1093
|
+
},
|
|
1094
|
+
"fail-fast": {
|
|
1095
|
+
"name": "fail-fast",
|
|
1096
|
+
"summary": "Stop at the first target that fails instead of continuing.",
|
|
1097
|
+
"allowNo": false,
|
|
1098
|
+
"type": "boolean"
|
|
1099
|
+
},
|
|
1100
|
+
"fail-on-drift": {
|
|
1101
|
+
"name": "fail-on-drift",
|
|
1102
|
+
"summary": "Exit 1 when any target differs from the baseline.",
|
|
1103
|
+
"allowNo": false,
|
|
1104
|
+
"type": "boolean"
|
|
1105
1105
|
}
|
|
1106
1106
|
},
|
|
1107
1107
|
"hasDynamicHelp": false,
|
|
1108
1108
|
"hiddenAliases": [],
|
|
1109
|
-
"id": "gitlab:
|
|
1109
|
+
"id": "gitlab:config:plan",
|
|
1110
1110
|
"pluginAlias": "@simplysf/simply-gitlab",
|
|
1111
1111
|
"pluginName": "@simplysf/simply-gitlab",
|
|
1112
1112
|
"pluginType": "core",
|
|
1113
1113
|
"strict": true,
|
|
1114
|
-
"summary": "
|
|
1114
|
+
"summary": "Report how projects differ from a baseline config.",
|
|
1115
1115
|
"enableJsonFlag": true,
|
|
1116
1116
|
"isWrite": false,
|
|
1117
1117
|
"isESM": true,
|
|
@@ -1119,17 +1119,17 @@
|
|
|
1119
1119
|
"lib",
|
|
1120
1120
|
"commands",
|
|
1121
1121
|
"gitlab",
|
|
1122
|
-
"
|
|
1123
|
-
"
|
|
1122
|
+
"config",
|
|
1123
|
+
"plan.js"
|
|
1124
1124
|
],
|
|
1125
1125
|
"aliasPermutations": [],
|
|
1126
1126
|
"permutations": [
|
|
1127
|
-
"gitlab:
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1130
|
-
"gitlab:
|
|
1131
|
-
"
|
|
1132
|
-
"
|
|
1127
|
+
"gitlab:config:plan",
|
|
1128
|
+
"config:gitlab:plan",
|
|
1129
|
+
"config:plan:gitlab",
|
|
1130
|
+
"gitlab:plan:config",
|
|
1131
|
+
"plan:gitlab:config",
|
|
1132
|
+
"plan:config:gitlab"
|
|
1133
1133
|
]
|
|
1134
1134
|
},
|
|
1135
1135
|
"gitlab:file:create": {
|
|
@@ -2153,6 +2153,192 @@
|
|
|
2153
2153
|
"view:mr:gitlab"
|
|
2154
2154
|
]
|
|
2155
2155
|
},
|
|
2156
|
+
"gitlab:project:create": {
|
|
2157
|
+
"aliases": [],
|
|
2158
|
+
"args": {},
|
|
2159
|
+
"description": "Creates the project in --namespace, or in the namespace of the token owner when none is given. Give it --name or --path; GitLab derives whichever one is missing.\n\n--template names one of the built-in templates GitLab ships, such as express or rails. To create from a custom template instead, add --custom-template for one the instance administrator registered, --template-group for one in a group, or use --template-project to name the template project itself by id or path — which GitLab prefers, because a name can be ambiguous. Custom templates need a Premium or Ultimate instance.\n\nA template is applied asynchronously: this command returns as soon as the project record exists, with an import status of \"scheduled\", and the files arrive a few seconds later. Check \"project view\" until its import_status reads \"finished\" before writing to the repository. --dry-run prints the exact request body; a namespace or template given as a path is still looked up, so the printed ids are the ones that would be sent.",
|
|
2160
|
+
"examples": [
|
|
2161
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps",
|
|
2162
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template express --visibility internal",
|
|
2163
|
+
"<%= config.bin %> <%= command.id %> --name new-service --namespace platform/apps --template service-skeleton --template-group platform/templates",
|
|
2164
|
+
"<%= config.bin %> <%= command.id %> --path new-service --template-project platform/templates/service-skeleton --dry-run"
|
|
2165
|
+
],
|
|
2166
|
+
"flags": {
|
|
2167
|
+
"json": {
|
|
2168
|
+
"description": "Format output as json.",
|
|
2169
|
+
"helpGroup": "GLOBAL",
|
|
2170
|
+
"name": "json",
|
|
2171
|
+
"allowNo": false,
|
|
2172
|
+
"type": "boolean"
|
|
2173
|
+
},
|
|
2174
|
+
"env-file": {
|
|
2175
|
+
"char": "e",
|
|
2176
|
+
"description": "Loaded before anything else. Variables already present in the environment win, so the file never overrides an explicit export, and only GitLab connection variables are read from it. A path that cannot be read is an error.",
|
|
2177
|
+
"helpGroup": "CONNECTION",
|
|
2178
|
+
"name": "env-file",
|
|
2179
|
+
"summary": "Path to a .env file holding connection settings.",
|
|
2180
|
+
"hasDynamicHelp": false,
|
|
2181
|
+
"multiple": false,
|
|
2182
|
+
"type": "option"
|
|
2183
|
+
},
|
|
2184
|
+
"gitlab-url": {
|
|
2185
|
+
"env": "GITLAB_URL",
|
|
2186
|
+
"helpGroup": "CONNECTION",
|
|
2187
|
+
"name": "gitlab-url",
|
|
2188
|
+
"summary": "Base URL of the GitLab instance. Defaults to https://gitlab.com.",
|
|
2189
|
+
"hasDynamicHelp": false,
|
|
2190
|
+
"multiple": false,
|
|
2191
|
+
"type": "option"
|
|
2192
|
+
},
|
|
2193
|
+
"gitlab-token": {
|
|
2194
|
+
"env": "GITLAB_TOKEN",
|
|
2195
|
+
"helpGroup": "CONNECTION",
|
|
2196
|
+
"name": "gitlab-token",
|
|
2197
|
+
"summary": "Personal, project, or group access token.",
|
|
2198
|
+
"hasDynamicHelp": false,
|
|
2199
|
+
"multiple": false,
|
|
2200
|
+
"type": "option"
|
|
2201
|
+
},
|
|
2202
|
+
"dry-run": {
|
|
2203
|
+
"name": "dry-run",
|
|
2204
|
+
"summary": "Print the request that would be sent and exit without sending it.",
|
|
2205
|
+
"allowNo": false,
|
|
2206
|
+
"type": "boolean"
|
|
2207
|
+
},
|
|
2208
|
+
"name": {
|
|
2209
|
+
"name": "name",
|
|
2210
|
+
"summary": "Project name. The path is derived from it when --path is not given.",
|
|
2211
|
+
"hasDynamicHelp": false,
|
|
2212
|
+
"multiple": false,
|
|
2213
|
+
"type": "option"
|
|
2214
|
+
},
|
|
2215
|
+
"path": {
|
|
2216
|
+
"name": "path",
|
|
2217
|
+
"summary": "Repository path, the URL slug. The name is derived from it when --name is not given.",
|
|
2218
|
+
"hasDynamicHelp": false,
|
|
2219
|
+
"multiple": false,
|
|
2220
|
+
"type": "option"
|
|
2221
|
+
},
|
|
2222
|
+
"namespace": {
|
|
2223
|
+
"description": "Defaults to the namespace of the token owner.",
|
|
2224
|
+
"name": "namespace",
|
|
2225
|
+
"summary": "Group or user namespace to create the project in, by id or full path.",
|
|
2226
|
+
"hasDynamicHelp": false,
|
|
2227
|
+
"multiple": false,
|
|
2228
|
+
"type": "option"
|
|
2229
|
+
},
|
|
2230
|
+
"description": {
|
|
2231
|
+
"name": "description",
|
|
2232
|
+
"summary": "Project description.",
|
|
2233
|
+
"hasDynamicHelp": false,
|
|
2234
|
+
"multiple": false,
|
|
2235
|
+
"type": "option"
|
|
2236
|
+
},
|
|
2237
|
+
"visibility": {
|
|
2238
|
+
"name": "visibility",
|
|
2239
|
+
"summary": "Who can see the project.",
|
|
2240
|
+
"hasDynamicHelp": false,
|
|
2241
|
+
"multiple": false,
|
|
2242
|
+
"options": [
|
|
2243
|
+
"private",
|
|
2244
|
+
"internal",
|
|
2245
|
+
"public"
|
|
2246
|
+
],
|
|
2247
|
+
"type": "option"
|
|
2248
|
+
},
|
|
2249
|
+
"default-branch": {
|
|
2250
|
+
"name": "default-branch",
|
|
2251
|
+
"summary": "Name of the default branch.",
|
|
2252
|
+
"hasDynamicHelp": false,
|
|
2253
|
+
"multiple": false,
|
|
2254
|
+
"type": "option"
|
|
2255
|
+
},
|
|
2256
|
+
"initialize-with-readme": {
|
|
2257
|
+
"name": "initialize-with-readme",
|
|
2258
|
+
"summary": "Create a first commit holding a README, so the repository is not empty.",
|
|
2259
|
+
"allowNo": false,
|
|
2260
|
+
"type": "boolean"
|
|
2261
|
+
},
|
|
2262
|
+
"topics": {
|
|
2263
|
+
"name": "topics",
|
|
2264
|
+
"summary": "Comma-separated topics to label the project with.",
|
|
2265
|
+
"hasDynamicHelp": false,
|
|
2266
|
+
"multiple": false,
|
|
2267
|
+
"type": "option"
|
|
2268
|
+
},
|
|
2269
|
+
"template": {
|
|
2270
|
+
"name": "template",
|
|
2271
|
+
"summary": "Template to create from: a built-in name, or with --custom-template or --template-group a custom one.",
|
|
2272
|
+
"hasDynamicHelp": false,
|
|
2273
|
+
"multiple": false,
|
|
2274
|
+
"type": "option"
|
|
2275
|
+
},
|
|
2276
|
+
"custom-template": {
|
|
2277
|
+
"name": "custom-template",
|
|
2278
|
+
"summary": "Look --template up among the instance's custom project templates rather than the built-in ones.",
|
|
2279
|
+
"allowNo": false,
|
|
2280
|
+
"type": "boolean"
|
|
2281
|
+
},
|
|
2282
|
+
"template-group": {
|
|
2283
|
+
"name": "template-group",
|
|
2284
|
+
"summary": "Group whose custom project templates --template names, by id or full path.",
|
|
2285
|
+
"hasDynamicHelp": false,
|
|
2286
|
+
"multiple": false,
|
|
2287
|
+
"type": "option"
|
|
2288
|
+
},
|
|
2289
|
+
"template-project": {
|
|
2290
|
+
"name": "template-project",
|
|
2291
|
+
"summary": "Custom template project to create from, by id or full path. Cannot be combined with --template.",
|
|
2292
|
+
"hasDynamicHelp": false,
|
|
2293
|
+
"multiple": false,
|
|
2294
|
+
"type": "option"
|
|
2295
|
+
},
|
|
2296
|
+
"body": {
|
|
2297
|
+
"exclusive": [
|
|
2298
|
+
"body-file"
|
|
2299
|
+
],
|
|
2300
|
+
"name": "body",
|
|
2301
|
+
"summary": "Raw JSON request body.",
|
|
2302
|
+
"hasDynamicHelp": false,
|
|
2303
|
+
"multiple": false,
|
|
2304
|
+
"type": "option"
|
|
2305
|
+
},
|
|
2306
|
+
"body-file": {
|
|
2307
|
+
"name": "body-file",
|
|
2308
|
+
"summary": "Path to a file holding the raw JSON request body.",
|
|
2309
|
+
"hasDynamicHelp": false,
|
|
2310
|
+
"multiple": false,
|
|
2311
|
+
"type": "option"
|
|
2312
|
+
}
|
|
2313
|
+
},
|
|
2314
|
+
"hasDynamicHelp": false,
|
|
2315
|
+
"hiddenAliases": [],
|
|
2316
|
+
"id": "gitlab:project:create",
|
|
2317
|
+
"pluginAlias": "@simplysf/simply-gitlab",
|
|
2318
|
+
"pluginName": "@simplysf/simply-gitlab",
|
|
2319
|
+
"pluginType": "core",
|
|
2320
|
+
"strict": true,
|
|
2321
|
+
"summary": "Create a project, blank or from a template.",
|
|
2322
|
+
"enableJsonFlag": true,
|
|
2323
|
+
"isWrite": true,
|
|
2324
|
+
"isESM": true,
|
|
2325
|
+
"relativePath": [
|
|
2326
|
+
"lib",
|
|
2327
|
+
"commands",
|
|
2328
|
+
"gitlab",
|
|
2329
|
+
"project",
|
|
2330
|
+
"create.js"
|
|
2331
|
+
],
|
|
2332
|
+
"aliasPermutations": [],
|
|
2333
|
+
"permutations": [
|
|
2334
|
+
"gitlab:project:create",
|
|
2335
|
+
"project:gitlab:create",
|
|
2336
|
+
"project:create:gitlab",
|
|
2337
|
+
"gitlab:create:project",
|
|
2338
|
+
"create:gitlab:project",
|
|
2339
|
+
"create:project:gitlab"
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2156
2342
|
"gitlab:project:list": {
|
|
2157
2343
|
"aliases": [],
|
|
2158
2344
|
"args": {},
|
|
@@ -3054,5 +3240,5 @@
|
|
|
3054
3240
|
]
|
|
3055
3241
|
}
|
|
3056
3242
|
},
|
|
3057
|
-
"version": "0.
|
|
3243
|
+
"version": "0.6.0"
|
|
3058
3244
|
}
|