@bussolabs/closeyourit-cli 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oclif.manifest.json +477 -477
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -653,13 +653,20 @@
|
|
|
653
653
|
"list.js"
|
|
654
654
|
]
|
|
655
655
|
},
|
|
656
|
-
"
|
|
656
|
+
"projects:create": {
|
|
657
657
|
"aliases": [],
|
|
658
|
-
"args": {
|
|
659
|
-
|
|
658
|
+
"args": {
|
|
659
|
+
"name": {
|
|
660
|
+
"description": "Project name",
|
|
661
|
+
"name": "name",
|
|
662
|
+
"required": true
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"description": "Create a project (optionally inside a group)",
|
|
660
666
|
"examples": [
|
|
661
|
-
"<%= config.bin %>
|
|
662
|
-
"<%= config.bin %>
|
|
667
|
+
"<%= config.bin %> projects create driverone-rails --key DRRA",
|
|
668
|
+
"<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
|
|
669
|
+
"<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
|
|
663
670
|
],
|
|
664
671
|
"flags": {
|
|
665
672
|
"json": {
|
|
@@ -669,26 +676,32 @@
|
|
|
669
676
|
"allowNo": false,
|
|
670
677
|
"type": "boolean"
|
|
671
678
|
},
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
"
|
|
675
|
-
"name": "project",
|
|
676
|
-
"required": true,
|
|
679
|
+
"color": {
|
|
680
|
+
"description": "Color label",
|
|
681
|
+
"name": "color",
|
|
677
682
|
"hasDynamicHelp": false,
|
|
678
683
|
"multiple": false,
|
|
679
684
|
"type": "option"
|
|
680
685
|
},
|
|
681
|
-
"
|
|
682
|
-
"description": "
|
|
683
|
-
"name": "
|
|
684
|
-
"default": 1,
|
|
686
|
+
"description": {
|
|
687
|
+
"description": "Free-form description",
|
|
688
|
+
"name": "description",
|
|
685
689
|
"hasDynamicHelp": false,
|
|
686
690
|
"multiple": false,
|
|
687
691
|
"type": "option"
|
|
688
692
|
},
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"
|
|
693
|
+
"group": {
|
|
694
|
+
"char": "g",
|
|
695
|
+
"description": "Group id (UUID) or name to place the project in",
|
|
696
|
+
"name": "group",
|
|
697
|
+
"hasDynamicHelp": false,
|
|
698
|
+
"multiple": false,
|
|
699
|
+
"type": "option"
|
|
700
|
+
},
|
|
701
|
+
"key": {
|
|
702
|
+
"char": "k",
|
|
703
|
+
"description": "Project key (uppercase A-Z0-9, unique per org; derived from the name if omitted)",
|
|
704
|
+
"name": "key",
|
|
692
705
|
"hasDynamicHelp": false,
|
|
693
706
|
"multiple": false,
|
|
694
707
|
"type": "option"
|
|
@@ -696,7 +709,7 @@
|
|
|
696
709
|
},
|
|
697
710
|
"hasDynamicHelp": false,
|
|
698
711
|
"hiddenAliases": [],
|
|
699
|
-
"id": "
|
|
712
|
+
"id": "projects:create",
|
|
700
713
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
701
714
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
702
715
|
"pluginType": "core",
|
|
@@ -706,22 +719,58 @@
|
|
|
706
719
|
"relativePath": [
|
|
707
720
|
"dist",
|
|
708
721
|
"commands",
|
|
709
|
-
"
|
|
710
|
-
"
|
|
722
|
+
"projects",
|
|
723
|
+
"create.js"
|
|
711
724
|
]
|
|
712
725
|
},
|
|
713
|
-
"
|
|
726
|
+
"projects:list": {
|
|
714
727
|
"aliases": [],
|
|
715
|
-
"args": {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
728
|
+
"args": {},
|
|
729
|
+
"description": "List the projects visible to you",
|
|
730
|
+
"examples": [
|
|
731
|
+
"<%= config.bin %> projects list",
|
|
732
|
+
"<%= config.bin %> projects list --page 2 --json"
|
|
733
|
+
],
|
|
734
|
+
"flags": {
|
|
735
|
+
"json": {
|
|
736
|
+
"description": "Format output as json.",
|
|
737
|
+
"helpGroup": "GLOBAL",
|
|
738
|
+
"name": "json",
|
|
739
|
+
"allowNo": false,
|
|
740
|
+
"type": "boolean"
|
|
741
|
+
},
|
|
742
|
+
"page": {
|
|
743
|
+
"description": "Page number",
|
|
744
|
+
"name": "page",
|
|
745
|
+
"default": 1,
|
|
746
|
+
"hasDynamicHelp": false,
|
|
747
|
+
"multiple": false,
|
|
748
|
+
"type": "option"
|
|
720
749
|
}
|
|
721
750
|
},
|
|
722
|
-
"
|
|
751
|
+
"hasDynamicHelp": false,
|
|
752
|
+
"hiddenAliases": [],
|
|
753
|
+
"id": "projects:list",
|
|
754
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
755
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
756
|
+
"pluginType": "core",
|
|
757
|
+
"strict": true,
|
|
758
|
+
"enableJsonFlag": true,
|
|
759
|
+
"isESM": false,
|
|
760
|
+
"relativePath": [
|
|
761
|
+
"dist",
|
|
762
|
+
"commands",
|
|
763
|
+
"projects",
|
|
764
|
+
"list.js"
|
|
765
|
+
]
|
|
766
|
+
},
|
|
767
|
+
"projects:set-environments": {
|
|
768
|
+
"aliases": [],
|
|
769
|
+
"args": {},
|
|
770
|
+
"description": "Declare the environments a project receives data from (replaces the current set)",
|
|
723
771
|
"examples": [
|
|
724
|
-
"<%= config.bin %>
|
|
772
|
+
"<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
|
|
773
|
+
"<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
|
|
725
774
|
],
|
|
726
775
|
"flags": {
|
|
727
776
|
"json": {
|
|
@@ -739,11 +788,27 @@
|
|
|
739
788
|
"hasDynamicHelp": false,
|
|
740
789
|
"multiple": false,
|
|
741
790
|
"type": "option"
|
|
791
|
+
},
|
|
792
|
+
"code": {
|
|
793
|
+
"description": "Environment code, e.g. production (repeatable)",
|
|
794
|
+
"name": "code",
|
|
795
|
+
"default": [],
|
|
796
|
+
"hasDynamicHelp": false,
|
|
797
|
+
"multiple": true,
|
|
798
|
+
"type": "option"
|
|
799
|
+
},
|
|
800
|
+
"environment-id": {
|
|
801
|
+
"description": "Environment id / UUID (repeatable)",
|
|
802
|
+
"name": "environment-id",
|
|
803
|
+
"default": [],
|
|
804
|
+
"hasDynamicHelp": false,
|
|
805
|
+
"multiple": true,
|
|
806
|
+
"type": "option"
|
|
742
807
|
}
|
|
743
808
|
},
|
|
744
809
|
"hasDynamicHelp": false,
|
|
745
810
|
"hiddenAliases": [],
|
|
746
|
-
"id": "
|
|
811
|
+
"id": "projects:set-environments",
|
|
747
812
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
748
813
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
749
814
|
"pluginType": "core",
|
|
@@ -753,7 +818,46 @@
|
|
|
753
818
|
"relativePath": [
|
|
754
819
|
"dist",
|
|
755
820
|
"commands",
|
|
756
|
-
"
|
|
821
|
+
"projects",
|
|
822
|
+
"set-environments.js"
|
|
823
|
+
]
|
|
824
|
+
},
|
|
825
|
+
"projects:show": {
|
|
826
|
+
"aliases": [],
|
|
827
|
+
"args": {
|
|
828
|
+
"id": {
|
|
829
|
+
"description": "Project id (UUID) or key",
|
|
830
|
+
"name": "id",
|
|
831
|
+
"required": true
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"description": "Show a single project by id or key",
|
|
835
|
+
"examples": [
|
|
836
|
+
"<%= config.bin %> projects show acme-api",
|
|
837
|
+
"<%= config.bin %> projects show <uuid> --json"
|
|
838
|
+
],
|
|
839
|
+
"flags": {
|
|
840
|
+
"json": {
|
|
841
|
+
"description": "Format output as json.",
|
|
842
|
+
"helpGroup": "GLOBAL",
|
|
843
|
+
"name": "json",
|
|
844
|
+
"allowNo": false,
|
|
845
|
+
"type": "boolean"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"hasDynamicHelp": false,
|
|
849
|
+
"hiddenAliases": [],
|
|
850
|
+
"id": "projects:show",
|
|
851
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
852
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
853
|
+
"pluginType": "core",
|
|
854
|
+
"strict": true,
|
|
855
|
+
"enableJsonFlag": true,
|
|
856
|
+
"isESM": false,
|
|
857
|
+
"relativePath": [
|
|
858
|
+
"dist",
|
|
859
|
+
"commands",
|
|
860
|
+
"projects",
|
|
757
861
|
"show.js"
|
|
758
862
|
]
|
|
759
863
|
},
|
|
@@ -986,13 +1090,13 @@
|
|
|
986
1090
|
"update.js"
|
|
987
1091
|
]
|
|
988
1092
|
},
|
|
989
|
-
"
|
|
1093
|
+
"metrics:list": {
|
|
990
1094
|
"aliases": [],
|
|
991
1095
|
"args": {},
|
|
992
|
-
"description": "
|
|
1096
|
+
"description": "List performance metric groups (slow queries/methods) for a project",
|
|
993
1097
|
"examples": [
|
|
994
|
-
"<%= config.bin %>
|
|
995
|
-
"<%= config.bin %>
|
|
1098
|
+
"<%= config.bin %> metrics list --project acme-api",
|
|
1099
|
+
"<%= config.bin %> metrics list -p acme-api --kind sql --json"
|
|
996
1100
|
],
|
|
997
1101
|
"flags": {
|
|
998
1102
|
"json": {
|
|
@@ -1011,67 +1115,17 @@
|
|
|
1011
1115
|
"multiple": false,
|
|
1012
1116
|
"type": "option"
|
|
1013
1117
|
},
|
|
1014
|
-
"
|
|
1015
|
-
"description": "
|
|
1016
|
-
"name": "
|
|
1017
|
-
"
|
|
1118
|
+
"page": {
|
|
1119
|
+
"description": "Page number",
|
|
1120
|
+
"name": "page",
|
|
1121
|
+
"default": 1,
|
|
1018
1122
|
"hasDynamicHelp": false,
|
|
1019
1123
|
"multiple": false,
|
|
1020
1124
|
"type": "option"
|
|
1021
1125
|
},
|
|
1022
1126
|
"kind": {
|
|
1023
|
-
"description": "
|
|
1127
|
+
"description": "Filter by metric kind (e.g. sql, method)",
|
|
1024
1128
|
"name": "kind",
|
|
1025
|
-
"default": "bug",
|
|
1026
|
-
"hasDynamicHelp": false,
|
|
1027
|
-
"multiple": false,
|
|
1028
|
-
"type": "option"
|
|
1029
|
-
},
|
|
1030
|
-
"description": {
|
|
1031
|
-
"description": "Free-form description",
|
|
1032
|
-
"name": "description",
|
|
1033
|
-
"hasDynamicHelp": false,
|
|
1034
|
-
"multiple": false,
|
|
1035
|
-
"type": "option"
|
|
1036
|
-
},
|
|
1037
|
-
"step-given": {
|
|
1038
|
-
"description": "Given (precondition)",
|
|
1039
|
-
"name": "step-given",
|
|
1040
|
-
"hasDynamicHelp": false,
|
|
1041
|
-
"multiple": false,
|
|
1042
|
-
"type": "option"
|
|
1043
|
-
},
|
|
1044
|
-
"step-when": {
|
|
1045
|
-
"description": "When (action)",
|
|
1046
|
-
"name": "step-when",
|
|
1047
|
-
"hasDynamicHelp": false,
|
|
1048
|
-
"multiple": false,
|
|
1049
|
-
"type": "option"
|
|
1050
|
-
},
|
|
1051
|
-
"step-then": {
|
|
1052
|
-
"description": "Then (outcome)",
|
|
1053
|
-
"name": "step-then",
|
|
1054
|
-
"hasDynamicHelp": false,
|
|
1055
|
-
"multiple": false,
|
|
1056
|
-
"type": "option"
|
|
1057
|
-
},
|
|
1058
|
-
"step-expected": {
|
|
1059
|
-
"description": "Expected result",
|
|
1060
|
-
"name": "step-expected",
|
|
1061
|
-
"hasDynamicHelp": false,
|
|
1062
|
-
"multiple": false,
|
|
1063
|
-
"type": "option"
|
|
1064
|
-
},
|
|
1065
|
-
"status-id": {
|
|
1066
|
-
"description": "Status lookup id",
|
|
1067
|
-
"name": "status-id",
|
|
1068
|
-
"hasDynamicHelp": false,
|
|
1069
|
-
"multiple": false,
|
|
1070
|
-
"type": "option"
|
|
1071
|
-
},
|
|
1072
|
-
"priority-id": {
|
|
1073
|
-
"description": "Priority lookup id",
|
|
1074
|
-
"name": "priority-id",
|
|
1075
1129
|
"hasDynamicHelp": false,
|
|
1076
1130
|
"multiple": false,
|
|
1077
1131
|
"type": "option"
|
|
@@ -1079,7 +1133,7 @@
|
|
|
1079
1133
|
},
|
|
1080
1134
|
"hasDynamicHelp": false,
|
|
1081
1135
|
"hiddenAliases": [],
|
|
1082
|
-
"id": "
|
|
1136
|
+
"id": "metrics:list",
|
|
1083
1137
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1084
1138
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1085
1139
|
"pluginType": "core",
|
|
@@ -1089,17 +1143,22 @@
|
|
|
1089
1143
|
"relativePath": [
|
|
1090
1144
|
"dist",
|
|
1091
1145
|
"commands",
|
|
1092
|
-
"
|
|
1093
|
-
"
|
|
1146
|
+
"metrics",
|
|
1147
|
+
"list.js"
|
|
1094
1148
|
]
|
|
1095
1149
|
},
|
|
1096
|
-
"
|
|
1150
|
+
"metrics:show": {
|
|
1097
1151
|
"aliases": [],
|
|
1098
|
-
"args": {
|
|
1099
|
-
|
|
1152
|
+
"args": {
|
|
1153
|
+
"id": {
|
|
1154
|
+
"description": "Metric group id",
|
|
1155
|
+
"name": "id",
|
|
1156
|
+
"required": true
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"description": "Show a single metric group",
|
|
1100
1160
|
"examples": [
|
|
1101
|
-
"<%= config.bin %>
|
|
1102
|
-
"<%= config.bin %> tickets list -p acme-api --json"
|
|
1161
|
+
"<%= config.bin %> metrics show <group-id> --project acme-api"
|
|
1103
1162
|
],
|
|
1104
1163
|
"flags": {
|
|
1105
1164
|
"json": {
|
|
@@ -1117,19 +1176,11 @@
|
|
|
1117
1176
|
"hasDynamicHelp": false,
|
|
1118
1177
|
"multiple": false,
|
|
1119
1178
|
"type": "option"
|
|
1120
|
-
},
|
|
1121
|
-
"page": {
|
|
1122
|
-
"description": "Page number",
|
|
1123
|
-
"name": "page",
|
|
1124
|
-
"default": 1,
|
|
1125
|
-
"hasDynamicHelp": false,
|
|
1126
|
-
"multiple": false,
|
|
1127
|
-
"type": "option"
|
|
1128
1179
|
}
|
|
1129
1180
|
},
|
|
1130
1181
|
"hasDynamicHelp": false,
|
|
1131
1182
|
"hiddenAliases": [],
|
|
1132
|
-
"id": "
|
|
1183
|
+
"id": "metrics:show",
|
|
1133
1184
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1134
1185
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1135
1186
|
"pluginType": "core",
|
|
@@ -1139,22 +1190,27 @@
|
|
|
1139
1190
|
"relativePath": [
|
|
1140
1191
|
"dist",
|
|
1141
1192
|
"commands",
|
|
1142
|
-
"
|
|
1143
|
-
"
|
|
1193
|
+
"metrics",
|
|
1194
|
+
"show.js"
|
|
1144
1195
|
]
|
|
1145
1196
|
},
|
|
1146
|
-
"
|
|
1197
|
+
"teams:add-member": {
|
|
1147
1198
|
"aliases": [],
|
|
1148
1199
|
"args": {
|
|
1149
|
-
"
|
|
1150
|
-
"description": "
|
|
1151
|
-
"name": "
|
|
1200
|
+
"team": {
|
|
1201
|
+
"description": "Team id (UUID) or name",
|
|
1202
|
+
"name": "team",
|
|
1203
|
+
"required": true
|
|
1204
|
+
},
|
|
1205
|
+
"member": {
|
|
1206
|
+
"description": "Member account id or email (must be an org member)",
|
|
1207
|
+
"name": "member",
|
|
1152
1208
|
"required": true
|
|
1153
1209
|
}
|
|
1154
1210
|
},
|
|
1155
|
-
"description": "
|
|
1211
|
+
"description": "Add a person to a team, keeping the existing members",
|
|
1156
1212
|
"examples": [
|
|
1157
|
-
"<%= config.bin %>
|
|
1213
|
+
"<%= config.bin %> teams add-member DriverOne client@acme.com"
|
|
1158
1214
|
],
|
|
1159
1215
|
"flags": {
|
|
1160
1216
|
"json": {
|
|
@@ -1163,20 +1219,11 @@
|
|
|
1163
1219
|
"name": "json",
|
|
1164
1220
|
"allowNo": false,
|
|
1165
1221
|
"type": "boolean"
|
|
1166
|
-
},
|
|
1167
|
-
"project": {
|
|
1168
|
-
"char": "p",
|
|
1169
|
-
"description": "Project id (UUID) or key",
|
|
1170
|
-
"name": "project",
|
|
1171
|
-
"required": true,
|
|
1172
|
-
"hasDynamicHelp": false,
|
|
1173
|
-
"multiple": false,
|
|
1174
|
-
"type": "option"
|
|
1175
1222
|
}
|
|
1176
1223
|
},
|
|
1177
1224
|
"hasDynamicHelp": false,
|
|
1178
1225
|
"hiddenAliases": [],
|
|
1179
|
-
"id": "
|
|
1226
|
+
"id": "teams:add-member",
|
|
1180
1227
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1181
1228
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1182
1229
|
"pluginType": "core",
|
|
@@ -1186,24 +1233,23 @@
|
|
|
1186
1233
|
"relativePath": [
|
|
1187
1234
|
"dist",
|
|
1188
1235
|
"commands",
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1236
|
+
"teams",
|
|
1237
|
+
"add-member.js"
|
|
1191
1238
|
]
|
|
1192
1239
|
},
|
|
1193
|
-
"
|
|
1240
|
+
"teams:create": {
|
|
1194
1241
|
"aliases": [],
|
|
1195
1242
|
"args": {
|
|
1196
1243
|
"name": {
|
|
1197
|
-
"description": "
|
|
1244
|
+
"description": "Team name",
|
|
1198
1245
|
"name": "name",
|
|
1199
1246
|
"required": true
|
|
1200
1247
|
}
|
|
1201
1248
|
},
|
|
1202
|
-
"description": "Create a
|
|
1249
|
+
"description": "Create a team and (optionally) set its roles, group/project scope and members",
|
|
1203
1250
|
"examples": [
|
|
1204
|
-
"<%= config.bin %>
|
|
1205
|
-
"<%= config.bin %>
|
|
1206
|
-
"<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
|
|
1251
|
+
"<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
|
|
1252
|
+
"<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
|
|
1207
1253
|
],
|
|
1208
1254
|
"flags": {
|
|
1209
1255
|
"json": {
|
|
@@ -1220,33 +1266,38 @@
|
|
|
1220
1266
|
"multiple": false,
|
|
1221
1267
|
"type": "option"
|
|
1222
1268
|
},
|
|
1223
|
-
"
|
|
1224
|
-
"description": "
|
|
1225
|
-
"name": "
|
|
1269
|
+
"group": {
|
|
1270
|
+
"description": "Group id or name to scope the team to (repeatable)",
|
|
1271
|
+
"name": "group",
|
|
1226
1272
|
"hasDynamicHelp": false,
|
|
1227
|
-
"multiple":
|
|
1273
|
+
"multiple": true,
|
|
1228
1274
|
"type": "option"
|
|
1229
1275
|
},
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1233
|
-
"name": "group",
|
|
1276
|
+
"member": {
|
|
1277
|
+
"description": "Member account id or email (repeatable; must be an org member)",
|
|
1278
|
+
"name": "member",
|
|
1234
1279
|
"hasDynamicHelp": false,
|
|
1235
|
-
"multiple":
|
|
1280
|
+
"multiple": true,
|
|
1236
1281
|
"type": "option"
|
|
1237
1282
|
},
|
|
1238
|
-
"
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
"name": "key",
|
|
1283
|
+
"project": {
|
|
1284
|
+
"description": "Project id or key to scope the team to (repeatable)",
|
|
1285
|
+
"name": "project",
|
|
1242
1286
|
"hasDynamicHelp": false,
|
|
1243
|
-
"multiple":
|
|
1287
|
+
"multiple": true,
|
|
1288
|
+
"type": "option"
|
|
1289
|
+
},
|
|
1290
|
+
"role": {
|
|
1291
|
+
"description": "Role id or name to grant to the team (repeatable)",
|
|
1292
|
+
"name": "role",
|
|
1293
|
+
"hasDynamicHelp": false,
|
|
1294
|
+
"multiple": true,
|
|
1244
1295
|
"type": "option"
|
|
1245
1296
|
}
|
|
1246
1297
|
},
|
|
1247
1298
|
"hasDynamicHelp": false,
|
|
1248
1299
|
"hiddenAliases": [],
|
|
1249
|
-
"id": "
|
|
1300
|
+
"id": "teams:create",
|
|
1250
1301
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1251
1302
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1252
1303
|
"pluginType": "core",
|
|
@@ -1256,17 +1307,22 @@
|
|
|
1256
1307
|
"relativePath": [
|
|
1257
1308
|
"dist",
|
|
1258
1309
|
"commands",
|
|
1259
|
-
"
|
|
1310
|
+
"teams",
|
|
1260
1311
|
"create.js"
|
|
1261
1312
|
]
|
|
1262
1313
|
},
|
|
1263
|
-
"
|
|
1314
|
+
"teams:delete": {
|
|
1264
1315
|
"aliases": [],
|
|
1265
|
-
"args": {
|
|
1266
|
-
|
|
1316
|
+
"args": {
|
|
1317
|
+
"team": {
|
|
1318
|
+
"description": "Team id (UUID) or name",
|
|
1319
|
+
"name": "team",
|
|
1320
|
+
"required": true
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"description": "Delete a team (its members lose the access this team granted)",
|
|
1267
1324
|
"examples": [
|
|
1268
|
-
"<%= config.bin %>
|
|
1269
|
-
"<%= config.bin %> projects list --page 2 --json"
|
|
1325
|
+
"<%= config.bin %> teams delete DriverOne"
|
|
1270
1326
|
],
|
|
1271
1327
|
"flags": {
|
|
1272
1328
|
"json": {
|
|
@@ -1275,19 +1331,11 @@
|
|
|
1275
1331
|
"name": "json",
|
|
1276
1332
|
"allowNo": false,
|
|
1277
1333
|
"type": "boolean"
|
|
1278
|
-
},
|
|
1279
|
-
"page": {
|
|
1280
|
-
"description": "Page number",
|
|
1281
|
-
"name": "page",
|
|
1282
|
-
"default": 1,
|
|
1283
|
-
"hasDynamicHelp": false,
|
|
1284
|
-
"multiple": false,
|
|
1285
|
-
"type": "option"
|
|
1286
1334
|
}
|
|
1287
1335
|
},
|
|
1288
1336
|
"hasDynamicHelp": false,
|
|
1289
1337
|
"hiddenAliases": [],
|
|
1290
|
-
"id": "
|
|
1338
|
+
"id": "teams:delete",
|
|
1291
1339
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1292
1340
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1293
1341
|
"pluginType": "core",
|
|
@@ -1297,17 +1345,17 @@
|
|
|
1297
1345
|
"relativePath": [
|
|
1298
1346
|
"dist",
|
|
1299
1347
|
"commands",
|
|
1300
|
-
"
|
|
1301
|
-
"
|
|
1348
|
+
"teams",
|
|
1349
|
+
"delete.js"
|
|
1302
1350
|
]
|
|
1303
1351
|
},
|
|
1304
|
-
"
|
|
1352
|
+
"teams:list": {
|
|
1305
1353
|
"aliases": [],
|
|
1306
1354
|
"args": {},
|
|
1307
|
-
"description": "
|
|
1355
|
+
"description": "List the teams (people with scope) in your organization",
|
|
1308
1356
|
"examples": [
|
|
1309
|
-
"<%= config.bin %>
|
|
1310
|
-
"<%= config.bin %>
|
|
1357
|
+
"<%= config.bin %> teams list",
|
|
1358
|
+
"<%= config.bin %> teams list --json"
|
|
1311
1359
|
],
|
|
1312
1360
|
"flags": {
|
|
1313
1361
|
"json": {
|
|
@@ -1317,35 +1365,18 @@
|
|
|
1317
1365
|
"allowNo": false,
|
|
1318
1366
|
"type": "boolean"
|
|
1319
1367
|
},
|
|
1320
|
-
"
|
|
1321
|
-
"
|
|
1322
|
-
"
|
|
1323
|
-
"
|
|
1324
|
-
"required": true,
|
|
1368
|
+
"page": {
|
|
1369
|
+
"description": "Page number",
|
|
1370
|
+
"name": "page",
|
|
1371
|
+
"default": 1,
|
|
1325
1372
|
"hasDynamicHelp": false,
|
|
1326
1373
|
"multiple": false,
|
|
1327
1374
|
"type": "option"
|
|
1328
|
-
},
|
|
1329
|
-
"code": {
|
|
1330
|
-
"description": "Environment code, e.g. production (repeatable)",
|
|
1331
|
-
"name": "code",
|
|
1332
|
-
"default": [],
|
|
1333
|
-
"hasDynamicHelp": false,
|
|
1334
|
-
"multiple": true,
|
|
1335
|
-
"type": "option"
|
|
1336
|
-
},
|
|
1337
|
-
"environment-id": {
|
|
1338
|
-
"description": "Environment id / UUID (repeatable)",
|
|
1339
|
-
"name": "environment-id",
|
|
1340
|
-
"default": [],
|
|
1341
|
-
"hasDynamicHelp": false,
|
|
1342
|
-
"multiple": true,
|
|
1343
|
-
"type": "option"
|
|
1344
1375
|
}
|
|
1345
1376
|
},
|
|
1346
1377
|
"hasDynamicHelp": false,
|
|
1347
1378
|
"hiddenAliases": [],
|
|
1348
|
-
"id": "
|
|
1379
|
+
"id": "teams:list",
|
|
1349
1380
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1350
1381
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1351
1382
|
"pluginType": "core",
|
|
@@ -1355,23 +1386,27 @@
|
|
|
1355
1386
|
"relativePath": [
|
|
1356
1387
|
"dist",
|
|
1357
1388
|
"commands",
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1389
|
+
"teams",
|
|
1390
|
+
"list.js"
|
|
1360
1391
|
]
|
|
1361
1392
|
},
|
|
1362
|
-
"
|
|
1393
|
+
"teams:remove-member": {
|
|
1363
1394
|
"aliases": [],
|
|
1364
1395
|
"args": {
|
|
1365
|
-
"
|
|
1366
|
-
"description": "
|
|
1367
|
-
"name": "
|
|
1396
|
+
"team": {
|
|
1397
|
+
"description": "Team id (UUID) or name",
|
|
1398
|
+
"name": "team",
|
|
1399
|
+
"required": true
|
|
1400
|
+
},
|
|
1401
|
+
"member": {
|
|
1402
|
+
"description": "Member account id or email",
|
|
1403
|
+
"name": "member",
|
|
1368
1404
|
"required": true
|
|
1369
1405
|
}
|
|
1370
1406
|
},
|
|
1371
|
-
"description": "
|
|
1407
|
+
"description": "Remove a person from a team, keeping the other members",
|
|
1372
1408
|
"examples": [
|
|
1373
|
-
"<%= config.bin %>
|
|
1374
|
-
"<%= config.bin %> projects show <uuid> --json"
|
|
1409
|
+
"<%= config.bin %> teams remove-member DriverOne client@acme.com"
|
|
1375
1410
|
],
|
|
1376
1411
|
"flags": {
|
|
1377
1412
|
"json": {
|
|
@@ -1384,7 +1419,7 @@
|
|
|
1384
1419
|
},
|
|
1385
1420
|
"hasDynamicHelp": false,
|
|
1386
1421
|
"hiddenAliases": [],
|
|
1387
|
-
"id": "
|
|
1422
|
+
"id": "teams:remove-member",
|
|
1388
1423
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1389
1424
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1390
1425
|
"pluginType": "core",
|
|
@@ -1394,16 +1429,22 @@
|
|
|
1394
1429
|
"relativePath": [
|
|
1395
1430
|
"dist",
|
|
1396
1431
|
"commands",
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1432
|
+
"teams",
|
|
1433
|
+
"remove-member.js"
|
|
1399
1434
|
]
|
|
1400
1435
|
},
|
|
1401
|
-
"
|
|
1436
|
+
"teams:show": {
|
|
1402
1437
|
"aliases": [],
|
|
1403
|
-
"args": {
|
|
1404
|
-
|
|
1438
|
+
"args": {
|
|
1439
|
+
"team": {
|
|
1440
|
+
"description": "Team id (UUID) or name",
|
|
1441
|
+
"name": "team",
|
|
1442
|
+
"required": true
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
"description": "Show a team by id or name (roles, group/project scope, members)",
|
|
1405
1446
|
"examples": [
|
|
1406
|
-
"<%= config.bin %>
|
|
1447
|
+
"<%= config.bin %> teams show DriverOne"
|
|
1407
1448
|
],
|
|
1408
1449
|
"flags": {
|
|
1409
1450
|
"json": {
|
|
@@ -1412,36 +1453,11 @@
|
|
|
1412
1453
|
"name": "json",
|
|
1413
1454
|
"allowNo": false,
|
|
1414
1455
|
"type": "boolean"
|
|
1415
|
-
},
|
|
1416
|
-
"project": {
|
|
1417
|
-
"char": "p",
|
|
1418
|
-
"description": "Project id (UUID) or key",
|
|
1419
|
-
"name": "project",
|
|
1420
|
-
"required": true,
|
|
1421
|
-
"hasDynamicHelp": false,
|
|
1422
|
-
"multiple": false,
|
|
1423
|
-
"type": "option"
|
|
1424
|
-
},
|
|
1425
|
-
"name": {
|
|
1426
|
-
"description": "Human-readable token name",
|
|
1427
|
-
"name": "name",
|
|
1428
|
-
"required": true,
|
|
1429
|
-
"hasDynamicHelp": false,
|
|
1430
|
-
"multiple": false,
|
|
1431
|
-
"type": "option"
|
|
1432
|
-
},
|
|
1433
|
-
"environment-id": {
|
|
1434
|
-
"description": "Environment id the token is scoped to",
|
|
1435
|
-
"name": "environment-id",
|
|
1436
|
-
"required": true,
|
|
1437
|
-
"hasDynamicHelp": false,
|
|
1438
|
-
"multiple": false,
|
|
1439
|
-
"type": "option"
|
|
1440
1456
|
}
|
|
1441
1457
|
},
|
|
1442
1458
|
"hasDynamicHelp": false,
|
|
1443
1459
|
"hiddenAliases": [],
|
|
1444
|
-
"id": "
|
|
1460
|
+
"id": "teams:show",
|
|
1445
1461
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1446
1462
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1447
1463
|
"pluginType": "core",
|
|
@@ -1451,17 +1467,23 @@
|
|
|
1451
1467
|
"relativePath": [
|
|
1452
1468
|
"dist",
|
|
1453
1469
|
"commands",
|
|
1454
|
-
"
|
|
1455
|
-
"
|
|
1470
|
+
"teams",
|
|
1471
|
+
"show.js"
|
|
1456
1472
|
]
|
|
1457
1473
|
},
|
|
1458
|
-
"
|
|
1474
|
+
"teams:update": {
|
|
1459
1475
|
"aliases": [],
|
|
1460
|
-
"args": {
|
|
1461
|
-
|
|
1476
|
+
"args": {
|
|
1477
|
+
"team": {
|
|
1478
|
+
"description": "Team id (UUID) or name",
|
|
1479
|
+
"name": "team",
|
|
1480
|
+
"required": true
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
|
|
1462
1484
|
"examples": [
|
|
1463
|
-
"<%= config.bin %>
|
|
1464
|
-
"<%= config.bin %>
|
|
1485
|
+
"<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
|
|
1486
|
+
"<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
|
|
1465
1487
|
],
|
|
1466
1488
|
"flags": {
|
|
1467
1489
|
"json": {
|
|
@@ -1471,19 +1493,52 @@
|
|
|
1471
1493
|
"allowNo": false,
|
|
1472
1494
|
"type": "boolean"
|
|
1473
1495
|
},
|
|
1474
|
-
"
|
|
1475
|
-
"
|
|
1476
|
-
"
|
|
1477
|
-
"name": "project",
|
|
1478
|
-
"required": true,
|
|
1496
|
+
"color": {
|
|
1497
|
+
"description": "Color label",
|
|
1498
|
+
"name": "color",
|
|
1479
1499
|
"hasDynamicHelp": false,
|
|
1480
1500
|
"multiple": false,
|
|
1481
1501
|
"type": "option"
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1502
|
+
},
|
|
1503
|
+
"group": {
|
|
1504
|
+
"description": "Group id or name (repeatable; replaces the group scope)",
|
|
1505
|
+
"name": "group",
|
|
1506
|
+
"hasDynamicHelp": false,
|
|
1507
|
+
"multiple": true,
|
|
1508
|
+
"type": "option"
|
|
1509
|
+
},
|
|
1510
|
+
"member": {
|
|
1511
|
+
"description": "Member account id or email (repeatable; replaces the members)",
|
|
1512
|
+
"name": "member",
|
|
1513
|
+
"hasDynamicHelp": false,
|
|
1514
|
+
"multiple": true,
|
|
1515
|
+
"type": "option"
|
|
1516
|
+
},
|
|
1517
|
+
"name": {
|
|
1518
|
+
"description": "New name",
|
|
1519
|
+
"name": "name",
|
|
1520
|
+
"hasDynamicHelp": false,
|
|
1521
|
+
"multiple": false,
|
|
1522
|
+
"type": "option"
|
|
1523
|
+
},
|
|
1524
|
+
"project": {
|
|
1525
|
+
"description": "Project id or key (repeatable; replaces the project scope)",
|
|
1526
|
+
"name": "project",
|
|
1527
|
+
"hasDynamicHelp": false,
|
|
1528
|
+
"multiple": true,
|
|
1529
|
+
"type": "option"
|
|
1530
|
+
},
|
|
1531
|
+
"role": {
|
|
1532
|
+
"description": "Role id or name (repeatable; replaces the roles)",
|
|
1533
|
+
"name": "role",
|
|
1534
|
+
"hasDynamicHelp": false,
|
|
1535
|
+
"multiple": true,
|
|
1536
|
+
"type": "option"
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
"hasDynamicHelp": false,
|
|
1540
|
+
"hiddenAliases": [],
|
|
1541
|
+
"id": "teams:update",
|
|
1487
1542
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1488
1543
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1489
1544
|
"pluginType": "core",
|
|
@@ -1493,22 +1548,17 @@
|
|
|
1493
1548
|
"relativePath": [
|
|
1494
1549
|
"dist",
|
|
1495
1550
|
"commands",
|
|
1496
|
-
"
|
|
1497
|
-
"
|
|
1551
|
+
"teams",
|
|
1552
|
+
"update.js"
|
|
1498
1553
|
]
|
|
1499
1554
|
},
|
|
1500
|
-
"
|
|
1555
|
+
"tickets:create": {
|
|
1501
1556
|
"aliases": [],
|
|
1502
|
-
"args": {
|
|
1503
|
-
|
|
1504
|
-
"description": "Token id",
|
|
1505
|
-
"name": "id",
|
|
1506
|
-
"required": true
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
"description": "Revoke an ingest token",
|
|
1557
|
+
"args": {},
|
|
1558
|
+
"description": "Create a ticket",
|
|
1510
1559
|
"examples": [
|
|
1511
|
-
"<%= config.bin %>
|
|
1560
|
+
"<%= config.bin %> tickets create --project acme-api --title \"Checkout fails\"",
|
|
1561
|
+
"<%= config.bin %> tickets create -p acme-api --title \"Login bug\" --kind bug --step-given \"logged out\" --step-when \"I submit\" --step-then \"it 500s\""
|
|
1512
1562
|
],
|
|
1513
1563
|
"flags": {
|
|
1514
1564
|
"json": {
|
|
@@ -1526,11 +1576,76 @@
|
|
|
1526
1576
|
"hasDynamicHelp": false,
|
|
1527
1577
|
"multiple": false,
|
|
1528
1578
|
"type": "option"
|
|
1579
|
+
},
|
|
1580
|
+
"title": {
|
|
1581
|
+
"description": "Ticket title",
|
|
1582
|
+
"name": "title",
|
|
1583
|
+
"required": true,
|
|
1584
|
+
"hasDynamicHelp": false,
|
|
1585
|
+
"multiple": false,
|
|
1586
|
+
"type": "option"
|
|
1587
|
+
},
|
|
1588
|
+
"kind": {
|
|
1589
|
+
"description": "Ticket kind",
|
|
1590
|
+
"name": "kind",
|
|
1591
|
+
"default": "bug",
|
|
1592
|
+
"hasDynamicHelp": false,
|
|
1593
|
+
"multiple": false,
|
|
1594
|
+
"type": "option"
|
|
1595
|
+
},
|
|
1596
|
+
"description": {
|
|
1597
|
+
"description": "Free-form description",
|
|
1598
|
+
"name": "description",
|
|
1599
|
+
"hasDynamicHelp": false,
|
|
1600
|
+
"multiple": false,
|
|
1601
|
+
"type": "option"
|
|
1602
|
+
},
|
|
1603
|
+
"step-given": {
|
|
1604
|
+
"description": "Given (precondition)",
|
|
1605
|
+
"name": "step-given",
|
|
1606
|
+
"hasDynamicHelp": false,
|
|
1607
|
+
"multiple": false,
|
|
1608
|
+
"type": "option"
|
|
1609
|
+
},
|
|
1610
|
+
"step-when": {
|
|
1611
|
+
"description": "When (action)",
|
|
1612
|
+
"name": "step-when",
|
|
1613
|
+
"hasDynamicHelp": false,
|
|
1614
|
+
"multiple": false,
|
|
1615
|
+
"type": "option"
|
|
1616
|
+
},
|
|
1617
|
+
"step-then": {
|
|
1618
|
+
"description": "Then (outcome)",
|
|
1619
|
+
"name": "step-then",
|
|
1620
|
+
"hasDynamicHelp": false,
|
|
1621
|
+
"multiple": false,
|
|
1622
|
+
"type": "option"
|
|
1623
|
+
},
|
|
1624
|
+
"step-expected": {
|
|
1625
|
+
"description": "Expected result",
|
|
1626
|
+
"name": "step-expected",
|
|
1627
|
+
"hasDynamicHelp": false,
|
|
1628
|
+
"multiple": false,
|
|
1629
|
+
"type": "option"
|
|
1630
|
+
},
|
|
1631
|
+
"status-id": {
|
|
1632
|
+
"description": "Status lookup id",
|
|
1633
|
+
"name": "status-id",
|
|
1634
|
+
"hasDynamicHelp": false,
|
|
1635
|
+
"multiple": false,
|
|
1636
|
+
"type": "option"
|
|
1637
|
+
},
|
|
1638
|
+
"priority-id": {
|
|
1639
|
+
"description": "Priority lookup id",
|
|
1640
|
+
"name": "priority-id",
|
|
1641
|
+
"hasDynamicHelp": false,
|
|
1642
|
+
"multiple": false,
|
|
1643
|
+
"type": "option"
|
|
1529
1644
|
}
|
|
1530
1645
|
},
|
|
1531
1646
|
"hasDynamicHelp": false,
|
|
1532
1647
|
"hiddenAliases": [],
|
|
1533
|
-
"id": "
|
|
1648
|
+
"id": "tickets:create",
|
|
1534
1649
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1535
1650
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1536
1651
|
"pluginType": "core",
|
|
@@ -1540,22 +1655,17 @@
|
|
|
1540
1655
|
"relativePath": [
|
|
1541
1656
|
"dist",
|
|
1542
1657
|
"commands",
|
|
1543
|
-
"
|
|
1544
|
-
"
|
|
1658
|
+
"tickets",
|
|
1659
|
+
"create.js"
|
|
1545
1660
|
]
|
|
1546
1661
|
},
|
|
1547
|
-
"
|
|
1662
|
+
"tickets:list": {
|
|
1548
1663
|
"aliases": [],
|
|
1549
|
-
"args": {
|
|
1550
|
-
|
|
1551
|
-
"description": "Token id",
|
|
1552
|
-
"name": "id",
|
|
1553
|
-
"required": true
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
"description": "Rotate an ingest token (the new secret is shown only once)",
|
|
1664
|
+
"args": {},
|
|
1665
|
+
"description": "List tickets for a project",
|
|
1557
1666
|
"examples": [
|
|
1558
|
-
"<%= config.bin %>
|
|
1667
|
+
"<%= config.bin %> tickets list --project acme-api",
|
|
1668
|
+
"<%= config.bin %> tickets list -p acme-api --json"
|
|
1559
1669
|
],
|
|
1560
1670
|
"flags": {
|
|
1561
1671
|
"json": {
|
|
@@ -1573,11 +1683,19 @@
|
|
|
1573
1683
|
"hasDynamicHelp": false,
|
|
1574
1684
|
"multiple": false,
|
|
1575
1685
|
"type": "option"
|
|
1686
|
+
},
|
|
1687
|
+
"page": {
|
|
1688
|
+
"description": "Page number",
|
|
1689
|
+
"name": "page",
|
|
1690
|
+
"default": 1,
|
|
1691
|
+
"hasDynamicHelp": false,
|
|
1692
|
+
"multiple": false,
|
|
1693
|
+
"type": "option"
|
|
1576
1694
|
}
|
|
1577
1695
|
},
|
|
1578
1696
|
"hasDynamicHelp": false,
|
|
1579
1697
|
"hiddenAliases": [],
|
|
1580
|
-
"id": "
|
|
1698
|
+
"id": "tickets:list",
|
|
1581
1699
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1582
1700
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1583
1701
|
"pluginType": "core",
|
|
@@ -1587,27 +1705,22 @@
|
|
|
1587
1705
|
"relativePath": [
|
|
1588
1706
|
"dist",
|
|
1589
1707
|
"commands",
|
|
1590
|
-
"
|
|
1591
|
-
"
|
|
1708
|
+
"tickets",
|
|
1709
|
+
"list.js"
|
|
1592
1710
|
]
|
|
1593
1711
|
},
|
|
1594
|
-
"
|
|
1712
|
+
"tickets:show": {
|
|
1595
1713
|
"aliases": [],
|
|
1596
1714
|
"args": {
|
|
1597
|
-
"
|
|
1598
|
-
"description": "
|
|
1599
|
-
"name": "
|
|
1600
|
-
"required": true
|
|
1601
|
-
},
|
|
1602
|
-
"member": {
|
|
1603
|
-
"description": "Member account id or email (must be an org member)",
|
|
1604
|
-
"name": "member",
|
|
1715
|
+
"id": {
|
|
1716
|
+
"description": "Ticket id or code",
|
|
1717
|
+
"name": "id",
|
|
1605
1718
|
"required": true
|
|
1606
1719
|
}
|
|
1607
1720
|
},
|
|
1608
|
-
"description": "
|
|
1721
|
+
"description": "Show a single ticket",
|
|
1609
1722
|
"examples": [
|
|
1610
|
-
"<%= config.bin %>
|
|
1723
|
+
"<%= config.bin %> tickets show <ticket-id> --project acme-api"
|
|
1611
1724
|
],
|
|
1612
1725
|
"flags": {
|
|
1613
1726
|
"json": {
|
|
@@ -1616,11 +1729,20 @@
|
|
|
1616
1729
|
"name": "json",
|
|
1617
1730
|
"allowNo": false,
|
|
1618
1731
|
"type": "boolean"
|
|
1732
|
+
},
|
|
1733
|
+
"project": {
|
|
1734
|
+
"char": "p",
|
|
1735
|
+
"description": "Project id (UUID) or key",
|
|
1736
|
+
"name": "project",
|
|
1737
|
+
"required": true,
|
|
1738
|
+
"hasDynamicHelp": false,
|
|
1739
|
+
"multiple": false,
|
|
1740
|
+
"type": "option"
|
|
1619
1741
|
}
|
|
1620
1742
|
},
|
|
1621
1743
|
"hasDynamicHelp": false,
|
|
1622
1744
|
"hiddenAliases": [],
|
|
1623
|
-
"id": "
|
|
1745
|
+
"id": "tickets:show",
|
|
1624
1746
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1625
1747
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1626
1748
|
"pluginType": "core",
|
|
@@ -1630,23 +1752,16 @@
|
|
|
1630
1752
|
"relativePath": [
|
|
1631
1753
|
"dist",
|
|
1632
1754
|
"commands",
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1755
|
+
"tickets",
|
|
1756
|
+
"show.js"
|
|
1635
1757
|
]
|
|
1636
1758
|
},
|
|
1637
|
-
"
|
|
1759
|
+
"tokens:create": {
|
|
1638
1760
|
"aliases": [],
|
|
1639
|
-
"args": {
|
|
1640
|
-
|
|
1641
|
-
"description": "Team name",
|
|
1642
|
-
"name": "name",
|
|
1643
|
-
"required": true
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
"description": "Create a team and (optionally) set its roles, group/project scope and members",
|
|
1761
|
+
"args": {},
|
|
1762
|
+
"description": "Create an ingest token (the secret is shown only once)",
|
|
1647
1763
|
"examples": [
|
|
1648
|
-
"<%= config.bin %>
|
|
1649
|
-
"<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
|
|
1764
|
+
"<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
|
|
1650
1765
|
],
|
|
1651
1766
|
"flags": {
|
|
1652
1767
|
"json": {
|
|
@@ -1656,45 +1771,35 @@
|
|
|
1656
1771
|
"allowNo": false,
|
|
1657
1772
|
"type": "boolean"
|
|
1658
1773
|
},
|
|
1659
|
-
"
|
|
1660
|
-
"
|
|
1661
|
-
"
|
|
1774
|
+
"project": {
|
|
1775
|
+
"char": "p",
|
|
1776
|
+
"description": "Project id (UUID) or key",
|
|
1777
|
+
"name": "project",
|
|
1778
|
+
"required": true,
|
|
1662
1779
|
"hasDynamicHelp": false,
|
|
1663
1780
|
"multiple": false,
|
|
1664
1781
|
"type": "option"
|
|
1665
1782
|
},
|
|
1666
|
-
"
|
|
1667
|
-
"description": "
|
|
1668
|
-
"name": "
|
|
1669
|
-
"
|
|
1670
|
-
"multiple": true,
|
|
1671
|
-
"type": "option"
|
|
1672
|
-
},
|
|
1673
|
-
"member": {
|
|
1674
|
-
"description": "Member account id or email (repeatable; must be an org member)",
|
|
1675
|
-
"name": "member",
|
|
1676
|
-
"hasDynamicHelp": false,
|
|
1677
|
-
"multiple": true,
|
|
1678
|
-
"type": "option"
|
|
1679
|
-
},
|
|
1680
|
-
"project": {
|
|
1681
|
-
"description": "Project id or key to scope the team to (repeatable)",
|
|
1682
|
-
"name": "project",
|
|
1783
|
+
"name": {
|
|
1784
|
+
"description": "Human-readable token name",
|
|
1785
|
+
"name": "name",
|
|
1786
|
+
"required": true,
|
|
1683
1787
|
"hasDynamicHelp": false,
|
|
1684
|
-
"multiple":
|
|
1788
|
+
"multiple": false,
|
|
1685
1789
|
"type": "option"
|
|
1686
1790
|
},
|
|
1687
|
-
"
|
|
1688
|
-
"description": "
|
|
1689
|
-
"name": "
|
|
1791
|
+
"environment-id": {
|
|
1792
|
+
"description": "Environment id the token is scoped to",
|
|
1793
|
+
"name": "environment-id",
|
|
1794
|
+
"required": true,
|
|
1690
1795
|
"hasDynamicHelp": false,
|
|
1691
|
-
"multiple":
|
|
1796
|
+
"multiple": false,
|
|
1692
1797
|
"type": "option"
|
|
1693
1798
|
}
|
|
1694
1799
|
},
|
|
1695
1800
|
"hasDynamicHelp": false,
|
|
1696
1801
|
"hiddenAliases": [],
|
|
1697
|
-
"id": "
|
|
1802
|
+
"id": "tokens:create",
|
|
1698
1803
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1699
1804
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1700
1805
|
"pluginType": "core",
|
|
@@ -1704,55 +1809,17 @@
|
|
|
1704
1809
|
"relativePath": [
|
|
1705
1810
|
"dist",
|
|
1706
1811
|
"commands",
|
|
1707
|
-
"
|
|
1812
|
+
"tokens",
|
|
1708
1813
|
"create.js"
|
|
1709
1814
|
]
|
|
1710
1815
|
},
|
|
1711
|
-
"
|
|
1712
|
-
"aliases": [],
|
|
1713
|
-
"args": {
|
|
1714
|
-
"team": {
|
|
1715
|
-
"description": "Team id (UUID) or name",
|
|
1716
|
-
"name": "team",
|
|
1717
|
-
"required": true
|
|
1718
|
-
}
|
|
1719
|
-
},
|
|
1720
|
-
"description": "Delete a team (its members lose the access this team granted)",
|
|
1721
|
-
"examples": [
|
|
1722
|
-
"<%= config.bin %> teams delete DriverOne"
|
|
1723
|
-
],
|
|
1724
|
-
"flags": {
|
|
1725
|
-
"json": {
|
|
1726
|
-
"description": "Format output as json.",
|
|
1727
|
-
"helpGroup": "GLOBAL",
|
|
1728
|
-
"name": "json",
|
|
1729
|
-
"allowNo": false,
|
|
1730
|
-
"type": "boolean"
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
"hasDynamicHelp": false,
|
|
1734
|
-
"hiddenAliases": [],
|
|
1735
|
-
"id": "teams:delete",
|
|
1736
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1737
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1738
|
-
"pluginType": "core",
|
|
1739
|
-
"strict": true,
|
|
1740
|
-
"enableJsonFlag": true,
|
|
1741
|
-
"isESM": false,
|
|
1742
|
-
"relativePath": [
|
|
1743
|
-
"dist",
|
|
1744
|
-
"commands",
|
|
1745
|
-
"teams",
|
|
1746
|
-
"delete.js"
|
|
1747
|
-
]
|
|
1748
|
-
},
|
|
1749
|
-
"teams:list": {
|
|
1816
|
+
"tokens:list": {
|
|
1750
1817
|
"aliases": [],
|
|
1751
1818
|
"args": {},
|
|
1752
|
-
"description": "List
|
|
1819
|
+
"description": "List ingest tokens for a project",
|
|
1753
1820
|
"examples": [
|
|
1754
|
-
"<%= config.bin %>
|
|
1755
|
-
"<%= config.bin %>
|
|
1821
|
+
"<%= config.bin %> tokens list --project acme-api",
|
|
1822
|
+
"<%= config.bin %> tokens list -p acme-api --json"
|
|
1756
1823
|
],
|
|
1757
1824
|
"flags": {
|
|
1758
1825
|
"json": {
|
|
@@ -1762,10 +1829,11 @@
|
|
|
1762
1829
|
"allowNo": false,
|
|
1763
1830
|
"type": "boolean"
|
|
1764
1831
|
},
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1767
|
-
"
|
|
1768
|
-
"
|
|
1832
|
+
"project": {
|
|
1833
|
+
"char": "p",
|
|
1834
|
+
"description": "Project id (UUID) or key",
|
|
1835
|
+
"name": "project",
|
|
1836
|
+
"required": true,
|
|
1769
1837
|
"hasDynamicHelp": false,
|
|
1770
1838
|
"multiple": false,
|
|
1771
1839
|
"type": "option"
|
|
@@ -1773,7 +1841,7 @@
|
|
|
1773
1841
|
},
|
|
1774
1842
|
"hasDynamicHelp": false,
|
|
1775
1843
|
"hiddenAliases": [],
|
|
1776
|
-
"id": "
|
|
1844
|
+
"id": "tokens:list",
|
|
1777
1845
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1778
1846
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1779
1847
|
"pluginType": "core",
|
|
@@ -1783,65 +1851,22 @@
|
|
|
1783
1851
|
"relativePath": [
|
|
1784
1852
|
"dist",
|
|
1785
1853
|
"commands",
|
|
1786
|
-
"
|
|
1854
|
+
"tokens",
|
|
1787
1855
|
"list.js"
|
|
1788
1856
|
]
|
|
1789
1857
|
},
|
|
1790
|
-
"
|
|
1791
|
-
"aliases": [],
|
|
1792
|
-
"args": {
|
|
1793
|
-
"team": {
|
|
1794
|
-
"description": "Team id (UUID) or name",
|
|
1795
|
-
"name": "team",
|
|
1796
|
-
"required": true
|
|
1797
|
-
},
|
|
1798
|
-
"member": {
|
|
1799
|
-
"description": "Member account id or email",
|
|
1800
|
-
"name": "member",
|
|
1801
|
-
"required": true
|
|
1802
|
-
}
|
|
1803
|
-
},
|
|
1804
|
-
"description": "Remove a person from a team, keeping the other members",
|
|
1805
|
-
"examples": [
|
|
1806
|
-
"<%= config.bin %> teams remove-member DriverOne client@acme.com"
|
|
1807
|
-
],
|
|
1808
|
-
"flags": {
|
|
1809
|
-
"json": {
|
|
1810
|
-
"description": "Format output as json.",
|
|
1811
|
-
"helpGroup": "GLOBAL",
|
|
1812
|
-
"name": "json",
|
|
1813
|
-
"allowNo": false,
|
|
1814
|
-
"type": "boolean"
|
|
1815
|
-
}
|
|
1816
|
-
},
|
|
1817
|
-
"hasDynamicHelp": false,
|
|
1818
|
-
"hiddenAliases": [],
|
|
1819
|
-
"id": "teams:remove-member",
|
|
1820
|
-
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1821
|
-
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1822
|
-
"pluginType": "core",
|
|
1823
|
-
"strict": true,
|
|
1824
|
-
"enableJsonFlag": true,
|
|
1825
|
-
"isESM": false,
|
|
1826
|
-
"relativePath": [
|
|
1827
|
-
"dist",
|
|
1828
|
-
"commands",
|
|
1829
|
-
"teams",
|
|
1830
|
-
"remove-member.js"
|
|
1831
|
-
]
|
|
1832
|
-
},
|
|
1833
|
-
"teams:show": {
|
|
1858
|
+
"tokens:revoke": {
|
|
1834
1859
|
"aliases": [],
|
|
1835
1860
|
"args": {
|
|
1836
|
-
"
|
|
1837
|
-
"description": "
|
|
1838
|
-
"name": "
|
|
1861
|
+
"id": {
|
|
1862
|
+
"description": "Token id",
|
|
1863
|
+
"name": "id",
|
|
1839
1864
|
"required": true
|
|
1840
1865
|
}
|
|
1841
1866
|
},
|
|
1842
|
-
"description": "
|
|
1867
|
+
"description": "Revoke an ingest token",
|
|
1843
1868
|
"examples": [
|
|
1844
|
-
"<%= config.bin %>
|
|
1869
|
+
"<%= config.bin %> tokens revoke <token-id> --project acme-api"
|
|
1845
1870
|
],
|
|
1846
1871
|
"flags": {
|
|
1847
1872
|
"json": {
|
|
@@ -1850,11 +1875,20 @@
|
|
|
1850
1875
|
"name": "json",
|
|
1851
1876
|
"allowNo": false,
|
|
1852
1877
|
"type": "boolean"
|
|
1878
|
+
},
|
|
1879
|
+
"project": {
|
|
1880
|
+
"char": "p",
|
|
1881
|
+
"description": "Project id (UUID) or key",
|
|
1882
|
+
"name": "project",
|
|
1883
|
+
"required": true,
|
|
1884
|
+
"hasDynamicHelp": false,
|
|
1885
|
+
"multiple": false,
|
|
1886
|
+
"type": "option"
|
|
1853
1887
|
}
|
|
1854
1888
|
},
|
|
1855
1889
|
"hasDynamicHelp": false,
|
|
1856
1890
|
"hiddenAliases": [],
|
|
1857
|
-
"id": "
|
|
1891
|
+
"id": "tokens:revoke",
|
|
1858
1892
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1859
1893
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1860
1894
|
"pluginType": "core",
|
|
@@ -1864,23 +1898,22 @@
|
|
|
1864
1898
|
"relativePath": [
|
|
1865
1899
|
"dist",
|
|
1866
1900
|
"commands",
|
|
1867
|
-
"
|
|
1868
|
-
"
|
|
1901
|
+
"tokens",
|
|
1902
|
+
"revoke.js"
|
|
1869
1903
|
]
|
|
1870
1904
|
},
|
|
1871
|
-
"
|
|
1905
|
+
"tokens:rotate": {
|
|
1872
1906
|
"aliases": [],
|
|
1873
1907
|
"args": {
|
|
1874
|
-
"
|
|
1875
|
-
"description": "
|
|
1876
|
-
"name": "
|
|
1908
|
+
"id": {
|
|
1909
|
+
"description": "Token id",
|
|
1910
|
+
"name": "id",
|
|
1877
1911
|
"required": true
|
|
1878
1912
|
}
|
|
1879
1913
|
},
|
|
1880
|
-
"description": "
|
|
1914
|
+
"description": "Rotate an ingest token (the new secret is shown only once)",
|
|
1881
1915
|
"examples": [
|
|
1882
|
-
"<%= config.bin %>
|
|
1883
|
-
"<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
|
|
1916
|
+
"<%= config.bin %> tokens rotate <token-id> --project acme-api"
|
|
1884
1917
|
],
|
|
1885
1918
|
"flags": {
|
|
1886
1919
|
"json": {
|
|
@@ -1890,52 +1923,19 @@
|
|
|
1890
1923
|
"allowNo": false,
|
|
1891
1924
|
"type": "boolean"
|
|
1892
1925
|
},
|
|
1893
|
-
"color": {
|
|
1894
|
-
"description": "Color label",
|
|
1895
|
-
"name": "color",
|
|
1896
|
-
"hasDynamicHelp": false,
|
|
1897
|
-
"multiple": false,
|
|
1898
|
-
"type": "option"
|
|
1899
|
-
},
|
|
1900
|
-
"group": {
|
|
1901
|
-
"description": "Group id or name (repeatable; replaces the group scope)",
|
|
1902
|
-
"name": "group",
|
|
1903
|
-
"hasDynamicHelp": false,
|
|
1904
|
-
"multiple": true,
|
|
1905
|
-
"type": "option"
|
|
1906
|
-
},
|
|
1907
|
-
"member": {
|
|
1908
|
-
"description": "Member account id or email (repeatable; replaces the members)",
|
|
1909
|
-
"name": "member",
|
|
1910
|
-
"hasDynamicHelp": false,
|
|
1911
|
-
"multiple": true,
|
|
1912
|
-
"type": "option"
|
|
1913
|
-
},
|
|
1914
|
-
"name": {
|
|
1915
|
-
"description": "New name",
|
|
1916
|
-
"name": "name",
|
|
1917
|
-
"hasDynamicHelp": false,
|
|
1918
|
-
"multiple": false,
|
|
1919
|
-
"type": "option"
|
|
1920
|
-
},
|
|
1921
1926
|
"project": {
|
|
1922
|
-
"
|
|
1927
|
+
"char": "p",
|
|
1928
|
+
"description": "Project id (UUID) or key",
|
|
1923
1929
|
"name": "project",
|
|
1930
|
+
"required": true,
|
|
1924
1931
|
"hasDynamicHelp": false,
|
|
1925
|
-
"multiple":
|
|
1926
|
-
"type": "option"
|
|
1927
|
-
},
|
|
1928
|
-
"role": {
|
|
1929
|
-
"description": "Role id or name (repeatable; replaces the roles)",
|
|
1930
|
-
"name": "role",
|
|
1931
|
-
"hasDynamicHelp": false,
|
|
1932
|
-
"multiple": true,
|
|
1932
|
+
"multiple": false,
|
|
1933
1933
|
"type": "option"
|
|
1934
1934
|
}
|
|
1935
1935
|
},
|
|
1936
1936
|
"hasDynamicHelp": false,
|
|
1937
1937
|
"hiddenAliases": [],
|
|
1938
|
-
"id": "
|
|
1938
|
+
"id": "tokens:rotate",
|
|
1939
1939
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
1940
1940
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
1941
1941
|
"pluginType": "core",
|
|
@@ -1945,10 +1945,10 @@
|
|
|
1945
1945
|
"relativePath": [
|
|
1946
1946
|
"dist",
|
|
1947
1947
|
"commands",
|
|
1948
|
-
"
|
|
1949
|
-
"
|
|
1948
|
+
"tokens",
|
|
1949
|
+
"rotate.js"
|
|
1950
1950
|
]
|
|
1951
1951
|
}
|
|
1952
1952
|
},
|
|
1953
|
-
"version": "0.0.
|
|
1953
|
+
"version": "0.0.3"
|
|
1954
1954
|
}
|