@copado/agentia-cli 0.71.0-alpha.0 → 0.73.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +9 -9
- package/README.md +180 -170
- package/dist/commands/cicd/work/done.js +36 -22
- package/dist/commands/cicd/work/done.js.map +1 -1
- package/dist/commands/cicd/work/get.js +19 -10
- package/dist/commands/cicd/work/get.js.map +1 -1
- package/dist/commands/cicd/work/push.js +26 -21
- package/dist/commands/cicd/work/push.js.map +1 -1
- package/dist/commands/cicd/work/set.js +11 -20
- package/dist/commands/cicd/work/set.js.map +1 -1
- package/dist/commands/cicd/work/submit.js +40 -23
- package/dist/commands/cicd/work/submit.js.map +1 -1
- package/dist/commands/cicd/work/test.js +4 -0
- package/dist/commands/cicd/work/test.js.map +1 -1
- package/dist/hooks/init/migrate-user-config.d.ts +3 -0
- package/dist/hooks/init/migrate-user-config.js +17 -0
- package/dist/hooks/init/migrate-user-config.js.map +1 -0
- package/dist/lib/agentia-command.d.ts +3 -0
- package/dist/lib/agentia-command.js +12 -1
- package/dist/lib/agentia-command.js.map +1 -1
- package/dist/lib/ai-gateway.js +2 -5
- package/dist/lib/ai-gateway.js.map +1 -1
- package/dist/lib/cicd-gateway.d.ts +4 -0
- package/dist/lib/cicd-gateway.js +23 -2
- package/dist/lib/cicd-gateway.js.map +1 -1
- package/dist/lib/defaults-store.d.ts +15 -0
- package/dist/lib/defaults-store.js +128 -21
- package/dist/lib/defaults-store.js.map +1 -1
- package/dist/lib/format.js +73 -26
- package/dist/lib/format.js.map +1 -1
- package/dist/lib/git-worktree.d.ts +18 -0
- package/dist/lib/git-worktree.js +44 -0
- package/dist/lib/git-worktree.js.map +1 -1
- package/dist/lib/mcp/command-id.d.ts +4 -0
- package/dist/lib/mcp/command-id.js +59 -0
- package/dist/lib/mcp/command-id.js.map +1 -0
- package/dist/lib/mcp/result.d.ts +2 -1
- package/dist/lib/mcp/result.js +5 -3
- package/dist/lib/mcp/result.js.map +1 -1
- package/dist/lib/mcp/server.js +6 -2
- package/dist/lib/mcp/server.js.map +1 -1
- package/dist/lib/mcp/work-tools.js +25 -57
- package/dist/lib/mcp/work-tools.js.map +1 -1
- package/dist/lib/project-setup.js +59 -7
- package/dist/lib/project-setup.js.map +1 -1
- package/dist/lib/setup-templates.d.ts +3 -1
- package/dist/lib/setup-templates.js +3 -1
- package/dist/lib/setup-templates.js.map +1 -1
- package/dist/lib/testing-gateway.js +2 -5
- package/dist/lib/testing-gateway.js.map +1 -1
- package/dist/lib/var-replacement.d.ts +47 -0
- package/dist/lib/var-replacement.js +150 -0
- package/dist/lib/var-replacement.js.map +1 -0
- package/dist/lib/work-get-selection.d.ts +6 -0
- package/dist/lib/work-get-selection.js +44 -0
- package/dist/lib/work-get-selection.js.map +1 -0
- package/dist/lib/work-local-run-tests.d.ts +3 -0
- package/dist/lib/work-local-run-tests.js +5 -0
- package/dist/lib/work-local-run-tests.js.map +1 -1
- package/dist/lib/work-push.d.ts +21 -1
- package/dist/lib/work-push.js +203 -40
- package/dist/lib/work-push.js.map +1 -1
- package/dist/lib/work-set-selection.d.ts +11 -0
- package/dist/lib/work-set-selection.js +27 -0
- package/dist/lib/work-set-selection.js.map +1 -0
- package/dist/lib/work-types.d.ts +26 -0
- package/dist/lib/work-types.js +16 -0
- package/dist/lib/work-types.js.map +1 -1
- package/dist/lib/yaml-replacement.d.ts +41 -0
- package/dist/lib/yaml-replacement.js +129 -0
- package/dist/lib/yaml-replacement.js.map +1 -0
- package/oclif.manifest.json +1273 -1273
- package/package.json +7 -4
- package/vendor/java/var-replace-command.jar +0 -0
- package/vendor/java/yaml-replace-command.jar +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -92,31 +92,6 @@
|
|
|
92
92
|
"update.js"
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
-
"mcp:start": {
|
|
96
|
-
"aliases": [],
|
|
97
|
-
"args": {},
|
|
98
|
-
"description": "Start the local Agentia MCP server over stdio",
|
|
99
|
-
"examples": [
|
|
100
|
-
"<%= config.bin %> <%= command.id %>",
|
|
101
|
-
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
102
|
-
],
|
|
103
|
-
"flags": {},
|
|
104
|
-
"hasDynamicHelp": false,
|
|
105
|
-
"hiddenAliases": [],
|
|
106
|
-
"id": "mcp:start",
|
|
107
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
108
|
-
"pluginName": "@copado/agentia-cli",
|
|
109
|
-
"pluginType": "core",
|
|
110
|
-
"strict": true,
|
|
111
|
-
"enableJsonFlag": false,
|
|
112
|
-
"isESM": true,
|
|
113
|
-
"relativePath": [
|
|
114
|
-
"dist",
|
|
115
|
-
"commands",
|
|
116
|
-
"mcp",
|
|
117
|
-
"start.js"
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
95
|
"auth:get": {
|
|
121
96
|
"aliases": [],
|
|
122
97
|
"args": {},
|
|
@@ -361,6 +336,31 @@
|
|
|
361
336
|
"unset.js"
|
|
362
337
|
]
|
|
363
338
|
},
|
|
339
|
+
"mcp:start": {
|
|
340
|
+
"aliases": [],
|
|
341
|
+
"args": {},
|
|
342
|
+
"description": "Start the local Agentia MCP server over stdio",
|
|
343
|
+
"examples": [
|
|
344
|
+
"<%= config.bin %> <%= command.id %>",
|
|
345
|
+
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
346
|
+
],
|
|
347
|
+
"flags": {},
|
|
348
|
+
"hasDynamicHelp": false,
|
|
349
|
+
"hiddenAliases": [],
|
|
350
|
+
"id": "mcp:start",
|
|
351
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
352
|
+
"pluginName": "@copado/agentia-cli",
|
|
353
|
+
"pluginType": "core",
|
|
354
|
+
"strict": true,
|
|
355
|
+
"enableJsonFlag": false,
|
|
356
|
+
"isESM": true,
|
|
357
|
+
"relativePath": [
|
|
358
|
+
"dist",
|
|
359
|
+
"commands",
|
|
360
|
+
"mcp",
|
|
361
|
+
"start.js"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
364
|
"testing:create": {
|
|
365
365
|
"aliases": [],
|
|
366
366
|
"args": {},
|
|
@@ -887,75 +887,6 @@
|
|
|
887
887
|
"update.js"
|
|
888
888
|
]
|
|
889
889
|
},
|
|
890
|
-
"ai:quota:get": {
|
|
891
|
-
"aliases": [],
|
|
892
|
-
"args": {},
|
|
893
|
-
"description": "Get Copado AI organization quota",
|
|
894
|
-
"examples": [
|
|
895
|
-
"<%= config.bin %> <%= command.id %>",
|
|
896
|
-
"<%= config.bin %> <%= command.id %> --domain robotic.copado.com --org 42888 --json"
|
|
897
|
-
],
|
|
898
|
-
"flags": {
|
|
899
|
-
"json": {
|
|
900
|
-
"description": "Format output as json.",
|
|
901
|
-
"helpGroup": "GLOBAL",
|
|
902
|
-
"name": "json",
|
|
903
|
-
"allowNo": false,
|
|
904
|
-
"type": "boolean"
|
|
905
|
-
},
|
|
906
|
-
"domain": {
|
|
907
|
-
"description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
|
|
908
|
-
"name": "domain",
|
|
909
|
-
"hasDynamicHelp": false,
|
|
910
|
-
"multiple": false,
|
|
911
|
-
"type": "option"
|
|
912
|
-
},
|
|
913
|
-
"gateway-url": {
|
|
914
|
-
"description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
|
|
915
|
-
"name": "gateway-url",
|
|
916
|
-
"hasDynamicHelp": false,
|
|
917
|
-
"multiple": false,
|
|
918
|
-
"type": "option"
|
|
919
|
-
},
|
|
920
|
-
"org": {
|
|
921
|
-
"description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
|
|
922
|
-
"name": "org",
|
|
923
|
-
"hasDynamicHelp": false,
|
|
924
|
-
"multiple": false,
|
|
925
|
-
"type": "option"
|
|
926
|
-
},
|
|
927
|
-
"pat": {
|
|
928
|
-
"description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
|
|
929
|
-
"name": "pat",
|
|
930
|
-
"hasDynamicHelp": false,
|
|
931
|
-
"multiple": false,
|
|
932
|
-
"type": "option"
|
|
933
|
-
},
|
|
934
|
-
"timeout": {
|
|
935
|
-
"description": "AI gateway timeout in seconds.",
|
|
936
|
-
"name": "timeout",
|
|
937
|
-
"hasDynamicHelp": false,
|
|
938
|
-
"multiple": false,
|
|
939
|
-
"type": "option"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
"hasDynamicHelp": false,
|
|
943
|
-
"hiddenAliases": [],
|
|
944
|
-
"id": "ai:quota:get",
|
|
945
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
946
|
-
"pluginName": "@copado/agentia-cli",
|
|
947
|
-
"pluginType": "core",
|
|
948
|
-
"strict": true,
|
|
949
|
-
"enableJsonFlag": true,
|
|
950
|
-
"isESM": true,
|
|
951
|
-
"relativePath": [
|
|
952
|
-
"dist",
|
|
953
|
-
"commands",
|
|
954
|
-
"ai",
|
|
955
|
-
"quota",
|
|
956
|
-
"get.js"
|
|
957
|
-
]
|
|
958
|
-
},
|
|
959
890
|
"ai:agent:ask": {
|
|
960
891
|
"aliases": [],
|
|
961
892
|
"args": {},
|
|
@@ -1269,6 +1200,75 @@
|
|
|
1269
1200
|
"chat.js"
|
|
1270
1201
|
]
|
|
1271
1202
|
},
|
|
1203
|
+
"ai:quota:get": {
|
|
1204
|
+
"aliases": [],
|
|
1205
|
+
"args": {},
|
|
1206
|
+
"description": "Get Copado AI organization quota",
|
|
1207
|
+
"examples": [
|
|
1208
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1209
|
+
"<%= config.bin %> <%= command.id %> --domain robotic.copado.com --org 42888 --json"
|
|
1210
|
+
],
|
|
1211
|
+
"flags": {
|
|
1212
|
+
"json": {
|
|
1213
|
+
"description": "Format output as json.",
|
|
1214
|
+
"helpGroup": "GLOBAL",
|
|
1215
|
+
"name": "json",
|
|
1216
|
+
"allowNo": false,
|
|
1217
|
+
"type": "boolean"
|
|
1218
|
+
},
|
|
1219
|
+
"domain": {
|
|
1220
|
+
"description": "Copado AI domain hostname. Defaults to AGENTIA_AI_DOMAIN, COPADO_AI_DOMAIN, or stored auth config.",
|
|
1221
|
+
"name": "domain",
|
|
1222
|
+
"hasDynamicHelp": false,
|
|
1223
|
+
"multiple": false,
|
|
1224
|
+
"type": "option"
|
|
1225
|
+
},
|
|
1226
|
+
"gateway-url": {
|
|
1227
|
+
"description": "Full Copado AI gateway base URL. Defaults to AGENTIA_AI_GATEWAY_URL, COPADO_AI_GATEWAY_URL, or stored auth config.",
|
|
1228
|
+
"name": "gateway-url",
|
|
1229
|
+
"hasDynamicHelp": false,
|
|
1230
|
+
"multiple": false,
|
|
1231
|
+
"type": "option"
|
|
1232
|
+
},
|
|
1233
|
+
"org": {
|
|
1234
|
+
"description": "Copado AI organization ID. Defaults to AGENTIA_AI_ORG, COPADO_AI_ORG, or stored auth config.",
|
|
1235
|
+
"name": "org",
|
|
1236
|
+
"hasDynamicHelp": false,
|
|
1237
|
+
"multiple": false,
|
|
1238
|
+
"type": "option"
|
|
1239
|
+
},
|
|
1240
|
+
"pat": {
|
|
1241
|
+
"description": "Copado AI PAT token override. Prefer auth set --ai or AGENTIA_AI_PAT for regular use.",
|
|
1242
|
+
"name": "pat",
|
|
1243
|
+
"hasDynamicHelp": false,
|
|
1244
|
+
"multiple": false,
|
|
1245
|
+
"type": "option"
|
|
1246
|
+
},
|
|
1247
|
+
"timeout": {
|
|
1248
|
+
"description": "AI gateway timeout in seconds.",
|
|
1249
|
+
"name": "timeout",
|
|
1250
|
+
"hasDynamicHelp": false,
|
|
1251
|
+
"multiple": false,
|
|
1252
|
+
"type": "option"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"hasDynamicHelp": false,
|
|
1256
|
+
"hiddenAliases": [],
|
|
1257
|
+
"id": "ai:quota:get",
|
|
1258
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
1259
|
+
"pluginName": "@copado/agentia-cli",
|
|
1260
|
+
"pluginType": "core",
|
|
1261
|
+
"strict": true,
|
|
1262
|
+
"enableJsonFlag": true,
|
|
1263
|
+
"isESM": true,
|
|
1264
|
+
"relativePath": [
|
|
1265
|
+
"dist",
|
|
1266
|
+
"commands",
|
|
1267
|
+
"ai",
|
|
1268
|
+
"quota",
|
|
1269
|
+
"get.js"
|
|
1270
|
+
]
|
|
1271
|
+
},
|
|
1272
1272
|
"ai:workspace:create": {
|
|
1273
1273
|
"aliases": [],
|
|
1274
1274
|
"args": {},
|
|
@@ -2664,14 +2664,19 @@
|
|
|
2664
2664
|
"upsert.js"
|
|
2665
2665
|
]
|
|
2666
2666
|
},
|
|
2667
|
-
"cicd:
|
|
2667
|
+
"cicd:job:get": {
|
|
2668
2668
|
"aliases": [],
|
|
2669
|
-
"args": {
|
|
2670
|
-
|
|
2669
|
+
"args": {
|
|
2670
|
+
"id": {
|
|
2671
|
+
"description": "JobExecution Id",
|
|
2672
|
+
"name": "id",
|
|
2673
|
+
"required": true
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
"description": "Get a Copado job execution with ordered steps",
|
|
2671
2677
|
"examples": [
|
|
2672
|
-
"<%= config.bin %> <%= command.id %>
|
|
2673
|
-
"<%= config.bin %> <%= command.id %>
|
|
2674
|
-
"<%= config.bin %> <%= command.id %> --source NewAndChanged --find-managed-packages --json"
|
|
2678
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
2679
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
2675
2680
|
],
|
|
2676
2681
|
"flags": {
|
|
2677
2682
|
"json": {
|
|
@@ -2680,217 +2685,44 @@
|
|
|
2680
2685
|
"name": "json",
|
|
2681
2686
|
"allowNo": false,
|
|
2682
2687
|
"type": "boolean"
|
|
2683
|
-
}
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
"
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
"
|
|
2707
|
-
"
|
|
2708
|
-
"
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
"
|
|
2718
|
-
"description": "
|
|
2719
|
-
"
|
|
2720
|
-
"
|
|
2721
|
-
"multiple": false,
|
|
2722
|
-
"type": "option"
|
|
2723
|
-
},
|
|
2724
|
-
"metadata-types": {
|
|
2725
|
-
"description": "Optional comma-separated metadata types to include",
|
|
2726
|
-
"name": "metadata-types",
|
|
2727
|
-
"hasDynamicHelp": false,
|
|
2728
|
-
"multiple": false,
|
|
2729
|
-
"type": "option"
|
|
2730
|
-
},
|
|
2731
|
-
"modified-by": {
|
|
2732
|
-
"description": "Filter by last modified user",
|
|
2733
|
-
"name": "modified-by",
|
|
2734
|
-
"hasDynamicHelp": false,
|
|
2735
|
-
"multiple": false,
|
|
2736
|
-
"type": "option"
|
|
2737
|
-
},
|
|
2738
|
-
"module-type": {
|
|
2739
|
-
"description": "Optional addon module type",
|
|
2740
|
-
"name": "module-type",
|
|
2741
|
-
"hasDynamicHelp": false,
|
|
2742
|
-
"multiple": false,
|
|
2743
|
-
"options": [
|
|
2744
|
-
"vlocity",
|
|
2745
|
-
"data_cloud"
|
|
2746
|
-
],
|
|
2747
|
-
"type": "option"
|
|
2748
|
-
},
|
|
2749
|
-
"order-direction": {
|
|
2750
|
-
"description": "Sort direction for last modified date",
|
|
2751
|
-
"name": "order-direction",
|
|
2752
|
-
"hasDynamicHelp": false,
|
|
2753
|
-
"multiple": false,
|
|
2754
|
-
"options": [
|
|
2755
|
-
"ASC",
|
|
2756
|
-
"DESC"
|
|
2757
|
-
],
|
|
2758
|
-
"type": "option"
|
|
2759
|
-
},
|
|
2760
|
-
"pipeline-id": {
|
|
2761
|
-
"description": "Pipeline Id",
|
|
2762
|
-
"name": "pipeline-id",
|
|
2763
|
-
"hasDynamicHelp": false,
|
|
2764
|
-
"multiple": false,
|
|
2765
|
-
"type": "option"
|
|
2766
|
-
},
|
|
2767
|
-
"platform-experience": {
|
|
2768
|
-
"description": "Gateway platform experience header",
|
|
2769
|
-
"name": "platform-experience",
|
|
2770
|
-
"default": "salesforce",
|
|
2771
|
-
"hasDynamicHelp": false,
|
|
2772
|
-
"multiple": false,
|
|
2773
|
-
"options": [
|
|
2774
|
-
"salesforce",
|
|
2775
|
-
"sfdx",
|
|
2776
|
-
"metacache",
|
|
2777
|
-
"db"
|
|
2778
|
-
],
|
|
2779
|
-
"type": "option"
|
|
2780
|
-
},
|
|
2781
|
-
"source": {
|
|
2782
|
-
"description": "Index source filter",
|
|
2783
|
-
"name": "source",
|
|
2784
|
-
"hasDynamicHelp": false,
|
|
2785
|
-
"multiple": false,
|
|
2786
|
-
"options": [
|
|
2787
|
-
"All",
|
|
2788
|
-
"Changed",
|
|
2789
|
-
"Deleted",
|
|
2790
|
-
"New",
|
|
2791
|
-
"NewAndChanged",
|
|
2792
|
-
"PreviouslyCommitted"
|
|
2793
|
-
],
|
|
2794
|
-
"type": "option"
|
|
2795
|
-
},
|
|
2796
|
-
"source-credential-id": {
|
|
2797
|
-
"description": "Source org credential Id",
|
|
2798
|
-
"name": "source-credential-id",
|
|
2799
|
-
"hasDynamicHelp": false,
|
|
2800
|
-
"multiple": false,
|
|
2801
|
-
"type": "option"
|
|
2802
|
-
},
|
|
2803
|
-
"source-org-id": {
|
|
2804
|
-
"description": "Source org Id",
|
|
2805
|
-
"name": "source-org-id",
|
|
2806
|
-
"hasDynamicHelp": false,
|
|
2807
|
-
"multiple": false,
|
|
2808
|
-
"type": "option"
|
|
2809
|
-
},
|
|
2810
|
-
"target-org-id": {
|
|
2811
|
-
"description": "Optional target org Id",
|
|
2812
|
-
"name": "target-org-id",
|
|
2813
|
-
"hasDynamicHelp": false,
|
|
2814
|
-
"multiple": false,
|
|
2815
|
-
"type": "option"
|
|
2816
|
-
}
|
|
2817
|
-
},
|
|
2818
|
-
"hasDynamicHelp": false,
|
|
2819
|
-
"hiddenAliases": [],
|
|
2820
|
-
"id": "cicd:metadata:list",
|
|
2821
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2822
|
-
"pluginName": "@copado/agentia-cli",
|
|
2823
|
-
"pluginType": "core",
|
|
2824
|
-
"strict": true,
|
|
2825
|
-
"enableJsonFlag": true,
|
|
2826
|
-
"isESM": true,
|
|
2827
|
-
"relativePath": [
|
|
2828
|
-
"dist",
|
|
2829
|
-
"commands",
|
|
2830
|
-
"cicd",
|
|
2831
|
-
"metadata",
|
|
2832
|
-
"list.js"
|
|
2833
|
-
]
|
|
2834
|
-
},
|
|
2835
|
-
"cicd:job:get": {
|
|
2836
|
-
"aliases": [],
|
|
2837
|
-
"args": {
|
|
2838
|
-
"id": {
|
|
2839
|
-
"description": "JobExecution Id",
|
|
2840
|
-
"name": "id",
|
|
2841
|
-
"required": true
|
|
2842
|
-
}
|
|
2843
|
-
},
|
|
2844
|
-
"description": "Get a Copado job execution with ordered steps",
|
|
2845
|
-
"examples": [
|
|
2846
|
-
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
2847
|
-
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
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": "cicd:job:get",
|
|
2861
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2862
|
-
"pluginName": "@copado/agentia-cli",
|
|
2863
|
-
"pluginType": "core",
|
|
2864
|
-
"strict": true,
|
|
2865
|
-
"enableJsonFlag": true,
|
|
2866
|
-
"isESM": true,
|
|
2867
|
-
"relativePath": [
|
|
2868
|
-
"dist",
|
|
2869
|
-
"commands",
|
|
2870
|
-
"cicd",
|
|
2871
|
-
"job",
|
|
2872
|
-
"get.js"
|
|
2873
|
-
]
|
|
2874
|
-
},
|
|
2875
|
-
"cicd:job:kill": {
|
|
2876
|
-
"aliases": [],
|
|
2877
|
-
"args": {
|
|
2878
|
-
"id": {
|
|
2879
|
-
"description": "JobExecution Id",
|
|
2880
|
-
"name": "id",
|
|
2881
|
-
"required": true
|
|
2882
|
-
}
|
|
2883
|
-
},
|
|
2884
|
-
"description": "Cancel a Copado job execution",
|
|
2885
|
-
"examples": [
|
|
2886
|
-
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
2887
|
-
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
2888
|
-
],
|
|
2889
|
-
"flags": {
|
|
2890
|
-
"json": {
|
|
2891
|
-
"description": "Format output as json.",
|
|
2892
|
-
"helpGroup": "GLOBAL",
|
|
2893
|
-
"name": "json",
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"hasDynamicHelp": false,
|
|
2691
|
+
"hiddenAliases": [],
|
|
2692
|
+
"id": "cicd:job:get",
|
|
2693
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2694
|
+
"pluginName": "@copado/agentia-cli",
|
|
2695
|
+
"pluginType": "core",
|
|
2696
|
+
"strict": true,
|
|
2697
|
+
"enableJsonFlag": true,
|
|
2698
|
+
"isESM": true,
|
|
2699
|
+
"relativePath": [
|
|
2700
|
+
"dist",
|
|
2701
|
+
"commands",
|
|
2702
|
+
"cicd",
|
|
2703
|
+
"job",
|
|
2704
|
+
"get.js"
|
|
2705
|
+
]
|
|
2706
|
+
},
|
|
2707
|
+
"cicd:job:kill": {
|
|
2708
|
+
"aliases": [],
|
|
2709
|
+
"args": {
|
|
2710
|
+
"id": {
|
|
2711
|
+
"description": "JobExecution Id",
|
|
2712
|
+
"name": "id",
|
|
2713
|
+
"required": true
|
|
2714
|
+
}
|
|
2715
|
+
},
|
|
2716
|
+
"description": "Cancel a Copado job execution",
|
|
2717
|
+
"examples": [
|
|
2718
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
2719
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
2720
|
+
],
|
|
2721
|
+
"flags": {
|
|
2722
|
+
"json": {
|
|
2723
|
+
"description": "Format output as json.",
|
|
2724
|
+
"helpGroup": "GLOBAL",
|
|
2725
|
+
"name": "json",
|
|
2894
2726
|
"allowNo": false,
|
|
2895
2727
|
"type": "boolean"
|
|
2896
2728
|
}
|
|
@@ -3176,19 +3008,14 @@
|
|
|
3176
3008
|
"run.js"
|
|
3177
3009
|
]
|
|
3178
3010
|
},
|
|
3179
|
-
"cicd:
|
|
3011
|
+
"cicd:metadata:list": {
|
|
3180
3012
|
"aliases": [],
|
|
3181
|
-
"args": {
|
|
3182
|
-
|
|
3183
|
-
"description": "Pipeline Id",
|
|
3184
|
-
"name": "id",
|
|
3185
|
-
"required": true
|
|
3186
|
-
}
|
|
3187
|
-
},
|
|
3188
|
-
"description": "Get a Copado pipeline",
|
|
3013
|
+
"args": {},
|
|
3014
|
+
"description": "Search the metadata index for an org via the CICD gateway",
|
|
3189
3015
|
"examples": [
|
|
3190
|
-
"<%= config.bin %> <%= command.id %>
|
|
3191
|
-
"<%= config.bin %> <%= command.id %>
|
|
3016
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
|
|
3017
|
+
"<%= config.bin %> <%= command.id %> --source Changed --metadata-types ApexClass --limit 100 --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
|
|
3018
|
+
"<%= config.bin %> <%= command.id %> --source NewAndChanged --find-managed-packages --json"
|
|
3192
3019
|
],
|
|
3193
3020
|
"flags": {
|
|
3194
3021
|
"json": {
|
|
@@ -3197,46 +3024,219 @@
|
|
|
3197
3024
|
"name": "json",
|
|
3198
3025
|
"allowNo": false,
|
|
3199
3026
|
"type": "boolean"
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
"id": "cicd:pipeline:get",
|
|
3205
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
3206
|
-
"pluginName": "@copado/agentia-cli",
|
|
3207
|
-
"pluginType": "core",
|
|
3208
|
-
"strict": true,
|
|
3209
|
-
"enableJsonFlag": true,
|
|
3210
|
-
"isESM": true,
|
|
3211
|
-
"relativePath": [
|
|
3212
|
-
"dist",
|
|
3213
|
-
"commands",
|
|
3214
|
-
"cicd",
|
|
3215
|
-
"pipeline",
|
|
3216
|
-
"get.js"
|
|
3217
|
-
]
|
|
3218
|
-
},
|
|
3219
|
-
"cicd:pipeline:list": {
|
|
3220
|
-
"aliases": [],
|
|
3221
|
-
"args": {},
|
|
3222
|
-
"description": "List Copado pipelines",
|
|
3223
|
-
"examples": [
|
|
3224
|
-
"<%= config.bin %> <%= command.id %>",
|
|
3225
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
3226
|
-
],
|
|
3227
|
-
"flags": {
|
|
3228
|
-
"json": {
|
|
3229
|
-
"description": "Format output as json.",
|
|
3230
|
-
"helpGroup": "GLOBAL",
|
|
3231
|
-
"name": "json",
|
|
3027
|
+
},
|
|
3028
|
+
"avoid-source-tracking": {
|
|
3029
|
+
"description": "Pass avoidSourceTracking=true to the gateway index route",
|
|
3030
|
+
"name": "avoid-source-tracking",
|
|
3232
3031
|
"allowNo": false,
|
|
3233
3032
|
"type": "boolean"
|
|
3234
3033
|
},
|
|
3235
|
-
"
|
|
3236
|
-
"description": "
|
|
3237
|
-
"name": "
|
|
3238
|
-
"hasDynamicHelp": false,
|
|
3239
|
-
"multiple": false,
|
|
3034
|
+
"change-date-from": {
|
|
3035
|
+
"description": "Optional change-date-from filter (ISO datetime)",
|
|
3036
|
+
"name": "change-date-from",
|
|
3037
|
+
"hasDynamicHelp": false,
|
|
3038
|
+
"multiple": false,
|
|
3039
|
+
"type": "option"
|
|
3040
|
+
},
|
|
3041
|
+
"change-date-to": {
|
|
3042
|
+
"description": "Optional change-date-to filter (ISO datetime)",
|
|
3043
|
+
"name": "change-date-to",
|
|
3044
|
+
"hasDynamicHelp": false,
|
|
3045
|
+
"multiple": false,
|
|
3046
|
+
"type": "option"
|
|
3047
|
+
},
|
|
3048
|
+
"filter-type": {
|
|
3049
|
+
"description": "Optional metadata type name filter, for example ApexClass",
|
|
3050
|
+
"name": "filter-type",
|
|
3051
|
+
"hasDynamicHelp": false,
|
|
3052
|
+
"multiple": false,
|
|
3053
|
+
"type": "option"
|
|
3054
|
+
},
|
|
3055
|
+
"find-managed-packages": {
|
|
3056
|
+
"description": "Include managed package metadata in the search",
|
|
3057
|
+
"name": "find-managed-packages",
|
|
3058
|
+
"allowNo": false,
|
|
3059
|
+
"type": "boolean"
|
|
3060
|
+
},
|
|
3061
|
+
"limit": {
|
|
3062
|
+
"description": "Maximum number of records to return",
|
|
3063
|
+
"name": "limit",
|
|
3064
|
+
"hasDynamicHelp": false,
|
|
3065
|
+
"multiple": false,
|
|
3066
|
+
"type": "option"
|
|
3067
|
+
},
|
|
3068
|
+
"metadata-types": {
|
|
3069
|
+
"description": "Optional comma-separated metadata types to include",
|
|
3070
|
+
"name": "metadata-types",
|
|
3071
|
+
"hasDynamicHelp": false,
|
|
3072
|
+
"multiple": false,
|
|
3073
|
+
"type": "option"
|
|
3074
|
+
},
|
|
3075
|
+
"modified-by": {
|
|
3076
|
+
"description": "Filter by last modified user",
|
|
3077
|
+
"name": "modified-by",
|
|
3078
|
+
"hasDynamicHelp": false,
|
|
3079
|
+
"multiple": false,
|
|
3080
|
+
"type": "option"
|
|
3081
|
+
},
|
|
3082
|
+
"module-type": {
|
|
3083
|
+
"description": "Optional addon module type",
|
|
3084
|
+
"name": "module-type",
|
|
3085
|
+
"hasDynamicHelp": false,
|
|
3086
|
+
"multiple": false,
|
|
3087
|
+
"options": [
|
|
3088
|
+
"vlocity",
|
|
3089
|
+
"data_cloud"
|
|
3090
|
+
],
|
|
3091
|
+
"type": "option"
|
|
3092
|
+
},
|
|
3093
|
+
"order-direction": {
|
|
3094
|
+
"description": "Sort direction for last modified date",
|
|
3095
|
+
"name": "order-direction",
|
|
3096
|
+
"hasDynamicHelp": false,
|
|
3097
|
+
"multiple": false,
|
|
3098
|
+
"options": [
|
|
3099
|
+
"ASC",
|
|
3100
|
+
"DESC"
|
|
3101
|
+
],
|
|
3102
|
+
"type": "option"
|
|
3103
|
+
},
|
|
3104
|
+
"pipeline-id": {
|
|
3105
|
+
"description": "Pipeline Id",
|
|
3106
|
+
"name": "pipeline-id",
|
|
3107
|
+
"hasDynamicHelp": false,
|
|
3108
|
+
"multiple": false,
|
|
3109
|
+
"type": "option"
|
|
3110
|
+
},
|
|
3111
|
+
"platform-experience": {
|
|
3112
|
+
"description": "Gateway platform experience header",
|
|
3113
|
+
"name": "platform-experience",
|
|
3114
|
+
"default": "salesforce",
|
|
3115
|
+
"hasDynamicHelp": false,
|
|
3116
|
+
"multiple": false,
|
|
3117
|
+
"options": [
|
|
3118
|
+
"salesforce",
|
|
3119
|
+
"sfdx",
|
|
3120
|
+
"metacache",
|
|
3121
|
+
"db"
|
|
3122
|
+
],
|
|
3123
|
+
"type": "option"
|
|
3124
|
+
},
|
|
3125
|
+
"source": {
|
|
3126
|
+
"description": "Index source filter",
|
|
3127
|
+
"name": "source",
|
|
3128
|
+
"hasDynamicHelp": false,
|
|
3129
|
+
"multiple": false,
|
|
3130
|
+
"options": [
|
|
3131
|
+
"All",
|
|
3132
|
+
"Changed",
|
|
3133
|
+
"Deleted",
|
|
3134
|
+
"New",
|
|
3135
|
+
"NewAndChanged",
|
|
3136
|
+
"PreviouslyCommitted"
|
|
3137
|
+
],
|
|
3138
|
+
"type": "option"
|
|
3139
|
+
},
|
|
3140
|
+
"source-credential-id": {
|
|
3141
|
+
"description": "Source org credential Id",
|
|
3142
|
+
"name": "source-credential-id",
|
|
3143
|
+
"hasDynamicHelp": false,
|
|
3144
|
+
"multiple": false,
|
|
3145
|
+
"type": "option"
|
|
3146
|
+
},
|
|
3147
|
+
"source-org-id": {
|
|
3148
|
+
"description": "Source org Id",
|
|
3149
|
+
"name": "source-org-id",
|
|
3150
|
+
"hasDynamicHelp": false,
|
|
3151
|
+
"multiple": false,
|
|
3152
|
+
"type": "option"
|
|
3153
|
+
},
|
|
3154
|
+
"target-org-id": {
|
|
3155
|
+
"description": "Optional target org Id",
|
|
3156
|
+
"name": "target-org-id",
|
|
3157
|
+
"hasDynamicHelp": false,
|
|
3158
|
+
"multiple": false,
|
|
3159
|
+
"type": "option"
|
|
3160
|
+
}
|
|
3161
|
+
},
|
|
3162
|
+
"hasDynamicHelp": false,
|
|
3163
|
+
"hiddenAliases": [],
|
|
3164
|
+
"id": "cicd:metadata:list",
|
|
3165
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
3166
|
+
"pluginName": "@copado/agentia-cli",
|
|
3167
|
+
"pluginType": "core",
|
|
3168
|
+
"strict": true,
|
|
3169
|
+
"enableJsonFlag": true,
|
|
3170
|
+
"isESM": true,
|
|
3171
|
+
"relativePath": [
|
|
3172
|
+
"dist",
|
|
3173
|
+
"commands",
|
|
3174
|
+
"cicd",
|
|
3175
|
+
"metadata",
|
|
3176
|
+
"list.js"
|
|
3177
|
+
]
|
|
3178
|
+
},
|
|
3179
|
+
"cicd:pipeline:get": {
|
|
3180
|
+
"aliases": [],
|
|
3181
|
+
"args": {
|
|
3182
|
+
"id": {
|
|
3183
|
+
"description": "Pipeline Id",
|
|
3184
|
+
"name": "id",
|
|
3185
|
+
"required": true
|
|
3186
|
+
}
|
|
3187
|
+
},
|
|
3188
|
+
"description": "Get a Copado pipeline",
|
|
3189
|
+
"examples": [
|
|
3190
|
+
"<%= config.bin %> <%= command.id %> <pipeline-id>",
|
|
3191
|
+
"<%= config.bin %> <%= command.id %> <pipeline-id> --json"
|
|
3192
|
+
],
|
|
3193
|
+
"flags": {
|
|
3194
|
+
"json": {
|
|
3195
|
+
"description": "Format output as json.",
|
|
3196
|
+
"helpGroup": "GLOBAL",
|
|
3197
|
+
"name": "json",
|
|
3198
|
+
"allowNo": false,
|
|
3199
|
+
"type": "boolean"
|
|
3200
|
+
}
|
|
3201
|
+
},
|
|
3202
|
+
"hasDynamicHelp": false,
|
|
3203
|
+
"hiddenAliases": [],
|
|
3204
|
+
"id": "cicd:pipeline:get",
|
|
3205
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
3206
|
+
"pluginName": "@copado/agentia-cli",
|
|
3207
|
+
"pluginType": "core",
|
|
3208
|
+
"strict": true,
|
|
3209
|
+
"enableJsonFlag": true,
|
|
3210
|
+
"isESM": true,
|
|
3211
|
+
"relativePath": [
|
|
3212
|
+
"dist",
|
|
3213
|
+
"commands",
|
|
3214
|
+
"cicd",
|
|
3215
|
+
"pipeline",
|
|
3216
|
+
"get.js"
|
|
3217
|
+
]
|
|
3218
|
+
},
|
|
3219
|
+
"cicd:pipeline:list": {
|
|
3220
|
+
"aliases": [],
|
|
3221
|
+
"args": {},
|
|
3222
|
+
"description": "List Copado pipelines",
|
|
3223
|
+
"examples": [
|
|
3224
|
+
"<%= config.bin %> <%= command.id %>",
|
|
3225
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
3226
|
+
],
|
|
3227
|
+
"flags": {
|
|
3228
|
+
"json": {
|
|
3229
|
+
"description": "Format output as json.",
|
|
3230
|
+
"helpGroup": "GLOBAL",
|
|
3231
|
+
"name": "json",
|
|
3232
|
+
"allowNo": false,
|
|
3233
|
+
"type": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"cursor": {
|
|
3236
|
+
"description": "Opaque pagination cursor from a previous list response (nextCursor)",
|
|
3237
|
+
"name": "cursor",
|
|
3238
|
+
"hasDynamicHelp": false,
|
|
3239
|
+
"multiple": false,
|
|
3240
3240
|
"type": "option"
|
|
3241
3241
|
},
|
|
3242
3242
|
"page-size": {
|
|
@@ -4791,7 +4791,7 @@
|
|
|
4791
4791
|
"cicd:work:done": {
|
|
4792
4792
|
"aliases": [],
|
|
4793
4793
|
"args": {},
|
|
4794
|
-
"description": "Mark the current feature
|
|
4794
|
+
"description": "Mark the current feature/<lastWorkItem> work item done and promote it to the next environment. Pushes and registers commits when the branch is ahead of origin, then calls headless work/done (Promote Action with validate=false).",
|
|
4795
4795
|
"examples": [
|
|
4796
4796
|
"<%= config.bin %> <%= command.id %>",
|
|
4797
4797
|
"<%= config.bin %> <%= command.id %> --json"
|
|
@@ -4826,16 +4826,16 @@
|
|
|
4826
4826
|
"aliases": [],
|
|
4827
4827
|
"args": {
|
|
4828
4828
|
"id": {
|
|
4829
|
-
"description": "User story ID (defaults to the active work item from `work set`)",
|
|
4829
|
+
"description": "User story ID or name (defaults to the active work item from `work set`)",
|
|
4830
4830
|
"name": "id",
|
|
4831
4831
|
"required": false
|
|
4832
4832
|
}
|
|
4833
4833
|
},
|
|
4834
|
-
"description": "Get a Copado user story by ID",
|
|
4834
|
+
"description": "Get a Copado user story by ID or name via headless work/get. When the response includes `devOrgBranch` for the active work item, persists it as `lastDevOrgBranch`.",
|
|
4835
4835
|
"examples": [
|
|
4836
4836
|
"<%= config.bin %> <%= command.id %>",
|
|
4837
4837
|
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU",
|
|
4838
|
-
"<%= config.bin %> <%= command.id %>
|
|
4838
|
+
"<%= config.bin %> <%= command.id %> US-0001 --json"
|
|
4839
4839
|
],
|
|
4840
4840
|
"flags": {
|
|
4841
4841
|
"json": {
|
|
@@ -5134,7 +5134,7 @@
|
|
|
5134
5134
|
"cicd:work:push": {
|
|
5135
5135
|
"aliases": [],
|
|
5136
5136
|
"args": {},
|
|
5137
|
-
"description": "Push the current feature
|
|
5137
|
+
"description": "Push the current feature/<lastWorkItem> branch and register commits with Copado. Requires a clean working tree, base branch, and dev org branch from `.agentia/config.user.json`. Applies Copado environment-variable then yaml replacements when needed, commits both as a single follow-up commit, locks the tip commit, runs `git push origin <branch>`, calls headless work/push, then merges the feature branch into the recorded dev org branch.",
|
|
5138
5138
|
"examples": [
|
|
5139
5139
|
"<%= config.bin %> <%= command.id %>",
|
|
5140
5140
|
"<%= config.bin %> <%= command.id %> --json"
|
|
@@ -5257,7 +5257,7 @@
|
|
|
5257
5257
|
"cicd:work:submit": {
|
|
5258
5258
|
"aliases": [],
|
|
5259
5259
|
"args": {},
|
|
5260
|
-
"description": "Submit the current feature
|
|
5260
|
+
"description": "Submit the current feature/<lastWorkItem> work item for pipeline quality gates and validation. Runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present, pushes and registers commits when the branch is ahead of origin, then calls headless work/submit (Promote Action with validate=true).",
|
|
5261
5261
|
"examples": [
|
|
5262
5262
|
"<%= config.bin %> <%= command.id %>",
|
|
5263
5263
|
"<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
|
|
@@ -5287,7 +5287,7 @@
|
|
|
5287
5287
|
"type": "boolean"
|
|
5288
5288
|
},
|
|
5289
5289
|
"skip-pull-request": {
|
|
5290
|
-
"description": "Do not open the pull request compare URL after submit (also configurable via skipPullRequest in .agentia/config.json)",
|
|
5290
|
+
"description": "Do not open the pull request compare URL after submit (also configurable via skipPullRequest in .agentia/config.json or .agentia/config.user.json)",
|
|
5291
5291
|
"name": "skip-pull-request",
|
|
5292
5292
|
"allowNo": false,
|
|
5293
5293
|
"type": "boolean"
|
|
@@ -5580,19 +5580,14 @@
|
|
|
5580
5580
|
"update.js"
|
|
5581
5581
|
]
|
|
5582
5582
|
},
|
|
5583
|
-
"testing:
|
|
5583
|
+
"testing:job:create": {
|
|
5584
5584
|
"aliases": [],
|
|
5585
|
-
"args": {
|
|
5586
|
-
|
|
5587
|
-
"description": "CRT build/run ID.",
|
|
5588
|
-
"name": "id",
|
|
5589
|
-
"required": true
|
|
5590
|
-
}
|
|
5591
|
-
},
|
|
5592
|
-
"description": "Abort a Copado Robotic Testing build/run",
|
|
5585
|
+
"args": {},
|
|
5586
|
+
"description": "Create a Copado Robotic Testing job/test from uploaded files or Git storage",
|
|
5593
5587
|
"examples": [
|
|
5594
|
-
"<%= config.bin %> <%= command.id %>
|
|
5595
|
-
"<%= config.bin %> <%= command.id %>
|
|
5588
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --file tests.robot",
|
|
5589
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --dir tests --json",
|
|
5590
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --git-url https://github.com/acme/crt-tests.git --git-branch main"
|
|
5596
5591
|
],
|
|
5597
5592
|
"flags": {
|
|
5598
5593
|
"json": {
|
|
@@ -5632,116 +5627,96 @@
|
|
|
5632
5627
|
"multiple": false,
|
|
5633
5628
|
"type": "option"
|
|
5634
5629
|
},
|
|
5635
|
-
"
|
|
5636
|
-
"
|
|
5637
|
-
"
|
|
5638
|
-
"
|
|
5639
|
-
"
|
|
5630
|
+
"dir": {
|
|
5631
|
+
"description": "Directory containing Robot Framework files to upload. Can be provided multiple times.",
|
|
5632
|
+
"name": "dir",
|
|
5633
|
+
"hasDynamicHelp": false,
|
|
5634
|
+
"multiple": true,
|
|
5635
|
+
"type": "option"
|
|
5636
|
+
},
|
|
5637
|
+
"file": {
|
|
5638
|
+
"char": "f",
|
|
5639
|
+
"description": "Robot Framework file to upload. Can be provided multiple times.",
|
|
5640
|
+
"name": "file",
|
|
5641
|
+
"hasDynamicHelp": false,
|
|
5642
|
+
"multiple": true,
|
|
5643
|
+
"type": "option"
|
|
5644
|
+
},
|
|
5645
|
+
"git-branch": {
|
|
5646
|
+
"description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
|
|
5647
|
+
"name": "git-branch",
|
|
5640
5648
|
"hasDynamicHelp": false,
|
|
5641
5649
|
"multiple": false,
|
|
5642
5650
|
"type": "option"
|
|
5643
|
-
}
|
|
5644
|
-
},
|
|
5645
|
-
"hasDynamicHelp": false,
|
|
5646
|
-
"hiddenAliases": [],
|
|
5647
|
-
"id": "testing:build:abort",
|
|
5648
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
5649
|
-
"pluginName": "@copado/agentia-cli",
|
|
5650
|
-
"pluginType": "core",
|
|
5651
|
-
"strict": true,
|
|
5652
|
-
"enableJsonFlag": true,
|
|
5653
|
-
"isESM": true,
|
|
5654
|
-
"relativePath": [
|
|
5655
|
-
"dist",
|
|
5656
|
-
"commands",
|
|
5657
|
-
"testing",
|
|
5658
|
-
"build",
|
|
5659
|
-
"abort.js"
|
|
5660
|
-
]
|
|
5661
|
-
},
|
|
5662
|
-
"testing:build:list": {
|
|
5663
|
-
"aliases": [],
|
|
5664
|
-
"args": {},
|
|
5665
|
-
"description": "List Copado Robotic Testing builds/runs",
|
|
5666
|
-
"examples": [
|
|
5667
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
5668
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
|
|
5669
|
-
],
|
|
5670
|
-
"flags": {
|
|
5671
|
-
"json": {
|
|
5672
|
-
"description": "Format output as json.",
|
|
5673
|
-
"helpGroup": "GLOBAL",
|
|
5674
|
-
"name": "json",
|
|
5675
|
-
"allowNo": false,
|
|
5676
|
-
"type": "boolean"
|
|
5677
5651
|
},
|
|
5678
|
-
"domain": {
|
|
5679
|
-
"description": "CRT domain
|
|
5680
|
-
"name": "domain",
|
|
5652
|
+
"git-domain-credential": {
|
|
5653
|
+
"description": "CRT domain credential ID to use for Git repository access.",
|
|
5654
|
+
"name": "git-domain-credential",
|
|
5681
5655
|
"hasDynamicHelp": false,
|
|
5682
5656
|
"multiple": false,
|
|
5683
5657
|
"type": "option"
|
|
5684
5658
|
},
|
|
5685
|
-
"
|
|
5686
|
-
"description": "
|
|
5687
|
-
"name": "
|
|
5659
|
+
"git-password": {
|
|
5660
|
+
"description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
|
|
5661
|
+
"name": "git-password",
|
|
5688
5662
|
"hasDynamicHelp": false,
|
|
5689
5663
|
"multiple": false,
|
|
5690
5664
|
"type": "option"
|
|
5691
5665
|
},
|
|
5692
|
-
"
|
|
5693
|
-
"description": "
|
|
5694
|
-
"name": "
|
|
5666
|
+
"git-tag": {
|
|
5667
|
+
"description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
|
|
5668
|
+
"name": "git-tag",
|
|
5695
5669
|
"hasDynamicHelp": false,
|
|
5696
5670
|
"multiple": false,
|
|
5697
5671
|
"type": "option"
|
|
5698
5672
|
},
|
|
5699
|
-
"
|
|
5700
|
-
"
|
|
5701
|
-
"
|
|
5702
|
-
"name": "project",
|
|
5703
|
-
"required": true,
|
|
5673
|
+
"git-url": {
|
|
5674
|
+
"description": "Git repository URL for a Git-backed CRT job.",
|
|
5675
|
+
"name": "git-url",
|
|
5704
5676
|
"hasDynamicHelp": false,
|
|
5705
5677
|
"multiple": false,
|
|
5706
5678
|
"type": "option"
|
|
5707
5679
|
},
|
|
5708
|
-
"
|
|
5709
|
-
"description": "
|
|
5710
|
-
"name": "
|
|
5680
|
+
"git-use-caller-credentials": {
|
|
5681
|
+
"description": "Use caller credentials for Git repository access instead of explicit Git username/password.",
|
|
5682
|
+
"name": "git-use-caller-credentials",
|
|
5683
|
+
"allowNo": false,
|
|
5684
|
+
"type": "boolean"
|
|
5685
|
+
},
|
|
5686
|
+
"git-username": {
|
|
5687
|
+
"description": "Git username for repository access. Prefer --git-domain-credential when available.",
|
|
5688
|
+
"name": "git-username",
|
|
5711
5689
|
"hasDynamicHelp": false,
|
|
5712
5690
|
"multiple": false,
|
|
5713
5691
|
"type": "option"
|
|
5714
5692
|
},
|
|
5715
|
-
"
|
|
5716
|
-
"description": "
|
|
5717
|
-
"name": "
|
|
5718
|
-
"default": "compact",
|
|
5693
|
+
"description": {
|
|
5694
|
+
"description": "Job/test description.",
|
|
5695
|
+
"name": "description",
|
|
5719
5696
|
"hasDynamicHelp": false,
|
|
5720
5697
|
"multiple": false,
|
|
5721
|
-
"options": [
|
|
5722
|
-
"compact"
|
|
5723
|
-
],
|
|
5724
5698
|
"type": "option"
|
|
5725
5699
|
},
|
|
5726
|
-
"
|
|
5727
|
-
"description": "
|
|
5728
|
-
"name": "
|
|
5700
|
+
"name": {
|
|
5701
|
+
"description": "Job/test name.",
|
|
5702
|
+
"name": "name",
|
|
5703
|
+
"required": true,
|
|
5704
|
+
"hasDynamicHelp": false,
|
|
5705
|
+
"multiple": false,
|
|
5706
|
+
"type": "option"
|
|
5707
|
+
},
|
|
5708
|
+
"robot": {
|
|
5709
|
+
"description": "CRT robot ID.",
|
|
5710
|
+
"name": "robot",
|
|
5711
|
+
"required": true,
|
|
5729
5712
|
"hasDynamicHelp": false,
|
|
5730
5713
|
"multiple": false,
|
|
5731
|
-
"options": [
|
|
5732
|
-
"aborted",
|
|
5733
|
-
"executing",
|
|
5734
|
-
"failed",
|
|
5735
|
-
"finished",
|
|
5736
|
-
"queued",
|
|
5737
|
-
"succeeded"
|
|
5738
|
-
],
|
|
5739
5714
|
"type": "option"
|
|
5740
5715
|
}
|
|
5741
5716
|
},
|
|
5742
5717
|
"hasDynamicHelp": false,
|
|
5743
5718
|
"hiddenAliases": [],
|
|
5744
|
-
"id": "testing:
|
|
5719
|
+
"id": "testing:job:create",
|
|
5745
5720
|
"pluginAlias": "@copado/agentia-cli",
|
|
5746
5721
|
"pluginName": "@copado/agentia-cli",
|
|
5747
5722
|
"pluginType": "core",
|
|
@@ -5752,23 +5727,23 @@
|
|
|
5752
5727
|
"dist",
|
|
5753
5728
|
"commands",
|
|
5754
5729
|
"testing",
|
|
5755
|
-
"
|
|
5756
|
-
"
|
|
5730
|
+
"job",
|
|
5731
|
+
"create.js"
|
|
5757
5732
|
]
|
|
5758
5733
|
},
|
|
5759
|
-
"testing:
|
|
5734
|
+
"testing:job:delete": {
|
|
5760
5735
|
"aliases": [],
|
|
5761
5736
|
"args": {
|
|
5762
5737
|
"id": {
|
|
5763
|
-
"description": "CRT
|
|
5738
|
+
"description": "CRT job/test ID.",
|
|
5764
5739
|
"name": "id",
|
|
5765
5740
|
"required": true
|
|
5766
5741
|
}
|
|
5767
5742
|
},
|
|
5768
|
-
"description": "
|
|
5743
|
+
"description": "Delete a Copado Robotic Testing job/test",
|
|
5769
5744
|
"examples": [
|
|
5770
|
-
"<%= config.bin %> <%= command.id %> <
|
|
5771
|
-
"<%= config.bin %> <%= command.id %> <
|
|
5745
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
5746
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
5772
5747
|
],
|
|
5773
5748
|
"flags": {
|
|
5774
5749
|
"json": {
|
|
@@ -5807,28 +5782,11 @@
|
|
|
5807
5782
|
"hasDynamicHelp": false,
|
|
5808
5783
|
"multiple": false,
|
|
5809
5784
|
"type": "option"
|
|
5810
|
-
},
|
|
5811
|
-
"job": {
|
|
5812
|
-
"char": "j",
|
|
5813
|
-
"description": "CRT job/test ID.",
|
|
5814
|
-
"name": "job",
|
|
5815
|
-
"required": true,
|
|
5816
|
-
"hasDynamicHelp": false,
|
|
5817
|
-
"multiple": false,
|
|
5818
|
-
"type": "option"
|
|
5819
|
-
},
|
|
5820
|
-
"output": {
|
|
5821
|
-
"char": "o",
|
|
5822
|
-
"description": "Write raw output to this file path.",
|
|
5823
|
-
"name": "output",
|
|
5824
|
-
"hasDynamicHelp": false,
|
|
5825
|
-
"multiple": false,
|
|
5826
|
-
"type": "option"
|
|
5827
5785
|
}
|
|
5828
5786
|
},
|
|
5829
5787
|
"hasDynamicHelp": false,
|
|
5830
5788
|
"hiddenAliases": [],
|
|
5831
|
-
"id": "testing:
|
|
5789
|
+
"id": "testing:job:delete",
|
|
5832
5790
|
"pluginAlias": "@copado/agentia-cli",
|
|
5833
5791
|
"pluginName": "@copado/agentia-cli",
|
|
5834
5792
|
"pluginType": "core",
|
|
@@ -5839,24 +5797,23 @@
|
|
|
5839
5797
|
"dist",
|
|
5840
5798
|
"commands",
|
|
5841
5799
|
"testing",
|
|
5842
|
-
"
|
|
5843
|
-
"
|
|
5800
|
+
"job",
|
|
5801
|
+
"delete.js"
|
|
5844
5802
|
]
|
|
5845
5803
|
},
|
|
5846
|
-
"testing:
|
|
5804
|
+
"testing:job:download": {
|
|
5847
5805
|
"aliases": [],
|
|
5848
5806
|
"args": {
|
|
5849
5807
|
"id": {
|
|
5850
|
-
"description": "CRT job/test ID
|
|
5808
|
+
"description": "CRT job/test ID.",
|
|
5851
5809
|
"name": "id",
|
|
5852
5810
|
"required": true
|
|
5853
5811
|
}
|
|
5854
5812
|
},
|
|
5855
|
-
"description": "
|
|
5813
|
+
"description": "Download files from a Copado Robotic Testing job/test",
|
|
5856
5814
|
"examples": [
|
|
5857
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
5858
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --
|
|
5859
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
5815
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot",
|
|
5816
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --file tests.robot --output-dir ./crt-files --json"
|
|
5860
5817
|
],
|
|
5861
5818
|
"flags": {
|
|
5862
5819
|
"json": {
|
|
@@ -5897,61 +5854,24 @@
|
|
|
5897
5854
|
"type": "option"
|
|
5898
5855
|
},
|
|
5899
5856
|
"branch": {
|
|
5900
|
-
"description": "
|
|
5857
|
+
"description": "Optional CRT branch name for file operations.",
|
|
5901
5858
|
"name": "branch",
|
|
5902
5859
|
"hasDynamicHelp": false,
|
|
5903
5860
|
"multiple": false,
|
|
5904
5861
|
"type": "option"
|
|
5905
5862
|
},
|
|
5906
|
-
"
|
|
5907
|
-
"
|
|
5908
|
-
"
|
|
5909
|
-
"
|
|
5910
|
-
"
|
|
5911
|
-
"type": "option"
|
|
5912
|
-
},
|
|
5913
|
-
"include": {
|
|
5914
|
-
"description": "Robot Framework tag to include in this run. Can be provided multiple times.",
|
|
5915
|
-
"name": "include",
|
|
5916
|
-
"hasDynamicHelp": false,
|
|
5917
|
-
"multiple": true,
|
|
5918
|
-
"type": "option"
|
|
5919
|
-
},
|
|
5920
|
-
"param": {
|
|
5921
|
-
"description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
|
|
5922
|
-
"name": "param",
|
|
5863
|
+
"file": {
|
|
5864
|
+
"char": "f",
|
|
5865
|
+
"description": "Remote CRT file path to download. Can be provided multiple times.",
|
|
5866
|
+
"name": "file",
|
|
5867
|
+
"required": true,
|
|
5923
5868
|
"hasDynamicHelp": false,
|
|
5924
5869
|
"multiple": true,
|
|
5925
5870
|
"type": "option"
|
|
5926
5871
|
},
|
|
5927
|
-
"
|
|
5928
|
-
"description": "
|
|
5929
|
-
"name": "
|
|
5930
|
-
"hasDynamicHelp": false,
|
|
5931
|
-
"multiple": false,
|
|
5932
|
-
"options": [
|
|
5933
|
-
"all",
|
|
5934
|
-
"failed",
|
|
5935
|
-
"none"
|
|
5936
|
-
],
|
|
5937
|
-
"type": "option"
|
|
5938
|
-
},
|
|
5939
|
-
"rerun-failed": {
|
|
5940
|
-
"description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
|
|
5941
|
-
"name": "rerun-failed",
|
|
5942
|
-
"hasDynamicHelp": false,
|
|
5943
|
-
"multiple": false,
|
|
5944
|
-
"type": "option"
|
|
5945
|
-
},
|
|
5946
|
-
"rerun-failed-from-latest": {
|
|
5947
|
-
"description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
|
|
5948
|
-
"name": "rerun-failed-from-latest",
|
|
5949
|
-
"allowNo": false,
|
|
5950
|
-
"type": "boolean"
|
|
5951
|
-
},
|
|
5952
|
-
"tag": {
|
|
5953
|
-
"description": "Git tag to use for this run. Mutually exclusive with --branch.",
|
|
5954
|
-
"name": "tag",
|
|
5872
|
+
"output-dir": {
|
|
5873
|
+
"description": "Directory to write downloaded files.",
|
|
5874
|
+
"name": "output-dir",
|
|
5955
5875
|
"hasDynamicHelp": false,
|
|
5956
5876
|
"multiple": false,
|
|
5957
5877
|
"type": "option"
|
|
@@ -5959,7 +5879,7 @@
|
|
|
5959
5879
|
},
|
|
5960
5880
|
"hasDynamicHelp": false,
|
|
5961
5881
|
"hiddenAliases": [],
|
|
5962
|
-
"id": "testing:
|
|
5882
|
+
"id": "testing:job:download",
|
|
5963
5883
|
"pluginAlias": "@copado/agentia-cli",
|
|
5964
5884
|
"pluginName": "@copado/agentia-cli",
|
|
5965
5885
|
"pluginType": "core",
|
|
@@ -5970,18 +5890,23 @@
|
|
|
5970
5890
|
"dist",
|
|
5971
5891
|
"commands",
|
|
5972
5892
|
"testing",
|
|
5973
|
-
"
|
|
5974
|
-
"
|
|
5893
|
+
"job",
|
|
5894
|
+
"download.js"
|
|
5975
5895
|
]
|
|
5976
5896
|
},
|
|
5977
|
-
"testing:job:
|
|
5897
|
+
"testing:job:files": {
|
|
5978
5898
|
"aliases": [],
|
|
5979
|
-
"args": {
|
|
5980
|
-
|
|
5899
|
+
"args": {
|
|
5900
|
+
"id": {
|
|
5901
|
+
"description": "CRT job/test ID.",
|
|
5902
|
+
"name": "id",
|
|
5903
|
+
"required": true
|
|
5904
|
+
}
|
|
5905
|
+
},
|
|
5906
|
+
"description": "List files for a Copado Robotic Testing job/test",
|
|
5981
5907
|
"examples": [
|
|
5982
|
-
"<%= config.bin %> <%= command.id %>
|
|
5983
|
-
"<%= config.bin %> <%= command.id %>
|
|
5984
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --robot <robot-id> --name \"Smoke\" --git-url https://github.com/acme/crt-tests.git --git-branch main"
|
|
5908
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
5909
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
5985
5910
|
],
|
|
5986
5911
|
"flags": {
|
|
5987
5912
|
"json": {
|
|
@@ -6020,97 +5945,11 @@
|
|
|
6020
5945
|
"hasDynamicHelp": false,
|
|
6021
5946
|
"multiple": false,
|
|
6022
5947
|
"type": "option"
|
|
6023
|
-
},
|
|
6024
|
-
"dir": {
|
|
6025
|
-
"description": "Directory containing Robot Framework files to upload. Can be provided multiple times.",
|
|
6026
|
-
"name": "dir",
|
|
6027
|
-
"hasDynamicHelp": false,
|
|
6028
|
-
"multiple": true,
|
|
6029
|
-
"type": "option"
|
|
6030
|
-
},
|
|
6031
|
-
"file": {
|
|
6032
|
-
"char": "f",
|
|
6033
|
-
"description": "Robot Framework file to upload. Can be provided multiple times.",
|
|
6034
|
-
"name": "file",
|
|
6035
|
-
"hasDynamicHelp": false,
|
|
6036
|
-
"multiple": true,
|
|
6037
|
-
"type": "option"
|
|
6038
|
-
},
|
|
6039
|
-
"git-branch": {
|
|
6040
|
-
"description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
|
|
6041
|
-
"name": "git-branch",
|
|
6042
|
-
"hasDynamicHelp": false,
|
|
6043
|
-
"multiple": false,
|
|
6044
|
-
"type": "option"
|
|
6045
|
-
},
|
|
6046
|
-
"git-domain-credential": {
|
|
6047
|
-
"description": "CRT domain credential ID to use for Git repository access.",
|
|
6048
|
-
"name": "git-domain-credential",
|
|
6049
|
-
"hasDynamicHelp": false,
|
|
6050
|
-
"multiple": false,
|
|
6051
|
-
"type": "option"
|
|
6052
|
-
},
|
|
6053
|
-
"git-password": {
|
|
6054
|
-
"description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
|
|
6055
|
-
"name": "git-password",
|
|
6056
|
-
"hasDynamicHelp": false,
|
|
6057
|
-
"multiple": false,
|
|
6058
|
-
"type": "option"
|
|
6059
|
-
},
|
|
6060
|
-
"git-tag": {
|
|
6061
|
-
"description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
|
|
6062
|
-
"name": "git-tag",
|
|
6063
|
-
"hasDynamicHelp": false,
|
|
6064
|
-
"multiple": false,
|
|
6065
|
-
"type": "option"
|
|
6066
|
-
},
|
|
6067
|
-
"git-url": {
|
|
6068
|
-
"description": "Git repository URL for a Git-backed CRT job.",
|
|
6069
|
-
"name": "git-url",
|
|
6070
|
-
"hasDynamicHelp": false,
|
|
6071
|
-
"multiple": false,
|
|
6072
|
-
"type": "option"
|
|
6073
|
-
},
|
|
6074
|
-
"git-use-caller-credentials": {
|
|
6075
|
-
"description": "Use caller credentials for Git repository access instead of explicit Git username/password.",
|
|
6076
|
-
"name": "git-use-caller-credentials",
|
|
6077
|
-
"allowNo": false,
|
|
6078
|
-
"type": "boolean"
|
|
6079
|
-
},
|
|
6080
|
-
"git-username": {
|
|
6081
|
-
"description": "Git username for repository access. Prefer --git-domain-credential when available.",
|
|
6082
|
-
"name": "git-username",
|
|
6083
|
-
"hasDynamicHelp": false,
|
|
6084
|
-
"multiple": false,
|
|
6085
|
-
"type": "option"
|
|
6086
|
-
},
|
|
6087
|
-
"description": {
|
|
6088
|
-
"description": "Job/test description.",
|
|
6089
|
-
"name": "description",
|
|
6090
|
-
"hasDynamicHelp": false,
|
|
6091
|
-
"multiple": false,
|
|
6092
|
-
"type": "option"
|
|
6093
|
-
},
|
|
6094
|
-
"name": {
|
|
6095
|
-
"description": "Job/test name.",
|
|
6096
|
-
"name": "name",
|
|
6097
|
-
"required": true,
|
|
6098
|
-
"hasDynamicHelp": false,
|
|
6099
|
-
"multiple": false,
|
|
6100
|
-
"type": "option"
|
|
6101
|
-
},
|
|
6102
|
-
"robot": {
|
|
6103
|
-
"description": "CRT robot ID.",
|
|
6104
|
-
"name": "robot",
|
|
6105
|
-
"required": true,
|
|
6106
|
-
"hasDynamicHelp": false,
|
|
6107
|
-
"multiple": false,
|
|
6108
|
-
"type": "option"
|
|
6109
5948
|
}
|
|
6110
5949
|
},
|
|
6111
5950
|
"hasDynamicHelp": false,
|
|
6112
5951
|
"hiddenAliases": [],
|
|
6113
|
-
"id": "testing:job:
|
|
5952
|
+
"id": "testing:job:files",
|
|
6114
5953
|
"pluginAlias": "@copado/agentia-cli",
|
|
6115
5954
|
"pluginName": "@copado/agentia-cli",
|
|
6116
5955
|
"pluginType": "core",
|
|
@@ -6122,10 +5961,10 @@
|
|
|
6122
5961
|
"commands",
|
|
6123
5962
|
"testing",
|
|
6124
5963
|
"job",
|
|
6125
|
-
"
|
|
5964
|
+
"files.js"
|
|
6126
5965
|
]
|
|
6127
5966
|
},
|
|
6128
|
-
"testing:job:
|
|
5967
|
+
"testing:job:get": {
|
|
6129
5968
|
"aliases": [],
|
|
6130
5969
|
"args": {
|
|
6131
5970
|
"id": {
|
|
@@ -6134,7 +5973,7 @@
|
|
|
6134
5973
|
"required": true
|
|
6135
5974
|
}
|
|
6136
5975
|
},
|
|
6137
|
-
"description": "
|
|
5976
|
+
"description": "Get a Copado Robotic Testing job/test from the project job list",
|
|
6138
5977
|
"examples": [
|
|
6139
5978
|
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
6140
5979
|
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
@@ -6180,7 +6019,7 @@
|
|
|
6180
6019
|
},
|
|
6181
6020
|
"hasDynamicHelp": false,
|
|
6182
6021
|
"hiddenAliases": [],
|
|
6183
|
-
"id": "testing:job:
|
|
6022
|
+
"id": "testing:job:get",
|
|
6184
6023
|
"pluginAlias": "@copado/agentia-cli",
|
|
6185
6024
|
"pluginName": "@copado/agentia-cli",
|
|
6186
6025
|
"pluginType": "core",
|
|
@@ -6192,22 +6031,16 @@
|
|
|
6192
6031
|
"commands",
|
|
6193
6032
|
"testing",
|
|
6194
6033
|
"job",
|
|
6195
|
-
"
|
|
6034
|
+
"get.js"
|
|
6196
6035
|
]
|
|
6197
6036
|
},
|
|
6198
|
-
"testing:job:
|
|
6037
|
+
"testing:job:list": {
|
|
6199
6038
|
"aliases": [],
|
|
6200
|
-
"args": {
|
|
6201
|
-
|
|
6202
|
-
"description": "CRT job/test ID.",
|
|
6203
|
-
"name": "id",
|
|
6204
|
-
"required": true
|
|
6205
|
-
}
|
|
6206
|
-
},
|
|
6207
|
-
"description": "Download files from a Copado Robotic Testing job/test",
|
|
6039
|
+
"args": {},
|
|
6040
|
+
"description": "List Copado Robotic Testing jobs/tests in a project",
|
|
6208
6041
|
"examples": [
|
|
6209
|
-
"<%= config.bin %> <%= command.id %>
|
|
6210
|
-
"<%= config.bin %> <%= command.id %>
|
|
6042
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
6043
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --name \"Smoke\" --json"
|
|
6211
6044
|
],
|
|
6212
6045
|
"flags": {
|
|
6213
6046
|
"json": {
|
|
@@ -6247,25 +6080,9 @@
|
|
|
6247
6080
|
"multiple": false,
|
|
6248
6081
|
"type": "option"
|
|
6249
6082
|
},
|
|
6250
|
-
"
|
|
6251
|
-
"description": "
|
|
6252
|
-
"name": "
|
|
6253
|
-
"hasDynamicHelp": false,
|
|
6254
|
-
"multiple": false,
|
|
6255
|
-
"type": "option"
|
|
6256
|
-
},
|
|
6257
|
-
"file": {
|
|
6258
|
-
"char": "f",
|
|
6259
|
-
"description": "Remote CRT file path to download. Can be provided multiple times.",
|
|
6260
|
-
"name": "file",
|
|
6261
|
-
"required": true,
|
|
6262
|
-
"hasDynamicHelp": false,
|
|
6263
|
-
"multiple": true,
|
|
6264
|
-
"type": "option"
|
|
6265
|
-
},
|
|
6266
|
-
"output-dir": {
|
|
6267
|
-
"description": "Directory to write downloaded files.",
|
|
6268
|
-
"name": "output-dir",
|
|
6083
|
+
"name": {
|
|
6084
|
+
"description": "Case-insensitive exact job name to match client-side.",
|
|
6085
|
+
"name": "name",
|
|
6269
6086
|
"hasDynamicHelp": false,
|
|
6270
6087
|
"multiple": false,
|
|
6271
6088
|
"type": "option"
|
|
@@ -6273,7 +6090,7 @@
|
|
|
6273
6090
|
},
|
|
6274
6091
|
"hasDynamicHelp": false,
|
|
6275
6092
|
"hiddenAliases": [],
|
|
6276
|
-
"id": "testing:job:
|
|
6093
|
+
"id": "testing:job:list",
|
|
6277
6094
|
"pluginAlias": "@copado/agentia-cli",
|
|
6278
6095
|
"pluginName": "@copado/agentia-cli",
|
|
6279
6096
|
"pluginType": "core",
|
|
@@ -6285,21 +6102,22 @@
|
|
|
6285
6102
|
"commands",
|
|
6286
6103
|
"testing",
|
|
6287
6104
|
"job",
|
|
6288
|
-
"
|
|
6105
|
+
"list.js"
|
|
6289
6106
|
]
|
|
6290
6107
|
},
|
|
6291
|
-
"testing:job:
|
|
6108
|
+
"testing:job:run": {
|
|
6292
6109
|
"aliases": [],
|
|
6293
6110
|
"args": {
|
|
6294
6111
|
"id": {
|
|
6295
|
-
"description": "CRT job/test ID.",
|
|
6112
|
+
"description": "CRT job/test ID to run.",
|
|
6296
6113
|
"name": "id",
|
|
6297
6114
|
"required": true
|
|
6298
6115
|
}
|
|
6299
6116
|
},
|
|
6300
|
-
"description": "
|
|
6117
|
+
"description": "Run a Copado Robotic Testing job/test",
|
|
6301
6118
|
"examples": [
|
|
6302
6119
|
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
6120
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
|
|
6303
6121
|
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
6304
6122
|
],
|
|
6305
6123
|
"flags": {
|
|
@@ -6339,11 +6157,71 @@
|
|
|
6339
6157
|
"hasDynamicHelp": false,
|
|
6340
6158
|
"multiple": false,
|
|
6341
6159
|
"type": "option"
|
|
6160
|
+
},
|
|
6161
|
+
"branch": {
|
|
6162
|
+
"description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
|
|
6163
|
+
"name": "branch",
|
|
6164
|
+
"hasDynamicHelp": false,
|
|
6165
|
+
"multiple": false,
|
|
6166
|
+
"type": "option"
|
|
6167
|
+
},
|
|
6168
|
+
"exclude": {
|
|
6169
|
+
"description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
|
|
6170
|
+
"name": "exclude",
|
|
6171
|
+
"hasDynamicHelp": false,
|
|
6172
|
+
"multiple": true,
|
|
6173
|
+
"type": "option"
|
|
6174
|
+
},
|
|
6175
|
+
"include": {
|
|
6176
|
+
"description": "Robot Framework tag to include in this run. Can be provided multiple times.",
|
|
6177
|
+
"name": "include",
|
|
6178
|
+
"hasDynamicHelp": false,
|
|
6179
|
+
"multiple": true,
|
|
6180
|
+
"type": "option"
|
|
6181
|
+
},
|
|
6182
|
+
"param": {
|
|
6183
|
+
"description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
|
|
6184
|
+
"name": "param",
|
|
6185
|
+
"hasDynamicHelp": false,
|
|
6186
|
+
"multiple": true,
|
|
6187
|
+
"type": "option"
|
|
6188
|
+
},
|
|
6189
|
+
"record": {
|
|
6190
|
+
"description": "CRT execution recording mode.",
|
|
6191
|
+
"name": "record",
|
|
6192
|
+
"hasDynamicHelp": false,
|
|
6193
|
+
"multiple": false,
|
|
6194
|
+
"options": [
|
|
6195
|
+
"all",
|
|
6196
|
+
"failed",
|
|
6197
|
+
"none"
|
|
6198
|
+
],
|
|
6199
|
+
"type": "option"
|
|
6200
|
+
},
|
|
6201
|
+
"rerun-failed": {
|
|
6202
|
+
"description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
|
|
6203
|
+
"name": "rerun-failed",
|
|
6204
|
+
"hasDynamicHelp": false,
|
|
6205
|
+
"multiple": false,
|
|
6206
|
+
"type": "option"
|
|
6207
|
+
},
|
|
6208
|
+
"rerun-failed-from-latest": {
|
|
6209
|
+
"description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
|
|
6210
|
+
"name": "rerun-failed-from-latest",
|
|
6211
|
+
"allowNo": false,
|
|
6212
|
+
"type": "boolean"
|
|
6213
|
+
},
|
|
6214
|
+
"tag": {
|
|
6215
|
+
"description": "Git tag to use for this run. Mutually exclusive with --branch.",
|
|
6216
|
+
"name": "tag",
|
|
6217
|
+
"hasDynamicHelp": false,
|
|
6218
|
+
"multiple": false,
|
|
6219
|
+
"type": "option"
|
|
6342
6220
|
}
|
|
6343
6221
|
},
|
|
6344
6222
|
"hasDynamicHelp": false,
|
|
6345
6223
|
"hiddenAliases": [],
|
|
6346
|
-
"id": "testing:job:
|
|
6224
|
+
"id": "testing:job:run",
|
|
6347
6225
|
"pluginAlias": "@copado/agentia-cli",
|
|
6348
6226
|
"pluginName": "@copado/agentia-cli",
|
|
6349
6227
|
"pluginType": "core",
|
|
@@ -6355,10 +6233,10 @@
|
|
|
6355
6233
|
"commands",
|
|
6356
6234
|
"testing",
|
|
6357
6235
|
"job",
|
|
6358
|
-
"
|
|
6236
|
+
"run.js"
|
|
6359
6237
|
]
|
|
6360
6238
|
},
|
|
6361
|
-
"testing:job:
|
|
6239
|
+
"testing:job:update": {
|
|
6362
6240
|
"aliases": [],
|
|
6363
6241
|
"args": {
|
|
6364
6242
|
"id": {
|
|
@@ -6367,10 +6245,12 @@
|
|
|
6367
6245
|
"required": true
|
|
6368
6246
|
}
|
|
6369
6247
|
},
|
|
6370
|
-
"description": "
|
|
6248
|
+
"description": "Update Copado Robotic Testing job/test metadata",
|
|
6371
6249
|
"examples": [
|
|
6372
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
6373
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --
|
|
6250
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --name \"Smoke\"",
|
|
6251
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --git-url https://github.com/acme/crt-tests.git --git-branch main",
|
|
6252
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --git-branch feature/login-smoke",
|
|
6253
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --timeout 10m --parallel-mode enabled --json"
|
|
6374
6254
|
],
|
|
6375
6255
|
"flags": {
|
|
6376
6256
|
"json": {
|
|
@@ -6409,312 +6289,38 @@
|
|
|
6409
6289
|
"hasDynamicHelp": false,
|
|
6410
6290
|
"multiple": false,
|
|
6411
6291
|
"type": "option"
|
|
6412
|
-
}
|
|
6413
|
-
},
|
|
6414
|
-
"hasDynamicHelp": false,
|
|
6415
|
-
"hiddenAliases": [],
|
|
6416
|
-
"id": "testing:job:get",
|
|
6417
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
6418
|
-
"pluginName": "@copado/agentia-cli",
|
|
6419
|
-
"pluginType": "core",
|
|
6420
|
-
"strict": true,
|
|
6421
|
-
"enableJsonFlag": true,
|
|
6422
|
-
"isESM": true,
|
|
6423
|
-
"relativePath": [
|
|
6424
|
-
"dist",
|
|
6425
|
-
"commands",
|
|
6426
|
-
"testing",
|
|
6427
|
-
"job",
|
|
6428
|
-
"get.js"
|
|
6429
|
-
]
|
|
6430
|
-
},
|
|
6431
|
-
"testing:job:list": {
|
|
6432
|
-
"aliases": [],
|
|
6433
|
-
"args": {},
|
|
6434
|
-
"description": "List Copado Robotic Testing jobs/tests in a project",
|
|
6435
|
-
"examples": [
|
|
6436
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
6437
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --name \"Smoke\" --json"
|
|
6438
|
-
],
|
|
6439
|
-
"flags": {
|
|
6440
|
-
"json": {
|
|
6441
|
-
"description": "Format output as json.",
|
|
6442
|
-
"helpGroup": "GLOBAL",
|
|
6443
|
-
"name": "json",
|
|
6444
|
-
"allowNo": false,
|
|
6445
|
-
"type": "boolean"
|
|
6446
6292
|
},
|
|
6447
|
-
"
|
|
6448
|
-
"description": "
|
|
6449
|
-
"name": "
|
|
6293
|
+
"git-branch": {
|
|
6294
|
+
"description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
|
|
6295
|
+
"name": "git-branch",
|
|
6450
6296
|
"hasDynamicHelp": false,
|
|
6451
6297
|
"multiple": false,
|
|
6452
6298
|
"type": "option"
|
|
6453
6299
|
},
|
|
6454
|
-
"
|
|
6455
|
-
"description": "CRT
|
|
6456
|
-
"name": "
|
|
6300
|
+
"git-domain-credential": {
|
|
6301
|
+
"description": "CRT domain credential ID to use for Git repository access.",
|
|
6302
|
+
"name": "git-domain-credential",
|
|
6457
6303
|
"hasDynamicHelp": false,
|
|
6458
6304
|
"multiple": false,
|
|
6459
6305
|
"type": "option"
|
|
6460
6306
|
},
|
|
6461
|
-
"
|
|
6462
|
-
"description": "
|
|
6463
|
-
"name": "
|
|
6307
|
+
"git-password": {
|
|
6308
|
+
"description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
|
|
6309
|
+
"name": "git-password",
|
|
6464
6310
|
"hasDynamicHelp": false,
|
|
6465
6311
|
"multiple": false,
|
|
6466
6312
|
"type": "option"
|
|
6467
6313
|
},
|
|
6468
|
-
"
|
|
6469
|
-
"
|
|
6470
|
-
"
|
|
6471
|
-
"name": "project",
|
|
6472
|
-
"required": true,
|
|
6314
|
+
"git-tag": {
|
|
6315
|
+
"description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
|
|
6316
|
+
"name": "git-tag",
|
|
6473
6317
|
"hasDynamicHelp": false,
|
|
6474
6318
|
"multiple": false,
|
|
6475
6319
|
"type": "option"
|
|
6476
6320
|
},
|
|
6477
|
-
"
|
|
6478
|
-
"description": "
|
|
6479
|
-
"name": "
|
|
6480
|
-
"hasDynamicHelp": false,
|
|
6481
|
-
"multiple": false,
|
|
6482
|
-
"type": "option"
|
|
6483
|
-
}
|
|
6484
|
-
},
|
|
6485
|
-
"hasDynamicHelp": false,
|
|
6486
|
-
"hiddenAliases": [],
|
|
6487
|
-
"id": "testing:job:list",
|
|
6488
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
6489
|
-
"pluginName": "@copado/agentia-cli",
|
|
6490
|
-
"pluginType": "core",
|
|
6491
|
-
"strict": true,
|
|
6492
|
-
"enableJsonFlag": true,
|
|
6493
|
-
"isESM": true,
|
|
6494
|
-
"relativePath": [
|
|
6495
|
-
"dist",
|
|
6496
|
-
"commands",
|
|
6497
|
-
"testing",
|
|
6498
|
-
"job",
|
|
6499
|
-
"list.js"
|
|
6500
|
-
]
|
|
6501
|
-
},
|
|
6502
|
-
"testing:job:run": {
|
|
6503
|
-
"aliases": [],
|
|
6504
|
-
"args": {
|
|
6505
|
-
"id": {
|
|
6506
|
-
"description": "CRT job/test ID to run.",
|
|
6507
|
-
"name": "id",
|
|
6508
|
-
"required": true
|
|
6509
|
-
}
|
|
6510
|
-
},
|
|
6511
|
-
"description": "Run a Copado Robotic Testing job/test",
|
|
6512
|
-
"examples": [
|
|
6513
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
6514
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
|
|
6515
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
6516
|
-
],
|
|
6517
|
-
"flags": {
|
|
6518
|
-
"json": {
|
|
6519
|
-
"description": "Format output as json.",
|
|
6520
|
-
"helpGroup": "GLOBAL",
|
|
6521
|
-
"name": "json",
|
|
6522
|
-
"allowNo": false,
|
|
6523
|
-
"type": "boolean"
|
|
6524
|
-
},
|
|
6525
|
-
"domain": {
|
|
6526
|
-
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
6527
|
-
"name": "domain",
|
|
6528
|
-
"hasDynamicHelp": false,
|
|
6529
|
-
"multiple": false,
|
|
6530
|
-
"type": "option"
|
|
6531
|
-
},
|
|
6532
|
-
"org": {
|
|
6533
|
-
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
6534
|
-
"name": "org",
|
|
6535
|
-
"hasDynamicHelp": false,
|
|
6536
|
-
"multiple": false,
|
|
6537
|
-
"type": "option"
|
|
6538
|
-
},
|
|
6539
|
-
"pat": {
|
|
6540
|
-
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
6541
|
-
"name": "pat",
|
|
6542
|
-
"hasDynamicHelp": false,
|
|
6543
|
-
"multiple": false,
|
|
6544
|
-
"type": "option"
|
|
6545
|
-
},
|
|
6546
|
-
"project": {
|
|
6547
|
-
"char": "p",
|
|
6548
|
-
"description": "CRT project ID.",
|
|
6549
|
-
"name": "project",
|
|
6550
|
-
"required": true,
|
|
6551
|
-
"hasDynamicHelp": false,
|
|
6552
|
-
"multiple": false,
|
|
6553
|
-
"type": "option"
|
|
6554
|
-
},
|
|
6555
|
-
"branch": {
|
|
6556
|
-
"description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
|
|
6557
|
-
"name": "branch",
|
|
6558
|
-
"hasDynamicHelp": false,
|
|
6559
|
-
"multiple": false,
|
|
6560
|
-
"type": "option"
|
|
6561
|
-
},
|
|
6562
|
-
"exclude": {
|
|
6563
|
-
"description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
|
|
6564
|
-
"name": "exclude",
|
|
6565
|
-
"hasDynamicHelp": false,
|
|
6566
|
-
"multiple": true,
|
|
6567
|
-
"type": "option"
|
|
6568
|
-
},
|
|
6569
|
-
"include": {
|
|
6570
|
-
"description": "Robot Framework tag to include in this run. Can be provided multiple times.",
|
|
6571
|
-
"name": "include",
|
|
6572
|
-
"hasDynamicHelp": false,
|
|
6573
|
-
"multiple": true,
|
|
6574
|
-
"type": "option"
|
|
6575
|
-
},
|
|
6576
|
-
"param": {
|
|
6577
|
-
"description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
|
|
6578
|
-
"name": "param",
|
|
6579
|
-
"hasDynamicHelp": false,
|
|
6580
|
-
"multiple": true,
|
|
6581
|
-
"type": "option"
|
|
6582
|
-
},
|
|
6583
|
-
"record": {
|
|
6584
|
-
"description": "CRT execution recording mode.",
|
|
6585
|
-
"name": "record",
|
|
6586
|
-
"hasDynamicHelp": false,
|
|
6587
|
-
"multiple": false,
|
|
6588
|
-
"options": [
|
|
6589
|
-
"all",
|
|
6590
|
-
"failed",
|
|
6591
|
-
"none"
|
|
6592
|
-
],
|
|
6593
|
-
"type": "option"
|
|
6594
|
-
},
|
|
6595
|
-
"rerun-failed": {
|
|
6596
|
-
"description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
|
|
6597
|
-
"name": "rerun-failed",
|
|
6598
|
-
"hasDynamicHelp": false,
|
|
6599
|
-
"multiple": false,
|
|
6600
|
-
"type": "option"
|
|
6601
|
-
},
|
|
6602
|
-
"rerun-failed-from-latest": {
|
|
6603
|
-
"description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
|
|
6604
|
-
"name": "rerun-failed-from-latest",
|
|
6605
|
-
"allowNo": false,
|
|
6606
|
-
"type": "boolean"
|
|
6607
|
-
},
|
|
6608
|
-
"tag": {
|
|
6609
|
-
"description": "Git tag to use for this run. Mutually exclusive with --branch.",
|
|
6610
|
-
"name": "tag",
|
|
6611
|
-
"hasDynamicHelp": false,
|
|
6612
|
-
"multiple": false,
|
|
6613
|
-
"type": "option"
|
|
6614
|
-
}
|
|
6615
|
-
},
|
|
6616
|
-
"hasDynamicHelp": false,
|
|
6617
|
-
"hiddenAliases": [],
|
|
6618
|
-
"id": "testing:job:run",
|
|
6619
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
6620
|
-
"pluginName": "@copado/agentia-cli",
|
|
6621
|
-
"pluginType": "core",
|
|
6622
|
-
"strict": true,
|
|
6623
|
-
"enableJsonFlag": true,
|
|
6624
|
-
"isESM": true,
|
|
6625
|
-
"relativePath": [
|
|
6626
|
-
"dist",
|
|
6627
|
-
"commands",
|
|
6628
|
-
"testing",
|
|
6629
|
-
"job",
|
|
6630
|
-
"run.js"
|
|
6631
|
-
]
|
|
6632
|
-
},
|
|
6633
|
-
"testing:job:update": {
|
|
6634
|
-
"aliases": [],
|
|
6635
|
-
"args": {
|
|
6636
|
-
"id": {
|
|
6637
|
-
"description": "CRT job/test ID.",
|
|
6638
|
-
"name": "id",
|
|
6639
|
-
"required": true
|
|
6640
|
-
}
|
|
6641
|
-
},
|
|
6642
|
-
"description": "Update Copado Robotic Testing job/test metadata",
|
|
6643
|
-
"examples": [
|
|
6644
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --name \"Smoke\"",
|
|
6645
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --git-url https://github.com/acme/crt-tests.git --git-branch main",
|
|
6646
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --git-branch feature/login-smoke",
|
|
6647
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --timeout 10m --parallel-mode enabled --json"
|
|
6648
|
-
],
|
|
6649
|
-
"flags": {
|
|
6650
|
-
"json": {
|
|
6651
|
-
"description": "Format output as json.",
|
|
6652
|
-
"helpGroup": "GLOBAL",
|
|
6653
|
-
"name": "json",
|
|
6654
|
-
"allowNo": false,
|
|
6655
|
-
"type": "boolean"
|
|
6656
|
-
},
|
|
6657
|
-
"domain": {
|
|
6658
|
-
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
6659
|
-
"name": "domain",
|
|
6660
|
-
"hasDynamicHelp": false,
|
|
6661
|
-
"multiple": false,
|
|
6662
|
-
"type": "option"
|
|
6663
|
-
},
|
|
6664
|
-
"org": {
|
|
6665
|
-
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
6666
|
-
"name": "org",
|
|
6667
|
-
"hasDynamicHelp": false,
|
|
6668
|
-
"multiple": false,
|
|
6669
|
-
"type": "option"
|
|
6670
|
-
},
|
|
6671
|
-
"pat": {
|
|
6672
|
-
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
6673
|
-
"name": "pat",
|
|
6674
|
-
"hasDynamicHelp": false,
|
|
6675
|
-
"multiple": false,
|
|
6676
|
-
"type": "option"
|
|
6677
|
-
},
|
|
6678
|
-
"project": {
|
|
6679
|
-
"char": "p",
|
|
6680
|
-
"description": "CRT project ID.",
|
|
6681
|
-
"name": "project",
|
|
6682
|
-
"required": true,
|
|
6683
|
-
"hasDynamicHelp": false,
|
|
6684
|
-
"multiple": false,
|
|
6685
|
-
"type": "option"
|
|
6686
|
-
},
|
|
6687
|
-
"git-branch": {
|
|
6688
|
-
"description": "Git branch to use for a Git-backed CRT job. Mutually exclusive with --git-tag.",
|
|
6689
|
-
"name": "git-branch",
|
|
6690
|
-
"hasDynamicHelp": false,
|
|
6691
|
-
"multiple": false,
|
|
6692
|
-
"type": "option"
|
|
6693
|
-
},
|
|
6694
|
-
"git-domain-credential": {
|
|
6695
|
-
"description": "CRT domain credential ID to use for Git repository access.",
|
|
6696
|
-
"name": "git-domain-credential",
|
|
6697
|
-
"hasDynamicHelp": false,
|
|
6698
|
-
"multiple": false,
|
|
6699
|
-
"type": "option"
|
|
6700
|
-
},
|
|
6701
|
-
"git-password": {
|
|
6702
|
-
"description": "Git password/token for repository access. Prefer --git-domain-credential when available.",
|
|
6703
|
-
"name": "git-password",
|
|
6704
|
-
"hasDynamicHelp": false,
|
|
6705
|
-
"multiple": false,
|
|
6706
|
-
"type": "option"
|
|
6707
|
-
},
|
|
6708
|
-
"git-tag": {
|
|
6709
|
-
"description": "Git tag to use for a Git-backed CRT job. Mutually exclusive with --git-branch.",
|
|
6710
|
-
"name": "git-tag",
|
|
6711
|
-
"hasDynamicHelp": false,
|
|
6712
|
-
"multiple": false,
|
|
6713
|
-
"type": "option"
|
|
6714
|
-
},
|
|
6715
|
-
"git-url": {
|
|
6716
|
-
"description": "Git repository URL for a Git-backed CRT job.",
|
|
6717
|
-
"name": "git-url",
|
|
6321
|
+
"git-url": {
|
|
6322
|
+
"description": "Git repository URL for a Git-backed CRT job.",
|
|
6323
|
+
"name": "git-url",
|
|
6718
6324
|
"hasDynamicHelp": false,
|
|
6719
6325
|
"multiple": false,
|
|
6720
6326
|
"type": "option"
|
|
@@ -9033,13 +8639,19 @@
|
|
|
9033
8639
|
"update.js"
|
|
9034
8640
|
]
|
|
9035
8641
|
},
|
|
9036
|
-
"cicd:data:
|
|
8642
|
+
"cicd:data:formula:create": {
|
|
9037
8643
|
"aliases": [],
|
|
9038
|
-
"args": {
|
|
9039
|
-
|
|
8644
|
+
"args": {
|
|
8645
|
+
"dataTemplateId": {
|
|
8646
|
+
"description": "Data template Id",
|
|
8647
|
+
"name": "dataTemplateId",
|
|
8648
|
+
"required": true
|
|
8649
|
+
}
|
|
8650
|
+
},
|
|
8651
|
+
"description": "Create a record matching formula for a data template",
|
|
9040
8652
|
"examples": [
|
|
9041
|
-
"<%= config.bin %> <%= command.id %> --
|
|
9042
|
-
"<%= config.bin %> <%= command.id %> --
|
|
8653
|
+
"<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name,BillingCity",
|
|
8654
|
+
"<%= config.bin %> <%= command.id %> a0X... --name MatchByName --object-api-name Account --fields Name --fields BillingCity --hash-formula --json"
|
|
9043
8655
|
],
|
|
9044
8656
|
"flags": {
|
|
9045
8657
|
"json": {
|
|
@@ -9049,30 +8661,40 @@
|
|
|
9049
8661
|
"allowNo": false,
|
|
9050
8662
|
"type": "boolean"
|
|
9051
8663
|
},
|
|
9052
|
-
"
|
|
9053
|
-
"
|
|
9054
|
-
"
|
|
9055
|
-
"
|
|
9056
|
-
"stdin"
|
|
9057
|
-
],
|
|
9058
|
-
"name": "file",
|
|
8664
|
+
"fields": {
|
|
8665
|
+
"description": "Formula fields (repeatable or comma-separated, up to 3)",
|
|
8666
|
+
"name": "fields",
|
|
8667
|
+
"required": true,
|
|
9059
8668
|
"hasDynamicHelp": false,
|
|
9060
|
-
"multiple":
|
|
8669
|
+
"multiple": true,
|
|
9061
8670
|
"type": "option"
|
|
9062
8671
|
},
|
|
9063
|
-
"
|
|
9064
|
-
"description": "
|
|
9065
|
-
"
|
|
9066
|
-
"file"
|
|
9067
|
-
],
|
|
9068
|
-
"name": "stdin",
|
|
8672
|
+
"hash-formula": {
|
|
8673
|
+
"description": "Enable hash formula",
|
|
8674
|
+
"name": "hash-formula",
|
|
9069
8675
|
"allowNo": false,
|
|
9070
8676
|
"type": "boolean"
|
|
8677
|
+
},
|
|
8678
|
+
"name": {
|
|
8679
|
+
"description": "Formula name",
|
|
8680
|
+
"name": "name",
|
|
8681
|
+
"required": true,
|
|
8682
|
+
"hasDynamicHelp": false,
|
|
8683
|
+
"multiple": false,
|
|
8684
|
+
"type": "option"
|
|
8685
|
+
},
|
|
8686
|
+
"object-api-name": {
|
|
8687
|
+
"description": "sObject API name",
|
|
8688
|
+
"name": "object-api-name",
|
|
8689
|
+
"required": true,
|
|
8690
|
+
"hasDynamicHelp": false,
|
|
8691
|
+
"multiple": false,
|
|
8692
|
+
"type": "option"
|
|
9071
8693
|
}
|
|
9072
8694
|
},
|
|
9073
8695
|
"hasDynamicHelp": false,
|
|
9074
8696
|
"hiddenAliases": [],
|
|
9075
|
-
"id": "cicd:data:
|
|
8697
|
+
"id": "cicd:data:formula:create",
|
|
9076
8698
|
"pluginAlias": "@copado/agentia-cli",
|
|
9077
8699
|
"pluginName": "@copado/agentia-cli",
|
|
9078
8700
|
"pluginType": "core",
|
|
@@ -9084,18 +8706,23 @@
|
|
|
9084
8706
|
"commands",
|
|
9085
8707
|
"cicd",
|
|
9086
8708
|
"data",
|
|
9087
|
-
"
|
|
9088
|
-
"
|
|
8709
|
+
"formula",
|
|
8710
|
+
"create.js"
|
|
9089
8711
|
]
|
|
9090
8712
|
},
|
|
9091
|
-
"cicd:data:
|
|
8713
|
+
"cicd:data:formula:list": {
|
|
9092
8714
|
"aliases": [],
|
|
9093
|
-
"args": {
|
|
9094
|
-
|
|
8715
|
+
"args": {
|
|
8716
|
+
"objectApiName": {
|
|
8717
|
+
"description": "sObject API name",
|
|
8718
|
+
"name": "objectApiName",
|
|
8719
|
+
"required": true
|
|
8720
|
+
}
|
|
8721
|
+
},
|
|
8722
|
+
"description": "List record matching formulas for an sObject",
|
|
9095
8723
|
"examples": [
|
|
9096
|
-
"<%= config.bin %> <%= command.id %>
|
|
9097
|
-
"<%= config.bin %> <%= command.id %>
|
|
9098
|
-
"<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --json"
|
|
8724
|
+
"<%= config.bin %> <%= command.id %> Account",
|
|
8725
|
+
"<%= config.bin %> <%= command.id %> Account --json"
|
|
9099
8726
|
],
|
|
9100
8727
|
"flags": {
|
|
9101
8728
|
"json": {
|
|
@@ -9104,54 +8731,11 @@
|
|
|
9104
8731
|
"name": "json",
|
|
9105
8732
|
"allowNo": false,
|
|
9106
8733
|
"type": "boolean"
|
|
9107
|
-
},
|
|
9108
|
-
"changed-date-from": {
|
|
9109
|
-
"description": "Optional changed-date-from filter (ISO datetime)",
|
|
9110
|
-
"name": "changed-date-from",
|
|
9111
|
-
"hasDynamicHelp": false,
|
|
9112
|
-
"multiple": false,
|
|
9113
|
-
"type": "option"
|
|
9114
|
-
},
|
|
9115
|
-
"credential-id": {
|
|
9116
|
-
"description": "Org credential Id",
|
|
9117
|
-
"name": "credential-id",
|
|
9118
|
-
"required": true,
|
|
9119
|
-
"hasDynamicHelp": false,
|
|
9120
|
-
"multiple": false,
|
|
9121
|
-
"type": "option"
|
|
9122
|
-
},
|
|
9123
|
-
"data-template-id": {
|
|
9124
|
-
"description": "Data template Id",
|
|
9125
|
-
"name": "data-template-id",
|
|
9126
|
-
"required": true,
|
|
9127
|
-
"hasDynamicHelp": false,
|
|
9128
|
-
"multiple": false,
|
|
9129
|
-
"type": "option"
|
|
9130
|
-
},
|
|
9131
|
-
"file": {
|
|
9132
|
-
"char": "f",
|
|
9133
|
-
"description": "Path to a JSON file body",
|
|
9134
|
-
"exclusive": [
|
|
9135
|
-
"stdin"
|
|
9136
|
-
],
|
|
9137
|
-
"name": "file",
|
|
9138
|
-
"hasDynamicHelp": false,
|
|
9139
|
-
"multiple": false,
|
|
9140
|
-
"type": "option"
|
|
9141
|
-
},
|
|
9142
|
-
"stdin": {
|
|
9143
|
-
"description": "Read the JSON body from stdin",
|
|
9144
|
-
"exclusive": [
|
|
9145
|
-
"file"
|
|
9146
|
-
],
|
|
9147
|
-
"name": "stdin",
|
|
9148
|
-
"allowNo": false,
|
|
9149
|
-
"type": "boolean"
|
|
9150
8734
|
}
|
|
9151
8735
|
},
|
|
9152
8736
|
"hasDynamicHelp": false,
|
|
9153
8737
|
"hiddenAliases": [],
|
|
9154
|
-
"id": "cicd:data:
|
|
8738
|
+
"id": "cicd:data:formula:list",
|
|
9155
8739
|
"pluginAlias": "@copado/agentia-cli",
|
|
9156
8740
|
"pluginName": "@copado/agentia-cli",
|
|
9157
8741
|
"pluginType": "core",
|
|
@@ -9163,23 +8747,24 @@
|
|
|
9163
8747
|
"commands",
|
|
9164
8748
|
"cicd",
|
|
9165
8749
|
"data",
|
|
9166
|
-
"
|
|
9167
|
-
"
|
|
8750
|
+
"formula",
|
|
8751
|
+
"list.js"
|
|
9168
8752
|
]
|
|
9169
8753
|
},
|
|
9170
|
-
"cicd:data:formula:
|
|
8754
|
+
"cicd:data:formula:update": {
|
|
9171
8755
|
"aliases": [],
|
|
9172
8756
|
"args": {
|
|
9173
|
-
"
|
|
9174
|
-
"description": "
|
|
9175
|
-
"name": "
|
|
8757
|
+
"formulaId": {
|
|
8758
|
+
"description": "Record matching formula Id",
|
|
8759
|
+
"name": "formulaId",
|
|
9176
8760
|
"required": true
|
|
9177
8761
|
}
|
|
9178
8762
|
},
|
|
9179
|
-
"description": "
|
|
8763
|
+
"description": "Update a record matching formula",
|
|
9180
8764
|
"examples": [
|
|
9181
|
-
"<%= config.bin %> <%= command.id %>
|
|
9182
|
-
"<%= config.bin %> <%= command.id %>
|
|
8765
|
+
"<%= config.bin %> <%= command.id %> a0F... --name MatchByName --object-api-name Account --fields Name,BillingCity",
|
|
8766
|
+
"<%= config.bin %> <%= command.id %> a0F... --file formula.json",
|
|
8767
|
+
"<%= config.bin %> <%= command.id %> a0F... --stdin --json"
|
|
9183
8768
|
],
|
|
9184
8769
|
"flags": {
|
|
9185
8770
|
"json": {
|
|
@@ -9192,21 +8777,19 @@
|
|
|
9192
8777
|
"fields": {
|
|
9193
8778
|
"description": "Formula fields (repeatable or comma-separated, up to 3)",
|
|
9194
8779
|
"name": "fields",
|
|
9195
|
-
"required": true,
|
|
9196
8780
|
"hasDynamicHelp": false,
|
|
9197
8781
|
"multiple": true,
|
|
9198
8782
|
"type": "option"
|
|
9199
8783
|
},
|
|
9200
8784
|
"hash-formula": {
|
|
9201
|
-
"description": "Enable hash formula",
|
|
8785
|
+
"description": "Enable or disable hash formula",
|
|
9202
8786
|
"name": "hash-formula",
|
|
9203
|
-
"allowNo":
|
|
8787
|
+
"allowNo": true,
|
|
9204
8788
|
"type": "boolean"
|
|
9205
8789
|
},
|
|
9206
8790
|
"name": {
|
|
9207
8791
|
"description": "Formula name",
|
|
9208
8792
|
"name": "name",
|
|
9209
|
-
"required": true,
|
|
9210
8793
|
"hasDynamicHelp": false,
|
|
9211
8794
|
"multiple": false,
|
|
9212
8795
|
"type": "option"
|
|
@@ -9214,15 +8797,34 @@
|
|
|
9214
8797
|
"object-api-name": {
|
|
9215
8798
|
"description": "sObject API name",
|
|
9216
8799
|
"name": "object-api-name",
|
|
9217
|
-
"required": true,
|
|
9218
8800
|
"hasDynamicHelp": false,
|
|
9219
8801
|
"multiple": false,
|
|
9220
8802
|
"type": "option"
|
|
8803
|
+
},
|
|
8804
|
+
"file": {
|
|
8805
|
+
"char": "f",
|
|
8806
|
+
"description": "Path to a JSON file body",
|
|
8807
|
+
"exclusive": [
|
|
8808
|
+
"stdin"
|
|
8809
|
+
],
|
|
8810
|
+
"name": "file",
|
|
8811
|
+
"hasDynamicHelp": false,
|
|
8812
|
+
"multiple": false,
|
|
8813
|
+
"type": "option"
|
|
8814
|
+
},
|
|
8815
|
+
"stdin": {
|
|
8816
|
+
"description": "Read the JSON body from stdin",
|
|
8817
|
+
"exclusive": [
|
|
8818
|
+
"file"
|
|
8819
|
+
],
|
|
8820
|
+
"name": "stdin",
|
|
8821
|
+
"allowNo": false,
|
|
8822
|
+
"type": "boolean"
|
|
9221
8823
|
}
|
|
9222
8824
|
},
|
|
9223
8825
|
"hasDynamicHelp": false,
|
|
9224
8826
|
"hiddenAliases": [],
|
|
9225
|
-
"id": "cicd:data:formula:
|
|
8827
|
+
"id": "cicd:data:formula:update",
|
|
9226
8828
|
"pluginAlias": "@copado/agentia-cli",
|
|
9227
8829
|
"pluginName": "@copado/agentia-cli",
|
|
9228
8830
|
"pluginType": "core",
|
|
@@ -9235,22 +8837,16 @@
|
|
|
9235
8837
|
"cicd",
|
|
9236
8838
|
"data",
|
|
9237
8839
|
"formula",
|
|
9238
|
-
"
|
|
8840
|
+
"update.js"
|
|
9239
8841
|
]
|
|
9240
8842
|
},
|
|
9241
|
-
"cicd:data:
|
|
8843
|
+
"cicd:data:records:match": {
|
|
9242
8844
|
"aliases": [],
|
|
9243
|
-
"args": {
|
|
9244
|
-
|
|
9245
|
-
"description": "sObject API name",
|
|
9246
|
-
"name": "objectApiName",
|
|
9247
|
-
"required": true
|
|
9248
|
-
}
|
|
9249
|
-
},
|
|
9250
|
-
"description": "List record matching formulas for an sObject",
|
|
8845
|
+
"args": {},
|
|
8846
|
+
"description": "Match a source data record to a destination org",
|
|
9251
8847
|
"examples": [
|
|
9252
|
-
"<%= config.bin %> <%= command.id %>
|
|
9253
|
-
"<%= config.bin %> <%= command.id %>
|
|
8848
|
+
"<%= config.bin %> <%= command.id %> --file match.json",
|
|
8849
|
+
"<%= config.bin %> <%= command.id %> --stdin --json"
|
|
9254
8850
|
],
|
|
9255
8851
|
"flags": {
|
|
9256
8852
|
"json": {
|
|
@@ -9259,11 +8855,31 @@
|
|
|
9259
8855
|
"name": "json",
|
|
9260
8856
|
"allowNo": false,
|
|
9261
8857
|
"type": "boolean"
|
|
8858
|
+
},
|
|
8859
|
+
"file": {
|
|
8860
|
+
"char": "f",
|
|
8861
|
+
"description": "Path to a JSON file body",
|
|
8862
|
+
"exclusive": [
|
|
8863
|
+
"stdin"
|
|
8864
|
+
],
|
|
8865
|
+
"name": "file",
|
|
8866
|
+
"hasDynamicHelp": false,
|
|
8867
|
+
"multiple": false,
|
|
8868
|
+
"type": "option"
|
|
8869
|
+
},
|
|
8870
|
+
"stdin": {
|
|
8871
|
+
"description": "Read the JSON body from stdin",
|
|
8872
|
+
"exclusive": [
|
|
8873
|
+
"file"
|
|
8874
|
+
],
|
|
8875
|
+
"name": "stdin",
|
|
8876
|
+
"allowNo": false,
|
|
8877
|
+
"type": "boolean"
|
|
9262
8878
|
}
|
|
9263
8879
|
},
|
|
9264
8880
|
"hasDynamicHelp": false,
|
|
9265
8881
|
"hiddenAliases": [],
|
|
9266
|
-
"id": "cicd:data:
|
|
8882
|
+
"id": "cicd:data:records:match",
|
|
9267
8883
|
"pluginAlias": "@copado/agentia-cli",
|
|
9268
8884
|
"pluginName": "@copado/agentia-cli",
|
|
9269
8885
|
"pluginType": "core",
|
|
@@ -9275,24 +8891,18 @@
|
|
|
9275
8891
|
"commands",
|
|
9276
8892
|
"cicd",
|
|
9277
8893
|
"data",
|
|
9278
|
-
"
|
|
9279
|
-
"
|
|
8894
|
+
"records",
|
|
8895
|
+
"match.js"
|
|
9280
8896
|
]
|
|
9281
8897
|
},
|
|
9282
|
-
"cicd:data:
|
|
8898
|
+
"cicd:data:records:search": {
|
|
9283
8899
|
"aliases": [],
|
|
9284
|
-
"args": {
|
|
9285
|
-
|
|
9286
|
-
"description": "Record matching formula Id",
|
|
9287
|
-
"name": "formulaId",
|
|
9288
|
-
"required": true
|
|
9289
|
-
}
|
|
9290
|
-
},
|
|
9291
|
-
"description": "Update a record matching formula",
|
|
8900
|
+
"args": {},
|
|
8901
|
+
"description": "Search data records for a data template",
|
|
9292
8902
|
"examples": [
|
|
9293
|
-
"<%= config.bin %> <%= command.id %>
|
|
9294
|
-
"<%= config.bin %> <%= command.id %>
|
|
9295
|
-
"<%= config.bin %> <%= command.id %>
|
|
8903
|
+
"<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X...",
|
|
8904
|
+
"<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --file request.json",
|
|
8905
|
+
"<%= config.bin %> <%= command.id %> --credential-id a0Y... --data-template-id a0X... --json"
|
|
9296
8906
|
],
|
|
9297
8907
|
"flags": {
|
|
9298
8908
|
"json": {
|
|
@@ -9302,29 +8912,25 @@
|
|
|
9302
8912
|
"allowNo": false,
|
|
9303
8913
|
"type": "boolean"
|
|
9304
8914
|
},
|
|
9305
|
-
"
|
|
9306
|
-
"description": "
|
|
9307
|
-
"name": "
|
|
8915
|
+
"changed-date-from": {
|
|
8916
|
+
"description": "Optional changed-date-from filter (ISO datetime)",
|
|
8917
|
+
"name": "changed-date-from",
|
|
9308
8918
|
"hasDynamicHelp": false,
|
|
9309
|
-
"multiple":
|
|
8919
|
+
"multiple": false,
|
|
9310
8920
|
"type": "option"
|
|
9311
8921
|
},
|
|
9312
|
-
"
|
|
9313
|
-
"description": "
|
|
9314
|
-
"name": "
|
|
9315
|
-
"
|
|
9316
|
-
"type": "boolean"
|
|
9317
|
-
},
|
|
9318
|
-
"name": {
|
|
9319
|
-
"description": "Formula name",
|
|
9320
|
-
"name": "name",
|
|
8922
|
+
"credential-id": {
|
|
8923
|
+
"description": "Org credential Id",
|
|
8924
|
+
"name": "credential-id",
|
|
8925
|
+
"required": true,
|
|
9321
8926
|
"hasDynamicHelp": false,
|
|
9322
8927
|
"multiple": false,
|
|
9323
8928
|
"type": "option"
|
|
9324
8929
|
},
|
|
9325
|
-
"
|
|
9326
|
-
"description": "
|
|
9327
|
-
"name": "
|
|
8930
|
+
"data-template-id": {
|
|
8931
|
+
"description": "Data template Id",
|
|
8932
|
+
"name": "data-template-id",
|
|
8933
|
+
"required": true,
|
|
9328
8934
|
"hasDynamicHelp": false,
|
|
9329
8935
|
"multiple": false,
|
|
9330
8936
|
"type": "option"
|
|
@@ -9352,7 +8958,7 @@
|
|
|
9352
8958
|
},
|
|
9353
8959
|
"hasDynamicHelp": false,
|
|
9354
8960
|
"hiddenAliases": [],
|
|
9355
|
-
"id": "cicd:data:
|
|
8961
|
+
"id": "cicd:data:records:search",
|
|
9356
8962
|
"pluginAlias": "@copado/agentia-cli",
|
|
9357
8963
|
"pluginName": "@copado/agentia-cli",
|
|
9358
8964
|
"pluginType": "core",
|
|
@@ -9364,8 +8970,8 @@
|
|
|
9364
8970
|
"commands",
|
|
9365
8971
|
"cicd",
|
|
9366
8972
|
"data",
|
|
9367
|
-
"
|
|
9368
|
-
"
|
|
8973
|
+
"records",
|
|
8974
|
+
"search.js"
|
|
9369
8975
|
]
|
|
9370
8976
|
},
|
|
9371
8977
|
"cicd:data:sobject:fields": {
|
|
@@ -10014,14 +9620,63 @@
|
|
|
10014
9620
|
"get.js"
|
|
10015
9621
|
]
|
|
10016
9622
|
},
|
|
10017
|
-
"cicd:
|
|
9623
|
+
"cicd:job:log:get": {
|
|
10018
9624
|
"aliases": [],
|
|
10019
|
-
"args": {
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
9625
|
+
"args": {
|
|
9626
|
+
"id": {
|
|
9627
|
+
"description": "JobExecution Id",
|
|
9628
|
+
"name": "id",
|
|
9629
|
+
"required": true
|
|
9630
|
+
}
|
|
9631
|
+
},
|
|
9632
|
+
"description": "Get log output for a Copado job execution step",
|
|
9633
|
+
"examples": [
|
|
9634
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
9635
|
+
"<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
|
|
9636
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
9637
|
+
],
|
|
9638
|
+
"flags": {
|
|
9639
|
+
"json": {
|
|
9640
|
+
"description": "Format output as json.",
|
|
9641
|
+
"helpGroup": "GLOBAL",
|
|
9642
|
+
"name": "json",
|
|
9643
|
+
"allowNo": false,
|
|
9644
|
+
"type": "boolean"
|
|
9645
|
+
},
|
|
9646
|
+
"step": {
|
|
9647
|
+
"description": "Job step Id (defaults to the first step with a result Id)",
|
|
9648
|
+
"name": "step",
|
|
9649
|
+
"hasDynamicHelp": false,
|
|
9650
|
+
"multiple": false,
|
|
9651
|
+
"type": "option"
|
|
9652
|
+
}
|
|
9653
|
+
},
|
|
9654
|
+
"hasDynamicHelp": false,
|
|
9655
|
+
"hiddenAliases": [],
|
|
9656
|
+
"id": "cicd:job:log:get",
|
|
9657
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9658
|
+
"pluginName": "@copado/agentia-cli",
|
|
9659
|
+
"pluginType": "core",
|
|
9660
|
+
"strict": true,
|
|
9661
|
+
"enableJsonFlag": true,
|
|
9662
|
+
"isESM": true,
|
|
9663
|
+
"relativePath": [
|
|
9664
|
+
"dist",
|
|
9665
|
+
"commands",
|
|
9666
|
+
"cicd",
|
|
9667
|
+
"job",
|
|
9668
|
+
"log",
|
|
9669
|
+
"get.js"
|
|
9670
|
+
]
|
|
9671
|
+
},
|
|
9672
|
+
"cicd:metadata:content:compare": {
|
|
9673
|
+
"aliases": [],
|
|
9674
|
+
"args": {},
|
|
9675
|
+
"description": "Compare metadata file content between two orgs or Git branches",
|
|
9676
|
+
"examples": [
|
|
9677
|
+
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
|
|
9678
|
+
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main",
|
|
9679
|
+
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --json"
|
|
10025
9680
|
],
|
|
10026
9681
|
"flags": {
|
|
10027
9682
|
"json": {
|
|
@@ -10788,55 +10443,6 @@
|
|
|
10788
10443
|
"status.js"
|
|
10789
10444
|
]
|
|
10790
10445
|
},
|
|
10791
|
-
"cicd:job:log:get": {
|
|
10792
|
-
"aliases": [],
|
|
10793
|
-
"args": {
|
|
10794
|
-
"id": {
|
|
10795
|
-
"description": "JobExecution Id",
|
|
10796
|
-
"name": "id",
|
|
10797
|
-
"required": true
|
|
10798
|
-
}
|
|
10799
|
-
},
|
|
10800
|
-
"description": "Get log output for a Copado job execution step",
|
|
10801
|
-
"examples": [
|
|
10802
|
-
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
10803
|
-
"<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
|
|
10804
|
-
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
10805
|
-
],
|
|
10806
|
-
"flags": {
|
|
10807
|
-
"json": {
|
|
10808
|
-
"description": "Format output as json.",
|
|
10809
|
-
"helpGroup": "GLOBAL",
|
|
10810
|
-
"name": "json",
|
|
10811
|
-
"allowNo": false,
|
|
10812
|
-
"type": "boolean"
|
|
10813
|
-
},
|
|
10814
|
-
"step": {
|
|
10815
|
-
"description": "Job step Id (defaults to the first step with a result Id)",
|
|
10816
|
-
"name": "step",
|
|
10817
|
-
"hasDynamicHelp": false,
|
|
10818
|
-
"multiple": false,
|
|
10819
|
-
"type": "option"
|
|
10820
|
-
}
|
|
10821
|
-
},
|
|
10822
|
-
"hasDynamicHelp": false,
|
|
10823
|
-
"hiddenAliases": [],
|
|
10824
|
-
"id": "cicd:job:log:get",
|
|
10825
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10826
|
-
"pluginName": "@copado/agentia-cli",
|
|
10827
|
-
"pluginType": "core",
|
|
10828
|
-
"strict": true,
|
|
10829
|
-
"enableJsonFlag": true,
|
|
10830
|
-
"isESM": true,
|
|
10831
|
-
"relativePath": [
|
|
10832
|
-
"dist",
|
|
10833
|
-
"commands",
|
|
10834
|
-
"cicd",
|
|
10835
|
-
"job",
|
|
10836
|
-
"log",
|
|
10837
|
-
"get.js"
|
|
10838
|
-
]
|
|
10839
|
-
},
|
|
10840
10446
|
"cicd:pipeline:connection:list": {
|
|
10841
10447
|
"aliases": [],
|
|
10842
10448
|
"args": {},
|
|
@@ -11246,7 +10852,391 @@
|
|
|
11246
10852
|
},
|
|
11247
10853
|
"hasDynamicHelp": false,
|
|
11248
10854
|
"hiddenAliases": [],
|
|
11249
|
-
"id": "cicd:promotion:conflict:list",
|
|
10855
|
+
"id": "cicd:promotion:conflict:list",
|
|
10856
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
10857
|
+
"pluginName": "@copado/agentia-cli",
|
|
10858
|
+
"pluginType": "core",
|
|
10859
|
+
"strict": true,
|
|
10860
|
+
"enableJsonFlag": true,
|
|
10861
|
+
"isESM": true,
|
|
10862
|
+
"relativePath": [
|
|
10863
|
+
"dist",
|
|
10864
|
+
"commands",
|
|
10865
|
+
"cicd",
|
|
10866
|
+
"promotion",
|
|
10867
|
+
"conflict",
|
|
10868
|
+
"list.js"
|
|
10869
|
+
]
|
|
10870
|
+
},
|
|
10871
|
+
"cicd:promotion:conflict:resolve": {
|
|
10872
|
+
"aliases": [],
|
|
10873
|
+
"args": {
|
|
10874
|
+
"id": {
|
|
10875
|
+
"description": "Conflict attachment Id",
|
|
10876
|
+
"name": "id",
|
|
10877
|
+
"required": true
|
|
10878
|
+
}
|
|
10879
|
+
},
|
|
10880
|
+
"description": "Resolve a promotion merge conflict automatically or from a file",
|
|
10881
|
+
"examples": [
|
|
10882
|
+
"<%= config.bin %> <%= command.id %> <conflict-id> --promotion <promotion-id> --mode auto",
|
|
10883
|
+
"<%= config.bin %> <%= command.id %> <conflict-id> -p <promotion-id> --mode manual --file ./MyClass.cls",
|
|
10884
|
+
"<%= config.bin %> <%= command.id %> <conflict-id> -p <promotion-id> --mode auto --json"
|
|
10885
|
+
],
|
|
10886
|
+
"flags": {
|
|
10887
|
+
"json": {
|
|
10888
|
+
"description": "Format output as json.",
|
|
10889
|
+
"helpGroup": "GLOBAL",
|
|
10890
|
+
"name": "json",
|
|
10891
|
+
"allowNo": false,
|
|
10892
|
+
"type": "boolean"
|
|
10893
|
+
},
|
|
10894
|
+
"file": {
|
|
10895
|
+
"description": "Path to manually resolved conflict content",
|
|
10896
|
+
"name": "file",
|
|
10897
|
+
"hasDynamicHelp": false,
|
|
10898
|
+
"multiple": false,
|
|
10899
|
+
"type": "option"
|
|
10900
|
+
},
|
|
10901
|
+
"mode": {
|
|
10902
|
+
"description": "Conflict resolution mode",
|
|
10903
|
+
"name": "mode",
|
|
10904
|
+
"required": true,
|
|
10905
|
+
"hasDynamicHelp": false,
|
|
10906
|
+
"multiple": false,
|
|
10907
|
+
"options": [
|
|
10908
|
+
"auto",
|
|
10909
|
+
"manual"
|
|
10910
|
+
],
|
|
10911
|
+
"type": "option"
|
|
10912
|
+
},
|
|
10913
|
+
"promotion": {
|
|
10914
|
+
"char": "p",
|
|
10915
|
+
"description": "Copado promotion Id",
|
|
10916
|
+
"name": "promotion",
|
|
10917
|
+
"required": true,
|
|
10918
|
+
"hasDynamicHelp": false,
|
|
10919
|
+
"multiple": false,
|
|
10920
|
+
"type": "option"
|
|
10921
|
+
}
|
|
10922
|
+
},
|
|
10923
|
+
"hasDynamicHelp": false,
|
|
10924
|
+
"hiddenAliases": [],
|
|
10925
|
+
"id": "cicd:promotion:conflict:resolve",
|
|
10926
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
10927
|
+
"pluginName": "@copado/agentia-cli",
|
|
10928
|
+
"pluginType": "core",
|
|
10929
|
+
"strict": true,
|
|
10930
|
+
"enableJsonFlag": true,
|
|
10931
|
+
"isESM": true,
|
|
10932
|
+
"relativePath": [
|
|
10933
|
+
"dist",
|
|
10934
|
+
"commands",
|
|
10935
|
+
"cicd",
|
|
10936
|
+
"promotion",
|
|
10937
|
+
"conflict",
|
|
10938
|
+
"resolve.js"
|
|
10939
|
+
]
|
|
10940
|
+
},
|
|
10941
|
+
"cicd:promotion:conflict:unresolve": {
|
|
10942
|
+
"aliases": [],
|
|
10943
|
+
"args": {
|
|
10944
|
+
"id": {
|
|
10945
|
+
"description": "Conflict attachment Id",
|
|
10946
|
+
"name": "id",
|
|
10947
|
+
"required": true
|
|
10948
|
+
}
|
|
10949
|
+
},
|
|
10950
|
+
"description": "Undo a promotion conflict resolution",
|
|
10951
|
+
"examples": [
|
|
10952
|
+
"<%= config.bin %> <%= command.id %> <conflict-id> --promotion <promotion-id>",
|
|
10953
|
+
"<%= config.bin %> <%= command.id %> <conflict-id> -p <promotion-id> --json"
|
|
10954
|
+
],
|
|
10955
|
+
"flags": {
|
|
10956
|
+
"json": {
|
|
10957
|
+
"description": "Format output as json.",
|
|
10958
|
+
"helpGroup": "GLOBAL",
|
|
10959
|
+
"name": "json",
|
|
10960
|
+
"allowNo": false,
|
|
10961
|
+
"type": "boolean"
|
|
10962
|
+
},
|
|
10963
|
+
"promotion": {
|
|
10964
|
+
"char": "p",
|
|
10965
|
+
"description": "Copado promotion Id",
|
|
10966
|
+
"name": "promotion",
|
|
10967
|
+
"required": true,
|
|
10968
|
+
"hasDynamicHelp": false,
|
|
10969
|
+
"multiple": false,
|
|
10970
|
+
"type": "option"
|
|
10971
|
+
}
|
|
10972
|
+
},
|
|
10973
|
+
"hasDynamicHelp": false,
|
|
10974
|
+
"hiddenAliases": [],
|
|
10975
|
+
"id": "cicd:promotion:conflict:unresolve",
|
|
10976
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
10977
|
+
"pluginName": "@copado/agentia-cli",
|
|
10978
|
+
"pluginType": "core",
|
|
10979
|
+
"strict": true,
|
|
10980
|
+
"enableJsonFlag": true,
|
|
10981
|
+
"isESM": true,
|
|
10982
|
+
"relativePath": [
|
|
10983
|
+
"dist",
|
|
10984
|
+
"commands",
|
|
10985
|
+
"cicd",
|
|
10986
|
+
"promotion",
|
|
10987
|
+
"conflict",
|
|
10988
|
+
"unresolve.js"
|
|
10989
|
+
]
|
|
10990
|
+
},
|
|
10991
|
+
"testing:build:abort": {
|
|
10992
|
+
"aliases": [],
|
|
10993
|
+
"args": {
|
|
10994
|
+
"id": {
|
|
10995
|
+
"description": "CRT build/run ID.",
|
|
10996
|
+
"name": "id",
|
|
10997
|
+
"required": true
|
|
10998
|
+
}
|
|
10999
|
+
},
|
|
11000
|
+
"description": "Abort a Copado Robotic Testing build/run",
|
|
11001
|
+
"examples": [
|
|
11002
|
+
"<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
|
|
11003
|
+
"<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --json"
|
|
11004
|
+
],
|
|
11005
|
+
"flags": {
|
|
11006
|
+
"json": {
|
|
11007
|
+
"description": "Format output as json.",
|
|
11008
|
+
"helpGroup": "GLOBAL",
|
|
11009
|
+
"name": "json",
|
|
11010
|
+
"allowNo": false,
|
|
11011
|
+
"type": "boolean"
|
|
11012
|
+
},
|
|
11013
|
+
"domain": {
|
|
11014
|
+
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
11015
|
+
"name": "domain",
|
|
11016
|
+
"hasDynamicHelp": false,
|
|
11017
|
+
"multiple": false,
|
|
11018
|
+
"type": "option"
|
|
11019
|
+
},
|
|
11020
|
+
"org": {
|
|
11021
|
+
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
11022
|
+
"name": "org",
|
|
11023
|
+
"hasDynamicHelp": false,
|
|
11024
|
+
"multiple": false,
|
|
11025
|
+
"type": "option"
|
|
11026
|
+
},
|
|
11027
|
+
"pat": {
|
|
11028
|
+
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
11029
|
+
"name": "pat",
|
|
11030
|
+
"hasDynamicHelp": false,
|
|
11031
|
+
"multiple": false,
|
|
11032
|
+
"type": "option"
|
|
11033
|
+
},
|
|
11034
|
+
"project": {
|
|
11035
|
+
"char": "p",
|
|
11036
|
+
"description": "CRT project ID.",
|
|
11037
|
+
"name": "project",
|
|
11038
|
+
"required": true,
|
|
11039
|
+
"hasDynamicHelp": false,
|
|
11040
|
+
"multiple": false,
|
|
11041
|
+
"type": "option"
|
|
11042
|
+
},
|
|
11043
|
+
"job": {
|
|
11044
|
+
"char": "j",
|
|
11045
|
+
"description": "CRT job/test ID.",
|
|
11046
|
+
"name": "job",
|
|
11047
|
+
"required": true,
|
|
11048
|
+
"hasDynamicHelp": false,
|
|
11049
|
+
"multiple": false,
|
|
11050
|
+
"type": "option"
|
|
11051
|
+
}
|
|
11052
|
+
},
|
|
11053
|
+
"hasDynamicHelp": false,
|
|
11054
|
+
"hiddenAliases": [],
|
|
11055
|
+
"id": "testing:build:abort",
|
|
11056
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
11057
|
+
"pluginName": "@copado/agentia-cli",
|
|
11058
|
+
"pluginType": "core",
|
|
11059
|
+
"strict": true,
|
|
11060
|
+
"enableJsonFlag": true,
|
|
11061
|
+
"isESM": true,
|
|
11062
|
+
"relativePath": [
|
|
11063
|
+
"dist",
|
|
11064
|
+
"commands",
|
|
11065
|
+
"testing",
|
|
11066
|
+
"build",
|
|
11067
|
+
"abort.js"
|
|
11068
|
+
]
|
|
11069
|
+
},
|
|
11070
|
+
"testing:build:list": {
|
|
11071
|
+
"aliases": [],
|
|
11072
|
+
"args": {},
|
|
11073
|
+
"description": "List Copado Robotic Testing builds/runs",
|
|
11074
|
+
"examples": [
|
|
11075
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
11076
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --job <job-id> --status succeeded --json"
|
|
11077
|
+
],
|
|
11078
|
+
"flags": {
|
|
11079
|
+
"json": {
|
|
11080
|
+
"description": "Format output as json.",
|
|
11081
|
+
"helpGroup": "GLOBAL",
|
|
11082
|
+
"name": "json",
|
|
11083
|
+
"allowNo": false,
|
|
11084
|
+
"type": "boolean"
|
|
11085
|
+
},
|
|
11086
|
+
"domain": {
|
|
11087
|
+
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
11088
|
+
"name": "domain",
|
|
11089
|
+
"hasDynamicHelp": false,
|
|
11090
|
+
"multiple": false,
|
|
11091
|
+
"type": "option"
|
|
11092
|
+
},
|
|
11093
|
+
"org": {
|
|
11094
|
+
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
11095
|
+
"name": "org",
|
|
11096
|
+
"hasDynamicHelp": false,
|
|
11097
|
+
"multiple": false,
|
|
11098
|
+
"type": "option"
|
|
11099
|
+
},
|
|
11100
|
+
"pat": {
|
|
11101
|
+
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
11102
|
+
"name": "pat",
|
|
11103
|
+
"hasDynamicHelp": false,
|
|
11104
|
+
"multiple": false,
|
|
11105
|
+
"type": "option"
|
|
11106
|
+
},
|
|
11107
|
+
"project": {
|
|
11108
|
+
"char": "p",
|
|
11109
|
+
"description": "CRT project ID.",
|
|
11110
|
+
"name": "project",
|
|
11111
|
+
"required": true,
|
|
11112
|
+
"hasDynamicHelp": false,
|
|
11113
|
+
"multiple": false,
|
|
11114
|
+
"type": "option"
|
|
11115
|
+
},
|
|
11116
|
+
"job": {
|
|
11117
|
+
"description": "Limit builds to one CRT job/test ID.",
|
|
11118
|
+
"name": "job",
|
|
11119
|
+
"hasDynamicHelp": false,
|
|
11120
|
+
"multiple": false,
|
|
11121
|
+
"type": "option"
|
|
11122
|
+
},
|
|
11123
|
+
"result-size": {
|
|
11124
|
+
"description": "CRT build result size.",
|
|
11125
|
+
"name": "result-size",
|
|
11126
|
+
"default": "compact",
|
|
11127
|
+
"hasDynamicHelp": false,
|
|
11128
|
+
"multiple": false,
|
|
11129
|
+
"options": [
|
|
11130
|
+
"compact"
|
|
11131
|
+
],
|
|
11132
|
+
"type": "option"
|
|
11133
|
+
},
|
|
11134
|
+
"status": {
|
|
11135
|
+
"description": "Build status filter.",
|
|
11136
|
+
"name": "status",
|
|
11137
|
+
"hasDynamicHelp": false,
|
|
11138
|
+
"multiple": false,
|
|
11139
|
+
"options": [
|
|
11140
|
+
"aborted",
|
|
11141
|
+
"executing",
|
|
11142
|
+
"failed",
|
|
11143
|
+
"finished",
|
|
11144
|
+
"queued",
|
|
11145
|
+
"succeeded"
|
|
11146
|
+
],
|
|
11147
|
+
"type": "option"
|
|
11148
|
+
}
|
|
11149
|
+
},
|
|
11150
|
+
"hasDynamicHelp": false,
|
|
11151
|
+
"hiddenAliases": [],
|
|
11152
|
+
"id": "testing:build:list",
|
|
11153
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
11154
|
+
"pluginName": "@copado/agentia-cli",
|
|
11155
|
+
"pluginType": "core",
|
|
11156
|
+
"strict": true,
|
|
11157
|
+
"enableJsonFlag": true,
|
|
11158
|
+
"isESM": true,
|
|
11159
|
+
"relativePath": [
|
|
11160
|
+
"dist",
|
|
11161
|
+
"commands",
|
|
11162
|
+
"testing",
|
|
11163
|
+
"build",
|
|
11164
|
+
"list.js"
|
|
11165
|
+
]
|
|
11166
|
+
},
|
|
11167
|
+
"testing:build:logs": {
|
|
11168
|
+
"aliases": [],
|
|
11169
|
+
"args": {
|
|
11170
|
+
"id": {
|
|
11171
|
+
"description": "CRT build/run ID.",
|
|
11172
|
+
"name": "id",
|
|
11173
|
+
"required": true
|
|
11174
|
+
}
|
|
11175
|
+
},
|
|
11176
|
+
"description": "Get logs for a Copado Robotic Testing build/run",
|
|
11177
|
+
"examples": [
|
|
11178
|
+
"<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id>",
|
|
11179
|
+
"<%= config.bin %> <%= command.id %> <build-id> --project <project-id> --job <job-id> --output log.html --json"
|
|
11180
|
+
],
|
|
11181
|
+
"flags": {
|
|
11182
|
+
"json": {
|
|
11183
|
+
"description": "Format output as json.",
|
|
11184
|
+
"helpGroup": "GLOBAL",
|
|
11185
|
+
"name": "json",
|
|
11186
|
+
"allowNo": false,
|
|
11187
|
+
"type": "boolean"
|
|
11188
|
+
},
|
|
11189
|
+
"domain": {
|
|
11190
|
+
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
11191
|
+
"name": "domain",
|
|
11192
|
+
"hasDynamicHelp": false,
|
|
11193
|
+
"multiple": false,
|
|
11194
|
+
"type": "option"
|
|
11195
|
+
},
|
|
11196
|
+
"org": {
|
|
11197
|
+
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
11198
|
+
"name": "org",
|
|
11199
|
+
"hasDynamicHelp": false,
|
|
11200
|
+
"multiple": false,
|
|
11201
|
+
"type": "option"
|
|
11202
|
+
},
|
|
11203
|
+
"pat": {
|
|
11204
|
+
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
11205
|
+
"name": "pat",
|
|
11206
|
+
"hasDynamicHelp": false,
|
|
11207
|
+
"multiple": false,
|
|
11208
|
+
"type": "option"
|
|
11209
|
+
},
|
|
11210
|
+
"project": {
|
|
11211
|
+
"char": "p",
|
|
11212
|
+
"description": "CRT project ID.",
|
|
11213
|
+
"name": "project",
|
|
11214
|
+
"required": true,
|
|
11215
|
+
"hasDynamicHelp": false,
|
|
11216
|
+
"multiple": false,
|
|
11217
|
+
"type": "option"
|
|
11218
|
+
},
|
|
11219
|
+
"job": {
|
|
11220
|
+
"char": "j",
|
|
11221
|
+
"description": "CRT job/test ID.",
|
|
11222
|
+
"name": "job",
|
|
11223
|
+
"required": true,
|
|
11224
|
+
"hasDynamicHelp": false,
|
|
11225
|
+
"multiple": false,
|
|
11226
|
+
"type": "option"
|
|
11227
|
+
},
|
|
11228
|
+
"output": {
|
|
11229
|
+
"char": "o",
|
|
11230
|
+
"description": "Write raw output to this file path.",
|
|
11231
|
+
"name": "output",
|
|
11232
|
+
"hasDynamicHelp": false,
|
|
11233
|
+
"multiple": false,
|
|
11234
|
+
"type": "option"
|
|
11235
|
+
}
|
|
11236
|
+
},
|
|
11237
|
+
"hasDynamicHelp": false,
|
|
11238
|
+
"hiddenAliases": [],
|
|
11239
|
+
"id": "testing:build:logs",
|
|
11250
11240
|
"pluginAlias": "@copado/agentia-cli",
|
|
11251
11241
|
"pluginName": "@copado/agentia-cli",
|
|
11252
11242
|
"pluginType": "core",
|
|
@@ -11256,26 +11246,25 @@
|
|
|
11256
11246
|
"relativePath": [
|
|
11257
11247
|
"dist",
|
|
11258
11248
|
"commands",
|
|
11259
|
-
"
|
|
11260
|
-
"
|
|
11261
|
-
"
|
|
11262
|
-
"list.js"
|
|
11249
|
+
"testing",
|
|
11250
|
+
"build",
|
|
11251
|
+
"logs.js"
|
|
11263
11252
|
]
|
|
11264
11253
|
},
|
|
11265
|
-
"
|
|
11254
|
+
"testing:build:run": {
|
|
11266
11255
|
"aliases": [],
|
|
11267
11256
|
"args": {
|
|
11268
11257
|
"id": {
|
|
11269
|
-
"description": "
|
|
11258
|
+
"description": "CRT job/test ID to run.",
|
|
11270
11259
|
"name": "id",
|
|
11271
11260
|
"required": true
|
|
11272
11261
|
}
|
|
11273
11262
|
},
|
|
11274
|
-
"description": "
|
|
11263
|
+
"description": "Run a Copado Robotic Testing job/test",
|
|
11275
11264
|
"examples": [
|
|
11276
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11277
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11278
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11265
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id>",
|
|
11266
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --param BROWSER=chrome --record failed",
|
|
11267
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --json"
|
|
11279
11268
|
],
|
|
11280
11269
|
"flags": {
|
|
11281
11270
|
"json": {
|
|
@@ -11285,80 +11274,92 @@
|
|
|
11285
11274
|
"allowNo": false,
|
|
11286
11275
|
"type": "boolean"
|
|
11287
11276
|
},
|
|
11288
|
-
"
|
|
11289
|
-
"description": "
|
|
11290
|
-
"name": "
|
|
11277
|
+
"domain": {
|
|
11278
|
+
"description": "CRT domain hostname. Defaults to COPADO_ROBOTIC_DOMAIN, CRT_DOMAIN, or stored auth config.",
|
|
11279
|
+
"name": "domain",
|
|
11291
11280
|
"hasDynamicHelp": false,
|
|
11292
11281
|
"multiple": false,
|
|
11293
11282
|
"type": "option"
|
|
11294
11283
|
},
|
|
11295
|
-
"
|
|
11296
|
-
"description": "
|
|
11297
|
-
"name": "
|
|
11284
|
+
"org": {
|
|
11285
|
+
"description": "CRT organization ID. Defaults to COPADO_ROBOTIC_ORG_ID, CRT_ORG, or stored auth config.",
|
|
11286
|
+
"name": "org",
|
|
11287
|
+
"hasDynamicHelp": false,
|
|
11288
|
+
"multiple": false,
|
|
11289
|
+
"type": "option"
|
|
11290
|
+
},
|
|
11291
|
+
"pat": {
|
|
11292
|
+
"description": "CRT PAT token override. Prefer auth set --crt or COPADO_ROBOTIC_API_KEY for regular use.",
|
|
11293
|
+
"name": "pat",
|
|
11294
|
+
"hasDynamicHelp": false,
|
|
11295
|
+
"multiple": false,
|
|
11296
|
+
"type": "option"
|
|
11297
|
+
},
|
|
11298
|
+
"project": {
|
|
11299
|
+
"char": "p",
|
|
11300
|
+
"description": "CRT project ID.",
|
|
11301
|
+
"name": "project",
|
|
11298
11302
|
"required": true,
|
|
11299
11303
|
"hasDynamicHelp": false,
|
|
11300
11304
|
"multiple": false,
|
|
11305
|
+
"type": "option"
|
|
11306
|
+
},
|
|
11307
|
+
"branch": {
|
|
11308
|
+
"description": "Git branch/ref to use for this run. Mutually exclusive with --tag.",
|
|
11309
|
+
"name": "branch",
|
|
11310
|
+
"hasDynamicHelp": false,
|
|
11311
|
+
"multiple": false,
|
|
11312
|
+
"type": "option"
|
|
11313
|
+
},
|
|
11314
|
+
"exclude": {
|
|
11315
|
+
"description": "Robot Framework tag to exclude from this run. Can be provided multiple times.",
|
|
11316
|
+
"name": "exclude",
|
|
11317
|
+
"hasDynamicHelp": false,
|
|
11318
|
+
"multiple": true,
|
|
11319
|
+
"type": "option"
|
|
11320
|
+
},
|
|
11321
|
+
"include": {
|
|
11322
|
+
"description": "Robot Framework tag to include in this run. Can be provided multiple times.",
|
|
11323
|
+
"name": "include",
|
|
11324
|
+
"hasDynamicHelp": false,
|
|
11325
|
+
"multiple": true,
|
|
11326
|
+
"type": "option"
|
|
11327
|
+
},
|
|
11328
|
+
"param": {
|
|
11329
|
+
"description": "Execution parameter in KEY=VALUE format. Can be provided multiple times.",
|
|
11330
|
+
"name": "param",
|
|
11331
|
+
"hasDynamicHelp": false,
|
|
11332
|
+
"multiple": true,
|
|
11333
|
+
"type": "option"
|
|
11334
|
+
},
|
|
11335
|
+
"record": {
|
|
11336
|
+
"description": "CRT execution recording mode.",
|
|
11337
|
+
"name": "record",
|
|
11338
|
+
"hasDynamicHelp": false,
|
|
11339
|
+
"multiple": false,
|
|
11301
11340
|
"options": [
|
|
11302
|
-
"
|
|
11303
|
-
"
|
|
11341
|
+
"all",
|
|
11342
|
+
"failed",
|
|
11343
|
+
"none"
|
|
11304
11344
|
],
|
|
11305
11345
|
"type": "option"
|
|
11306
11346
|
},
|
|
11307
|
-
"
|
|
11308
|
-
"
|
|
11309
|
-
"
|
|
11310
|
-
"name": "promotion",
|
|
11311
|
-
"required": true,
|
|
11347
|
+
"rerun-failed": {
|
|
11348
|
+
"description": "Rerun failed tests from the specified build/run ID. Mutually exclusive with --rerun-failed-from-latest.",
|
|
11349
|
+
"name": "rerun-failed",
|
|
11312
11350
|
"hasDynamicHelp": false,
|
|
11313
11351
|
"multiple": false,
|
|
11314
11352
|
"type": "option"
|
|
11315
|
-
}
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
"id": "cicd:promotion:conflict:resolve",
|
|
11320
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
11321
|
-
"pluginName": "@copado/agentia-cli",
|
|
11322
|
-
"pluginType": "core",
|
|
11323
|
-
"strict": true,
|
|
11324
|
-
"enableJsonFlag": true,
|
|
11325
|
-
"isESM": true,
|
|
11326
|
-
"relativePath": [
|
|
11327
|
-
"dist",
|
|
11328
|
-
"commands",
|
|
11329
|
-
"cicd",
|
|
11330
|
-
"promotion",
|
|
11331
|
-
"conflict",
|
|
11332
|
-
"resolve.js"
|
|
11333
|
-
]
|
|
11334
|
-
},
|
|
11335
|
-
"cicd:promotion:conflict:unresolve": {
|
|
11336
|
-
"aliases": [],
|
|
11337
|
-
"args": {
|
|
11338
|
-
"id": {
|
|
11339
|
-
"description": "Conflict attachment Id",
|
|
11340
|
-
"name": "id",
|
|
11341
|
-
"required": true
|
|
11342
|
-
}
|
|
11343
|
-
},
|
|
11344
|
-
"description": "Undo a promotion conflict resolution",
|
|
11345
|
-
"examples": [
|
|
11346
|
-
"<%= config.bin %> <%= command.id %> <conflict-id> --promotion <promotion-id>",
|
|
11347
|
-
"<%= config.bin %> <%= command.id %> <conflict-id> -p <promotion-id> --json"
|
|
11348
|
-
],
|
|
11349
|
-
"flags": {
|
|
11350
|
-
"json": {
|
|
11351
|
-
"description": "Format output as json.",
|
|
11352
|
-
"helpGroup": "GLOBAL",
|
|
11353
|
-
"name": "json",
|
|
11353
|
+
},
|
|
11354
|
+
"rerun-failed-from-latest": {
|
|
11355
|
+
"description": "Rerun failed tests from the latest failed run. Mutually exclusive with --rerun-failed.",
|
|
11356
|
+
"name": "rerun-failed-from-latest",
|
|
11354
11357
|
"allowNo": false,
|
|
11355
11358
|
"type": "boolean"
|
|
11356
11359
|
},
|
|
11357
|
-
"
|
|
11358
|
-
"
|
|
11359
|
-
"
|
|
11360
|
-
"name": "promotion",
|
|
11361
|
-
"required": true,
|
|
11360
|
+
"tag": {
|
|
11361
|
+
"description": "Git tag to use for this run. Mutually exclusive with --branch.",
|
|
11362
|
+
"name": "tag",
|
|
11362
11363
|
"hasDynamicHelp": false,
|
|
11363
11364
|
"multiple": false,
|
|
11364
11365
|
"type": "option"
|
|
@@ -11366,7 +11367,7 @@
|
|
|
11366
11367
|
},
|
|
11367
11368
|
"hasDynamicHelp": false,
|
|
11368
11369
|
"hiddenAliases": [],
|
|
11369
|
-
"id": "
|
|
11370
|
+
"id": "testing:build:run",
|
|
11370
11371
|
"pluginAlias": "@copado/agentia-cli",
|
|
11371
11372
|
"pluginName": "@copado/agentia-cli",
|
|
11372
11373
|
"pluginType": "core",
|
|
@@ -11376,10 +11377,9 @@
|
|
|
11376
11377
|
"relativePath": [
|
|
11377
11378
|
"dist",
|
|
11378
11379
|
"commands",
|
|
11379
|
-
"
|
|
11380
|
-
"
|
|
11381
|
-
"
|
|
11382
|
-
"unresolve.js"
|
|
11380
|
+
"testing",
|
|
11381
|
+
"build",
|
|
11382
|
+
"run.js"
|
|
11383
11383
|
]
|
|
11384
11384
|
},
|
|
11385
11385
|
"cicd:work:deployment-step:create": {
|
|
@@ -11981,20 +11981,21 @@
|
|
|
11981
11981
|
"update.js"
|
|
11982
11982
|
]
|
|
11983
11983
|
},
|
|
11984
|
-
"cicd:
|
|
11984
|
+
"cicd:environment:auth:web:login": {
|
|
11985
11985
|
"aliases": [],
|
|
11986
11986
|
"args": {
|
|
11987
|
-
"
|
|
11988
|
-
"description": "
|
|
11989
|
-
"name": "
|
|
11987
|
+
"id": {
|
|
11988
|
+
"description": "Copado environment ID",
|
|
11989
|
+
"name": "id",
|
|
11990
11990
|
"required": true
|
|
11991
11991
|
}
|
|
11992
11992
|
},
|
|
11993
|
-
"description": "
|
|
11993
|
+
"description": "Authenticate an environment credential via browser web login",
|
|
11994
11994
|
"examples": [
|
|
11995
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11996
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11997
|
-
"<%= config.bin %> <%= command.id %> <
|
|
11995
|
+
"<%= config.bin %> <%= command.id %> <environment-id>",
|
|
11996
|
+
"<%= config.bin %> <%= command.id %> <environment-id> --credentialid <credential-id>",
|
|
11997
|
+
"<%= config.bin %> <%= command.id %> <environment-id> --port 8085 --timeout 120",
|
|
11998
|
+
"<%= config.bin %> <%= command.id %> <environment-id> --json"
|
|
11998
11999
|
],
|
|
11999
12000
|
"flags": {
|
|
12000
12001
|
"json": {
|
|
@@ -12004,9 +12005,24 @@
|
|
|
12004
12005
|
"allowNo": false,
|
|
12005
12006
|
"type": "boolean"
|
|
12006
12007
|
},
|
|
12007
|
-
"
|
|
12008
|
-
"description": "
|
|
12009
|
-
"name": "
|
|
12008
|
+
"credentialid": {
|
|
12009
|
+
"description": "Credential ID to authenticate when automatic selection is not possible",
|
|
12010
|
+
"name": "credentialid",
|
|
12011
|
+
"hasDynamicHelp": false,
|
|
12012
|
+
"multiple": false,
|
|
12013
|
+
"type": "option"
|
|
12014
|
+
},
|
|
12015
|
+
"port": {
|
|
12016
|
+
"description": "Local loopback port (default: scan 8080-8090)",
|
|
12017
|
+
"name": "port",
|
|
12018
|
+
"hasDynamicHelp": false,
|
|
12019
|
+
"multiple": false,
|
|
12020
|
+
"type": "option"
|
|
12021
|
+
},
|
|
12022
|
+
"timeout": {
|
|
12023
|
+
"description": "Max seconds to wait for browser login",
|
|
12024
|
+
"name": "timeout",
|
|
12025
|
+
"default": 300,
|
|
12010
12026
|
"hasDynamicHelp": false,
|
|
12011
12027
|
"multiple": false,
|
|
12012
12028
|
"type": "option"
|
|
@@ -12014,7 +12030,7 @@
|
|
|
12014
12030
|
},
|
|
12015
12031
|
"hasDynamicHelp": false,
|
|
12016
12032
|
"hiddenAliases": [],
|
|
12017
|
-
"id": "cicd:
|
|
12033
|
+
"id": "cicd:environment:auth:web:login",
|
|
12018
12034
|
"pluginAlias": "@copado/agentia-cli",
|
|
12019
12035
|
"pluginName": "@copado/agentia-cli",
|
|
12020
12036
|
"pluginType": "core",
|
|
@@ -12025,27 +12041,26 @@
|
|
|
12025
12041
|
"dist",
|
|
12026
12042
|
"commands",
|
|
12027
12043
|
"cicd",
|
|
12028
|
-
"
|
|
12029
|
-
"
|
|
12030
|
-
"
|
|
12031
|
-
"
|
|
12044
|
+
"environment",
|
|
12045
|
+
"auth",
|
|
12046
|
+
"web",
|
|
12047
|
+
"login.js"
|
|
12032
12048
|
]
|
|
12033
12049
|
},
|
|
12034
|
-
"cicd:
|
|
12050
|
+
"cicd:function:result:log:get": {
|
|
12035
12051
|
"aliases": [],
|
|
12036
12052
|
"args": {
|
|
12037
|
-
"id": {
|
|
12038
|
-
"description": "
|
|
12039
|
-
"name": "id",
|
|
12053
|
+
"result-id": {
|
|
12054
|
+
"description": "Function result Id",
|
|
12055
|
+
"name": "result-id",
|
|
12040
12056
|
"required": true
|
|
12041
12057
|
}
|
|
12042
12058
|
},
|
|
12043
|
-
"description": "
|
|
12059
|
+
"description": "Get log output for a Copado Function result",
|
|
12044
12060
|
"examples": [
|
|
12045
|
-
"<%= config.bin %> <%= command.id %> <
|
|
12046
|
-
"<%= config.bin %> <%= command.id %> <
|
|
12047
|
-
"<%= config.bin %> <%= command.id %> <
|
|
12048
|
-
"<%= config.bin %> <%= command.id %> <environment-id> --json"
|
|
12061
|
+
"<%= config.bin %> <%= command.id %> <result-id>",
|
|
12062
|
+
"<%= config.bin %> <%= command.id %> <result-id> --type stdout",
|
|
12063
|
+
"<%= config.bin %> <%= command.id %> <result-id> --json"
|
|
12049
12064
|
],
|
|
12050
12065
|
"flags": {
|
|
12051
12066
|
"json": {
|
|
@@ -12055,24 +12070,9 @@
|
|
|
12055
12070
|
"allowNo": false,
|
|
12056
12071
|
"type": "boolean"
|
|
12057
12072
|
},
|
|
12058
|
-
"
|
|
12059
|
-
"description": "
|
|
12060
|
-
"name": "
|
|
12061
|
-
"hasDynamicHelp": false,
|
|
12062
|
-
"multiple": false,
|
|
12063
|
-
"type": "option"
|
|
12064
|
-
},
|
|
12065
|
-
"port": {
|
|
12066
|
-
"description": "Local loopback port (default: scan 8080-8090)",
|
|
12067
|
-
"name": "port",
|
|
12068
|
-
"hasDynamicHelp": false,
|
|
12069
|
-
"multiple": false,
|
|
12070
|
-
"type": "option"
|
|
12071
|
-
},
|
|
12072
|
-
"timeout": {
|
|
12073
|
-
"description": "Max seconds to wait for browser login",
|
|
12074
|
-
"name": "timeout",
|
|
12075
|
-
"default": 300,
|
|
12073
|
+
"type": {
|
|
12074
|
+
"description": "Optional log file type filter",
|
|
12075
|
+
"name": "type",
|
|
12076
12076
|
"hasDynamicHelp": false,
|
|
12077
12077
|
"multiple": false,
|
|
12078
12078
|
"type": "option"
|
|
@@ -12080,7 +12080,7 @@
|
|
|
12080
12080
|
},
|
|
12081
12081
|
"hasDynamicHelp": false,
|
|
12082
12082
|
"hiddenAliases": [],
|
|
12083
|
-
"id": "cicd:
|
|
12083
|
+
"id": "cicd:function:result:log:get",
|
|
12084
12084
|
"pluginAlias": "@copado/agentia-cli",
|
|
12085
12085
|
"pluginName": "@copado/agentia-cli",
|
|
12086
12086
|
"pluginType": "core",
|
|
@@ -12091,12 +12091,12 @@
|
|
|
12091
12091
|
"dist",
|
|
12092
12092
|
"commands",
|
|
12093
12093
|
"cicd",
|
|
12094
|
-
"
|
|
12095
|
-
"
|
|
12096
|
-
"
|
|
12097
|
-
"
|
|
12094
|
+
"function",
|
|
12095
|
+
"result",
|
|
12096
|
+
"log",
|
|
12097
|
+
"get.js"
|
|
12098
12098
|
]
|
|
12099
12099
|
}
|
|
12100
12100
|
},
|
|
12101
|
-
"version": "0.
|
|
12101
|
+
"version": "0.73.0-alpha.0"
|
|
12102
12102
|
}
|