@bussolabs/closeyourit-cli 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/commands/alerts/channels/create.d.ts +16 -0
- package/dist/commands/alerts/channels/create.js +41 -0
- package/dist/commands/alerts/channels/delete.d.ts +12 -0
- package/dist/commands/alerts/channels/delete.js +25 -0
- package/dist/commands/alerts/channels/list.d.ts +9 -0
- package/dist/commands/alerts/channels/list.js +25 -0
- package/dist/commands/alerts/create.d.ts +2 -0
- package/dist/commands/alerts/create.js +8 -2
- package/dist/commands/alerts/update.d.ts +2 -0
- package/dist/commands/alerts/update.js +8 -2
- package/dist/commands/servers/delete.d.ts +12 -0
- package/dist/commands/servers/delete.js +25 -0
- package/dist/commands/servers/list.d.ts +10 -0
- package/dist/commands/servers/list.js +41 -0
- package/dist/commands/servers/pause.d.ts +9 -0
- package/dist/commands/servers/pause.js +19 -0
- package/dist/commands/servers/rename.d.ts +12 -0
- package/dist/commands/servers/rename.js +22 -0
- package/dist/commands/servers/resume.d.ts +9 -0
- package/dist/commands/servers/resume.js +19 -0
- package/dist/commands/servers/revoke.d.ts +12 -0
- package/dist/commands/servers/revoke.js +25 -0
- package/dist/commands/servers/show.d.ts +9 -0
- package/dist/commands/servers/show.js +21 -0
- package/dist/commands/servers/tokens/create.d.ts +9 -0
- package/dist/commands/servers/tokens/create.js +25 -0
- package/dist/commands/servers/tokens/list.d.ts +9 -0
- package/dist/commands/servers/tokens/list.js +25 -0
- package/dist/commands/servers/tokens/revoke.d.ts +12 -0
- package/dist/commands/servers/tokens/revoke.js +25 -0
- package/dist/commands/servers/unrevoke.d.ts +9 -0
- package/dist/commands/servers/unrevoke.js +19 -0
- package/dist/lib/alert-events.d.ts +2 -0
- package/dist/lib/alert-events.js +21 -0
- package/oclif.manifest.json +1258 -579
- package/opencli.json +658 -59
- package/package.json +4 -1
package/oclif.manifest.json
CHANGED
|
@@ -135,7 +135,17 @@
|
|
|
135
135
|
"error_regression",
|
|
136
136
|
"uptime_down",
|
|
137
137
|
"uptime_up",
|
|
138
|
-
"metric_threshold"
|
|
138
|
+
"metric_threshold",
|
|
139
|
+
"uptime_ssl_expiring",
|
|
140
|
+
"cron_missed",
|
|
141
|
+
"server_down",
|
|
142
|
+
"server_up",
|
|
143
|
+
"server_cpu",
|
|
144
|
+
"server_mem",
|
|
145
|
+
"server_disk",
|
|
146
|
+
"server_temp",
|
|
147
|
+
"server_service_failed",
|
|
148
|
+
"server_smart_failing"
|
|
139
149
|
],
|
|
140
150
|
"type": "option"
|
|
141
151
|
},
|
|
@@ -153,6 +163,20 @@
|
|
|
153
163
|
"multiple": false,
|
|
154
164
|
"type": "option"
|
|
155
165
|
},
|
|
166
|
+
"threshold": {
|
|
167
|
+
"description": "Server threshold: percent for cpu/mem/disk, °C for temp",
|
|
168
|
+
"name": "threshold",
|
|
169
|
+
"hasDynamicHelp": false,
|
|
170
|
+
"multiple": false,
|
|
171
|
+
"type": "option"
|
|
172
|
+
},
|
|
173
|
+
"channel": {
|
|
174
|
+
"description": "External channel id to deliver to (repeatable; REPLACES the set)",
|
|
175
|
+
"name": "channel",
|
|
176
|
+
"hasDynamicHelp": false,
|
|
177
|
+
"multiple": true,
|
|
178
|
+
"type": "option"
|
|
179
|
+
},
|
|
156
180
|
"throttle-minutes": {
|
|
157
181
|
"description": "Minimum minutes between notifications",
|
|
158
182
|
"name": "throttle-minutes",
|
|
@@ -359,7 +383,17 @@
|
|
|
359
383
|
"error_regression",
|
|
360
384
|
"uptime_down",
|
|
361
385
|
"uptime_up",
|
|
362
|
-
"metric_threshold"
|
|
386
|
+
"metric_threshold",
|
|
387
|
+
"uptime_ssl_expiring",
|
|
388
|
+
"cron_missed",
|
|
389
|
+
"server_down",
|
|
390
|
+
"server_up",
|
|
391
|
+
"server_cpu",
|
|
392
|
+
"server_mem",
|
|
393
|
+
"server_disk",
|
|
394
|
+
"server_temp",
|
|
395
|
+
"server_service_failed",
|
|
396
|
+
"server_smart_failing"
|
|
363
397
|
],
|
|
364
398
|
"type": "option"
|
|
365
399
|
},
|
|
@@ -377,6 +411,20 @@
|
|
|
377
411
|
"multiple": false,
|
|
378
412
|
"type": "option"
|
|
379
413
|
},
|
|
414
|
+
"threshold": {
|
|
415
|
+
"description": "Server threshold: percent for cpu/mem/disk, °C for temp",
|
|
416
|
+
"name": "threshold",
|
|
417
|
+
"hasDynamicHelp": false,
|
|
418
|
+
"multiple": false,
|
|
419
|
+
"type": "option"
|
|
420
|
+
},
|
|
421
|
+
"channel": {
|
|
422
|
+
"description": "External channel id to deliver to (repeatable; REPLACES the set)",
|
|
423
|
+
"name": "channel",
|
|
424
|
+
"hasDynamicHelp": false,
|
|
425
|
+
"multiple": true,
|
|
426
|
+
"type": "option"
|
|
427
|
+
},
|
|
380
428
|
"throttle-minutes": {
|
|
381
429
|
"description": "Minimum minutes between notifications",
|
|
382
430
|
"name": "throttle-minutes",
|
|
@@ -648,13 +696,19 @@
|
|
|
648
696
|
"update.js"
|
|
649
697
|
]
|
|
650
698
|
},
|
|
651
|
-
"
|
|
699
|
+
"groups:create": {
|
|
652
700
|
"aliases": [],
|
|
653
|
-
"args": {
|
|
654
|
-
|
|
701
|
+
"args": {
|
|
702
|
+
"name": {
|
|
703
|
+
"description": "Group name",
|
|
704
|
+
"name": "name",
|
|
705
|
+
"required": true
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
"description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
|
|
655
709
|
"examples": [
|
|
656
|
-
"<%= config.bin %>
|
|
657
|
-
"<%= config.bin %>
|
|
710
|
+
"<%= config.bin %> groups create DriverOne",
|
|
711
|
+
"<%= config.bin %> groups create DriverOne --color indigo"
|
|
658
712
|
],
|
|
659
713
|
"flags": {
|
|
660
714
|
"json": {
|
|
@@ -664,26 +718,9 @@
|
|
|
664
718
|
"allowNo": false,
|
|
665
719
|
"type": "boolean"
|
|
666
720
|
},
|
|
667
|
-
"
|
|
668
|
-
"
|
|
669
|
-
"
|
|
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",
|
|
721
|
+
"color": {
|
|
722
|
+
"description": "Color label",
|
|
723
|
+
"name": "color",
|
|
687
724
|
"hasDynamicHelp": false,
|
|
688
725
|
"multiple": false,
|
|
689
726
|
"type": "option"
|
|
@@ -691,7 +728,7 @@
|
|
|
691
728
|
},
|
|
692
729
|
"hasDynamicHelp": false,
|
|
693
730
|
"hiddenAliases": [],
|
|
694
|
-
"id": "
|
|
731
|
+
"id": "groups:create",
|
|
695
732
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
696
733
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
697
734
|
"pluginType": "core",
|
|
@@ -701,22 +738,22 @@
|
|
|
701
738
|
"relativePath": [
|
|
702
739
|
"dist",
|
|
703
740
|
"commands",
|
|
704
|
-
"
|
|
705
|
-
"
|
|
741
|
+
"groups",
|
|
742
|
+
"create.js"
|
|
706
743
|
]
|
|
707
744
|
},
|
|
708
|
-
"
|
|
745
|
+
"groups:delete": {
|
|
709
746
|
"aliases": [],
|
|
710
747
|
"args": {
|
|
711
|
-
"
|
|
712
|
-
"description": "
|
|
713
|
-
"name": "
|
|
748
|
+
"group": {
|
|
749
|
+
"description": "Group id (UUID) or name",
|
|
750
|
+
"name": "group",
|
|
714
751
|
"required": true
|
|
715
752
|
}
|
|
716
753
|
},
|
|
717
|
-
"description": "
|
|
754
|
+
"description": "Delete a group (its projects are detached, not deleted)",
|
|
718
755
|
"examples": [
|
|
719
|
-
"<%= config.bin %>
|
|
756
|
+
"<%= config.bin %> groups delete Backend --confirm"
|
|
720
757
|
],
|
|
721
758
|
"flags": {
|
|
722
759
|
"json": {
|
|
@@ -726,19 +763,16 @@
|
|
|
726
763
|
"allowNo": false,
|
|
727
764
|
"type": "boolean"
|
|
728
765
|
},
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"
|
|
734
|
-
"hasDynamicHelp": false,
|
|
735
|
-
"multiple": false,
|
|
736
|
-
"type": "option"
|
|
766
|
+
"confirm": {
|
|
767
|
+
"description": "Required: confirm the deletion",
|
|
768
|
+
"name": "confirm",
|
|
769
|
+
"allowNo": false,
|
|
770
|
+
"type": "boolean"
|
|
737
771
|
}
|
|
738
772
|
},
|
|
739
773
|
"hasDynamicHelp": false,
|
|
740
774
|
"hiddenAliases": [],
|
|
741
|
-
"id": "
|
|
775
|
+
"id": "groups:delete",
|
|
742
776
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
743
777
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
744
778
|
"pluginType": "core",
|
|
@@ -748,22 +782,17 @@
|
|
|
748
782
|
"relativePath": [
|
|
749
783
|
"dist",
|
|
750
784
|
"commands",
|
|
751
|
-
"
|
|
752
|
-
"
|
|
785
|
+
"groups",
|
|
786
|
+
"delete.js"
|
|
753
787
|
]
|
|
754
788
|
},
|
|
755
|
-
"
|
|
789
|
+
"groups:list": {
|
|
756
790
|
"aliases": [],
|
|
757
|
-
"args": {
|
|
758
|
-
|
|
759
|
-
"description": "Error group id",
|
|
760
|
-
"name": "id",
|
|
761
|
-
"required": true
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
"description": "Promote an error group to a ticket",
|
|
791
|
+
"args": {},
|
|
792
|
+
"description": "List the groups (macro-projects) in your organization",
|
|
765
793
|
"examples": [
|
|
766
|
-
"<%= config.bin %>
|
|
794
|
+
"<%= config.bin %> groups list",
|
|
795
|
+
"<%= config.bin %> groups list --page 2 --json"
|
|
767
796
|
],
|
|
768
797
|
"flags": {
|
|
769
798
|
"json": {
|
|
@@ -773,11 +802,10 @@
|
|
|
773
802
|
"allowNo": false,
|
|
774
803
|
"type": "boolean"
|
|
775
804
|
},
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"required": true,
|
|
805
|
+
"page": {
|
|
806
|
+
"description": "Page number",
|
|
807
|
+
"name": "page",
|
|
808
|
+
"default": 1,
|
|
781
809
|
"hasDynamicHelp": false,
|
|
782
810
|
"multiple": false,
|
|
783
811
|
"type": "option"
|
|
@@ -785,7 +813,7 @@
|
|
|
785
813
|
},
|
|
786
814
|
"hasDynamicHelp": false,
|
|
787
815
|
"hiddenAliases": [],
|
|
788
|
-
"id": "
|
|
816
|
+
"id": "groups:list",
|
|
789
817
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
790
818
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
791
819
|
"pluginType": "core",
|
|
@@ -795,22 +823,23 @@
|
|
|
795
823
|
"relativePath": [
|
|
796
824
|
"dist",
|
|
797
825
|
"commands",
|
|
798
|
-
"
|
|
799
|
-
"
|
|
826
|
+
"groups",
|
|
827
|
+
"list.js"
|
|
800
828
|
]
|
|
801
829
|
},
|
|
802
|
-
"
|
|
830
|
+
"groups:update": {
|
|
803
831
|
"aliases": [],
|
|
804
832
|
"args": {
|
|
805
|
-
"
|
|
806
|
-
"description": "
|
|
807
|
-
"name": "
|
|
833
|
+
"group": {
|
|
834
|
+
"description": "Group id (UUID) or name",
|
|
835
|
+
"name": "group",
|
|
808
836
|
"required": true
|
|
809
837
|
}
|
|
810
838
|
},
|
|
811
|
-
"description": "
|
|
839
|
+
"description": "Update a group (rename or recolor)",
|
|
812
840
|
"examples": [
|
|
813
|
-
"<%= config.bin %>
|
|
841
|
+
"<%= config.bin %> groups update Backend --name \"Backend services\"",
|
|
842
|
+
"<%= config.bin %> groups update Backend --color indigo"
|
|
814
843
|
],
|
|
815
844
|
"flags": {
|
|
816
845
|
"json": {
|
|
@@ -820,11 +849,16 @@
|
|
|
820
849
|
"allowNo": false,
|
|
821
850
|
"type": "boolean"
|
|
822
851
|
},
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
827
|
-
"
|
|
852
|
+
"name": {
|
|
853
|
+
"description": "New name",
|
|
854
|
+
"name": "name",
|
|
855
|
+
"hasDynamicHelp": false,
|
|
856
|
+
"multiple": false,
|
|
857
|
+
"type": "option"
|
|
858
|
+
},
|
|
859
|
+
"color": {
|
|
860
|
+
"description": "Color label",
|
|
861
|
+
"name": "color",
|
|
828
862
|
"hasDynamicHelp": false,
|
|
829
863
|
"multiple": false,
|
|
830
864
|
"type": "option"
|
|
@@ -832,7 +866,7 @@
|
|
|
832
866
|
},
|
|
833
867
|
"hasDynamicHelp": false,
|
|
834
868
|
"hiddenAliases": [],
|
|
835
|
-
"id": "
|
|
869
|
+
"id": "groups:update",
|
|
836
870
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
837
871
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
838
872
|
"pluginType": "core",
|
|
@@ -842,22 +876,23 @@
|
|
|
842
876
|
"relativePath": [
|
|
843
877
|
"dist",
|
|
844
878
|
"commands",
|
|
845
|
-
"
|
|
846
|
-
"
|
|
879
|
+
"groups",
|
|
880
|
+
"update.js"
|
|
847
881
|
]
|
|
848
882
|
},
|
|
849
|
-
"
|
|
883
|
+
"invitations:create": {
|
|
850
884
|
"aliases": [],
|
|
851
885
|
"args": {
|
|
852
|
-
"
|
|
853
|
-
"description": "
|
|
854
|
-
"name": "
|
|
886
|
+
"email": {
|
|
887
|
+
"description": "Email address to invite",
|
|
888
|
+
"name": "email",
|
|
855
889
|
"required": true
|
|
856
890
|
}
|
|
857
891
|
},
|
|
858
|
-
"description": "
|
|
892
|
+
"description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
|
|
859
893
|
"examples": [
|
|
860
|
-
"<%= config.bin %>
|
|
894
|
+
"<%= config.bin %> invitations create client@acme.com",
|
|
895
|
+
"<%= config.bin %> invitations create teammate@acme.com --role member"
|
|
861
896
|
],
|
|
862
897
|
"flags": {
|
|
863
898
|
"json": {
|
|
@@ -867,19 +902,23 @@
|
|
|
867
902
|
"allowNo": false,
|
|
868
903
|
"type": "boolean"
|
|
869
904
|
},
|
|
870
|
-
"
|
|
871
|
-
"
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"required": true,
|
|
905
|
+
"role": {
|
|
906
|
+
"description": "Membership role",
|
|
907
|
+
"name": "role",
|
|
908
|
+
"default": "customer",
|
|
875
909
|
"hasDynamicHelp": false,
|
|
876
910
|
"multiple": false,
|
|
911
|
+
"options": [
|
|
912
|
+
"customer",
|
|
913
|
+
"member",
|
|
914
|
+
"admin"
|
|
915
|
+
],
|
|
877
916
|
"type": "option"
|
|
878
917
|
}
|
|
879
918
|
},
|
|
880
919
|
"hasDynamicHelp": false,
|
|
881
920
|
"hiddenAliases": [],
|
|
882
|
-
"id": "
|
|
921
|
+
"id": "invitations:create",
|
|
883
922
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
884
923
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
885
924
|
"pluginType": "core",
|
|
@@ -889,22 +928,17 @@
|
|
|
889
928
|
"relativePath": [
|
|
890
929
|
"dist",
|
|
891
930
|
"commands",
|
|
892
|
-
"
|
|
893
|
-
"
|
|
931
|
+
"invitations",
|
|
932
|
+
"create.js"
|
|
894
933
|
]
|
|
895
934
|
},
|
|
896
|
-
"
|
|
935
|
+
"invitations:list": {
|
|
897
936
|
"aliases": [],
|
|
898
|
-
"args": {
|
|
899
|
-
|
|
900
|
-
"description": "Error group id",
|
|
901
|
-
"name": "id",
|
|
902
|
-
"required": true
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
"description": "Show a single error group",
|
|
937
|
+
"args": {},
|
|
938
|
+
"description": "List the pending/accepted invitations of your organization",
|
|
906
939
|
"examples": [
|
|
907
|
-
"<%= config.bin %>
|
|
940
|
+
"<%= config.bin %> invitations list",
|
|
941
|
+
"<%= config.bin %> invitations list --json"
|
|
908
942
|
],
|
|
909
943
|
"flags": {
|
|
910
944
|
"json": {
|
|
@@ -914,11 +948,10 @@
|
|
|
914
948
|
"allowNo": false,
|
|
915
949
|
"type": "boolean"
|
|
916
950
|
},
|
|
917
|
-
"
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
"
|
|
921
|
-
"required": true,
|
|
951
|
+
"page": {
|
|
952
|
+
"description": "Page number",
|
|
953
|
+
"name": "page",
|
|
954
|
+
"default": 1,
|
|
922
955
|
"hasDynamicHelp": false,
|
|
923
956
|
"multiple": false,
|
|
924
957
|
"type": "option"
|
|
@@ -926,7 +959,7 @@
|
|
|
926
959
|
},
|
|
927
960
|
"hasDynamicHelp": false,
|
|
928
961
|
"hiddenAliases": [],
|
|
929
|
-
"id": "
|
|
962
|
+
"id": "invitations:list",
|
|
930
963
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
931
964
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
932
965
|
"pluginType": "core",
|
|
@@ -936,22 +969,22 @@
|
|
|
936
969
|
"relativePath": [
|
|
937
970
|
"dist",
|
|
938
971
|
"commands",
|
|
939
|
-
"
|
|
940
|
-
"
|
|
972
|
+
"invitations",
|
|
973
|
+
"list.js"
|
|
941
974
|
]
|
|
942
975
|
},
|
|
943
|
-
"
|
|
976
|
+
"invitations:resend": {
|
|
944
977
|
"aliases": [],
|
|
945
978
|
"args": {
|
|
946
979
|
"id": {
|
|
947
|
-
"description": "
|
|
980
|
+
"description": "Invitation id (UUID)",
|
|
948
981
|
"name": "id",
|
|
949
982
|
"required": true
|
|
950
983
|
}
|
|
951
984
|
},
|
|
952
|
-
"description": "
|
|
985
|
+
"description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
|
|
953
986
|
"examples": [
|
|
954
|
-
"<%= config.bin %>
|
|
987
|
+
"<%= config.bin %> invitations resend <invitation-uuid>"
|
|
955
988
|
],
|
|
956
989
|
"flags": {
|
|
957
990
|
"json": {
|
|
@@ -960,20 +993,11 @@
|
|
|
960
993
|
"name": "json",
|
|
961
994
|
"allowNo": false,
|
|
962
995
|
"type": "boolean"
|
|
963
|
-
},
|
|
964
|
-
"project": {
|
|
965
|
-
"char": "p",
|
|
966
|
-
"description": "Project id (UUID) or key",
|
|
967
|
-
"name": "project",
|
|
968
|
-
"required": true,
|
|
969
|
-
"hasDynamicHelp": false,
|
|
970
|
-
"multiple": false,
|
|
971
|
-
"type": "option"
|
|
972
996
|
}
|
|
973
997
|
},
|
|
974
998
|
"hasDynamicHelp": false,
|
|
975
999
|
"hiddenAliases": [],
|
|
976
|
-
"id": "
|
|
1000
|
+
"id": "invitations:resend",
|
|
977
1001
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
978
1002
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
979
1003
|
"pluginType": "core",
|
|
@@ -983,23 +1007,22 @@
|
|
|
983
1007
|
"relativePath": [
|
|
984
1008
|
"dist",
|
|
985
1009
|
"commands",
|
|
986
|
-
"
|
|
987
|
-
"
|
|
1010
|
+
"invitations",
|
|
1011
|
+
"resend.js"
|
|
988
1012
|
]
|
|
989
1013
|
},
|
|
990
|
-
"invitations:
|
|
1014
|
+
"invitations:revoke": {
|
|
991
1015
|
"aliases": [],
|
|
992
1016
|
"args": {
|
|
993
|
-
"
|
|
994
|
-
"description": "
|
|
995
|
-
"name": "
|
|
1017
|
+
"id": {
|
|
1018
|
+
"description": "Invitation id (UUID)",
|
|
1019
|
+
"name": "id",
|
|
996
1020
|
"required": true
|
|
997
1021
|
}
|
|
998
1022
|
},
|
|
999
|
-
"description": "
|
|
1023
|
+
"description": "Revoke a pending invitation",
|
|
1000
1024
|
"examples": [
|
|
1001
|
-
"<%= config.bin %> invitations
|
|
1002
|
-
"<%= config.bin %> invitations create teammate@acme.com --role member"
|
|
1025
|
+
"<%= config.bin %> invitations revoke <invitation-uuid>"
|
|
1003
1026
|
],
|
|
1004
1027
|
"flags": {
|
|
1005
1028
|
"json": {
|
|
@@ -1008,24 +1031,11 @@
|
|
|
1008
1031
|
"name": "json",
|
|
1009
1032
|
"allowNo": false,
|
|
1010
1033
|
"type": "boolean"
|
|
1011
|
-
},
|
|
1012
|
-
"role": {
|
|
1013
|
-
"description": "Membership role",
|
|
1014
|
-
"name": "role",
|
|
1015
|
-
"default": "customer",
|
|
1016
|
-
"hasDynamicHelp": false,
|
|
1017
|
-
"multiple": false,
|
|
1018
|
-
"options": [
|
|
1019
|
-
"customer",
|
|
1020
|
-
"member",
|
|
1021
|
-
"admin"
|
|
1022
|
-
],
|
|
1023
|
-
"type": "option"
|
|
1024
1034
|
}
|
|
1025
1035
|
},
|
|
1026
1036
|
"hasDynamicHelp": false,
|
|
1027
1037
|
"hiddenAliases": [],
|
|
1028
|
-
"id": "invitations:
|
|
1038
|
+
"id": "invitations:revoke",
|
|
1029
1039
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1030
1040
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1031
1041
|
"pluginType": "core",
|
|
@@ -1036,16 +1046,16 @@
|
|
|
1036
1046
|
"dist",
|
|
1037
1047
|
"commands",
|
|
1038
1048
|
"invitations",
|
|
1039
|
-
"
|
|
1049
|
+
"revoke.js"
|
|
1040
1050
|
]
|
|
1041
1051
|
},
|
|
1042
|
-
"
|
|
1052
|
+
"errors:list": {
|
|
1043
1053
|
"aliases": [],
|
|
1044
1054
|
"args": {},
|
|
1045
|
-
"description": "List
|
|
1055
|
+
"description": "List error groups for a project",
|
|
1046
1056
|
"examples": [
|
|
1047
|
-
"<%= config.bin %>
|
|
1048
|
-
"<%= config.bin %>
|
|
1057
|
+
"<%= config.bin %> errors list --project acme-api",
|
|
1058
|
+
"<%= config.bin %> errors list -p acme-api --status unresolved --json"
|
|
1049
1059
|
],
|
|
1050
1060
|
"flags": {
|
|
1051
1061
|
"json": {
|
|
@@ -1055,6 +1065,15 @@
|
|
|
1055
1065
|
"allowNo": false,
|
|
1056
1066
|
"type": "boolean"
|
|
1057
1067
|
},
|
|
1068
|
+
"project": {
|
|
1069
|
+
"char": "p",
|
|
1070
|
+
"description": "Project id (UUID) or key",
|
|
1071
|
+
"name": "project",
|
|
1072
|
+
"required": true,
|
|
1073
|
+
"hasDynamicHelp": false,
|
|
1074
|
+
"multiple": false,
|
|
1075
|
+
"type": "option"
|
|
1076
|
+
},
|
|
1058
1077
|
"page": {
|
|
1059
1078
|
"description": "Page number",
|
|
1060
1079
|
"name": "page",
|
|
@@ -1062,11 +1081,18 @@
|
|
|
1062
1081
|
"hasDynamicHelp": false,
|
|
1063
1082
|
"multiple": false,
|
|
1064
1083
|
"type": "option"
|
|
1084
|
+
},
|
|
1085
|
+
"status": {
|
|
1086
|
+
"description": "Filter by status (e.g. unresolved, resolved, muted)",
|
|
1087
|
+
"name": "status",
|
|
1088
|
+
"hasDynamicHelp": false,
|
|
1089
|
+
"multiple": false,
|
|
1090
|
+
"type": "option"
|
|
1065
1091
|
}
|
|
1066
1092
|
},
|
|
1067
1093
|
"hasDynamicHelp": false,
|
|
1068
1094
|
"hiddenAliases": [],
|
|
1069
|
-
"id": "
|
|
1095
|
+
"id": "errors:list",
|
|
1070
1096
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1071
1097
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1072
1098
|
"pluginType": "core",
|
|
@@ -1076,22 +1102,22 @@
|
|
|
1076
1102
|
"relativePath": [
|
|
1077
1103
|
"dist",
|
|
1078
1104
|
"commands",
|
|
1079
|
-
"
|
|
1105
|
+
"errors",
|
|
1080
1106
|
"list.js"
|
|
1081
1107
|
]
|
|
1082
1108
|
},
|
|
1083
|
-
"
|
|
1109
|
+
"errors:mute": {
|
|
1084
1110
|
"aliases": [],
|
|
1085
1111
|
"args": {
|
|
1086
1112
|
"id": {
|
|
1087
|
-
"description": "
|
|
1113
|
+
"description": "Error group id",
|
|
1088
1114
|
"name": "id",
|
|
1089
1115
|
"required": true
|
|
1090
1116
|
}
|
|
1091
1117
|
},
|
|
1092
|
-
"description": "
|
|
1118
|
+
"description": "Mute an error group",
|
|
1093
1119
|
"examples": [
|
|
1094
|
-
"<%= config.bin %>
|
|
1120
|
+
"<%= config.bin %> errors mute <group-id> --project acme-api"
|
|
1095
1121
|
],
|
|
1096
1122
|
"flags": {
|
|
1097
1123
|
"json": {
|
|
@@ -1100,11 +1126,20 @@
|
|
|
1100
1126
|
"name": "json",
|
|
1101
1127
|
"allowNo": false,
|
|
1102
1128
|
"type": "boolean"
|
|
1129
|
+
},
|
|
1130
|
+
"project": {
|
|
1131
|
+
"char": "p",
|
|
1132
|
+
"description": "Project id (UUID) or key",
|
|
1133
|
+
"name": "project",
|
|
1134
|
+
"required": true,
|
|
1135
|
+
"hasDynamicHelp": false,
|
|
1136
|
+
"multiple": false,
|
|
1137
|
+
"type": "option"
|
|
1103
1138
|
}
|
|
1104
1139
|
},
|
|
1105
1140
|
"hasDynamicHelp": false,
|
|
1106
1141
|
"hiddenAliases": [],
|
|
1107
|
-
"id": "
|
|
1142
|
+
"id": "errors:mute",
|
|
1108
1143
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1109
1144
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1110
1145
|
"pluginType": "core",
|
|
@@ -1114,22 +1149,22 @@
|
|
|
1114
1149
|
"relativePath": [
|
|
1115
1150
|
"dist",
|
|
1116
1151
|
"commands",
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1152
|
+
"errors",
|
|
1153
|
+
"mute.js"
|
|
1119
1154
|
]
|
|
1120
1155
|
},
|
|
1121
|
-
"
|
|
1156
|
+
"errors:promote": {
|
|
1122
1157
|
"aliases": [],
|
|
1123
1158
|
"args": {
|
|
1124
1159
|
"id": {
|
|
1125
|
-
"description": "
|
|
1160
|
+
"description": "Error group id",
|
|
1126
1161
|
"name": "id",
|
|
1127
1162
|
"required": true
|
|
1128
1163
|
}
|
|
1129
1164
|
},
|
|
1130
|
-
"description": "
|
|
1165
|
+
"description": "Promote an error group to a ticket",
|
|
1131
1166
|
"examples": [
|
|
1132
|
-
"<%= config.bin %>
|
|
1167
|
+
"<%= config.bin %> errors promote <group-id> --project acme-api"
|
|
1133
1168
|
],
|
|
1134
1169
|
"flags": {
|
|
1135
1170
|
"json": {
|
|
@@ -1138,11 +1173,20 @@
|
|
|
1138
1173
|
"name": "json",
|
|
1139
1174
|
"allowNo": false,
|
|
1140
1175
|
"type": "boolean"
|
|
1176
|
+
},
|
|
1177
|
+
"project": {
|
|
1178
|
+
"char": "p",
|
|
1179
|
+
"description": "Project id (UUID) or key",
|
|
1180
|
+
"name": "project",
|
|
1181
|
+
"required": true,
|
|
1182
|
+
"hasDynamicHelp": false,
|
|
1183
|
+
"multiple": false,
|
|
1184
|
+
"type": "option"
|
|
1141
1185
|
}
|
|
1142
1186
|
},
|
|
1143
1187
|
"hasDynamicHelp": false,
|
|
1144
1188
|
"hiddenAliases": [],
|
|
1145
|
-
"id": "
|
|
1189
|
+
"id": "errors:promote",
|
|
1146
1190
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1147
1191
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1148
1192
|
"pluginType": "core",
|
|
@@ -1152,23 +1196,22 @@
|
|
|
1152
1196
|
"relativePath": [
|
|
1153
1197
|
"dist",
|
|
1154
1198
|
"commands",
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1199
|
+
"errors",
|
|
1200
|
+
"promote.js"
|
|
1157
1201
|
]
|
|
1158
1202
|
},
|
|
1159
|
-
"
|
|
1203
|
+
"errors:reopen": {
|
|
1160
1204
|
"aliases": [],
|
|
1161
1205
|
"args": {
|
|
1162
|
-
"
|
|
1163
|
-
"description": "
|
|
1164
|
-
"name": "
|
|
1206
|
+
"id": {
|
|
1207
|
+
"description": "Error group id",
|
|
1208
|
+
"name": "id",
|
|
1165
1209
|
"required": true
|
|
1166
1210
|
}
|
|
1167
1211
|
},
|
|
1168
|
-
"description": "
|
|
1212
|
+
"description": "Reopen a resolved error group",
|
|
1169
1213
|
"examples": [
|
|
1170
|
-
"<%= config.bin %>
|
|
1171
|
-
"<%= config.bin %> groups create DriverOne --color indigo"
|
|
1214
|
+
"<%= config.bin %> errors reopen <group-id> --project acme-api"
|
|
1172
1215
|
],
|
|
1173
1216
|
"flags": {
|
|
1174
1217
|
"json": {
|
|
@@ -1178,9 +1221,11 @@
|
|
|
1178
1221
|
"allowNo": false,
|
|
1179
1222
|
"type": "boolean"
|
|
1180
1223
|
},
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1224
|
+
"project": {
|
|
1225
|
+
"char": "p",
|
|
1226
|
+
"description": "Project id (UUID) or key",
|
|
1227
|
+
"name": "project",
|
|
1228
|
+
"required": true,
|
|
1184
1229
|
"hasDynamicHelp": false,
|
|
1185
1230
|
"multiple": false,
|
|
1186
1231
|
"type": "option"
|
|
@@ -1188,7 +1233,7 @@
|
|
|
1188
1233
|
},
|
|
1189
1234
|
"hasDynamicHelp": false,
|
|
1190
1235
|
"hiddenAliases": [],
|
|
1191
|
-
"id": "
|
|
1236
|
+
"id": "errors:reopen",
|
|
1192
1237
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1193
1238
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1194
1239
|
"pluginType": "core",
|
|
@@ -1198,22 +1243,22 @@
|
|
|
1198
1243
|
"relativePath": [
|
|
1199
1244
|
"dist",
|
|
1200
1245
|
"commands",
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1246
|
+
"errors",
|
|
1247
|
+
"reopen.js"
|
|
1203
1248
|
]
|
|
1204
1249
|
},
|
|
1205
|
-
"
|
|
1250
|
+
"errors:resolve": {
|
|
1206
1251
|
"aliases": [],
|
|
1207
1252
|
"args": {
|
|
1208
|
-
"
|
|
1209
|
-
"description": "
|
|
1210
|
-
"name": "
|
|
1253
|
+
"id": {
|
|
1254
|
+
"description": "Error group id",
|
|
1255
|
+
"name": "id",
|
|
1211
1256
|
"required": true
|
|
1212
1257
|
}
|
|
1213
1258
|
},
|
|
1214
|
-
"description": "
|
|
1259
|
+
"description": "Mark an error group as resolved",
|
|
1215
1260
|
"examples": [
|
|
1216
|
-
"<%= config.bin %>
|
|
1261
|
+
"<%= config.bin %> errors resolve <group-id> --project acme-api"
|
|
1217
1262
|
],
|
|
1218
1263
|
"flags": {
|
|
1219
1264
|
"json": {
|
|
@@ -1223,16 +1268,19 @@
|
|
|
1223
1268
|
"allowNo": false,
|
|
1224
1269
|
"type": "boolean"
|
|
1225
1270
|
},
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1271
|
+
"project": {
|
|
1272
|
+
"char": "p",
|
|
1273
|
+
"description": "Project id (UUID) or key",
|
|
1274
|
+
"name": "project",
|
|
1275
|
+
"required": true,
|
|
1276
|
+
"hasDynamicHelp": false,
|
|
1277
|
+
"multiple": false,
|
|
1278
|
+
"type": "option"
|
|
1231
1279
|
}
|
|
1232
1280
|
},
|
|
1233
1281
|
"hasDynamicHelp": false,
|
|
1234
1282
|
"hiddenAliases": [],
|
|
1235
|
-
"id": "
|
|
1283
|
+
"id": "errors:resolve",
|
|
1236
1284
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1237
1285
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1238
1286
|
"pluginType": "core",
|
|
@@ -1242,17 +1290,22 @@
|
|
|
1242
1290
|
"relativePath": [
|
|
1243
1291
|
"dist",
|
|
1244
1292
|
"commands",
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
1293
|
+
"errors",
|
|
1294
|
+
"resolve.js"
|
|
1247
1295
|
]
|
|
1248
1296
|
},
|
|
1249
|
-
"
|
|
1297
|
+
"errors:show": {
|
|
1250
1298
|
"aliases": [],
|
|
1251
|
-
"args": {
|
|
1252
|
-
|
|
1299
|
+
"args": {
|
|
1300
|
+
"id": {
|
|
1301
|
+
"description": "Error group id",
|
|
1302
|
+
"name": "id",
|
|
1303
|
+
"required": true
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
"description": "Show a single error group",
|
|
1253
1307
|
"examples": [
|
|
1254
|
-
"<%= config.bin %>
|
|
1255
|
-
"<%= config.bin %> groups list --page 2 --json"
|
|
1308
|
+
"<%= config.bin %> errors show <group-id> --project acme-api"
|
|
1256
1309
|
],
|
|
1257
1310
|
"flags": {
|
|
1258
1311
|
"json": {
|
|
@@ -1262,10 +1315,11 @@
|
|
|
1262
1315
|
"allowNo": false,
|
|
1263
1316
|
"type": "boolean"
|
|
1264
1317
|
},
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
"
|
|
1268
|
-
"
|
|
1318
|
+
"project": {
|
|
1319
|
+
"char": "p",
|
|
1320
|
+
"description": "Project id (UUID) or key",
|
|
1321
|
+
"name": "project",
|
|
1322
|
+
"required": true,
|
|
1269
1323
|
"hasDynamicHelp": false,
|
|
1270
1324
|
"multiple": false,
|
|
1271
1325
|
"type": "option"
|
|
@@ -1273,7 +1327,7 @@
|
|
|
1273
1327
|
},
|
|
1274
1328
|
"hasDynamicHelp": false,
|
|
1275
1329
|
"hiddenAliases": [],
|
|
1276
|
-
"id": "
|
|
1330
|
+
"id": "errors:show",
|
|
1277
1331
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1278
1332
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1279
1333
|
"pluginType": "core",
|
|
@@ -1283,23 +1337,22 @@
|
|
|
1283
1337
|
"relativePath": [
|
|
1284
1338
|
"dist",
|
|
1285
1339
|
"commands",
|
|
1286
|
-
"
|
|
1287
|
-
"
|
|
1340
|
+
"errors",
|
|
1341
|
+
"show.js"
|
|
1288
1342
|
]
|
|
1289
1343
|
},
|
|
1290
|
-
"
|
|
1344
|
+
"errors:unmute": {
|
|
1291
1345
|
"aliases": [],
|
|
1292
1346
|
"args": {
|
|
1293
|
-
"
|
|
1294
|
-
"description": "
|
|
1295
|
-
"name": "
|
|
1347
|
+
"id": {
|
|
1348
|
+
"description": "Error group id",
|
|
1349
|
+
"name": "id",
|
|
1296
1350
|
"required": true
|
|
1297
1351
|
}
|
|
1298
1352
|
},
|
|
1299
|
-
"description": "
|
|
1353
|
+
"description": "Unmute an error group",
|
|
1300
1354
|
"examples": [
|
|
1301
|
-
"<%= config.bin %>
|
|
1302
|
-
"<%= config.bin %> groups update Backend --color indigo"
|
|
1355
|
+
"<%= config.bin %> errors unmute <group-id> --project acme-api"
|
|
1303
1356
|
],
|
|
1304
1357
|
"flags": {
|
|
1305
1358
|
"json": {
|
|
@@ -1309,16 +1362,11 @@
|
|
|
1309
1362
|
"allowNo": false,
|
|
1310
1363
|
"type": "boolean"
|
|
1311
1364
|
},
|
|
1312
|
-
"
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1315
|
-
"
|
|
1316
|
-
"
|
|
1317
|
-
"type": "option"
|
|
1318
|
-
},
|
|
1319
|
-
"color": {
|
|
1320
|
-
"description": "Color label",
|
|
1321
|
-
"name": "color",
|
|
1365
|
+
"project": {
|
|
1366
|
+
"char": "p",
|
|
1367
|
+
"description": "Project id (UUID) or key",
|
|
1368
|
+
"name": "project",
|
|
1369
|
+
"required": true,
|
|
1322
1370
|
"hasDynamicHelp": false,
|
|
1323
1371
|
"multiple": false,
|
|
1324
1372
|
"type": "option"
|
|
@@ -1326,7 +1374,7 @@
|
|
|
1326
1374
|
},
|
|
1327
1375
|
"hasDynamicHelp": false,
|
|
1328
1376
|
"hiddenAliases": [],
|
|
1329
|
-
"id": "
|
|
1377
|
+
"id": "errors:unmute",
|
|
1330
1378
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1331
1379
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1332
1380
|
"pluginType": "core",
|
|
@@ -1336,8 +1384,8 @@
|
|
|
1336
1384
|
"relativePath": [
|
|
1337
1385
|
"dist",
|
|
1338
1386
|
"commands",
|
|
1339
|
-
"
|
|
1340
|
-
"
|
|
1387
|
+
"errors",
|
|
1388
|
+
"unmute.js"
|
|
1341
1389
|
]
|
|
1342
1390
|
},
|
|
1343
1391
|
"logs:list": {
|
|
@@ -1411,13 +1459,13 @@
|
|
|
1411
1459
|
"list.js"
|
|
1412
1460
|
]
|
|
1413
1461
|
},
|
|
1414
|
-
"
|
|
1462
|
+
"metrics:list": {
|
|
1415
1463
|
"aliases": [],
|
|
1416
1464
|
"args": {},
|
|
1417
|
-
"description": "List
|
|
1465
|
+
"description": "List performance metric groups (slow queries/methods) for a project",
|
|
1418
1466
|
"examples": [
|
|
1419
|
-
"<%= config.bin %>
|
|
1420
|
-
"<%= config.bin %>
|
|
1467
|
+
"<%= config.bin %> metrics list --project acme-api",
|
|
1468
|
+
"<%= config.bin %> metrics list -p acme-api --kind sql --json"
|
|
1421
1469
|
],
|
|
1422
1470
|
"flags": {
|
|
1423
1471
|
"json": {
|
|
@@ -1427,6 +1475,15 @@
|
|
|
1427
1475
|
"allowNo": false,
|
|
1428
1476
|
"type": "boolean"
|
|
1429
1477
|
},
|
|
1478
|
+
"project": {
|
|
1479
|
+
"char": "p",
|
|
1480
|
+
"description": "Project id (UUID) or key",
|
|
1481
|
+
"name": "project",
|
|
1482
|
+
"required": true,
|
|
1483
|
+
"hasDynamicHelp": false,
|
|
1484
|
+
"multiple": false,
|
|
1485
|
+
"type": "option"
|
|
1486
|
+
},
|
|
1430
1487
|
"page": {
|
|
1431
1488
|
"description": "Page number",
|
|
1432
1489
|
"name": "page",
|
|
@@ -1434,11 +1491,18 @@
|
|
|
1434
1491
|
"hasDynamicHelp": false,
|
|
1435
1492
|
"multiple": false,
|
|
1436
1493
|
"type": "option"
|
|
1494
|
+
},
|
|
1495
|
+
"kind": {
|
|
1496
|
+
"description": "Filter by metric kind (e.g. sql, method)",
|
|
1497
|
+
"name": "kind",
|
|
1498
|
+
"hasDynamicHelp": false,
|
|
1499
|
+
"multiple": false,
|
|
1500
|
+
"type": "option"
|
|
1437
1501
|
}
|
|
1438
1502
|
},
|
|
1439
1503
|
"hasDynamicHelp": false,
|
|
1440
1504
|
"hiddenAliases": [],
|
|
1441
|
-
"id": "
|
|
1505
|
+
"id": "metrics:list",
|
|
1442
1506
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1443
1507
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1444
1508
|
"pluginType": "core",
|
|
@@ -1448,24 +1512,22 @@
|
|
|
1448
1512
|
"relativePath": [
|
|
1449
1513
|
"dist",
|
|
1450
1514
|
"commands",
|
|
1451
|
-
"
|
|
1515
|
+
"metrics",
|
|
1452
1516
|
"list.js"
|
|
1453
1517
|
]
|
|
1454
1518
|
},
|
|
1455
|
-
"
|
|
1519
|
+
"metrics:promote": {
|
|
1456
1520
|
"aliases": [],
|
|
1457
1521
|
"args": {
|
|
1458
1522
|
"id": {
|
|
1459
|
-
"description": "
|
|
1523
|
+
"description": "Metric group id",
|
|
1460
1524
|
"name": "id",
|
|
1461
1525
|
"required": true
|
|
1462
1526
|
}
|
|
1463
1527
|
},
|
|
1464
|
-
"description": "
|
|
1528
|
+
"description": "Promote a metric group (slow query/method) to a ticket",
|
|
1465
1529
|
"examples": [
|
|
1466
|
-
"<%= config.bin %>
|
|
1467
|
-
"<%= config.bin %> members set-access <membership-id> --group DriverOne",
|
|
1468
|
-
"<%= config.bin %> members set-access <membership-id>"
|
|
1530
|
+
"<%= config.bin %> metrics promote <group-id> --project acme-api"
|
|
1469
1531
|
],
|
|
1470
1532
|
"flags": {
|
|
1471
1533
|
"json": {
|
|
@@ -1475,26 +1537,19 @@
|
|
|
1475
1537
|
"allowNo": false,
|
|
1476
1538
|
"type": "boolean"
|
|
1477
1539
|
},
|
|
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
1540
|
"project": {
|
|
1487
|
-
"
|
|
1541
|
+
"char": "p",
|
|
1542
|
+
"description": "Project id (UUID) or key",
|
|
1488
1543
|
"name": "project",
|
|
1489
|
-
"
|
|
1544
|
+
"required": true,
|
|
1490
1545
|
"hasDynamicHelp": false,
|
|
1491
|
-
"multiple":
|
|
1546
|
+
"multiple": false,
|
|
1492
1547
|
"type": "option"
|
|
1493
1548
|
}
|
|
1494
1549
|
},
|
|
1495
1550
|
"hasDynamicHelp": false,
|
|
1496
1551
|
"hiddenAliases": [],
|
|
1497
|
-
"id": "
|
|
1552
|
+
"id": "metrics:promote",
|
|
1498
1553
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1499
1554
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1500
1555
|
"pluginType": "core",
|
|
@@ -1504,23 +1559,22 @@
|
|
|
1504
1559
|
"relativePath": [
|
|
1505
1560
|
"dist",
|
|
1506
1561
|
"commands",
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
1562
|
+
"metrics",
|
|
1563
|
+
"promote.js"
|
|
1509
1564
|
]
|
|
1510
1565
|
},
|
|
1511
|
-
"
|
|
1566
|
+
"metrics:show": {
|
|
1512
1567
|
"aliases": [],
|
|
1513
1568
|
"args": {
|
|
1514
1569
|
"id": {
|
|
1515
|
-
"description": "
|
|
1570
|
+
"description": "Metric group id",
|
|
1516
1571
|
"name": "id",
|
|
1517
1572
|
"required": true
|
|
1518
1573
|
}
|
|
1519
1574
|
},
|
|
1520
|
-
"description": "
|
|
1575
|
+
"description": "Show a single metric group",
|
|
1521
1576
|
"examples": [
|
|
1522
|
-
"<%= config.bin %>
|
|
1523
|
-
"<%= config.bin %> members set-role <membership-id> --role customer"
|
|
1577
|
+
"<%= config.bin %> metrics show <group-id> --project acme-api"
|
|
1524
1578
|
],
|
|
1525
1579
|
"flags": {
|
|
1526
1580
|
"json": {
|
|
@@ -1530,24 +1584,19 @@
|
|
|
1530
1584
|
"allowNo": false,
|
|
1531
1585
|
"type": "boolean"
|
|
1532
1586
|
},
|
|
1533
|
-
"
|
|
1534
|
-
"
|
|
1535
|
-
"
|
|
1587
|
+
"project": {
|
|
1588
|
+
"char": "p",
|
|
1589
|
+
"description": "Project id (UUID) or key",
|
|
1590
|
+
"name": "project",
|
|
1536
1591
|
"required": true,
|
|
1537
1592
|
"hasDynamicHelp": false,
|
|
1538
1593
|
"multiple": false,
|
|
1539
|
-
"options": [
|
|
1540
|
-
"member",
|
|
1541
|
-
"admin",
|
|
1542
|
-
"owner",
|
|
1543
|
-
"customer"
|
|
1544
|
-
],
|
|
1545
1594
|
"type": "option"
|
|
1546
1595
|
}
|
|
1547
1596
|
},
|
|
1548
1597
|
"hasDynamicHelp": false,
|
|
1549
1598
|
"hiddenAliases": [],
|
|
1550
|
-
"id": "
|
|
1599
|
+
"id": "metrics:show",
|
|
1551
1600
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1552
1601
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1553
1602
|
"pluginType": "core",
|
|
@@ -1557,17 +1606,17 @@
|
|
|
1557
1606
|
"relativePath": [
|
|
1558
1607
|
"dist",
|
|
1559
1608
|
"commands",
|
|
1560
|
-
"
|
|
1561
|
-
"
|
|
1609
|
+
"metrics",
|
|
1610
|
+
"show.js"
|
|
1562
1611
|
]
|
|
1563
1612
|
},
|
|
1564
|
-
"
|
|
1613
|
+
"members:list": {
|
|
1565
1614
|
"aliases": [],
|
|
1566
1615
|
"args": {},
|
|
1567
|
-
"description": "List
|
|
1616
|
+
"description": "List the members of your organization (to resolve emails to account ids)",
|
|
1568
1617
|
"examples": [
|
|
1569
|
-
"<%= config.bin %>
|
|
1570
|
-
"<%= config.bin %>
|
|
1618
|
+
"<%= config.bin %> members list",
|
|
1619
|
+
"<%= config.bin %> members list --json"
|
|
1571
1620
|
],
|
|
1572
1621
|
"flags": {
|
|
1573
1622
|
"json": {
|
|
@@ -1577,15 +1626,6 @@
|
|
|
1577
1626
|
"allowNo": false,
|
|
1578
1627
|
"type": "boolean"
|
|
1579
1628
|
},
|
|
1580
|
-
"project": {
|
|
1581
|
-
"char": "p",
|
|
1582
|
-
"description": "Project id (UUID) or key",
|
|
1583
|
-
"name": "project",
|
|
1584
|
-
"required": true,
|
|
1585
|
-
"hasDynamicHelp": false,
|
|
1586
|
-
"multiple": false,
|
|
1587
|
-
"type": "option"
|
|
1588
|
-
},
|
|
1589
1629
|
"page": {
|
|
1590
1630
|
"description": "Page number",
|
|
1591
1631
|
"name": "page",
|
|
@@ -1593,18 +1633,11 @@
|
|
|
1593
1633
|
"hasDynamicHelp": false,
|
|
1594
1634
|
"multiple": false,
|
|
1595
1635
|
"type": "option"
|
|
1596
|
-
},
|
|
1597
|
-
"kind": {
|
|
1598
|
-
"description": "Filter by metric kind (e.g. sql, method)",
|
|
1599
|
-
"name": "kind",
|
|
1600
|
-
"hasDynamicHelp": false,
|
|
1601
|
-
"multiple": false,
|
|
1602
|
-
"type": "option"
|
|
1603
1636
|
}
|
|
1604
1637
|
},
|
|
1605
1638
|
"hasDynamicHelp": false,
|
|
1606
1639
|
"hiddenAliases": [],
|
|
1607
|
-
"id": "
|
|
1640
|
+
"id": "members:list",
|
|
1608
1641
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1609
1642
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1610
1643
|
"pluginType": "core",
|
|
@@ -1614,22 +1647,24 @@
|
|
|
1614
1647
|
"relativePath": [
|
|
1615
1648
|
"dist",
|
|
1616
1649
|
"commands",
|
|
1617
|
-
"
|
|
1650
|
+
"members",
|
|
1618
1651
|
"list.js"
|
|
1619
1652
|
]
|
|
1620
1653
|
},
|
|
1621
|
-
"
|
|
1654
|
+
"members:set-access": {
|
|
1622
1655
|
"aliases": [],
|
|
1623
1656
|
"args": {
|
|
1624
1657
|
"id": {
|
|
1625
|
-
"description": "
|
|
1658
|
+
"description": "Membership id",
|
|
1626
1659
|
"name": "id",
|
|
1627
1660
|
"required": true
|
|
1628
1661
|
}
|
|
1629
1662
|
},
|
|
1630
|
-
"description": "
|
|
1663
|
+
"description": "Set a member's group and project access (replaces the current set; omit a flag to clear it)",
|
|
1631
1664
|
"examples": [
|
|
1632
|
-
"<%= config.bin %>
|
|
1665
|
+
"<%= config.bin %> members set-access <membership-id> --project acme-api --project acme-web",
|
|
1666
|
+
"<%= config.bin %> members set-access <membership-id> --group DriverOne",
|
|
1667
|
+
"<%= config.bin %> members set-access <membership-id>"
|
|
1633
1668
|
],
|
|
1634
1669
|
"flags": {
|
|
1635
1670
|
"json": {
|
|
@@ -1639,19 +1674,26 @@
|
|
|
1639
1674
|
"allowNo": false,
|
|
1640
1675
|
"type": "boolean"
|
|
1641
1676
|
},
|
|
1677
|
+
"group": {
|
|
1678
|
+
"description": "Group id or name to grant access to (repeatable; omit to clear group access)",
|
|
1679
|
+
"name": "group",
|
|
1680
|
+
"default": [],
|
|
1681
|
+
"hasDynamicHelp": false,
|
|
1682
|
+
"multiple": true,
|
|
1683
|
+
"type": "option"
|
|
1684
|
+
},
|
|
1642
1685
|
"project": {
|
|
1643
|
-
"
|
|
1644
|
-
"description": "Project id (UUID) or key",
|
|
1686
|
+
"description": "Project id or key to grant access to (repeatable; omit to clear project access)",
|
|
1645
1687
|
"name": "project",
|
|
1646
|
-
"
|
|
1688
|
+
"default": [],
|
|
1647
1689
|
"hasDynamicHelp": false,
|
|
1648
|
-
"multiple":
|
|
1690
|
+
"multiple": true,
|
|
1649
1691
|
"type": "option"
|
|
1650
1692
|
}
|
|
1651
1693
|
},
|
|
1652
1694
|
"hasDynamicHelp": false,
|
|
1653
1695
|
"hiddenAliases": [],
|
|
1654
|
-
"id": "
|
|
1696
|
+
"id": "members:set-access",
|
|
1655
1697
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1656
1698
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1657
1699
|
"pluginType": "core",
|
|
@@ -1661,22 +1703,23 @@
|
|
|
1661
1703
|
"relativePath": [
|
|
1662
1704
|
"dist",
|
|
1663
1705
|
"commands",
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1706
|
+
"members",
|
|
1707
|
+
"set-access.js"
|
|
1666
1708
|
]
|
|
1667
1709
|
},
|
|
1668
|
-
"
|
|
1710
|
+
"members:set-role": {
|
|
1669
1711
|
"aliases": [],
|
|
1670
1712
|
"args": {
|
|
1671
1713
|
"id": {
|
|
1672
|
-
"description": "
|
|
1714
|
+
"description": "Membership id",
|
|
1673
1715
|
"name": "id",
|
|
1674
1716
|
"required": true
|
|
1675
1717
|
}
|
|
1676
1718
|
},
|
|
1677
|
-
"description": "
|
|
1719
|
+
"description": "Change a member's organization role",
|
|
1678
1720
|
"examples": [
|
|
1679
|
-
"<%= config.bin %>
|
|
1721
|
+
"<%= config.bin %> members set-role <membership-id> --role admin",
|
|
1722
|
+
"<%= config.bin %> members set-role <membership-id> --role customer"
|
|
1680
1723
|
],
|
|
1681
1724
|
"flags": {
|
|
1682
1725
|
"json": {
|
|
@@ -1686,19 +1729,24 @@
|
|
|
1686
1729
|
"allowNo": false,
|
|
1687
1730
|
"type": "boolean"
|
|
1688
1731
|
},
|
|
1689
|
-
"
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"name": "project",
|
|
1732
|
+
"role": {
|
|
1733
|
+
"description": "Organization role",
|
|
1734
|
+
"name": "role",
|
|
1693
1735
|
"required": true,
|
|
1694
1736
|
"hasDynamicHelp": false,
|
|
1695
1737
|
"multiple": false,
|
|
1738
|
+
"options": [
|
|
1739
|
+
"member",
|
|
1740
|
+
"admin",
|
|
1741
|
+
"owner",
|
|
1742
|
+
"customer"
|
|
1743
|
+
],
|
|
1696
1744
|
"type": "option"
|
|
1697
1745
|
}
|
|
1698
1746
|
},
|
|
1699
1747
|
"hasDynamicHelp": false,
|
|
1700
1748
|
"hiddenAliases": [],
|
|
1701
|
-
"id": "
|
|
1749
|
+
"id": "members:set-role",
|
|
1702
1750
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1703
1751
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1704
1752
|
"pluginType": "core",
|
|
@@ -1708,8 +1756,8 @@
|
|
|
1708
1756
|
"relativePath": [
|
|
1709
1757
|
"dist",
|
|
1710
1758
|
"commands",
|
|
1711
|
-
"
|
|
1712
|
-
"
|
|
1759
|
+
"members",
|
|
1760
|
+
"set-role.js"
|
|
1713
1761
|
]
|
|
1714
1762
|
},
|
|
1715
1763
|
"milestones:create": {
|
|
@@ -2462,98 +2510,6 @@
|
|
|
2462
2510
|
"update.js"
|
|
2463
2511
|
]
|
|
2464
2512
|
},
|
|
2465
|
-
"org:show": {
|
|
2466
|
-
"aliases": [],
|
|
2467
|
-
"args": {},
|
|
2468
|
-
"description": "Show your organization settings",
|
|
2469
|
-
"examples": [
|
|
2470
|
-
"<%= config.bin %> org show",
|
|
2471
|
-
"<%= config.bin %> org show --json"
|
|
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
|
-
},
|
|
2482
|
-
"hasDynamicHelp": false,
|
|
2483
|
-
"hiddenAliases": [],
|
|
2484
|
-
"id": "org:show",
|
|
2485
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2486
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2487
|
-
"pluginType": "core",
|
|
2488
|
-
"strict": true,
|
|
2489
|
-
"enableJsonFlag": true,
|
|
2490
|
-
"isESM": false,
|
|
2491
|
-
"relativePath": [
|
|
2492
|
-
"dist",
|
|
2493
|
-
"commands",
|
|
2494
|
-
"org",
|
|
2495
|
-
"show.js"
|
|
2496
|
-
]
|
|
2497
|
-
},
|
|
2498
|
-
"org:update": {
|
|
2499
|
-
"aliases": [],
|
|
2500
|
-
"args": {},
|
|
2501
|
-
"description": "Update your organization settings (requires organization.manage)",
|
|
2502
|
-
"examples": [
|
|
2503
|
-
"<%= config.bin %> org update --name \"Acme Inc\"",
|
|
2504
|
-
"<%= config.bin %> org update --slug acme-inc",
|
|
2505
|
-
"<%= config.bin %> org update --projects-view table"
|
|
2506
|
-
],
|
|
2507
|
-
"flags": {
|
|
2508
|
-
"json": {
|
|
2509
|
-
"description": "Format output as json.",
|
|
2510
|
-
"helpGroup": "GLOBAL",
|
|
2511
|
-
"name": "json",
|
|
2512
|
-
"allowNo": false,
|
|
2513
|
-
"type": "boolean"
|
|
2514
|
-
},
|
|
2515
|
-
"name": {
|
|
2516
|
-
"description": "New organization name",
|
|
2517
|
-
"name": "name",
|
|
2518
|
-
"hasDynamicHelp": false,
|
|
2519
|
-
"multiple": false,
|
|
2520
|
-
"type": "option"
|
|
2521
|
-
},
|
|
2522
|
-
"slug": {
|
|
2523
|
-
"description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
|
|
2524
|
-
"name": "slug",
|
|
2525
|
-
"hasDynamicHelp": false,
|
|
2526
|
-
"multiple": false,
|
|
2527
|
-
"type": "option"
|
|
2528
|
-
},
|
|
2529
|
-
"projects-view": {
|
|
2530
|
-
"description": "Default projects list view",
|
|
2531
|
-
"name": "projects-view",
|
|
2532
|
-
"hasDynamicHelp": false,
|
|
2533
|
-
"multiple": false,
|
|
2534
|
-
"options": [
|
|
2535
|
-
"cards",
|
|
2536
|
-
"table"
|
|
2537
|
-
],
|
|
2538
|
-
"type": "option"
|
|
2539
|
-
}
|
|
2540
|
-
},
|
|
2541
|
-
"hasDynamicHelp": false,
|
|
2542
|
-
"hiddenAliases": [],
|
|
2543
|
-
"id": "org:update",
|
|
2544
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2545
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2546
|
-
"pluginType": "core",
|
|
2547
|
-
"strict": true,
|
|
2548
|
-
"enableJsonFlag": true,
|
|
2549
|
-
"isESM": false,
|
|
2550
|
-
"relativePath": [
|
|
2551
|
-
"dist",
|
|
2552
|
-
"commands",
|
|
2553
|
-
"org",
|
|
2554
|
-
"update.js"
|
|
2555
|
-
]
|
|
2556
|
-
},
|
|
2557
2513
|
"platforms:create": {
|
|
2558
2514
|
"aliases": [],
|
|
2559
2515
|
"args": {
|
|
@@ -2781,18 +2737,13 @@
|
|
|
2781
2737
|
"update.js"
|
|
2782
2738
|
]
|
|
2783
2739
|
},
|
|
2784
|
-
"
|
|
2740
|
+
"org:show": {
|
|
2785
2741
|
"aliases": [],
|
|
2786
|
-
"args": {
|
|
2787
|
-
|
|
2788
|
-
"description": "Role name",
|
|
2789
|
-
"name": "name",
|
|
2790
|
-
"required": true
|
|
2791
|
-
}
|
|
2792
|
-
},
|
|
2793
|
-
"description": "Create an RBAC role (a named bundle of permission keys)",
|
|
2742
|
+
"args": {},
|
|
2743
|
+
"description": "Show your organization settings",
|
|
2794
2744
|
"examples": [
|
|
2795
|
-
"<%= config.bin %>
|
|
2745
|
+
"<%= config.bin %> org show",
|
|
2746
|
+
"<%= config.bin %> org show --json"
|
|
2796
2747
|
],
|
|
2797
2748
|
"flags": {
|
|
2798
2749
|
"json": {
|
|
@@ -2801,25 +2752,11 @@
|
|
|
2801
2752
|
"name": "json",
|
|
2802
2753
|
"allowNo": false,
|
|
2803
2754
|
"type": "boolean"
|
|
2804
|
-
},
|
|
2805
|
-
"color": {
|
|
2806
|
-
"description": "Color label",
|
|
2807
|
-
"name": "color",
|
|
2808
|
-
"hasDynamicHelp": false,
|
|
2809
|
-
"multiple": false,
|
|
2810
|
-
"type": "option"
|
|
2811
|
-
},
|
|
2812
|
-
"permission": {
|
|
2813
|
-
"description": "Permission key from the catalog (repeatable)",
|
|
2814
|
-
"name": "permission",
|
|
2815
|
-
"hasDynamicHelp": false,
|
|
2816
|
-
"multiple": true,
|
|
2817
|
-
"type": "option"
|
|
2818
2755
|
}
|
|
2819
2756
|
},
|
|
2820
2757
|
"hasDynamicHelp": false,
|
|
2821
2758
|
"hiddenAliases": [],
|
|
2822
|
-
"id": "
|
|
2759
|
+
"id": "org:show",
|
|
2823
2760
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2824
2761
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2825
2762
|
"pluginType": "core",
|
|
@@ -2829,55 +2766,18 @@
|
|
|
2829
2766
|
"relativePath": [
|
|
2830
2767
|
"dist",
|
|
2831
2768
|
"commands",
|
|
2832
|
-
"
|
|
2833
|
-
"
|
|
2834
|
-
]
|
|
2835
|
-
},
|
|
2836
|
-
"roles:delete": {
|
|
2837
|
-
"aliases": [],
|
|
2838
|
-
"args": {
|
|
2839
|
-
"role": {
|
|
2840
|
-
"description": "Role id (UUID) or name",
|
|
2841
|
-
"name": "role",
|
|
2842
|
-
"required": true
|
|
2843
|
-
}
|
|
2844
|
-
},
|
|
2845
|
-
"description": "Delete a role (its assignments to teams and accounts are removed)",
|
|
2846
|
-
"examples": [
|
|
2847
|
-
"<%= config.bin %> roles delete Client"
|
|
2848
|
-
],
|
|
2849
|
-
"flags": {
|
|
2850
|
-
"json": {
|
|
2851
|
-
"description": "Format output as json.",
|
|
2852
|
-
"helpGroup": "GLOBAL",
|
|
2853
|
-
"name": "json",
|
|
2854
|
-
"allowNo": false,
|
|
2855
|
-
"type": "boolean"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
"hasDynamicHelp": false,
|
|
2859
|
-
"hiddenAliases": [],
|
|
2860
|
-
"id": "roles:delete",
|
|
2861
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2862
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2863
|
-
"pluginType": "core",
|
|
2864
|
-
"strict": true,
|
|
2865
|
-
"enableJsonFlag": true,
|
|
2866
|
-
"isESM": false,
|
|
2867
|
-
"relativePath": [
|
|
2868
|
-
"dist",
|
|
2869
|
-
"commands",
|
|
2870
|
-
"roles",
|
|
2871
|
-
"delete.js"
|
|
2769
|
+
"org",
|
|
2770
|
+
"show.js"
|
|
2872
2771
|
]
|
|
2873
2772
|
},
|
|
2874
|
-
"
|
|
2773
|
+
"org:update": {
|
|
2875
2774
|
"aliases": [],
|
|
2876
2775
|
"args": {},
|
|
2877
|
-
"description": "
|
|
2776
|
+
"description": "Update your organization settings (requires organization.manage)",
|
|
2878
2777
|
"examples": [
|
|
2879
|
-
"<%= config.bin %>
|
|
2880
|
-
"<%= config.bin %>
|
|
2778
|
+
"<%= config.bin %> org update --name \"Acme Inc\"",
|
|
2779
|
+
"<%= config.bin %> org update --slug acme-inc",
|
|
2780
|
+
"<%= config.bin %> org update --projects-view table"
|
|
2881
2781
|
],
|
|
2882
2782
|
"flags": {
|
|
2883
2783
|
"json": {
|
|
@@ -2887,116 +2787,35 @@
|
|
|
2887
2787
|
"allowNo": false,
|
|
2888
2788
|
"type": "boolean"
|
|
2889
2789
|
},
|
|
2890
|
-
"
|
|
2891
|
-
"description": "
|
|
2892
|
-
"name": "
|
|
2893
|
-
"default": 1,
|
|
2790
|
+
"name": {
|
|
2791
|
+
"description": "New organization name",
|
|
2792
|
+
"name": "name",
|
|
2894
2793
|
"hasDynamicHelp": false,
|
|
2895
2794
|
"multiple": false,
|
|
2896
2795
|
"type": "option"
|
|
2897
|
-
}
|
|
2898
|
-
},
|
|
2899
|
-
"hasDynamicHelp": false,
|
|
2900
|
-
"hiddenAliases": [],
|
|
2901
|
-
"id": "roles:list",
|
|
2902
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2903
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2904
|
-
"pluginType": "core",
|
|
2905
|
-
"strict": true,
|
|
2906
|
-
"enableJsonFlag": true,
|
|
2907
|
-
"isESM": false,
|
|
2908
|
-
"relativePath": [
|
|
2909
|
-
"dist",
|
|
2910
|
-
"commands",
|
|
2911
|
-
"roles",
|
|
2912
|
-
"list.js"
|
|
2913
|
-
]
|
|
2914
|
-
},
|
|
2915
|
-
"roles:show": {
|
|
2916
|
-
"aliases": [],
|
|
2917
|
-
"args": {
|
|
2918
|
-
"role": {
|
|
2919
|
-
"description": "Role id (UUID) or name",
|
|
2920
|
-
"name": "role",
|
|
2921
|
-
"required": true
|
|
2922
|
-
}
|
|
2923
|
-
},
|
|
2924
|
-
"description": "Show a role by id or name (with its permission keys)",
|
|
2925
|
-
"examples": [
|
|
2926
|
-
"<%= config.bin %> roles show Client"
|
|
2927
|
-
],
|
|
2928
|
-
"flags": {
|
|
2929
|
-
"json": {
|
|
2930
|
-
"description": "Format output as json.",
|
|
2931
|
-
"helpGroup": "GLOBAL",
|
|
2932
|
-
"name": "json",
|
|
2933
|
-
"allowNo": false,
|
|
2934
|
-
"type": "boolean"
|
|
2935
|
-
}
|
|
2936
|
-
},
|
|
2937
|
-
"hasDynamicHelp": false,
|
|
2938
|
-
"hiddenAliases": [],
|
|
2939
|
-
"id": "roles:show",
|
|
2940
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2941
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2942
|
-
"pluginType": "core",
|
|
2943
|
-
"strict": true,
|
|
2944
|
-
"enableJsonFlag": true,
|
|
2945
|
-
"isESM": false,
|
|
2946
|
-
"relativePath": [
|
|
2947
|
-
"dist",
|
|
2948
|
-
"commands",
|
|
2949
|
-
"roles",
|
|
2950
|
-
"show.js"
|
|
2951
|
-
]
|
|
2952
|
-
},
|
|
2953
|
-
"roles:update": {
|
|
2954
|
-
"aliases": [],
|
|
2955
|
-
"args": {
|
|
2956
|
-
"role": {
|
|
2957
|
-
"description": "Role id (UUID) or name",
|
|
2958
|
-
"name": "role",
|
|
2959
|
-
"required": true
|
|
2960
|
-
}
|
|
2961
|
-
},
|
|
2962
|
-
"description": "Update a role (rename, recolor, or replace its permission keys)",
|
|
2963
|
-
"examples": [
|
|
2964
|
-
"<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
|
|
2965
|
-
"<%= config.bin %> roles update Client --name \"Client manager\""
|
|
2966
|
-
],
|
|
2967
|
-
"flags": {
|
|
2968
|
-
"json": {
|
|
2969
|
-
"description": "Format output as json.",
|
|
2970
|
-
"helpGroup": "GLOBAL",
|
|
2971
|
-
"name": "json",
|
|
2972
|
-
"allowNo": false,
|
|
2973
|
-
"type": "boolean"
|
|
2974
2796
|
},
|
|
2975
|
-
"
|
|
2976
|
-
"description": "
|
|
2977
|
-
"name": "
|
|
2797
|
+
"slug": {
|
|
2798
|
+
"description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
|
|
2799
|
+
"name": "slug",
|
|
2978
2800
|
"hasDynamicHelp": false,
|
|
2979
2801
|
"multiple": false,
|
|
2980
2802
|
"type": "option"
|
|
2981
2803
|
},
|
|
2982
|
-
"
|
|
2983
|
-
"description": "
|
|
2984
|
-
"name": "
|
|
2804
|
+
"projects-view": {
|
|
2805
|
+
"description": "Default projects list view",
|
|
2806
|
+
"name": "projects-view",
|
|
2985
2807
|
"hasDynamicHelp": false,
|
|
2986
2808
|
"multiple": false,
|
|
2987
|
-
"
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
"name": "permission",
|
|
2992
|
-
"hasDynamicHelp": false,
|
|
2993
|
-
"multiple": true,
|
|
2809
|
+
"options": [
|
|
2810
|
+
"cards",
|
|
2811
|
+
"table"
|
|
2812
|
+
],
|
|
2994
2813
|
"type": "option"
|
|
2995
2814
|
}
|
|
2996
2815
|
},
|
|
2997
2816
|
"hasDynamicHelp": false,
|
|
2998
2817
|
"hiddenAliases": [],
|
|
2999
|
-
"id": "
|
|
2818
|
+
"id": "org:update",
|
|
3000
2819
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3001
2820
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3002
2821
|
"pluginType": "core",
|
|
@@ -3006,7 +2825,7 @@
|
|
|
3006
2825
|
"relativePath": [
|
|
3007
2826
|
"dist",
|
|
3008
2827
|
"commands",
|
|
3009
|
-
"
|
|
2828
|
+
"org",
|
|
3010
2829
|
"update.js"
|
|
3011
2830
|
]
|
|
3012
2831
|
},
|
|
@@ -3732,12 +3551,581 @@
|
|
|
3732
3551
|
"description": "Project id or key (repeatable; replaces the project scope)",
|
|
3733
3552
|
"name": "project",
|
|
3734
3553
|
"hasDynamicHelp": false,
|
|
3735
|
-
"multiple": true,
|
|
3554
|
+
"multiple": true,
|
|
3555
|
+
"type": "option"
|
|
3556
|
+
},
|
|
3557
|
+
"role": {
|
|
3558
|
+
"description": "Role id or name (repeatable; replaces the roles)",
|
|
3559
|
+
"name": "role",
|
|
3560
|
+
"hasDynamicHelp": false,
|
|
3561
|
+
"multiple": true,
|
|
3562
|
+
"type": "option"
|
|
3563
|
+
}
|
|
3564
|
+
},
|
|
3565
|
+
"hasDynamicHelp": false,
|
|
3566
|
+
"hiddenAliases": [],
|
|
3567
|
+
"id": "teams:update",
|
|
3568
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3569
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3570
|
+
"pluginType": "core",
|
|
3571
|
+
"strict": true,
|
|
3572
|
+
"enableJsonFlag": true,
|
|
3573
|
+
"isESM": false,
|
|
3574
|
+
"relativePath": [
|
|
3575
|
+
"dist",
|
|
3576
|
+
"commands",
|
|
3577
|
+
"teams",
|
|
3578
|
+
"update.js"
|
|
3579
|
+
]
|
|
3580
|
+
},
|
|
3581
|
+
"servers:delete": {
|
|
3582
|
+
"aliases": [],
|
|
3583
|
+
"args": {
|
|
3584
|
+
"id": {
|
|
3585
|
+
"description": "Server id",
|
|
3586
|
+
"name": "id",
|
|
3587
|
+
"required": true
|
|
3588
|
+
}
|
|
3589
|
+
},
|
|
3590
|
+
"description": "Delete a server and all its metrics (a live agent would re-register it)",
|
|
3591
|
+
"examples": [
|
|
3592
|
+
"<%= config.bin %> servers delete <server-id> --confirm"
|
|
3593
|
+
],
|
|
3594
|
+
"flags": {
|
|
3595
|
+
"json": {
|
|
3596
|
+
"description": "Format output as json.",
|
|
3597
|
+
"helpGroup": "GLOBAL",
|
|
3598
|
+
"name": "json",
|
|
3599
|
+
"allowNo": false,
|
|
3600
|
+
"type": "boolean"
|
|
3601
|
+
},
|
|
3602
|
+
"confirm": {
|
|
3603
|
+
"description": "Required: confirm the deletion",
|
|
3604
|
+
"name": "confirm",
|
|
3605
|
+
"allowNo": false,
|
|
3606
|
+
"type": "boolean"
|
|
3607
|
+
}
|
|
3608
|
+
},
|
|
3609
|
+
"hasDynamicHelp": false,
|
|
3610
|
+
"hiddenAliases": [],
|
|
3611
|
+
"id": "servers:delete",
|
|
3612
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3613
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3614
|
+
"pluginType": "core",
|
|
3615
|
+
"strict": true,
|
|
3616
|
+
"enableJsonFlag": true,
|
|
3617
|
+
"isESM": false,
|
|
3618
|
+
"relativePath": [
|
|
3619
|
+
"dist",
|
|
3620
|
+
"commands",
|
|
3621
|
+
"servers",
|
|
3622
|
+
"delete.js"
|
|
3623
|
+
]
|
|
3624
|
+
},
|
|
3625
|
+
"servers:list": {
|
|
3626
|
+
"aliases": [],
|
|
3627
|
+
"args": {},
|
|
3628
|
+
"description": "List the monitored servers in your organization (fleet snapshot)",
|
|
3629
|
+
"examples": [
|
|
3630
|
+
"<%= config.bin %> servers list",
|
|
3631
|
+
"<%= config.bin %> servers list --status down --json"
|
|
3632
|
+
],
|
|
3633
|
+
"flags": {
|
|
3634
|
+
"json": {
|
|
3635
|
+
"description": "Format output as json.",
|
|
3636
|
+
"helpGroup": "GLOBAL",
|
|
3637
|
+
"name": "json",
|
|
3638
|
+
"allowNo": false,
|
|
3639
|
+
"type": "boolean"
|
|
3640
|
+
},
|
|
3641
|
+
"page": {
|
|
3642
|
+
"description": "Page number",
|
|
3643
|
+
"name": "page",
|
|
3644
|
+
"default": 1,
|
|
3645
|
+
"hasDynamicHelp": false,
|
|
3646
|
+
"multiple": false,
|
|
3647
|
+
"type": "option"
|
|
3648
|
+
},
|
|
3649
|
+
"status": {
|
|
3650
|
+
"description": "Filter by status (repeatable)",
|
|
3651
|
+
"name": "status",
|
|
3652
|
+
"hasDynamicHelp": false,
|
|
3653
|
+
"multiple": true,
|
|
3654
|
+
"options": [
|
|
3655
|
+
"pending",
|
|
3656
|
+
"up",
|
|
3657
|
+
"down",
|
|
3658
|
+
"paused"
|
|
3659
|
+
],
|
|
3660
|
+
"type": "option"
|
|
3661
|
+
}
|
|
3662
|
+
},
|
|
3663
|
+
"hasDynamicHelp": false,
|
|
3664
|
+
"hiddenAliases": [],
|
|
3665
|
+
"id": "servers:list",
|
|
3666
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3667
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3668
|
+
"pluginType": "core",
|
|
3669
|
+
"strict": true,
|
|
3670
|
+
"enableJsonFlag": true,
|
|
3671
|
+
"isESM": false,
|
|
3672
|
+
"relativePath": [
|
|
3673
|
+
"dist",
|
|
3674
|
+
"commands",
|
|
3675
|
+
"servers",
|
|
3676
|
+
"list.js"
|
|
3677
|
+
]
|
|
3678
|
+
},
|
|
3679
|
+
"servers:pause": {
|
|
3680
|
+
"aliases": [],
|
|
3681
|
+
"args": {
|
|
3682
|
+
"id": {
|
|
3683
|
+
"description": "Server id",
|
|
3684
|
+
"name": "id",
|
|
3685
|
+
"required": true
|
|
3686
|
+
}
|
|
3687
|
+
},
|
|
3688
|
+
"description": "Pause a server (no staleness checks or alerts until resumed)",
|
|
3689
|
+
"examples": [
|
|
3690
|
+
"<%= config.bin %> servers pause <server-id>"
|
|
3691
|
+
],
|
|
3692
|
+
"flags": {
|
|
3693
|
+
"json": {
|
|
3694
|
+
"description": "Format output as json.",
|
|
3695
|
+
"helpGroup": "GLOBAL",
|
|
3696
|
+
"name": "json",
|
|
3697
|
+
"allowNo": false,
|
|
3698
|
+
"type": "boolean"
|
|
3699
|
+
}
|
|
3700
|
+
},
|
|
3701
|
+
"hasDynamicHelp": false,
|
|
3702
|
+
"hiddenAliases": [],
|
|
3703
|
+
"id": "servers:pause",
|
|
3704
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3705
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3706
|
+
"pluginType": "core",
|
|
3707
|
+
"strict": true,
|
|
3708
|
+
"enableJsonFlag": true,
|
|
3709
|
+
"isESM": false,
|
|
3710
|
+
"relativePath": [
|
|
3711
|
+
"dist",
|
|
3712
|
+
"commands",
|
|
3713
|
+
"servers",
|
|
3714
|
+
"pause.js"
|
|
3715
|
+
]
|
|
3716
|
+
},
|
|
3717
|
+
"servers:rename": {
|
|
3718
|
+
"aliases": [],
|
|
3719
|
+
"args": {
|
|
3720
|
+
"id": {
|
|
3721
|
+
"description": "Server id",
|
|
3722
|
+
"name": "id",
|
|
3723
|
+
"required": true
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
"description": "Rename a monitored server (display name only)",
|
|
3727
|
+
"examples": [
|
|
3728
|
+
"<%= config.bin %> servers rename <server-id> --name apps-prod"
|
|
3729
|
+
],
|
|
3730
|
+
"flags": {
|
|
3731
|
+
"json": {
|
|
3732
|
+
"description": "Format output as json.",
|
|
3733
|
+
"helpGroup": "GLOBAL",
|
|
3734
|
+
"name": "json",
|
|
3735
|
+
"allowNo": false,
|
|
3736
|
+
"type": "boolean"
|
|
3737
|
+
},
|
|
3738
|
+
"name": {
|
|
3739
|
+
"description": "New display name",
|
|
3740
|
+
"name": "name",
|
|
3741
|
+
"required": true,
|
|
3742
|
+
"hasDynamicHelp": false,
|
|
3743
|
+
"multiple": false,
|
|
3744
|
+
"type": "option"
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
"hasDynamicHelp": false,
|
|
3748
|
+
"hiddenAliases": [],
|
|
3749
|
+
"id": "servers:rename",
|
|
3750
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3751
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3752
|
+
"pluginType": "core",
|
|
3753
|
+
"strict": true,
|
|
3754
|
+
"enableJsonFlag": true,
|
|
3755
|
+
"isESM": false,
|
|
3756
|
+
"relativePath": [
|
|
3757
|
+
"dist",
|
|
3758
|
+
"commands",
|
|
3759
|
+
"servers",
|
|
3760
|
+
"rename.js"
|
|
3761
|
+
]
|
|
3762
|
+
},
|
|
3763
|
+
"servers:resume": {
|
|
3764
|
+
"aliases": [],
|
|
3765
|
+
"args": {
|
|
3766
|
+
"id": {
|
|
3767
|
+
"description": "Server id",
|
|
3768
|
+
"name": "id",
|
|
3769
|
+
"required": true
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3772
|
+
"description": "Resume a paused server (back up at the next agent push)",
|
|
3773
|
+
"examples": [
|
|
3774
|
+
"<%= config.bin %> servers resume <server-id>"
|
|
3775
|
+
],
|
|
3776
|
+
"flags": {
|
|
3777
|
+
"json": {
|
|
3778
|
+
"description": "Format output as json.",
|
|
3779
|
+
"helpGroup": "GLOBAL",
|
|
3780
|
+
"name": "json",
|
|
3781
|
+
"allowNo": false,
|
|
3782
|
+
"type": "boolean"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"hasDynamicHelp": false,
|
|
3786
|
+
"hiddenAliases": [],
|
|
3787
|
+
"id": "servers:resume",
|
|
3788
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3789
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3790
|
+
"pluginType": "core",
|
|
3791
|
+
"strict": true,
|
|
3792
|
+
"enableJsonFlag": true,
|
|
3793
|
+
"isESM": false,
|
|
3794
|
+
"relativePath": [
|
|
3795
|
+
"dist",
|
|
3796
|
+
"commands",
|
|
3797
|
+
"servers",
|
|
3798
|
+
"resume.js"
|
|
3799
|
+
]
|
|
3800
|
+
},
|
|
3801
|
+
"servers:revoke": {
|
|
3802
|
+
"aliases": [],
|
|
3803
|
+
"args": {
|
|
3804
|
+
"id": {
|
|
3805
|
+
"description": "Server id",
|
|
3806
|
+
"name": "id",
|
|
3807
|
+
"required": true
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3810
|
+
"description": "Revoke a server: its agent gets 403 and stops (host stays, reversible)",
|
|
3811
|
+
"examples": [
|
|
3812
|
+
"<%= config.bin %> servers revoke <server-id> --confirm"
|
|
3813
|
+
],
|
|
3814
|
+
"flags": {
|
|
3815
|
+
"json": {
|
|
3816
|
+
"description": "Format output as json.",
|
|
3817
|
+
"helpGroup": "GLOBAL",
|
|
3818
|
+
"name": "json",
|
|
3819
|
+
"allowNo": false,
|
|
3820
|
+
"type": "boolean"
|
|
3821
|
+
},
|
|
3822
|
+
"confirm": {
|
|
3823
|
+
"description": "Required: confirm the revocation",
|
|
3824
|
+
"name": "confirm",
|
|
3825
|
+
"allowNo": false,
|
|
3826
|
+
"type": "boolean"
|
|
3827
|
+
}
|
|
3828
|
+
},
|
|
3829
|
+
"hasDynamicHelp": false,
|
|
3830
|
+
"hiddenAliases": [],
|
|
3831
|
+
"id": "servers:revoke",
|
|
3832
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3833
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3834
|
+
"pluginType": "core",
|
|
3835
|
+
"strict": true,
|
|
3836
|
+
"enableJsonFlag": true,
|
|
3837
|
+
"isESM": false,
|
|
3838
|
+
"relativePath": [
|
|
3839
|
+
"dist",
|
|
3840
|
+
"commands",
|
|
3841
|
+
"servers",
|
|
3842
|
+
"revoke.js"
|
|
3843
|
+
]
|
|
3844
|
+
},
|
|
3845
|
+
"servers:show": {
|
|
3846
|
+
"aliases": [],
|
|
3847
|
+
"args": {
|
|
3848
|
+
"id": {
|
|
3849
|
+
"description": "Server id",
|
|
3850
|
+
"name": "id",
|
|
3851
|
+
"required": true
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
"description": "Show a monitored server (latest snapshot)",
|
|
3855
|
+
"examples": [
|
|
3856
|
+
"<%= config.bin %> servers show <server-id>"
|
|
3857
|
+
],
|
|
3858
|
+
"flags": {
|
|
3859
|
+
"json": {
|
|
3860
|
+
"description": "Format output as json.",
|
|
3861
|
+
"helpGroup": "GLOBAL",
|
|
3862
|
+
"name": "json",
|
|
3863
|
+
"allowNo": false,
|
|
3864
|
+
"type": "boolean"
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
"hasDynamicHelp": false,
|
|
3868
|
+
"hiddenAliases": [],
|
|
3869
|
+
"id": "servers:show",
|
|
3870
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3871
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3872
|
+
"pluginType": "core",
|
|
3873
|
+
"strict": true,
|
|
3874
|
+
"enableJsonFlag": true,
|
|
3875
|
+
"isESM": false,
|
|
3876
|
+
"relativePath": [
|
|
3877
|
+
"dist",
|
|
3878
|
+
"commands",
|
|
3879
|
+
"servers",
|
|
3880
|
+
"show.js"
|
|
3881
|
+
]
|
|
3882
|
+
},
|
|
3883
|
+
"servers:unrevoke": {
|
|
3884
|
+
"aliases": [],
|
|
3885
|
+
"args": {
|
|
3886
|
+
"id": {
|
|
3887
|
+
"description": "Server id",
|
|
3888
|
+
"name": "id",
|
|
3889
|
+
"required": true
|
|
3890
|
+
}
|
|
3891
|
+
},
|
|
3892
|
+
"description": "Restore a revoked server (its agent can push again)",
|
|
3893
|
+
"examples": [
|
|
3894
|
+
"<%= config.bin %> servers unrevoke <server-id>"
|
|
3895
|
+
],
|
|
3896
|
+
"flags": {
|
|
3897
|
+
"json": {
|
|
3898
|
+
"description": "Format output as json.",
|
|
3899
|
+
"helpGroup": "GLOBAL",
|
|
3900
|
+
"name": "json",
|
|
3901
|
+
"allowNo": false,
|
|
3902
|
+
"type": "boolean"
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3905
|
+
"hasDynamicHelp": false,
|
|
3906
|
+
"hiddenAliases": [],
|
|
3907
|
+
"id": "servers:unrevoke",
|
|
3908
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3909
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3910
|
+
"pluginType": "core",
|
|
3911
|
+
"strict": true,
|
|
3912
|
+
"enableJsonFlag": true,
|
|
3913
|
+
"isESM": false,
|
|
3914
|
+
"relativePath": [
|
|
3915
|
+
"dist",
|
|
3916
|
+
"commands",
|
|
3917
|
+
"servers",
|
|
3918
|
+
"unrevoke.js"
|
|
3919
|
+
]
|
|
3920
|
+
},
|
|
3921
|
+
"roles:create": {
|
|
3922
|
+
"aliases": [],
|
|
3923
|
+
"args": {
|
|
3924
|
+
"name": {
|
|
3925
|
+
"description": "Role name",
|
|
3926
|
+
"name": "name",
|
|
3927
|
+
"required": true
|
|
3928
|
+
}
|
|
3929
|
+
},
|
|
3930
|
+
"description": "Create an RBAC role (a named bundle of permission keys)",
|
|
3931
|
+
"examples": [
|
|
3932
|
+
"<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
|
|
3933
|
+
],
|
|
3934
|
+
"flags": {
|
|
3935
|
+
"json": {
|
|
3936
|
+
"description": "Format output as json.",
|
|
3937
|
+
"helpGroup": "GLOBAL",
|
|
3938
|
+
"name": "json",
|
|
3939
|
+
"allowNo": false,
|
|
3940
|
+
"type": "boolean"
|
|
3941
|
+
},
|
|
3942
|
+
"color": {
|
|
3943
|
+
"description": "Color label",
|
|
3944
|
+
"name": "color",
|
|
3945
|
+
"hasDynamicHelp": false,
|
|
3946
|
+
"multiple": false,
|
|
3947
|
+
"type": "option"
|
|
3948
|
+
},
|
|
3949
|
+
"permission": {
|
|
3950
|
+
"description": "Permission key from the catalog (repeatable)",
|
|
3951
|
+
"name": "permission",
|
|
3952
|
+
"hasDynamicHelp": false,
|
|
3953
|
+
"multiple": true,
|
|
3954
|
+
"type": "option"
|
|
3955
|
+
}
|
|
3956
|
+
},
|
|
3957
|
+
"hasDynamicHelp": false,
|
|
3958
|
+
"hiddenAliases": [],
|
|
3959
|
+
"id": "roles:create",
|
|
3960
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3961
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3962
|
+
"pluginType": "core",
|
|
3963
|
+
"strict": true,
|
|
3964
|
+
"enableJsonFlag": true,
|
|
3965
|
+
"isESM": false,
|
|
3966
|
+
"relativePath": [
|
|
3967
|
+
"dist",
|
|
3968
|
+
"commands",
|
|
3969
|
+
"roles",
|
|
3970
|
+
"create.js"
|
|
3971
|
+
]
|
|
3972
|
+
},
|
|
3973
|
+
"roles:delete": {
|
|
3974
|
+
"aliases": [],
|
|
3975
|
+
"args": {
|
|
3976
|
+
"role": {
|
|
3977
|
+
"description": "Role id (UUID) or name",
|
|
3978
|
+
"name": "role",
|
|
3979
|
+
"required": true
|
|
3980
|
+
}
|
|
3981
|
+
},
|
|
3982
|
+
"description": "Delete a role (its assignments to teams and accounts are removed)",
|
|
3983
|
+
"examples": [
|
|
3984
|
+
"<%= config.bin %> roles delete Client"
|
|
3985
|
+
],
|
|
3986
|
+
"flags": {
|
|
3987
|
+
"json": {
|
|
3988
|
+
"description": "Format output as json.",
|
|
3989
|
+
"helpGroup": "GLOBAL",
|
|
3990
|
+
"name": "json",
|
|
3991
|
+
"allowNo": false,
|
|
3992
|
+
"type": "boolean"
|
|
3993
|
+
}
|
|
3994
|
+
},
|
|
3995
|
+
"hasDynamicHelp": false,
|
|
3996
|
+
"hiddenAliases": [],
|
|
3997
|
+
"id": "roles:delete",
|
|
3998
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3999
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4000
|
+
"pluginType": "core",
|
|
4001
|
+
"strict": true,
|
|
4002
|
+
"enableJsonFlag": true,
|
|
4003
|
+
"isESM": false,
|
|
4004
|
+
"relativePath": [
|
|
4005
|
+
"dist",
|
|
4006
|
+
"commands",
|
|
4007
|
+
"roles",
|
|
4008
|
+
"delete.js"
|
|
4009
|
+
]
|
|
4010
|
+
},
|
|
4011
|
+
"roles:list": {
|
|
4012
|
+
"aliases": [],
|
|
4013
|
+
"args": {},
|
|
4014
|
+
"description": "List the RBAC roles in your organization",
|
|
4015
|
+
"examples": [
|
|
4016
|
+
"<%= config.bin %> roles list",
|
|
4017
|
+
"<%= config.bin %> roles list --json"
|
|
4018
|
+
],
|
|
4019
|
+
"flags": {
|
|
4020
|
+
"json": {
|
|
4021
|
+
"description": "Format output as json.",
|
|
4022
|
+
"helpGroup": "GLOBAL",
|
|
4023
|
+
"name": "json",
|
|
4024
|
+
"allowNo": false,
|
|
4025
|
+
"type": "boolean"
|
|
4026
|
+
},
|
|
4027
|
+
"page": {
|
|
4028
|
+
"description": "Page number",
|
|
4029
|
+
"name": "page",
|
|
4030
|
+
"default": 1,
|
|
4031
|
+
"hasDynamicHelp": false,
|
|
4032
|
+
"multiple": false,
|
|
4033
|
+
"type": "option"
|
|
4034
|
+
}
|
|
4035
|
+
},
|
|
4036
|
+
"hasDynamicHelp": false,
|
|
4037
|
+
"hiddenAliases": [],
|
|
4038
|
+
"id": "roles:list",
|
|
4039
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4040
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4041
|
+
"pluginType": "core",
|
|
4042
|
+
"strict": true,
|
|
4043
|
+
"enableJsonFlag": true,
|
|
4044
|
+
"isESM": false,
|
|
4045
|
+
"relativePath": [
|
|
4046
|
+
"dist",
|
|
4047
|
+
"commands",
|
|
4048
|
+
"roles",
|
|
4049
|
+
"list.js"
|
|
4050
|
+
]
|
|
4051
|
+
},
|
|
4052
|
+
"roles:show": {
|
|
4053
|
+
"aliases": [],
|
|
4054
|
+
"args": {
|
|
4055
|
+
"role": {
|
|
4056
|
+
"description": "Role id (UUID) or name",
|
|
4057
|
+
"name": "role",
|
|
4058
|
+
"required": true
|
|
4059
|
+
}
|
|
4060
|
+
},
|
|
4061
|
+
"description": "Show a role by id or name (with its permission keys)",
|
|
4062
|
+
"examples": [
|
|
4063
|
+
"<%= config.bin %> roles show Client"
|
|
4064
|
+
],
|
|
4065
|
+
"flags": {
|
|
4066
|
+
"json": {
|
|
4067
|
+
"description": "Format output as json.",
|
|
4068
|
+
"helpGroup": "GLOBAL",
|
|
4069
|
+
"name": "json",
|
|
4070
|
+
"allowNo": false,
|
|
4071
|
+
"type": "boolean"
|
|
4072
|
+
}
|
|
4073
|
+
},
|
|
4074
|
+
"hasDynamicHelp": false,
|
|
4075
|
+
"hiddenAliases": [],
|
|
4076
|
+
"id": "roles:show",
|
|
4077
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4078
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4079
|
+
"pluginType": "core",
|
|
4080
|
+
"strict": true,
|
|
4081
|
+
"enableJsonFlag": true,
|
|
4082
|
+
"isESM": false,
|
|
4083
|
+
"relativePath": [
|
|
4084
|
+
"dist",
|
|
4085
|
+
"commands",
|
|
4086
|
+
"roles",
|
|
4087
|
+
"show.js"
|
|
4088
|
+
]
|
|
4089
|
+
},
|
|
4090
|
+
"roles:update": {
|
|
4091
|
+
"aliases": [],
|
|
4092
|
+
"args": {
|
|
4093
|
+
"role": {
|
|
4094
|
+
"description": "Role id (UUID) or name",
|
|
4095
|
+
"name": "role",
|
|
4096
|
+
"required": true
|
|
4097
|
+
}
|
|
4098
|
+
},
|
|
4099
|
+
"description": "Update a role (rename, recolor, or replace its permission keys)",
|
|
4100
|
+
"examples": [
|
|
4101
|
+
"<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
|
|
4102
|
+
"<%= config.bin %> roles update Client --name \"Client manager\""
|
|
4103
|
+
],
|
|
4104
|
+
"flags": {
|
|
4105
|
+
"json": {
|
|
4106
|
+
"description": "Format output as json.",
|
|
4107
|
+
"helpGroup": "GLOBAL",
|
|
4108
|
+
"name": "json",
|
|
4109
|
+
"allowNo": false,
|
|
4110
|
+
"type": "boolean"
|
|
4111
|
+
},
|
|
4112
|
+
"color": {
|
|
4113
|
+
"description": "Color label",
|
|
4114
|
+
"name": "color",
|
|
4115
|
+
"hasDynamicHelp": false,
|
|
4116
|
+
"multiple": false,
|
|
4117
|
+
"type": "option"
|
|
4118
|
+
},
|
|
4119
|
+
"name": {
|
|
4120
|
+
"description": "New name",
|
|
4121
|
+
"name": "name",
|
|
4122
|
+
"hasDynamicHelp": false,
|
|
4123
|
+
"multiple": false,
|
|
3736
4124
|
"type": "option"
|
|
3737
4125
|
},
|
|
3738
|
-
"
|
|
3739
|
-
"description": "
|
|
3740
|
-
"name": "
|
|
4126
|
+
"permission": {
|
|
4127
|
+
"description": "Permission key (repeatable); when given, REPLACES the whole set",
|
|
4128
|
+
"name": "permission",
|
|
3741
4129
|
"hasDynamicHelp": false,
|
|
3742
4130
|
"multiple": true,
|
|
3743
4131
|
"type": "option"
|
|
@@ -3745,7 +4133,7 @@
|
|
|
3745
4133
|
},
|
|
3746
4134
|
"hasDynamicHelp": false,
|
|
3747
4135
|
"hiddenAliases": [],
|
|
3748
|
-
"id": "
|
|
4136
|
+
"id": "roles:update",
|
|
3749
4137
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3750
4138
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3751
4139
|
"pluginType": "core",
|
|
@@ -3755,7 +4143,7 @@
|
|
|
3755
4143
|
"relativePath": [
|
|
3756
4144
|
"dist",
|
|
3757
4145
|
"commands",
|
|
3758
|
-
"
|
|
4146
|
+
"roles",
|
|
3759
4147
|
"update.js"
|
|
3760
4148
|
]
|
|
3761
4149
|
},
|
|
@@ -5027,7 +5415,298 @@
|
|
|
5027
5415
|
"tickets",
|
|
5028
5416
|
"vote.js"
|
|
5029
5417
|
]
|
|
5418
|
+
},
|
|
5419
|
+
"alerts:channels:create": {
|
|
5420
|
+
"aliases": [],
|
|
5421
|
+
"args": {
|
|
5422
|
+
"name": {
|
|
5423
|
+
"description": "Channel name",
|
|
5424
|
+
"name": "name",
|
|
5425
|
+
"required": true
|
|
5426
|
+
}
|
|
5427
|
+
},
|
|
5428
|
+
"description": "Create an external alert channel (webhook or Telegram)",
|
|
5429
|
+
"examples": [
|
|
5430
|
+
"<%= config.bin %> alerts channels create \"Ops Telegram\" --kind telegram --bot-token <token> --chat-id <id>",
|
|
5431
|
+
"<%= config.bin %> alerts channels create \"Ops hook\" --kind webhook --url https://example.com/hook --secret s3cret"
|
|
5432
|
+
],
|
|
5433
|
+
"flags": {
|
|
5434
|
+
"json": {
|
|
5435
|
+
"description": "Format output as json.",
|
|
5436
|
+
"helpGroup": "GLOBAL",
|
|
5437
|
+
"name": "json",
|
|
5438
|
+
"allowNo": false,
|
|
5439
|
+
"type": "boolean"
|
|
5440
|
+
},
|
|
5441
|
+
"kind": {
|
|
5442
|
+
"description": "Channel kind",
|
|
5443
|
+
"name": "kind",
|
|
5444
|
+
"required": true,
|
|
5445
|
+
"hasDynamicHelp": false,
|
|
5446
|
+
"multiple": false,
|
|
5447
|
+
"options": [
|
|
5448
|
+
"webhook",
|
|
5449
|
+
"telegram"
|
|
5450
|
+
],
|
|
5451
|
+
"type": "option"
|
|
5452
|
+
},
|
|
5453
|
+
"url": {
|
|
5454
|
+
"description": "Webhook URL (kind webhook)",
|
|
5455
|
+
"name": "url",
|
|
5456
|
+
"hasDynamicHelp": false,
|
|
5457
|
+
"multiple": false,
|
|
5458
|
+
"type": "option"
|
|
5459
|
+
},
|
|
5460
|
+
"secret": {
|
|
5461
|
+
"description": "Webhook signing secret (kind webhook, optional)",
|
|
5462
|
+
"name": "secret",
|
|
5463
|
+
"hasDynamicHelp": false,
|
|
5464
|
+
"multiple": false,
|
|
5465
|
+
"type": "option"
|
|
5466
|
+
},
|
|
5467
|
+
"bot-token": {
|
|
5468
|
+
"description": "Telegram bot token from @BotFather (kind telegram)",
|
|
5469
|
+
"name": "bot-token",
|
|
5470
|
+
"hasDynamicHelp": false,
|
|
5471
|
+
"multiple": false,
|
|
5472
|
+
"type": "option"
|
|
5473
|
+
},
|
|
5474
|
+
"chat-id": {
|
|
5475
|
+
"description": "Telegram chat id receiving the messages (kind telegram)",
|
|
5476
|
+
"name": "chat-id",
|
|
5477
|
+
"hasDynamicHelp": false,
|
|
5478
|
+
"multiple": false,
|
|
5479
|
+
"type": "option"
|
|
5480
|
+
}
|
|
5481
|
+
},
|
|
5482
|
+
"hasDynamicHelp": false,
|
|
5483
|
+
"hiddenAliases": [],
|
|
5484
|
+
"id": "alerts:channels:create",
|
|
5485
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5486
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5487
|
+
"pluginType": "core",
|
|
5488
|
+
"strict": true,
|
|
5489
|
+
"enableJsonFlag": true,
|
|
5490
|
+
"isESM": false,
|
|
5491
|
+
"relativePath": [
|
|
5492
|
+
"dist",
|
|
5493
|
+
"commands",
|
|
5494
|
+
"alerts",
|
|
5495
|
+
"channels",
|
|
5496
|
+
"create.js"
|
|
5497
|
+
]
|
|
5498
|
+
},
|
|
5499
|
+
"alerts:channels:delete": {
|
|
5500
|
+
"aliases": [],
|
|
5501
|
+
"args": {
|
|
5502
|
+
"id": {
|
|
5503
|
+
"description": "Channel id",
|
|
5504
|
+
"name": "id",
|
|
5505
|
+
"required": true
|
|
5506
|
+
}
|
|
5507
|
+
},
|
|
5508
|
+
"description": "Delete an external alert channel (rules keep delivering in-app/email)",
|
|
5509
|
+
"examples": [
|
|
5510
|
+
"<%= config.bin %> alerts channels delete <channel-id> --confirm"
|
|
5511
|
+
],
|
|
5512
|
+
"flags": {
|
|
5513
|
+
"json": {
|
|
5514
|
+
"description": "Format output as json.",
|
|
5515
|
+
"helpGroup": "GLOBAL",
|
|
5516
|
+
"name": "json",
|
|
5517
|
+
"allowNo": false,
|
|
5518
|
+
"type": "boolean"
|
|
5519
|
+
},
|
|
5520
|
+
"confirm": {
|
|
5521
|
+
"description": "Required: confirm the deletion",
|
|
5522
|
+
"name": "confirm",
|
|
5523
|
+
"allowNo": false,
|
|
5524
|
+
"type": "boolean"
|
|
5525
|
+
}
|
|
5526
|
+
},
|
|
5527
|
+
"hasDynamicHelp": false,
|
|
5528
|
+
"hiddenAliases": [],
|
|
5529
|
+
"id": "alerts:channels:delete",
|
|
5530
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5531
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5532
|
+
"pluginType": "core",
|
|
5533
|
+
"strict": true,
|
|
5534
|
+
"enableJsonFlag": true,
|
|
5535
|
+
"isESM": false,
|
|
5536
|
+
"relativePath": [
|
|
5537
|
+
"dist",
|
|
5538
|
+
"commands",
|
|
5539
|
+
"alerts",
|
|
5540
|
+
"channels",
|
|
5541
|
+
"delete.js"
|
|
5542
|
+
]
|
|
5543
|
+
},
|
|
5544
|
+
"alerts:channels:list": {
|
|
5545
|
+
"aliases": [],
|
|
5546
|
+
"args": {},
|
|
5547
|
+
"description": "List the external alert channels (webhook / Telegram)",
|
|
5548
|
+
"examples": [
|
|
5549
|
+
"<%= config.bin %> alerts channels list"
|
|
5550
|
+
],
|
|
5551
|
+
"flags": {
|
|
5552
|
+
"json": {
|
|
5553
|
+
"description": "Format output as json.",
|
|
5554
|
+
"helpGroup": "GLOBAL",
|
|
5555
|
+
"name": "json",
|
|
5556
|
+
"allowNo": false,
|
|
5557
|
+
"type": "boolean"
|
|
5558
|
+
},
|
|
5559
|
+
"page": {
|
|
5560
|
+
"description": "Page number",
|
|
5561
|
+
"name": "page",
|
|
5562
|
+
"default": 1,
|
|
5563
|
+
"hasDynamicHelp": false,
|
|
5564
|
+
"multiple": false,
|
|
5565
|
+
"type": "option"
|
|
5566
|
+
}
|
|
5567
|
+
},
|
|
5568
|
+
"hasDynamicHelp": false,
|
|
5569
|
+
"hiddenAliases": [],
|
|
5570
|
+
"id": "alerts:channels:list",
|
|
5571
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5572
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5573
|
+
"pluginType": "core",
|
|
5574
|
+
"strict": true,
|
|
5575
|
+
"enableJsonFlag": true,
|
|
5576
|
+
"isESM": false,
|
|
5577
|
+
"relativePath": [
|
|
5578
|
+
"dist",
|
|
5579
|
+
"commands",
|
|
5580
|
+
"alerts",
|
|
5581
|
+
"channels",
|
|
5582
|
+
"list.js"
|
|
5583
|
+
]
|
|
5584
|
+
},
|
|
5585
|
+
"servers:tokens:create": {
|
|
5586
|
+
"aliases": [],
|
|
5587
|
+
"args": {
|
|
5588
|
+
"name": {
|
|
5589
|
+
"description": "Token name (e.g. fleet)",
|
|
5590
|
+
"name": "name",
|
|
5591
|
+
"required": true
|
|
5592
|
+
}
|
|
5593
|
+
},
|
|
5594
|
+
"description": "Create a fleet enrollment token (the secret is shown only once)",
|
|
5595
|
+
"examples": [
|
|
5596
|
+
"<%= config.bin %> servers tokens create fleet"
|
|
5597
|
+
],
|
|
5598
|
+
"flags": {
|
|
5599
|
+
"json": {
|
|
5600
|
+
"description": "Format output as json.",
|
|
5601
|
+
"helpGroup": "GLOBAL",
|
|
5602
|
+
"name": "json",
|
|
5603
|
+
"allowNo": false,
|
|
5604
|
+
"type": "boolean"
|
|
5605
|
+
}
|
|
5606
|
+
},
|
|
5607
|
+
"hasDynamicHelp": false,
|
|
5608
|
+
"hiddenAliases": [],
|
|
5609
|
+
"id": "servers:tokens:create",
|
|
5610
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5611
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5612
|
+
"pluginType": "core",
|
|
5613
|
+
"strict": true,
|
|
5614
|
+
"enableJsonFlag": true,
|
|
5615
|
+
"isESM": false,
|
|
5616
|
+
"relativePath": [
|
|
5617
|
+
"dist",
|
|
5618
|
+
"commands",
|
|
5619
|
+
"servers",
|
|
5620
|
+
"tokens",
|
|
5621
|
+
"create.js"
|
|
5622
|
+
]
|
|
5623
|
+
},
|
|
5624
|
+
"servers:tokens:list": {
|
|
5625
|
+
"aliases": [],
|
|
5626
|
+
"args": {},
|
|
5627
|
+
"description": "List the fleet enrollment tokens (agents authenticate with these)",
|
|
5628
|
+
"examples": [
|
|
5629
|
+
"<%= config.bin %> servers tokens list"
|
|
5630
|
+
],
|
|
5631
|
+
"flags": {
|
|
5632
|
+
"json": {
|
|
5633
|
+
"description": "Format output as json.",
|
|
5634
|
+
"helpGroup": "GLOBAL",
|
|
5635
|
+
"name": "json",
|
|
5636
|
+
"allowNo": false,
|
|
5637
|
+
"type": "boolean"
|
|
5638
|
+
},
|
|
5639
|
+
"page": {
|
|
5640
|
+
"description": "Page number",
|
|
5641
|
+
"name": "page",
|
|
5642
|
+
"default": 1,
|
|
5643
|
+
"hasDynamicHelp": false,
|
|
5644
|
+
"multiple": false,
|
|
5645
|
+
"type": "option"
|
|
5646
|
+
}
|
|
5647
|
+
},
|
|
5648
|
+
"hasDynamicHelp": false,
|
|
5649
|
+
"hiddenAliases": [],
|
|
5650
|
+
"id": "servers:tokens:list",
|
|
5651
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5652
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5653
|
+
"pluginType": "core",
|
|
5654
|
+
"strict": true,
|
|
5655
|
+
"enableJsonFlag": true,
|
|
5656
|
+
"isESM": false,
|
|
5657
|
+
"relativePath": [
|
|
5658
|
+
"dist",
|
|
5659
|
+
"commands",
|
|
5660
|
+
"servers",
|
|
5661
|
+
"tokens",
|
|
5662
|
+
"list.js"
|
|
5663
|
+
]
|
|
5664
|
+
},
|
|
5665
|
+
"servers:tokens:revoke": {
|
|
5666
|
+
"aliases": [],
|
|
5667
|
+
"args": {
|
|
5668
|
+
"id": {
|
|
5669
|
+
"description": "Enrollment token id",
|
|
5670
|
+
"name": "id",
|
|
5671
|
+
"required": true
|
|
5672
|
+
}
|
|
5673
|
+
},
|
|
5674
|
+
"description": "Revoke a fleet enrollment token (agents using it stop pushing)",
|
|
5675
|
+
"examples": [
|
|
5676
|
+
"<%= config.bin %> servers tokens revoke <token-id> --confirm"
|
|
5677
|
+
],
|
|
5678
|
+
"flags": {
|
|
5679
|
+
"json": {
|
|
5680
|
+
"description": "Format output as json.",
|
|
5681
|
+
"helpGroup": "GLOBAL",
|
|
5682
|
+
"name": "json",
|
|
5683
|
+
"allowNo": false,
|
|
5684
|
+
"type": "boolean"
|
|
5685
|
+
},
|
|
5686
|
+
"confirm": {
|
|
5687
|
+
"description": "Required: confirm the revocation",
|
|
5688
|
+
"name": "confirm",
|
|
5689
|
+
"allowNo": false,
|
|
5690
|
+
"type": "boolean"
|
|
5691
|
+
}
|
|
5692
|
+
},
|
|
5693
|
+
"hasDynamicHelp": false,
|
|
5694
|
+
"hiddenAliases": [],
|
|
5695
|
+
"id": "servers:tokens:revoke",
|
|
5696
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
5697
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
5698
|
+
"pluginType": "core",
|
|
5699
|
+
"strict": true,
|
|
5700
|
+
"enableJsonFlag": true,
|
|
5701
|
+
"isESM": false,
|
|
5702
|
+
"relativePath": [
|
|
5703
|
+
"dist",
|
|
5704
|
+
"commands",
|
|
5705
|
+
"servers",
|
|
5706
|
+
"tokens",
|
|
5707
|
+
"revoke.js"
|
|
5708
|
+
]
|
|
5030
5709
|
}
|
|
5031
5710
|
},
|
|
5032
|
-
"version": "0.0.
|
|
5711
|
+
"version": "0.0.10"
|
|
5033
5712
|
}
|