@bussolabs/closeyourit-cli 0.0.4 → 0.0.5

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.
@@ -421,19 +421,19 @@
421
421
  "update.js"
422
422
  ]
423
423
  },
424
- "groups:create": {
424
+ "environments:create": {
425
425
  "aliases": [],
426
426
  "args": {
427
- "name": {
428
- "description": "Group name",
429
- "name": "name",
427
+ "code": {
428
+ "description": "Environment code (lowercase, e.g. production)",
429
+ "name": "code",
430
430
  "required": true
431
431
  }
432
432
  },
433
- "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
433
+ "description": "Create an environment (production, staging, …) in your organization",
434
434
  "examples": [
435
- "<%= config.bin %> groups create DriverOne",
436
- "<%= config.bin %> groups create DriverOne --color indigo"
435
+ "<%= config.bin %> environments create production --label Production",
436
+ "<%= config.bin %> environments create staging --label Staging --color amber"
437
437
  ],
438
438
  "flags": {
439
439
  "json": {
@@ -443,17 +443,39 @@
443
443
  "allowNo": false,
444
444
  "type": "boolean"
445
445
  },
446
+ "label": {
447
+ "description": "Human-readable label",
448
+ "name": "label",
449
+ "required": true,
450
+ "hasDynamicHelp": false,
451
+ "multiple": false,
452
+ "type": "option"
453
+ },
446
454
  "color": {
447
455
  "description": "Color label",
448
456
  "name": "color",
457
+ "default": "emerald",
458
+ "hasDynamicHelp": false,
459
+ "multiple": false,
460
+ "type": "option"
461
+ },
462
+ "position": {
463
+ "description": "Sort position",
464
+ "name": "position",
449
465
  "hasDynamicHelp": false,
450
466
  "multiple": false,
451
467
  "type": "option"
468
+ },
469
+ "active": {
470
+ "description": "Whether the environment is active",
471
+ "name": "active",
472
+ "allowNo": true,
473
+ "type": "boolean"
452
474
  }
453
475
  },
454
476
  "hasDynamicHelp": false,
455
477
  "hiddenAliases": [],
456
- "id": "groups:create",
478
+ "id": "environments:create",
457
479
  "pluginAlias": "@bussolabs/closeyourit-cli",
458
480
  "pluginName": "@bussolabs/closeyourit-cli",
459
481
  "pluginType": "core",
@@ -463,22 +485,22 @@
463
485
  "relativePath": [
464
486
  "dist",
465
487
  "commands",
466
- "groups",
488
+ "environments",
467
489
  "create.js"
468
490
  ]
469
491
  },
470
- "groups:delete": {
492
+ "environments:delete": {
471
493
  "aliases": [],
472
494
  "args": {
473
- "group": {
474
- "description": "Group id (UUID) or name",
475
- "name": "group",
495
+ "environment": {
496
+ "description": "Environment id (UUID) or code",
497
+ "name": "environment",
476
498
  "required": true
477
499
  }
478
500
  },
479
- "description": "Delete a group (its projects are detached, not deleted)",
501
+ "description": "Delete an environment (blocked while projects, tokens or monitors reference it)",
480
502
  "examples": [
481
- "<%= config.bin %> groups delete Backend --confirm"
503
+ "<%= config.bin %> environments delete staging --confirm"
482
504
  ],
483
505
  "flags": {
484
506
  "json": {
@@ -497,7 +519,7 @@
497
519
  },
498
520
  "hasDynamicHelp": false,
499
521
  "hiddenAliases": [],
500
- "id": "groups:delete",
522
+ "id": "environments:delete",
501
523
  "pluginAlias": "@bussolabs/closeyourit-cli",
502
524
  "pluginName": "@bussolabs/closeyourit-cli",
503
525
  "pluginType": "core",
@@ -507,17 +529,17 @@
507
529
  "relativePath": [
508
530
  "dist",
509
531
  "commands",
510
- "groups",
532
+ "environments",
511
533
  "delete.js"
512
534
  ]
513
535
  },
514
- "groups:list": {
536
+ "environments:list": {
515
537
  "aliases": [],
516
538
  "args": {},
517
- "description": "List the groups (macro-projects) in your organization",
539
+ "description": "List the environments (production, staging, …) in your organization",
518
540
  "examples": [
519
- "<%= config.bin %> groups list",
520
- "<%= config.bin %> groups list --page 2 --json"
541
+ "<%= config.bin %> environments list",
542
+ "<%= config.bin %> environments list --page 2 --json"
521
543
  ],
522
544
  "flags": {
523
545
  "json": {
@@ -538,7 +560,7 @@
538
560
  },
539
561
  "hasDynamicHelp": false,
540
562
  "hiddenAliases": [],
541
- "id": "groups:list",
563
+ "id": "environments:list",
542
564
  "pluginAlias": "@bussolabs/closeyourit-cli",
543
565
  "pluginName": "@bussolabs/closeyourit-cli",
544
566
  "pluginType": "core",
@@ -548,23 +570,24 @@
548
570
  "relativePath": [
549
571
  "dist",
550
572
  "commands",
551
- "groups",
573
+ "environments",
552
574
  "list.js"
553
575
  ]
554
576
  },
555
- "groups:update": {
577
+ "environments:update": {
556
578
  "aliases": [],
557
579
  "args": {
558
- "group": {
559
- "description": "Group id (UUID) or name",
560
- "name": "group",
580
+ "environment": {
581
+ "description": "Environment id (UUID) or code",
582
+ "name": "environment",
561
583
  "required": true
562
584
  }
563
585
  },
564
- "description": "Update a group (rename or recolor)",
586
+ "description": "Update an environment (recode, relabel, recolor, reorder, activate/deactivate)",
565
587
  "examples": [
566
- "<%= config.bin %> groups update Backend --name \"Backend services\"",
567
- "<%= config.bin %> groups update Backend --color indigo"
588
+ "<%= config.bin %> environments update staging --label \"Staging env\"",
589
+ "<%= config.bin %> environments update production --color indigo",
590
+ "<%= config.bin %> environments update staging --no-active"
568
591
  ],
569
592
  "flags": {
570
593
  "json": {
@@ -574,9 +597,16 @@
574
597
  "allowNo": false,
575
598
  "type": "boolean"
576
599
  },
577
- "name": {
578
- "description": "New name",
579
- "name": "name",
600
+ "code": {
601
+ "description": "New code (lowercase)",
602
+ "name": "code",
603
+ "hasDynamicHelp": false,
604
+ "multiple": false,
605
+ "type": "option"
606
+ },
607
+ "label": {
608
+ "description": "New label",
609
+ "name": "label",
580
610
  "hasDynamicHelp": false,
581
611
  "multiple": false,
582
612
  "type": "option"
@@ -587,11 +617,24 @@
587
617
  "hasDynamicHelp": false,
588
618
  "multiple": false,
589
619
  "type": "option"
620
+ },
621
+ "position": {
622
+ "description": "Sort position",
623
+ "name": "position",
624
+ "hasDynamicHelp": false,
625
+ "multiple": false,
626
+ "type": "option"
627
+ },
628
+ "active": {
629
+ "description": "Whether the environment is active",
630
+ "name": "active",
631
+ "allowNo": true,
632
+ "type": "boolean"
590
633
  }
591
634
  },
592
635
  "hasDynamicHelp": false,
593
636
  "hiddenAliases": [],
594
- "id": "groups:update",
637
+ "id": "environments:update",
595
638
  "pluginAlias": "@bussolabs/closeyourit-cli",
596
639
  "pluginName": "@bussolabs/closeyourit-cli",
597
640
  "pluginType": "core",
@@ -601,23 +644,17 @@
601
644
  "relativePath": [
602
645
  "dist",
603
646
  "commands",
604
- "groups",
647
+ "environments",
605
648
  "update.js"
606
649
  ]
607
650
  },
608
- "invitations:create": {
651
+ "errors:list": {
609
652
  "aliases": [],
610
- "args": {
611
- "email": {
612
- "description": "Email address to invite",
613
- "name": "email",
614
- "required": true
615
- }
616
- },
617
- "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
653
+ "args": {},
654
+ "description": "List error groups for a project",
618
655
  "examples": [
619
- "<%= config.bin %> invitations create client@acme.com",
620
- "<%= config.bin %> invitations create teammate@acme.com --role member"
656
+ "<%= config.bin %> errors list --project acme-api",
657
+ "<%= config.bin %> errors list -p acme-api --status unresolved --json"
621
658
  ],
622
659
  "flags": {
623
660
  "json": {
@@ -627,23 +664,34 @@
627
664
  "allowNo": false,
628
665
  "type": "boolean"
629
666
  },
630
- "role": {
631
- "description": "Membership role",
632
- "name": "role",
633
- "default": "customer",
667
+ "project": {
668
+ "char": "p",
669
+ "description": "Project id (UUID) or key",
670
+ "name": "project",
671
+ "required": true,
672
+ "hasDynamicHelp": false,
673
+ "multiple": false,
674
+ "type": "option"
675
+ },
676
+ "page": {
677
+ "description": "Page number",
678
+ "name": "page",
679
+ "default": 1,
680
+ "hasDynamicHelp": false,
681
+ "multiple": false,
682
+ "type": "option"
683
+ },
684
+ "status": {
685
+ "description": "Filter by status (e.g. unresolved, resolved, muted)",
686
+ "name": "status",
634
687
  "hasDynamicHelp": false,
635
688
  "multiple": false,
636
- "options": [
637
- "customer",
638
- "member",
639
- "admin"
640
- ],
641
689
  "type": "option"
642
690
  }
643
691
  },
644
692
  "hasDynamicHelp": false,
645
693
  "hiddenAliases": [],
646
- "id": "invitations:create",
694
+ "id": "errors:list",
647
695
  "pluginAlias": "@bussolabs/closeyourit-cli",
648
696
  "pluginName": "@bussolabs/closeyourit-cli",
649
697
  "pluginType": "core",
@@ -653,17 +701,22 @@
653
701
  "relativePath": [
654
702
  "dist",
655
703
  "commands",
656
- "invitations",
657
- "create.js"
704
+ "errors",
705
+ "list.js"
658
706
  ]
659
707
  },
660
- "invitations:list": {
708
+ "errors:mute": {
661
709
  "aliases": [],
662
- "args": {},
663
- "description": "List the pending/accepted invitations of your organization",
710
+ "args": {
711
+ "id": {
712
+ "description": "Error group id",
713
+ "name": "id",
714
+ "required": true
715
+ }
716
+ },
717
+ "description": "Mute an error group",
664
718
  "examples": [
665
- "<%= config.bin %> invitations list",
666
- "<%= config.bin %> invitations list --json"
719
+ "<%= config.bin %> errors mute <group-id> --project acme-api"
667
720
  ],
668
721
  "flags": {
669
722
  "json": {
@@ -673,10 +726,11 @@
673
726
  "allowNo": false,
674
727
  "type": "boolean"
675
728
  },
676
- "page": {
677
- "description": "Page number",
678
- "name": "page",
679
- "default": 1,
729
+ "project": {
730
+ "char": "p",
731
+ "description": "Project id (UUID) or key",
732
+ "name": "project",
733
+ "required": true,
680
734
  "hasDynamicHelp": false,
681
735
  "multiple": false,
682
736
  "type": "option"
@@ -684,7 +738,7 @@
684
738
  },
685
739
  "hasDynamicHelp": false,
686
740
  "hiddenAliases": [],
687
- "id": "invitations:list",
741
+ "id": "errors:mute",
688
742
  "pluginAlias": "@bussolabs/closeyourit-cli",
689
743
  "pluginName": "@bussolabs/closeyourit-cli",
690
744
  "pluginType": "core",
@@ -694,22 +748,22 @@
694
748
  "relativePath": [
695
749
  "dist",
696
750
  "commands",
697
- "invitations",
698
- "list.js"
751
+ "errors",
752
+ "mute.js"
699
753
  ]
700
754
  },
701
- "invitations:resend": {
755
+ "errors:promote": {
702
756
  "aliases": [],
703
757
  "args": {
704
758
  "id": {
705
- "description": "Invitation id (UUID)",
759
+ "description": "Error group id",
706
760
  "name": "id",
707
761
  "required": true
708
762
  }
709
763
  },
710
- "description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
764
+ "description": "Promote an error group to a ticket",
711
765
  "examples": [
712
- "<%= config.bin %> invitations resend <invitation-uuid>"
766
+ "<%= config.bin %> errors promote <group-id> --project acme-api"
713
767
  ],
714
768
  "flags": {
715
769
  "json": {
@@ -718,11 +772,20 @@
718
772
  "name": "json",
719
773
  "allowNo": false,
720
774
  "type": "boolean"
775
+ },
776
+ "project": {
777
+ "char": "p",
778
+ "description": "Project id (UUID) or key",
779
+ "name": "project",
780
+ "required": true,
781
+ "hasDynamicHelp": false,
782
+ "multiple": false,
783
+ "type": "option"
721
784
  }
722
785
  },
723
786
  "hasDynamicHelp": false,
724
787
  "hiddenAliases": [],
725
- "id": "invitations:resend",
788
+ "id": "errors:promote",
726
789
  "pluginAlias": "@bussolabs/closeyourit-cli",
727
790
  "pluginName": "@bussolabs/closeyourit-cli",
728
791
  "pluginType": "core",
@@ -732,22 +795,22 @@
732
795
  "relativePath": [
733
796
  "dist",
734
797
  "commands",
735
- "invitations",
736
- "resend.js"
798
+ "errors",
799
+ "promote.js"
737
800
  ]
738
801
  },
739
- "invitations:revoke": {
802
+ "errors:reopen": {
740
803
  "aliases": [],
741
804
  "args": {
742
805
  "id": {
743
- "description": "Invitation id (UUID)",
806
+ "description": "Error group id",
744
807
  "name": "id",
745
808
  "required": true
746
809
  }
747
810
  },
748
- "description": "Revoke a pending invitation",
811
+ "description": "Reopen a resolved error group",
749
812
  "examples": [
750
- "<%= config.bin %> invitations revoke <invitation-uuid>"
813
+ "<%= config.bin %> errors reopen <group-id> --project acme-api"
751
814
  ],
752
815
  "flags": {
753
816
  "json": {
@@ -756,11 +819,20 @@
756
819
  "name": "json",
757
820
  "allowNo": false,
758
821
  "type": "boolean"
822
+ },
823
+ "project": {
824
+ "char": "p",
825
+ "description": "Project id (UUID) or key",
826
+ "name": "project",
827
+ "required": true,
828
+ "hasDynamicHelp": false,
829
+ "multiple": false,
830
+ "type": "option"
759
831
  }
760
832
  },
761
833
  "hasDynamicHelp": false,
762
834
  "hiddenAliases": [],
763
- "id": "invitations:revoke",
835
+ "id": "errors:reopen",
764
836
  "pluginAlias": "@bussolabs/closeyourit-cli",
765
837
  "pluginName": "@bussolabs/closeyourit-cli",
766
838
  "pluginType": "core",
@@ -770,17 +842,22 @@
770
842
  "relativePath": [
771
843
  "dist",
772
844
  "commands",
773
- "invitations",
774
- "revoke.js"
845
+ "errors",
846
+ "reopen.js"
775
847
  ]
776
848
  },
777
- "errors:list": {
849
+ "errors:resolve": {
778
850
  "aliases": [],
779
- "args": {},
780
- "description": "List error groups for a project",
851
+ "args": {
852
+ "id": {
853
+ "description": "Error group id",
854
+ "name": "id",
855
+ "required": true
856
+ }
857
+ },
858
+ "description": "Mark an error group as resolved",
781
859
  "examples": [
782
- "<%= config.bin %> errors list --project acme-api",
783
- "<%= config.bin %> errors list -p acme-api --status unresolved --json"
860
+ "<%= config.bin %> errors resolve <group-id> --project acme-api"
784
861
  ],
785
862
  "flags": {
786
863
  "json": {
@@ -798,26 +875,11 @@
798
875
  "hasDynamicHelp": false,
799
876
  "multiple": false,
800
877
  "type": "option"
801
- },
802
- "page": {
803
- "description": "Page number",
804
- "name": "page",
805
- "default": 1,
806
- "hasDynamicHelp": false,
807
- "multiple": false,
808
- "type": "option"
809
- },
810
- "status": {
811
- "description": "Filter by status (e.g. unresolved, resolved, muted)",
812
- "name": "status",
813
- "hasDynamicHelp": false,
814
- "multiple": false,
815
- "type": "option"
816
878
  }
817
879
  },
818
880
  "hasDynamicHelp": false,
819
881
  "hiddenAliases": [],
820
- "id": "errors:list",
882
+ "id": "errors:resolve",
821
883
  "pluginAlias": "@bussolabs/closeyourit-cli",
822
884
  "pluginName": "@bussolabs/closeyourit-cli",
823
885
  "pluginType": "core",
@@ -828,10 +890,10 @@
828
890
  "dist",
829
891
  "commands",
830
892
  "errors",
831
- "list.js"
893
+ "resolve.js"
832
894
  ]
833
895
  },
834
- "errors:mute": {
896
+ "errors:show": {
835
897
  "aliases": [],
836
898
  "args": {
837
899
  "id": {
@@ -840,9 +902,9 @@
840
902
  "required": true
841
903
  }
842
904
  },
843
- "description": "Mute an error group",
905
+ "description": "Show a single error group",
844
906
  "examples": [
845
- "<%= config.bin %> errors mute <group-id> --project acme-api"
907
+ "<%= config.bin %> errors show <group-id> --project acme-api"
846
908
  ],
847
909
  "flags": {
848
910
  "json": {
@@ -864,7 +926,7 @@
864
926
  },
865
927
  "hasDynamicHelp": false,
866
928
  "hiddenAliases": [],
867
- "id": "errors:mute",
929
+ "id": "errors:show",
868
930
  "pluginAlias": "@bussolabs/closeyourit-cli",
869
931
  "pluginName": "@bussolabs/closeyourit-cli",
870
932
  "pluginType": "core",
@@ -875,10 +937,10 @@
875
937
  "dist",
876
938
  "commands",
877
939
  "errors",
878
- "mute.js"
940
+ "show.js"
879
941
  ]
880
942
  },
881
- "errors:promote": {
943
+ "errors:unmute": {
882
944
  "aliases": [],
883
945
  "args": {
884
946
  "id": {
@@ -887,9 +949,9 @@
887
949
  "required": true
888
950
  }
889
951
  },
890
- "description": "Promote an error group to a ticket",
952
+ "description": "Unmute an error group",
891
953
  "examples": [
892
- "<%= config.bin %> errors promote <group-id> --project acme-api"
954
+ "<%= config.bin %> errors unmute <group-id> --project acme-api"
893
955
  ],
894
956
  "flags": {
895
957
  "json": {
@@ -911,7 +973,7 @@
911
973
  },
912
974
  "hasDynamicHelp": false,
913
975
  "hiddenAliases": [],
914
- "id": "errors:promote",
976
+ "id": "errors:unmute",
915
977
  "pluginAlias": "@bussolabs/closeyourit-cli",
916
978
  "pluginName": "@bussolabs/closeyourit-cli",
917
979
  "pluginType": "core",
@@ -922,21 +984,22 @@
922
984
  "dist",
923
985
  "commands",
924
986
  "errors",
925
- "promote.js"
987
+ "unmute.js"
926
988
  ]
927
989
  },
928
- "errors:reopen": {
990
+ "invitations:create": {
929
991
  "aliases": [],
930
992
  "args": {
931
- "id": {
932
- "description": "Error group id",
933
- "name": "id",
993
+ "email": {
994
+ "description": "Email address to invite",
995
+ "name": "email",
934
996
  "required": true
935
997
  }
936
998
  },
937
- "description": "Reopen a resolved error group",
999
+ "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
938
1000
  "examples": [
939
- "<%= config.bin %> errors reopen <group-id> --project acme-api"
1001
+ "<%= config.bin %> invitations create client@acme.com",
1002
+ "<%= config.bin %> invitations create teammate@acme.com --role member"
940
1003
  ],
941
1004
  "flags": {
942
1005
  "json": {
@@ -946,19 +1009,23 @@
946
1009
  "allowNo": false,
947
1010
  "type": "boolean"
948
1011
  },
949
- "project": {
950
- "char": "p",
951
- "description": "Project id (UUID) or key",
952
- "name": "project",
953
- "required": true,
1012
+ "role": {
1013
+ "description": "Membership role",
1014
+ "name": "role",
1015
+ "default": "customer",
954
1016
  "hasDynamicHelp": false,
955
1017
  "multiple": false,
1018
+ "options": [
1019
+ "customer",
1020
+ "member",
1021
+ "admin"
1022
+ ],
956
1023
  "type": "option"
957
1024
  }
958
1025
  },
959
1026
  "hasDynamicHelp": false,
960
1027
  "hiddenAliases": [],
961
- "id": "errors:reopen",
1028
+ "id": "invitations:create",
962
1029
  "pluginAlias": "@bussolabs/closeyourit-cli",
963
1030
  "pluginName": "@bussolabs/closeyourit-cli",
964
1031
  "pluginType": "core",
@@ -968,22 +1035,17 @@
968
1035
  "relativePath": [
969
1036
  "dist",
970
1037
  "commands",
971
- "errors",
972
- "reopen.js"
1038
+ "invitations",
1039
+ "create.js"
973
1040
  ]
974
1041
  },
975
- "errors:resolve": {
1042
+ "invitations:list": {
976
1043
  "aliases": [],
977
- "args": {
978
- "id": {
979
- "description": "Error group id",
980
- "name": "id",
981
- "required": true
982
- }
983
- },
984
- "description": "Mark an error group as resolved",
1044
+ "args": {},
1045
+ "description": "List the pending/accepted invitations of your organization",
985
1046
  "examples": [
986
- "<%= config.bin %> errors resolve <group-id> --project acme-api"
1047
+ "<%= config.bin %> invitations list",
1048
+ "<%= config.bin %> invitations list --json"
987
1049
  ],
988
1050
  "flags": {
989
1051
  "json": {
@@ -993,11 +1055,10 @@
993
1055
  "allowNo": false,
994
1056
  "type": "boolean"
995
1057
  },
996
- "project": {
997
- "char": "p",
998
- "description": "Project id (UUID) or key",
999
- "name": "project",
1000
- "required": true,
1058
+ "page": {
1059
+ "description": "Page number",
1060
+ "name": "page",
1061
+ "default": 1,
1001
1062
  "hasDynamicHelp": false,
1002
1063
  "multiple": false,
1003
1064
  "type": "option"
@@ -1005,7 +1066,7 @@
1005
1066
  },
1006
1067
  "hasDynamicHelp": false,
1007
1068
  "hiddenAliases": [],
1008
- "id": "errors:resolve",
1069
+ "id": "invitations:list",
1009
1070
  "pluginAlias": "@bussolabs/closeyourit-cli",
1010
1071
  "pluginName": "@bussolabs/closeyourit-cli",
1011
1072
  "pluginType": "core",
@@ -1015,22 +1076,22 @@
1015
1076
  "relativePath": [
1016
1077
  "dist",
1017
1078
  "commands",
1018
- "errors",
1019
- "resolve.js"
1079
+ "invitations",
1080
+ "list.js"
1020
1081
  ]
1021
1082
  },
1022
- "errors:show": {
1083
+ "invitations:resend": {
1023
1084
  "aliases": [],
1024
1085
  "args": {
1025
1086
  "id": {
1026
- "description": "Error group id",
1087
+ "description": "Invitation id (UUID)",
1027
1088
  "name": "id",
1028
1089
  "required": true
1029
1090
  }
1030
1091
  },
1031
- "description": "Show a single error group",
1092
+ "description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
1032
1093
  "examples": [
1033
- "<%= config.bin %> errors show <group-id> --project acme-api"
1094
+ "<%= config.bin %> invitations resend <invitation-uuid>"
1034
1095
  ],
1035
1096
  "flags": {
1036
1097
  "json": {
@@ -1039,20 +1100,11 @@
1039
1100
  "name": "json",
1040
1101
  "allowNo": false,
1041
1102
  "type": "boolean"
1042
- },
1043
- "project": {
1044
- "char": "p",
1045
- "description": "Project id (UUID) or key",
1046
- "name": "project",
1047
- "required": true,
1048
- "hasDynamicHelp": false,
1049
- "multiple": false,
1050
- "type": "option"
1051
1103
  }
1052
1104
  },
1053
1105
  "hasDynamicHelp": false,
1054
1106
  "hiddenAliases": [],
1055
- "id": "errors:show",
1107
+ "id": "invitations:resend",
1056
1108
  "pluginAlias": "@bussolabs/closeyourit-cli",
1057
1109
  "pluginName": "@bussolabs/closeyourit-cli",
1058
1110
  "pluginType": "core",
@@ -1062,22 +1114,22 @@
1062
1114
  "relativePath": [
1063
1115
  "dist",
1064
1116
  "commands",
1065
- "errors",
1066
- "show.js"
1117
+ "invitations",
1118
+ "resend.js"
1067
1119
  ]
1068
1120
  },
1069
- "errors:unmute": {
1121
+ "invitations:revoke": {
1070
1122
  "aliases": [],
1071
1123
  "args": {
1072
1124
  "id": {
1073
- "description": "Error group id",
1125
+ "description": "Invitation id (UUID)",
1074
1126
  "name": "id",
1075
1127
  "required": true
1076
1128
  }
1077
1129
  },
1078
- "description": "Unmute an error group",
1130
+ "description": "Revoke a pending invitation",
1079
1131
  "examples": [
1080
- "<%= config.bin %> errors unmute <group-id> --project acme-api"
1132
+ "<%= config.bin %> invitations revoke <invitation-uuid>"
1081
1133
  ],
1082
1134
  "flags": {
1083
1135
  "json": {
@@ -1086,20 +1138,11 @@
1086
1138
  "name": "json",
1087
1139
  "allowNo": false,
1088
1140
  "type": "boolean"
1089
- },
1090
- "project": {
1091
- "char": "p",
1092
- "description": "Project id (UUID) or key",
1093
- "name": "project",
1094
- "required": true,
1095
- "hasDynamicHelp": false,
1096
- "multiple": false,
1097
- "type": "option"
1098
1141
  }
1099
1142
  },
1100
1143
  "hasDynamicHelp": false,
1101
1144
  "hiddenAliases": [],
1102
- "id": "errors:unmute",
1145
+ "id": "invitations:revoke",
1103
1146
  "pluginAlias": "@bussolabs/closeyourit-cli",
1104
1147
  "pluginName": "@bussolabs/closeyourit-cli",
1105
1148
  "pluginType": "core",
@@ -1109,23 +1152,23 @@
1109
1152
  "relativePath": [
1110
1153
  "dist",
1111
1154
  "commands",
1112
- "errors",
1113
- "unmute.js"
1155
+ "invitations",
1156
+ "revoke.js"
1114
1157
  ]
1115
1158
  },
1116
- "environments:create": {
1159
+ "groups:create": {
1117
1160
  "aliases": [],
1118
1161
  "args": {
1119
- "code": {
1120
- "description": "Environment code (lowercase, e.g. production)",
1121
- "name": "code",
1162
+ "name": {
1163
+ "description": "Group name",
1164
+ "name": "name",
1122
1165
  "required": true
1123
1166
  }
1124
1167
  },
1125
- "description": "Create an environment (production, staging, …) in your organization",
1168
+ "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
1126
1169
  "examples": [
1127
- "<%= config.bin %> environments create production --label Production",
1128
- "<%= config.bin %> environments create staging --label Staging --color amber"
1170
+ "<%= config.bin %> groups create DriverOne",
1171
+ "<%= config.bin %> groups create DriverOne --color indigo"
1129
1172
  ],
1130
1173
  "flags": {
1131
1174
  "json": {
@@ -1135,39 +1178,17 @@
1135
1178
  "allowNo": false,
1136
1179
  "type": "boolean"
1137
1180
  },
1138
- "label": {
1139
- "description": "Human-readable label",
1140
- "name": "label",
1141
- "required": true,
1142
- "hasDynamicHelp": false,
1143
- "multiple": false,
1144
- "type": "option"
1145
- },
1146
1181
  "color": {
1147
1182
  "description": "Color label",
1148
1183
  "name": "color",
1149
- "default": "emerald",
1150
- "hasDynamicHelp": false,
1151
- "multiple": false,
1152
- "type": "option"
1153
- },
1154
- "position": {
1155
- "description": "Sort position",
1156
- "name": "position",
1157
1184
  "hasDynamicHelp": false,
1158
1185
  "multiple": false,
1159
1186
  "type": "option"
1160
- },
1161
- "active": {
1162
- "description": "Whether the environment is active",
1163
- "name": "active",
1164
- "allowNo": true,
1165
- "type": "boolean"
1166
1187
  }
1167
1188
  },
1168
1189
  "hasDynamicHelp": false,
1169
1190
  "hiddenAliases": [],
1170
- "id": "environments:create",
1191
+ "id": "groups:create",
1171
1192
  "pluginAlias": "@bussolabs/closeyourit-cli",
1172
1193
  "pluginName": "@bussolabs/closeyourit-cli",
1173
1194
  "pluginType": "core",
@@ -1177,22 +1198,22 @@
1177
1198
  "relativePath": [
1178
1199
  "dist",
1179
1200
  "commands",
1180
- "environments",
1201
+ "groups",
1181
1202
  "create.js"
1182
1203
  ]
1183
1204
  },
1184
- "environments:delete": {
1205
+ "groups:delete": {
1185
1206
  "aliases": [],
1186
1207
  "args": {
1187
- "environment": {
1188
- "description": "Environment id (UUID) or code",
1189
- "name": "environment",
1208
+ "group": {
1209
+ "description": "Group id (UUID) or name",
1210
+ "name": "group",
1190
1211
  "required": true
1191
1212
  }
1192
1213
  },
1193
- "description": "Delete an environment (blocked while projects, tokens or monitors reference it)",
1214
+ "description": "Delete a group (its projects are detached, not deleted)",
1194
1215
  "examples": [
1195
- "<%= config.bin %> environments delete staging --confirm"
1216
+ "<%= config.bin %> groups delete Backend --confirm"
1196
1217
  ],
1197
1218
  "flags": {
1198
1219
  "json": {
@@ -1211,7 +1232,7 @@
1211
1232
  },
1212
1233
  "hasDynamicHelp": false,
1213
1234
  "hiddenAliases": [],
1214
- "id": "environments:delete",
1235
+ "id": "groups:delete",
1215
1236
  "pluginAlias": "@bussolabs/closeyourit-cli",
1216
1237
  "pluginName": "@bussolabs/closeyourit-cli",
1217
1238
  "pluginType": "core",
@@ -1221,17 +1242,17 @@
1221
1242
  "relativePath": [
1222
1243
  "dist",
1223
1244
  "commands",
1224
- "environments",
1245
+ "groups",
1225
1246
  "delete.js"
1226
1247
  ]
1227
1248
  },
1228
- "environments:list": {
1249
+ "groups:list": {
1229
1250
  "aliases": [],
1230
1251
  "args": {},
1231
- "description": "List the environments (production, staging, …) in your organization",
1252
+ "description": "List the groups (macro-projects) in your organization",
1232
1253
  "examples": [
1233
- "<%= config.bin %> environments list",
1234
- "<%= config.bin %> environments list --page 2 --json"
1254
+ "<%= config.bin %> groups list",
1255
+ "<%= config.bin %> groups list --page 2 --json"
1235
1256
  ],
1236
1257
  "flags": {
1237
1258
  "json": {
@@ -1252,7 +1273,7 @@
1252
1273
  },
1253
1274
  "hasDynamicHelp": false,
1254
1275
  "hiddenAliases": [],
1255
- "id": "environments:list",
1276
+ "id": "groups:list",
1256
1277
  "pluginAlias": "@bussolabs/closeyourit-cli",
1257
1278
  "pluginName": "@bussolabs/closeyourit-cli",
1258
1279
  "pluginType": "core",
@@ -1262,24 +1283,23 @@
1262
1283
  "relativePath": [
1263
1284
  "dist",
1264
1285
  "commands",
1265
- "environments",
1286
+ "groups",
1266
1287
  "list.js"
1267
1288
  ]
1268
1289
  },
1269
- "environments:update": {
1290
+ "groups:update": {
1270
1291
  "aliases": [],
1271
1292
  "args": {
1272
- "environment": {
1273
- "description": "Environment id (UUID) or code",
1274
- "name": "environment",
1293
+ "group": {
1294
+ "description": "Group id (UUID) or name",
1295
+ "name": "group",
1275
1296
  "required": true
1276
1297
  }
1277
1298
  },
1278
- "description": "Update an environment (recode, relabel, recolor, reorder, activate/deactivate)",
1299
+ "description": "Update a group (rename or recolor)",
1279
1300
  "examples": [
1280
- "<%= config.bin %> environments update staging --label \"Staging env\"",
1281
- "<%= config.bin %> environments update production --color indigo",
1282
- "<%= config.bin %> environments update staging --no-active"
1301
+ "<%= config.bin %> groups update Backend --name \"Backend services\"",
1302
+ "<%= config.bin %> groups update Backend --color indigo"
1283
1303
  ],
1284
1304
  "flags": {
1285
1305
  "json": {
@@ -1289,16 +1309,9 @@
1289
1309
  "allowNo": false,
1290
1310
  "type": "boolean"
1291
1311
  },
1292
- "code": {
1293
- "description": "New code (lowercase)",
1294
- "name": "code",
1295
- "hasDynamicHelp": false,
1296
- "multiple": false,
1297
- "type": "option"
1298
- },
1299
- "label": {
1300
- "description": "New label",
1301
- "name": "label",
1312
+ "name": {
1313
+ "description": "New name",
1314
+ "name": "name",
1302
1315
  "hasDynamicHelp": false,
1303
1316
  "multiple": false,
1304
1317
  "type": "option"
@@ -1309,24 +1322,11 @@
1309
1322
  "hasDynamicHelp": false,
1310
1323
  "multiple": false,
1311
1324
  "type": "option"
1312
- },
1313
- "position": {
1314
- "description": "Sort position",
1315
- "name": "position",
1316
- "hasDynamicHelp": false,
1317
- "multiple": false,
1318
- "type": "option"
1319
- },
1320
- "active": {
1321
- "description": "Whether the environment is active",
1322
- "name": "active",
1323
- "allowNo": true,
1324
- "type": "boolean"
1325
1325
  }
1326
1326
  },
1327
1327
  "hasDynamicHelp": false,
1328
1328
  "hiddenAliases": [],
1329
- "id": "environments:update",
1329
+ "id": "groups:update",
1330
1330
  "pluginAlias": "@bussolabs/closeyourit-cli",
1331
1331
  "pluginName": "@bussolabs/closeyourit-cli",
1332
1332
  "pluginType": "core",
@@ -1336,10 +1336,231 @@
1336
1336
  "relativePath": [
1337
1337
  "dist",
1338
1338
  "commands",
1339
- "environments",
1339
+ "groups",
1340
1340
  "update.js"
1341
1341
  ]
1342
1342
  },
1343
+ "logs:list": {
1344
+ "aliases": [],
1345
+ "args": {},
1346
+ "description": "List structured log entries (cross-app stream)",
1347
+ "examples": [
1348
+ "<%= config.bin %> logs list",
1349
+ "<%= config.bin %> logs list --project acme-api --level error",
1350
+ "<%= config.bin %> logs list --trace-id 7f3c… --json"
1351
+ ],
1352
+ "flags": {
1353
+ "json": {
1354
+ "description": "Format output as json.",
1355
+ "helpGroup": "GLOBAL",
1356
+ "name": "json",
1357
+ "allowNo": false,
1358
+ "type": "boolean"
1359
+ },
1360
+ "project": {
1361
+ "char": "p",
1362
+ "description": "Filter by project id (UUID) or key",
1363
+ "name": "project",
1364
+ "hasDynamicHelp": false,
1365
+ "multiple": false,
1366
+ "type": "option"
1367
+ },
1368
+ "level": {
1369
+ "description": "Filter by level (debug, info, warning, error, fatal)",
1370
+ "name": "level",
1371
+ "hasDynamicHelp": false,
1372
+ "multiple": false,
1373
+ "type": "option"
1374
+ },
1375
+ "trace-id": {
1376
+ "description": "Filter by trace id (correlate one request)",
1377
+ "name": "trace-id",
1378
+ "hasDynamicHelp": false,
1379
+ "multiple": false,
1380
+ "type": "option"
1381
+ },
1382
+ "environment": {
1383
+ "description": "Filter by environment (e.g. production)",
1384
+ "name": "environment",
1385
+ "hasDynamicHelp": false,
1386
+ "multiple": false,
1387
+ "type": "option"
1388
+ },
1389
+ "page": {
1390
+ "description": "Page number",
1391
+ "name": "page",
1392
+ "default": 1,
1393
+ "hasDynamicHelp": false,
1394
+ "multiple": false,
1395
+ "type": "option"
1396
+ }
1397
+ },
1398
+ "hasDynamicHelp": false,
1399
+ "hiddenAliases": [],
1400
+ "id": "logs:list",
1401
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1402
+ "pluginName": "@bussolabs/closeyourit-cli",
1403
+ "pluginType": "core",
1404
+ "strict": true,
1405
+ "enableJsonFlag": true,
1406
+ "isESM": false,
1407
+ "relativePath": [
1408
+ "dist",
1409
+ "commands",
1410
+ "logs",
1411
+ "list.js"
1412
+ ]
1413
+ },
1414
+ "members:list": {
1415
+ "aliases": [],
1416
+ "args": {},
1417
+ "description": "List the members of your organization (to resolve emails to account ids)",
1418
+ "examples": [
1419
+ "<%= config.bin %> members list",
1420
+ "<%= config.bin %> members list --json"
1421
+ ],
1422
+ "flags": {
1423
+ "json": {
1424
+ "description": "Format output as json.",
1425
+ "helpGroup": "GLOBAL",
1426
+ "name": "json",
1427
+ "allowNo": false,
1428
+ "type": "boolean"
1429
+ },
1430
+ "page": {
1431
+ "description": "Page number",
1432
+ "name": "page",
1433
+ "default": 1,
1434
+ "hasDynamicHelp": false,
1435
+ "multiple": false,
1436
+ "type": "option"
1437
+ }
1438
+ },
1439
+ "hasDynamicHelp": false,
1440
+ "hiddenAliases": [],
1441
+ "id": "members:list",
1442
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1443
+ "pluginName": "@bussolabs/closeyourit-cli",
1444
+ "pluginType": "core",
1445
+ "strict": true,
1446
+ "enableJsonFlag": true,
1447
+ "isESM": false,
1448
+ "relativePath": [
1449
+ "dist",
1450
+ "commands",
1451
+ "members",
1452
+ "list.js"
1453
+ ]
1454
+ },
1455
+ "members:set-access": {
1456
+ "aliases": [],
1457
+ "args": {
1458
+ "id": {
1459
+ "description": "Membership id",
1460
+ "name": "id",
1461
+ "required": true
1462
+ }
1463
+ },
1464
+ "description": "Set a member's group and project access (replaces the current set; omit a flag to clear it)",
1465
+ "examples": [
1466
+ "<%= config.bin %> members set-access <membership-id> --project acme-api --project acme-web",
1467
+ "<%= config.bin %> members set-access <membership-id> --group DriverOne",
1468
+ "<%= config.bin %> members set-access <membership-id>"
1469
+ ],
1470
+ "flags": {
1471
+ "json": {
1472
+ "description": "Format output as json.",
1473
+ "helpGroup": "GLOBAL",
1474
+ "name": "json",
1475
+ "allowNo": false,
1476
+ "type": "boolean"
1477
+ },
1478
+ "group": {
1479
+ "description": "Group id or name to grant access to (repeatable; omit to clear group access)",
1480
+ "name": "group",
1481
+ "default": [],
1482
+ "hasDynamicHelp": false,
1483
+ "multiple": true,
1484
+ "type": "option"
1485
+ },
1486
+ "project": {
1487
+ "description": "Project id or key to grant access to (repeatable; omit to clear project access)",
1488
+ "name": "project",
1489
+ "default": [],
1490
+ "hasDynamicHelp": false,
1491
+ "multiple": true,
1492
+ "type": "option"
1493
+ }
1494
+ },
1495
+ "hasDynamicHelp": false,
1496
+ "hiddenAliases": [],
1497
+ "id": "members:set-access",
1498
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1499
+ "pluginName": "@bussolabs/closeyourit-cli",
1500
+ "pluginType": "core",
1501
+ "strict": true,
1502
+ "enableJsonFlag": true,
1503
+ "isESM": false,
1504
+ "relativePath": [
1505
+ "dist",
1506
+ "commands",
1507
+ "members",
1508
+ "set-access.js"
1509
+ ]
1510
+ },
1511
+ "members:set-role": {
1512
+ "aliases": [],
1513
+ "args": {
1514
+ "id": {
1515
+ "description": "Membership id",
1516
+ "name": "id",
1517
+ "required": true
1518
+ }
1519
+ },
1520
+ "description": "Change a member's organization role",
1521
+ "examples": [
1522
+ "<%= config.bin %> members set-role <membership-id> --role admin",
1523
+ "<%= config.bin %> members set-role <membership-id> --role customer"
1524
+ ],
1525
+ "flags": {
1526
+ "json": {
1527
+ "description": "Format output as json.",
1528
+ "helpGroup": "GLOBAL",
1529
+ "name": "json",
1530
+ "allowNo": false,
1531
+ "type": "boolean"
1532
+ },
1533
+ "role": {
1534
+ "description": "Organization role",
1535
+ "name": "role",
1536
+ "required": true,
1537
+ "hasDynamicHelp": false,
1538
+ "multiple": false,
1539
+ "options": [
1540
+ "member",
1541
+ "admin",
1542
+ "owner",
1543
+ "customer"
1544
+ ],
1545
+ "type": "option"
1546
+ }
1547
+ },
1548
+ "hasDynamicHelp": false,
1549
+ "hiddenAliases": [],
1550
+ "id": "members:set-role",
1551
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1552
+ "pluginName": "@bussolabs/closeyourit-cli",
1553
+ "pluginType": "core",
1554
+ "strict": true,
1555
+ "enableJsonFlag": true,
1556
+ "isESM": false,
1557
+ "relativePath": [
1558
+ "dist",
1559
+ "commands",
1560
+ "members",
1561
+ "set-role.js"
1562
+ ]
1563
+ },
1343
1564
  "metrics:list": {
1344
1565
  "aliases": [],
1345
1566
  "args": {},
@@ -1801,13 +2022,13 @@
1801
2022
  "update.js"
1802
2023
  ]
1803
2024
  },
1804
- "members:list": {
2025
+ "monitors:create": {
1805
2026
  "aliases": [],
1806
2027
  "args": {},
1807
- "description": "List the members of your organization (to resolve emails to account ids)",
2028
+ "description": "Create an uptime monitor for a project (one per environment)",
1808
2029
  "examples": [
1809
- "<%= config.bin %> members list",
1810
- "<%= config.bin %> members list --json"
2030
+ "<%= config.bin %> monitors create --project acme-api --url https://acme.example.com/up",
2031
+ "<%= config.bin %> monitors create -p acme-api --url https://acme.example.com/up --environment <env-id> --interval-seconds 60 --expected-status 200"
1811
2032
  ],
1812
2033
  "flags": {
1813
2034
  "json": {
@@ -1817,161 +2038,11 @@
1817
2038
  "allowNo": false,
1818
2039
  "type": "boolean"
1819
2040
  },
1820
- "page": {
1821
- "description": "Page number",
1822
- "name": "page",
1823
- "default": 1,
1824
- "hasDynamicHelp": false,
1825
- "multiple": false,
1826
- "type": "option"
1827
- }
1828
- },
1829
- "hasDynamicHelp": false,
1830
- "hiddenAliases": [],
1831
- "id": "members:list",
1832
- "pluginAlias": "@bussolabs/closeyourit-cli",
1833
- "pluginName": "@bussolabs/closeyourit-cli",
1834
- "pluginType": "core",
1835
- "strict": true,
1836
- "enableJsonFlag": true,
1837
- "isESM": false,
1838
- "relativePath": [
1839
- "dist",
1840
- "commands",
1841
- "members",
1842
- "list.js"
1843
- ]
1844
- },
1845
- "members:set-access": {
1846
- "aliases": [],
1847
- "args": {
1848
- "id": {
1849
- "description": "Membership id",
1850
- "name": "id",
1851
- "required": true
1852
- }
1853
- },
1854
- "description": "Set a member's group and project access (replaces the current set; omit a flag to clear it)",
1855
- "examples": [
1856
- "<%= config.bin %> members set-access <membership-id> --project acme-api --project acme-web",
1857
- "<%= config.bin %> members set-access <membership-id> --group DriverOne",
1858
- "<%= config.bin %> members set-access <membership-id>"
1859
- ],
1860
- "flags": {
1861
- "json": {
1862
- "description": "Format output as json.",
1863
- "helpGroup": "GLOBAL",
1864
- "name": "json",
1865
- "allowNo": false,
1866
- "type": "boolean"
1867
- },
1868
- "group": {
1869
- "description": "Group id or name to grant access to (repeatable; omit to clear group access)",
1870
- "name": "group",
1871
- "default": [],
1872
- "hasDynamicHelp": false,
1873
- "multiple": true,
1874
- "type": "option"
1875
- },
1876
- "project": {
1877
- "description": "Project id or key to grant access to (repeatable; omit to clear project access)",
1878
- "name": "project",
1879
- "default": [],
1880
- "hasDynamicHelp": false,
1881
- "multiple": true,
1882
- "type": "option"
1883
- }
1884
- },
1885
- "hasDynamicHelp": false,
1886
- "hiddenAliases": [],
1887
- "id": "members:set-access",
1888
- "pluginAlias": "@bussolabs/closeyourit-cli",
1889
- "pluginName": "@bussolabs/closeyourit-cli",
1890
- "pluginType": "core",
1891
- "strict": true,
1892
- "enableJsonFlag": true,
1893
- "isESM": false,
1894
- "relativePath": [
1895
- "dist",
1896
- "commands",
1897
- "members",
1898
- "set-access.js"
1899
- ]
1900
- },
1901
- "members:set-role": {
1902
- "aliases": [],
1903
- "args": {
1904
- "id": {
1905
- "description": "Membership id",
1906
- "name": "id",
1907
- "required": true
1908
- }
1909
- },
1910
- "description": "Change a member's organization role",
1911
- "examples": [
1912
- "<%= config.bin %> members set-role <membership-id> --role admin",
1913
- "<%= config.bin %> members set-role <membership-id> --role customer"
1914
- ],
1915
- "flags": {
1916
- "json": {
1917
- "description": "Format output as json.",
1918
- "helpGroup": "GLOBAL",
1919
- "name": "json",
1920
- "allowNo": false,
1921
- "type": "boolean"
1922
- },
1923
- "role": {
1924
- "description": "Organization role",
1925
- "name": "role",
1926
- "required": true,
1927
- "hasDynamicHelp": false,
1928
- "multiple": false,
1929
- "options": [
1930
- "member",
1931
- "admin",
1932
- "owner",
1933
- "customer"
1934
- ],
1935
- "type": "option"
1936
- }
1937
- },
1938
- "hasDynamicHelp": false,
1939
- "hiddenAliases": [],
1940
- "id": "members:set-role",
1941
- "pluginAlias": "@bussolabs/closeyourit-cli",
1942
- "pluginName": "@bussolabs/closeyourit-cli",
1943
- "pluginType": "core",
1944
- "strict": true,
1945
- "enableJsonFlag": true,
1946
- "isESM": false,
1947
- "relativePath": [
1948
- "dist",
1949
- "commands",
1950
- "members",
1951
- "set-role.js"
1952
- ]
1953
- },
1954
- "monitors:create": {
1955
- "aliases": [],
1956
- "args": {},
1957
- "description": "Create an uptime monitor for a project (one per environment)",
1958
- "examples": [
1959
- "<%= config.bin %> monitors create --project acme-api --url https://acme.example.com/up",
1960
- "<%= config.bin %> monitors create -p acme-api --url https://acme.example.com/up --environment <env-id> --interval-seconds 60 --expected-status 200"
1961
- ],
1962
- "flags": {
1963
- "json": {
1964
- "description": "Format output as json.",
1965
- "helpGroup": "GLOBAL",
1966
- "name": "json",
1967
- "allowNo": false,
1968
- "type": "boolean"
1969
- },
1970
- "project": {
1971
- "char": "p",
1972
- "description": "Project id (UUID) or key",
1973
- "name": "project",
1974
- "required": true,
2041
+ "project": {
2042
+ "char": "p",
2043
+ "description": "Project id (UUID) or key",
2044
+ "name": "project",
2045
+ "required": true,
1975
2046
  "hasDynamicHelp": false,
1976
2047
  "multiple": false,
1977
2048
  "type": "option"
@@ -2362,329 +2433,14 @@
2362
2433
  "monitors",
2363
2434
  "update.js"
2364
2435
  ]
2365
- },
2366
- "org:show": {
2367
- "aliases": [],
2368
- "args": {},
2369
- "description": "Show your organization settings",
2370
- "examples": [
2371
- "<%= config.bin %> org show",
2372
- "<%= config.bin %> org show --json"
2373
- ],
2374
- "flags": {
2375
- "json": {
2376
- "description": "Format output as json.",
2377
- "helpGroup": "GLOBAL",
2378
- "name": "json",
2379
- "allowNo": false,
2380
- "type": "boolean"
2381
- }
2382
- },
2383
- "hasDynamicHelp": false,
2384
- "hiddenAliases": [],
2385
- "id": "org:show",
2386
- "pluginAlias": "@bussolabs/closeyourit-cli",
2387
- "pluginName": "@bussolabs/closeyourit-cli",
2388
- "pluginType": "core",
2389
- "strict": true,
2390
- "enableJsonFlag": true,
2391
- "isESM": false,
2392
- "relativePath": [
2393
- "dist",
2394
- "commands",
2395
- "org",
2396
- "show.js"
2397
- ]
2398
- },
2399
- "org:update": {
2400
- "aliases": [],
2401
- "args": {},
2402
- "description": "Update your organization settings (requires organization.manage)",
2403
- "examples": [
2404
- "<%= config.bin %> org update --name \"Acme Inc\"",
2405
- "<%= config.bin %> org update --slug acme-inc",
2406
- "<%= config.bin %> org update --projects-view table"
2407
- ],
2408
- "flags": {
2409
- "json": {
2410
- "description": "Format output as json.",
2411
- "helpGroup": "GLOBAL",
2412
- "name": "json",
2413
- "allowNo": false,
2414
- "type": "boolean"
2415
- },
2416
- "name": {
2417
- "description": "New organization name",
2418
- "name": "name",
2419
- "hasDynamicHelp": false,
2420
- "multiple": false,
2421
- "type": "option"
2422
- },
2423
- "slug": {
2424
- "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
2425
- "name": "slug",
2426
- "hasDynamicHelp": false,
2427
- "multiple": false,
2428
- "type": "option"
2429
- },
2430
- "projects-view": {
2431
- "description": "Default projects list view",
2432
- "name": "projects-view",
2433
- "hasDynamicHelp": false,
2434
- "multiple": false,
2435
- "options": [
2436
- "cards",
2437
- "table"
2438
- ],
2439
- "type": "option"
2440
- }
2441
- },
2442
- "hasDynamicHelp": false,
2443
- "hiddenAliases": [],
2444
- "id": "org:update",
2445
- "pluginAlias": "@bussolabs/closeyourit-cli",
2446
- "pluginName": "@bussolabs/closeyourit-cli",
2447
- "pluginType": "core",
2448
- "strict": true,
2449
- "enableJsonFlag": true,
2450
- "isESM": false,
2451
- "relativePath": [
2452
- "dist",
2453
- "commands",
2454
- "org",
2455
- "update.js"
2456
- ]
2457
- },
2458
- "projects:create": {
2459
- "aliases": [],
2460
- "args": {
2461
- "name": {
2462
- "description": "Project name",
2463
- "name": "name",
2464
- "required": true
2465
- }
2466
- },
2467
- "description": "Create a project (optionally inside a group)",
2468
- "examples": [
2469
- "<%= config.bin %> projects create driverone-rails --key DRRA",
2470
- "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
2471
- "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
2472
- ],
2473
- "flags": {
2474
- "json": {
2475
- "description": "Format output as json.",
2476
- "helpGroup": "GLOBAL",
2477
- "name": "json",
2478
- "allowNo": false,
2479
- "type": "boolean"
2480
- },
2481
- "color": {
2482
- "description": "Color label",
2483
- "name": "color",
2484
- "hasDynamicHelp": false,
2485
- "multiple": false,
2486
- "type": "option"
2487
- },
2488
- "description": {
2489
- "description": "Free-form description",
2490
- "name": "description",
2491
- "hasDynamicHelp": false,
2492
- "multiple": false,
2493
- "type": "option"
2494
- },
2495
- "group": {
2496
- "char": "g",
2497
- "description": "Group id (UUID) or name to place the project in",
2498
- "name": "group",
2499
- "hasDynamicHelp": false,
2500
- "multiple": false,
2501
- "type": "option"
2502
- },
2503
- "key": {
2504
- "char": "k",
2505
- "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
2506
- "name": "key",
2507
- "required": true,
2508
- "hasDynamicHelp": false,
2509
- "multiple": false,
2510
- "type": "option"
2511
- }
2512
- },
2513
- "hasDynamicHelp": false,
2514
- "hiddenAliases": [],
2515
- "id": "projects:create",
2516
- "pluginAlias": "@bussolabs/closeyourit-cli",
2517
- "pluginName": "@bussolabs/closeyourit-cli",
2518
- "pluginType": "core",
2519
- "strict": true,
2520
- "enableJsonFlag": true,
2521
- "isESM": false,
2522
- "relativePath": [
2523
- "dist",
2524
- "commands",
2525
- "projects",
2526
- "create.js"
2527
- ]
2528
- },
2529
- "projects:delete": {
2530
- "aliases": [],
2531
- "args": {},
2532
- "description": "Delete a project (irreversible)",
2533
- "examples": [
2534
- "<%= config.bin %> projects delete --project LBRA --confirm"
2535
- ],
2536
- "flags": {
2537
- "json": {
2538
- "description": "Format output as json.",
2539
- "helpGroup": "GLOBAL",
2540
- "name": "json",
2541
- "allowNo": false,
2542
- "type": "boolean"
2543
- },
2544
- "project": {
2545
- "char": "p",
2546
- "description": "Project id (UUID) or key",
2547
- "name": "project",
2548
- "required": true,
2549
- "hasDynamicHelp": false,
2550
- "multiple": false,
2551
- "type": "option"
2552
- },
2553
- "confirm": {
2554
- "description": "Required: confirm the irreversible deletion",
2555
- "name": "confirm",
2556
- "allowNo": false,
2557
- "type": "boolean"
2558
- }
2559
- },
2560
- "hasDynamicHelp": false,
2561
- "hiddenAliases": [],
2562
- "id": "projects:delete",
2563
- "pluginAlias": "@bussolabs/closeyourit-cli",
2564
- "pluginName": "@bussolabs/closeyourit-cli",
2565
- "pluginType": "core",
2566
- "strict": true,
2567
- "enableJsonFlag": true,
2568
- "isESM": false,
2569
- "relativePath": [
2570
- "dist",
2571
- "commands",
2572
- "projects",
2573
- "delete.js"
2574
- ]
2575
- },
2576
- "projects:list": {
2577
- "aliases": [],
2578
- "args": {},
2579
- "description": "List the projects visible to you",
2580
- "examples": [
2581
- "<%= config.bin %> projects list",
2582
- "<%= config.bin %> projects list --page 2 --json"
2583
- ],
2584
- "flags": {
2585
- "json": {
2586
- "description": "Format output as json.",
2587
- "helpGroup": "GLOBAL",
2588
- "name": "json",
2589
- "allowNo": false,
2590
- "type": "boolean"
2591
- },
2592
- "page": {
2593
- "description": "Page number",
2594
- "name": "page",
2595
- "default": 1,
2596
- "hasDynamicHelp": false,
2597
- "multiple": false,
2598
- "type": "option"
2599
- }
2600
- },
2601
- "hasDynamicHelp": false,
2602
- "hiddenAliases": [],
2603
- "id": "projects:list",
2604
- "pluginAlias": "@bussolabs/closeyourit-cli",
2605
- "pluginName": "@bussolabs/closeyourit-cli",
2606
- "pluginType": "core",
2607
- "strict": true,
2608
- "enableJsonFlag": true,
2609
- "isESM": false,
2610
- "relativePath": [
2611
- "dist",
2612
- "commands",
2613
- "projects",
2614
- "list.js"
2615
- ]
2616
- },
2617
- "projects:set-environments": {
2618
- "aliases": [],
2619
- "args": {},
2620
- "description": "Declare the environments a project receives data from (replaces the current set)",
2621
- "examples": [
2622
- "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
2623
- "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
2624
- ],
2625
- "flags": {
2626
- "json": {
2627
- "description": "Format output as json.",
2628
- "helpGroup": "GLOBAL",
2629
- "name": "json",
2630
- "allowNo": false,
2631
- "type": "boolean"
2632
- },
2633
- "project": {
2634
- "char": "p",
2635
- "description": "Project id (UUID) or key",
2636
- "name": "project",
2637
- "required": true,
2638
- "hasDynamicHelp": false,
2639
- "multiple": false,
2640
- "type": "option"
2641
- },
2642
- "code": {
2643
- "description": "Environment code, e.g. production (repeatable)",
2644
- "name": "code",
2645
- "default": [],
2646
- "hasDynamicHelp": false,
2647
- "multiple": true,
2648
- "type": "option"
2649
- },
2650
- "environment-id": {
2651
- "description": "Environment id / UUID (repeatable)",
2652
- "name": "environment-id",
2653
- "default": [],
2654
- "hasDynamicHelp": false,
2655
- "multiple": true,
2656
- "type": "option"
2657
- }
2658
- },
2659
- "hasDynamicHelp": false,
2660
- "hiddenAliases": [],
2661
- "id": "projects:set-environments",
2662
- "pluginAlias": "@bussolabs/closeyourit-cli",
2663
- "pluginName": "@bussolabs/closeyourit-cli",
2664
- "pluginType": "core",
2665
- "strict": true,
2666
- "enableJsonFlag": true,
2667
- "isESM": false,
2668
- "relativePath": [
2669
- "dist",
2670
- "commands",
2671
- "projects",
2672
- "set-environments.js"
2673
- ]
2674
- },
2675
- "projects:show": {
2676
- "aliases": [],
2677
- "args": {
2678
- "id": {
2679
- "description": "Project id (UUID) or key",
2680
- "name": "id",
2681
- "required": true
2682
- }
2683
- },
2684
- "description": "Show a single project by id or key",
2436
+ },
2437
+ "org:show": {
2438
+ "aliases": [],
2439
+ "args": {},
2440
+ "description": "Show your organization settings",
2685
2441
  "examples": [
2686
- "<%= config.bin %> projects show acme-api",
2687
- "<%= config.bin %> projects show <uuid> --json"
2442
+ "<%= config.bin %> org show",
2443
+ "<%= config.bin %> org show --json"
2688
2444
  ],
2689
2445
  "flags": {
2690
2446
  "json": {
@@ -2697,7 +2453,7 @@
2697
2453
  },
2698
2454
  "hasDynamicHelp": false,
2699
2455
  "hiddenAliases": [],
2700
- "id": "projects:show",
2456
+ "id": "org:show",
2701
2457
  "pluginAlias": "@bussolabs/closeyourit-cli",
2702
2458
  "pluginName": "@bussolabs/closeyourit-cli",
2703
2459
  "pluginType": "core",
@@ -2707,17 +2463,18 @@
2707
2463
  "relativePath": [
2708
2464
  "dist",
2709
2465
  "commands",
2710
- "projects",
2466
+ "org",
2711
2467
  "show.js"
2712
2468
  ]
2713
2469
  },
2714
- "projects:update": {
2470
+ "org:update": {
2715
2471
  "aliases": [],
2716
2472
  "args": {},
2717
- "description": "Update a project (name, key, color, description, group)",
2473
+ "description": "Update your organization settings (requires organization.manage)",
2718
2474
  "examples": [
2719
- "<%= config.bin %> projects update --project LBRA --name \"New name\"",
2720
- "<%= config.bin %> projects update -p LBRA --group Backend"
2475
+ "<%= config.bin %> org update --name \"Acme Inc\"",
2476
+ "<%= config.bin %> org update --slug acme-inc",
2477
+ "<%= config.bin %> org update --projects-view table"
2721
2478
  ],
2722
2479
  "flags": {
2723
2480
  "json": {
@@ -2727,54 +2484,35 @@
2727
2484
  "allowNo": false,
2728
2485
  "type": "boolean"
2729
2486
  },
2730
- "project": {
2731
- "char": "p",
2732
- "description": "Project id (UUID) or key",
2733
- "name": "project",
2734
- "required": true,
2735
- "hasDynamicHelp": false,
2736
- "multiple": false,
2737
- "type": "option"
2738
- },
2739
2487
  "name": {
2740
- "description": "New project name",
2488
+ "description": "New organization name",
2741
2489
  "name": "name",
2742
2490
  "hasDynamicHelp": false,
2743
2491
  "multiple": false,
2744
2492
  "type": "option"
2745
2493
  },
2746
- "key": {
2747
- "description": "New project key (uppercase A-Z0-9)",
2748
- "name": "key",
2749
- "hasDynamicHelp": false,
2750
- "multiple": false,
2751
- "type": "option"
2752
- },
2753
- "color": {
2754
- "description": "Color label",
2755
- "name": "color",
2756
- "hasDynamicHelp": false,
2757
- "multiple": false,
2758
- "type": "option"
2759
- },
2760
- "description": {
2761
- "description": "Free-form description",
2762
- "name": "description",
2494
+ "slug": {
2495
+ "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
2496
+ "name": "slug",
2763
2497
  "hasDynamicHelp": false,
2764
2498
  "multiple": false,
2765
2499
  "type": "option"
2766
2500
  },
2767
- "group": {
2768
- "description": "Group id (UUID) or name to move the project into",
2769
- "name": "group",
2501
+ "projects-view": {
2502
+ "description": "Default projects list view",
2503
+ "name": "projects-view",
2770
2504
  "hasDynamicHelp": false,
2771
2505
  "multiple": false,
2506
+ "options": [
2507
+ "cards",
2508
+ "table"
2509
+ ],
2772
2510
  "type": "option"
2773
2511
  }
2774
2512
  },
2775
2513
  "hasDynamicHelp": false,
2776
2514
  "hiddenAliases": [],
2777
- "id": "projects:update",
2515
+ "id": "org:update",
2778
2516
  "pluginAlias": "@bussolabs/closeyourit-cli",
2779
2517
  "pluginName": "@bussolabs/closeyourit-cli",
2780
2518
  "pluginType": "core",
@@ -2784,7 +2522,7 @@
2784
2522
  "relativePath": [
2785
2523
  "dist",
2786
2524
  "commands",
2787
- "projects",
2525
+ "org",
2788
2526
  "update.js"
2789
2527
  ]
2790
2528
  },
@@ -3015,18 +2753,20 @@
3015
2753
  "update.js"
3016
2754
  ]
3017
2755
  },
3018
- "roles:create": {
2756
+ "projects:create": {
3019
2757
  "aliases": [],
3020
2758
  "args": {
3021
2759
  "name": {
3022
- "description": "Role name",
2760
+ "description": "Project name",
3023
2761
  "name": "name",
3024
2762
  "required": true
3025
2763
  }
3026
2764
  },
3027
- "description": "Create an RBAC role (a named bundle of permission keys)",
2765
+ "description": "Create a project (optionally inside a group)",
3028
2766
  "examples": [
3029
- "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
2767
+ "<%= config.bin %> projects create driverone-rails --key DRRA",
2768
+ "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
2769
+ "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
3030
2770
  ],
3031
2771
  "flags": {
3032
2772
  "json": {
@@ -3043,17 +2783,34 @@
3043
2783
  "multiple": false,
3044
2784
  "type": "option"
3045
2785
  },
3046
- "permission": {
3047
- "description": "Permission key from the catalog (repeatable)",
3048
- "name": "permission",
2786
+ "description": {
2787
+ "description": "Free-form description",
2788
+ "name": "description",
3049
2789
  "hasDynamicHelp": false,
3050
- "multiple": true,
2790
+ "multiple": false,
2791
+ "type": "option"
2792
+ },
2793
+ "group": {
2794
+ "char": "g",
2795
+ "description": "Group id (UUID) or name to place the project in",
2796
+ "name": "group",
2797
+ "hasDynamicHelp": false,
2798
+ "multiple": false,
2799
+ "type": "option"
2800
+ },
2801
+ "key": {
2802
+ "char": "k",
2803
+ "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
2804
+ "name": "key",
2805
+ "required": true,
2806
+ "hasDynamicHelp": false,
2807
+ "multiple": false,
3051
2808
  "type": "option"
3052
2809
  }
3053
2810
  },
3054
2811
  "hasDynamicHelp": false,
3055
2812
  "hiddenAliases": [],
3056
- "id": "roles:create",
2813
+ "id": "projects:create",
3057
2814
  "pluginAlias": "@bussolabs/closeyourit-cli",
3058
2815
  "pluginName": "@bussolabs/closeyourit-cli",
3059
2816
  "pluginType": "core",
@@ -3063,22 +2820,16 @@
3063
2820
  "relativePath": [
3064
2821
  "dist",
3065
2822
  "commands",
3066
- "roles",
2823
+ "projects",
3067
2824
  "create.js"
3068
2825
  ]
3069
2826
  },
3070
- "roles:delete": {
2827
+ "projects:delete": {
3071
2828
  "aliases": [],
3072
- "args": {
3073
- "role": {
3074
- "description": "Role id (UUID) or name",
3075
- "name": "role",
3076
- "required": true
3077
- }
3078
- },
3079
- "description": "Delete a role (its assignments to teams and accounts are removed)",
2829
+ "args": {},
2830
+ "description": "Delete a project (irreversible)",
3080
2831
  "examples": [
3081
- "<%= config.bin %> roles delete Client"
2832
+ "<%= config.bin %> projects delete --project LBRA --confirm"
3082
2833
  ],
3083
2834
  "flags": {
3084
2835
  "json": {
@@ -3087,11 +2838,26 @@
3087
2838
  "name": "json",
3088
2839
  "allowNo": false,
3089
2840
  "type": "boolean"
2841
+ },
2842
+ "project": {
2843
+ "char": "p",
2844
+ "description": "Project id (UUID) or key",
2845
+ "name": "project",
2846
+ "required": true,
2847
+ "hasDynamicHelp": false,
2848
+ "multiple": false,
2849
+ "type": "option"
2850
+ },
2851
+ "confirm": {
2852
+ "description": "Required: confirm the irreversible deletion",
2853
+ "name": "confirm",
2854
+ "allowNo": false,
2855
+ "type": "boolean"
3090
2856
  }
3091
2857
  },
3092
2858
  "hasDynamicHelp": false,
3093
2859
  "hiddenAliases": [],
3094
- "id": "roles:delete",
2860
+ "id": "projects:delete",
3095
2861
  "pluginAlias": "@bussolabs/closeyourit-cli",
3096
2862
  "pluginName": "@bussolabs/closeyourit-cli",
3097
2863
  "pluginType": "core",
@@ -3101,17 +2867,17 @@
3101
2867
  "relativePath": [
3102
2868
  "dist",
3103
2869
  "commands",
3104
- "roles",
2870
+ "projects",
3105
2871
  "delete.js"
3106
2872
  ]
3107
2873
  },
3108
- "roles:list": {
2874
+ "projects:list": {
3109
2875
  "aliases": [],
3110
2876
  "args": {},
3111
- "description": "List the RBAC roles in your organization",
2877
+ "description": "List the projects visible to you",
3112
2878
  "examples": [
3113
- "<%= config.bin %> roles list",
3114
- "<%= config.bin %> roles list --json"
2879
+ "<%= config.bin %> projects list",
2880
+ "<%= config.bin %> projects list --page 2 --json"
3115
2881
  ],
3116
2882
  "flags": {
3117
2883
  "json": {
@@ -3132,7 +2898,7 @@
3132
2898
  },
3133
2899
  "hasDynamicHelp": false,
3134
2900
  "hiddenAliases": [],
3135
- "id": "roles:list",
2901
+ "id": "projects:list",
3136
2902
  "pluginAlias": "@bussolabs/closeyourit-cli",
3137
2903
  "pluginName": "@bussolabs/closeyourit-cli",
3138
2904
  "pluginType": "core",
@@ -3142,22 +2908,81 @@
3142
2908
  "relativePath": [
3143
2909
  "dist",
3144
2910
  "commands",
3145
- "roles",
2911
+ "projects",
3146
2912
  "list.js"
3147
2913
  ]
3148
2914
  },
3149
- "roles:show": {
2915
+ "projects:set-environments": {
2916
+ "aliases": [],
2917
+ "args": {},
2918
+ "description": "Declare the environments a project receives data from (replaces the current set)",
2919
+ "examples": [
2920
+ "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
2921
+ "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
2922
+ ],
2923
+ "flags": {
2924
+ "json": {
2925
+ "description": "Format output as json.",
2926
+ "helpGroup": "GLOBAL",
2927
+ "name": "json",
2928
+ "allowNo": false,
2929
+ "type": "boolean"
2930
+ },
2931
+ "project": {
2932
+ "char": "p",
2933
+ "description": "Project id (UUID) or key",
2934
+ "name": "project",
2935
+ "required": true,
2936
+ "hasDynamicHelp": false,
2937
+ "multiple": false,
2938
+ "type": "option"
2939
+ },
2940
+ "code": {
2941
+ "description": "Environment code, e.g. production (repeatable)",
2942
+ "name": "code",
2943
+ "default": [],
2944
+ "hasDynamicHelp": false,
2945
+ "multiple": true,
2946
+ "type": "option"
2947
+ },
2948
+ "environment-id": {
2949
+ "description": "Environment id / UUID (repeatable)",
2950
+ "name": "environment-id",
2951
+ "default": [],
2952
+ "hasDynamicHelp": false,
2953
+ "multiple": true,
2954
+ "type": "option"
2955
+ }
2956
+ },
2957
+ "hasDynamicHelp": false,
2958
+ "hiddenAliases": [],
2959
+ "id": "projects:set-environments",
2960
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2961
+ "pluginName": "@bussolabs/closeyourit-cli",
2962
+ "pluginType": "core",
2963
+ "strict": true,
2964
+ "enableJsonFlag": true,
2965
+ "isESM": false,
2966
+ "relativePath": [
2967
+ "dist",
2968
+ "commands",
2969
+ "projects",
2970
+ "set-environments.js"
2971
+ ]
2972
+ },
2973
+ "projects:show": {
3150
2974
  "aliases": [],
3151
2975
  "args": {
3152
- "role": {
3153
- "description": "Role id (UUID) or name",
3154
- "name": "role",
2976
+ "id": {
2977
+ "description": "Project id (UUID) or key",
2978
+ "name": "id",
3155
2979
  "required": true
3156
2980
  }
3157
2981
  },
3158
- "description": "Show a role by id or name (with its permission keys)",
2982
+ "description": "Show a single project by id or key",
3159
2983
  "examples": [
3160
- "<%= config.bin %> roles show Client"
2984
+ "<%= config.bin %> projects show acme-api",
2985
+ "<%= config.bin %> projects show <uuid> --json"
3161
2986
  ],
3162
2987
  "flags": {
3163
2988
  "json": {
@@ -3170,7 +2995,7 @@
3170
2995
  },
3171
2996
  "hasDynamicHelp": false,
3172
2997
  "hiddenAliases": [],
3173
- "id": "roles:show",
2998
+ "id": "projects:show",
3174
2999
  "pluginAlias": "@bussolabs/closeyourit-cli",
3175
3000
  "pluginName": "@bussolabs/closeyourit-cli",
3176
3001
  "pluginType": "core",
@@ -3180,23 +3005,17 @@
3180
3005
  "relativePath": [
3181
3006
  "dist",
3182
3007
  "commands",
3183
- "roles",
3008
+ "projects",
3184
3009
  "show.js"
3185
3010
  ]
3186
3011
  },
3187
- "roles:update": {
3012
+ "projects:update": {
3188
3013
  "aliases": [],
3189
- "args": {
3190
- "role": {
3191
- "description": "Role id (UUID) or name",
3192
- "name": "role",
3193
- "required": true
3194
- }
3195
- },
3196
- "description": "Update a role (rename, recolor, or replace its permission keys)",
3014
+ "args": {},
3015
+ "description": "Update a project (name, key, color, description, group)",
3197
3016
  "examples": [
3198
- "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3199
- "<%= config.bin %> roles update Client --name \"Client manager\""
3017
+ "<%= config.bin %> projects update --project LBRA --name \"New name\"",
3018
+ "<%= config.bin %> projects update -p LBRA --group Backend"
3200
3019
  ],
3201
3020
  "flags": {
3202
3021
  "json": {
@@ -3206,6 +3025,29 @@
3206
3025
  "allowNo": false,
3207
3026
  "type": "boolean"
3208
3027
  },
3028
+ "project": {
3029
+ "char": "p",
3030
+ "description": "Project id (UUID) or key",
3031
+ "name": "project",
3032
+ "required": true,
3033
+ "hasDynamicHelp": false,
3034
+ "multiple": false,
3035
+ "type": "option"
3036
+ },
3037
+ "name": {
3038
+ "description": "New project name",
3039
+ "name": "name",
3040
+ "hasDynamicHelp": false,
3041
+ "multiple": false,
3042
+ "type": "option"
3043
+ },
3044
+ "key": {
3045
+ "description": "New project key (uppercase A-Z0-9)",
3046
+ "name": "key",
3047
+ "hasDynamicHelp": false,
3048
+ "multiple": false,
3049
+ "type": "option"
3050
+ },
3209
3051
  "color": {
3210
3052
  "description": "Color label",
3211
3053
  "name": "color",
@@ -3213,24 +3055,24 @@
3213
3055
  "multiple": false,
3214
3056
  "type": "option"
3215
3057
  },
3216
- "name": {
3217
- "description": "New name",
3218
- "name": "name",
3058
+ "description": {
3059
+ "description": "Free-form description",
3060
+ "name": "description",
3219
3061
  "hasDynamicHelp": false,
3220
3062
  "multiple": false,
3221
3063
  "type": "option"
3222
3064
  },
3223
- "permission": {
3224
- "description": "Permission key (repeatable); when given, REPLACES the whole set",
3225
- "name": "permission",
3065
+ "group": {
3066
+ "description": "Group id (UUID) or name to move the project into",
3067
+ "name": "group",
3226
3068
  "hasDynamicHelp": false,
3227
- "multiple": true,
3069
+ "multiple": false,
3228
3070
  "type": "option"
3229
3071
  }
3230
3072
  },
3231
3073
  "hasDynamicHelp": false,
3232
3074
  "hiddenAliases": [],
3233
- "id": "roles:update",
3075
+ "id": "projects:update",
3234
3076
  "pluginAlias": "@bussolabs/closeyourit-cli",
3235
3077
  "pluginName": "@bussolabs/closeyourit-cli",
3236
3078
  "pluginType": "core",
@@ -3240,7 +3082,7 @@
3240
3082
  "relativePath": [
3241
3083
  "dist",
3242
3084
  "commands",
3243
- "roles",
3085
+ "projects",
3244
3086
  "update.js"
3245
3087
  ]
3246
3088
  },
@@ -3602,6 +3444,235 @@
3602
3444
  "update.js"
3603
3445
  ]
3604
3446
  },
3447
+ "roles:create": {
3448
+ "aliases": [],
3449
+ "args": {
3450
+ "name": {
3451
+ "description": "Role name",
3452
+ "name": "name",
3453
+ "required": true
3454
+ }
3455
+ },
3456
+ "description": "Create an RBAC role (a named bundle of permission keys)",
3457
+ "examples": [
3458
+ "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
3459
+ ],
3460
+ "flags": {
3461
+ "json": {
3462
+ "description": "Format output as json.",
3463
+ "helpGroup": "GLOBAL",
3464
+ "name": "json",
3465
+ "allowNo": false,
3466
+ "type": "boolean"
3467
+ },
3468
+ "color": {
3469
+ "description": "Color label",
3470
+ "name": "color",
3471
+ "hasDynamicHelp": false,
3472
+ "multiple": false,
3473
+ "type": "option"
3474
+ },
3475
+ "permission": {
3476
+ "description": "Permission key from the catalog (repeatable)",
3477
+ "name": "permission",
3478
+ "hasDynamicHelp": false,
3479
+ "multiple": true,
3480
+ "type": "option"
3481
+ }
3482
+ },
3483
+ "hasDynamicHelp": false,
3484
+ "hiddenAliases": [],
3485
+ "id": "roles:create",
3486
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3487
+ "pluginName": "@bussolabs/closeyourit-cli",
3488
+ "pluginType": "core",
3489
+ "strict": true,
3490
+ "enableJsonFlag": true,
3491
+ "isESM": false,
3492
+ "relativePath": [
3493
+ "dist",
3494
+ "commands",
3495
+ "roles",
3496
+ "create.js"
3497
+ ]
3498
+ },
3499
+ "roles:delete": {
3500
+ "aliases": [],
3501
+ "args": {
3502
+ "role": {
3503
+ "description": "Role id (UUID) or name",
3504
+ "name": "role",
3505
+ "required": true
3506
+ }
3507
+ },
3508
+ "description": "Delete a role (its assignments to teams and accounts are removed)",
3509
+ "examples": [
3510
+ "<%= config.bin %> roles delete Client"
3511
+ ],
3512
+ "flags": {
3513
+ "json": {
3514
+ "description": "Format output as json.",
3515
+ "helpGroup": "GLOBAL",
3516
+ "name": "json",
3517
+ "allowNo": false,
3518
+ "type": "boolean"
3519
+ }
3520
+ },
3521
+ "hasDynamicHelp": false,
3522
+ "hiddenAliases": [],
3523
+ "id": "roles:delete",
3524
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3525
+ "pluginName": "@bussolabs/closeyourit-cli",
3526
+ "pluginType": "core",
3527
+ "strict": true,
3528
+ "enableJsonFlag": true,
3529
+ "isESM": false,
3530
+ "relativePath": [
3531
+ "dist",
3532
+ "commands",
3533
+ "roles",
3534
+ "delete.js"
3535
+ ]
3536
+ },
3537
+ "roles:list": {
3538
+ "aliases": [],
3539
+ "args": {},
3540
+ "description": "List the RBAC roles in your organization",
3541
+ "examples": [
3542
+ "<%= config.bin %> roles list",
3543
+ "<%= config.bin %> roles list --json"
3544
+ ],
3545
+ "flags": {
3546
+ "json": {
3547
+ "description": "Format output as json.",
3548
+ "helpGroup": "GLOBAL",
3549
+ "name": "json",
3550
+ "allowNo": false,
3551
+ "type": "boolean"
3552
+ },
3553
+ "page": {
3554
+ "description": "Page number",
3555
+ "name": "page",
3556
+ "default": 1,
3557
+ "hasDynamicHelp": false,
3558
+ "multiple": false,
3559
+ "type": "option"
3560
+ }
3561
+ },
3562
+ "hasDynamicHelp": false,
3563
+ "hiddenAliases": [],
3564
+ "id": "roles:list",
3565
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3566
+ "pluginName": "@bussolabs/closeyourit-cli",
3567
+ "pluginType": "core",
3568
+ "strict": true,
3569
+ "enableJsonFlag": true,
3570
+ "isESM": false,
3571
+ "relativePath": [
3572
+ "dist",
3573
+ "commands",
3574
+ "roles",
3575
+ "list.js"
3576
+ ]
3577
+ },
3578
+ "roles:show": {
3579
+ "aliases": [],
3580
+ "args": {
3581
+ "role": {
3582
+ "description": "Role id (UUID) or name",
3583
+ "name": "role",
3584
+ "required": true
3585
+ }
3586
+ },
3587
+ "description": "Show a role by id or name (with its permission keys)",
3588
+ "examples": [
3589
+ "<%= config.bin %> roles show Client"
3590
+ ],
3591
+ "flags": {
3592
+ "json": {
3593
+ "description": "Format output as json.",
3594
+ "helpGroup": "GLOBAL",
3595
+ "name": "json",
3596
+ "allowNo": false,
3597
+ "type": "boolean"
3598
+ }
3599
+ },
3600
+ "hasDynamicHelp": false,
3601
+ "hiddenAliases": [],
3602
+ "id": "roles:show",
3603
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3604
+ "pluginName": "@bussolabs/closeyourit-cli",
3605
+ "pluginType": "core",
3606
+ "strict": true,
3607
+ "enableJsonFlag": true,
3608
+ "isESM": false,
3609
+ "relativePath": [
3610
+ "dist",
3611
+ "commands",
3612
+ "roles",
3613
+ "show.js"
3614
+ ]
3615
+ },
3616
+ "roles:update": {
3617
+ "aliases": [],
3618
+ "args": {
3619
+ "role": {
3620
+ "description": "Role id (UUID) or name",
3621
+ "name": "role",
3622
+ "required": true
3623
+ }
3624
+ },
3625
+ "description": "Update a role (rename, recolor, or replace its permission keys)",
3626
+ "examples": [
3627
+ "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3628
+ "<%= config.bin %> roles update Client --name \"Client manager\""
3629
+ ],
3630
+ "flags": {
3631
+ "json": {
3632
+ "description": "Format output as json.",
3633
+ "helpGroup": "GLOBAL",
3634
+ "name": "json",
3635
+ "allowNo": false,
3636
+ "type": "boolean"
3637
+ },
3638
+ "color": {
3639
+ "description": "Color label",
3640
+ "name": "color",
3641
+ "hasDynamicHelp": false,
3642
+ "multiple": false,
3643
+ "type": "option"
3644
+ },
3645
+ "name": {
3646
+ "description": "New name",
3647
+ "name": "name",
3648
+ "hasDynamicHelp": false,
3649
+ "multiple": false,
3650
+ "type": "option"
3651
+ },
3652
+ "permission": {
3653
+ "description": "Permission key (repeatable); when given, REPLACES the whole set",
3654
+ "name": "permission",
3655
+ "hasDynamicHelp": false,
3656
+ "multiple": true,
3657
+ "type": "option"
3658
+ }
3659
+ },
3660
+ "hasDynamicHelp": false,
3661
+ "hiddenAliases": [],
3662
+ "id": "roles:update",
3663
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3664
+ "pluginName": "@bussolabs/closeyourit-cli",
3665
+ "pluginType": "core",
3666
+ "strict": true,
3667
+ "enableJsonFlag": true,
3668
+ "isESM": false,
3669
+ "relativePath": [
3670
+ "dist",
3671
+ "commands",
3672
+ "roles",
3673
+ "update.js"
3674
+ ]
3675
+ },
3605
3676
  "tickets:assign": {
3606
3677
  "aliases": [],
3607
3678
  "args": {
@@ -4708,5 +4779,5 @@
4708
4779
  ]
4709
4780
  }
4710
4781
  },
4711
- "version": "0.0.4"
4782
+ "version": "0.0.5"
4712
4783
  }