@copado/agentia-cli 0.116.0-alpha.0 → 0.117.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/README.md +368 -357
- package/dist/commands/cicd/work/commit.d.ts +0 -5
- package/dist/commands/cicd/work/commit.js +18 -33
- package/dist/commands/cicd/work/commit.js.map +1 -1
- package/dist/commands/cicd/work/publish.d.ts +12 -0
- package/dist/commands/cicd/work/publish.js +20 -0
- package/dist/commands/cicd/work/publish.js.map +1 -0
- package/dist/commands/cicd/work/push.d.ts +4 -0
- package/dist/commands/cicd/work/push.js +11 -82
- package/dist/commands/cicd/work/push.js.map +1 -1
- package/dist/commands/cicd/work/set.d.ts +2 -2
- package/dist/commands/cicd/work/set.js +6 -2
- package/dist/commands/cicd/work/set.js.map +1 -1
- package/dist/commands/cicd/work/status.js +14 -13
- package/dist/commands/cicd/work/status.js.map +1 -1
- package/dist/commands/cicd/work/submit.d.ts +2 -0
- package/dist/commands/cicd/work/submit.js +11 -3
- package/dist/commands/cicd/work/submit.js.map +1 -1
- package/dist/commands/cicd/work/test/apex.d.ts +11 -0
- package/dist/commands/cicd/work/test/apex.js +57 -0
- package/dist/commands/cicd/work/test/apex.js.map +1 -0
- package/dist/commands/cicd/work/test.js +12 -4
- package/dist/commands/cicd/work/test.js.map +1 -1
- package/dist/lib/cicd-gateway.d.ts +3 -0
- package/dist/lib/cicd-gateway.js +35 -2
- package/dist/lib/cicd-gateway.js.map +1 -1
- package/dist/lib/defaults-store.d.ts +1 -1
- package/dist/lib/defaults-store.js +1 -1
- package/dist/lib/git-worktree.d.ts +6 -0
- package/dist/lib/git-worktree.js +35 -1
- package/dist/lib/git-worktree.js.map +1 -1
- package/dist/lib/local-quality-gates.d.ts +4 -0
- package/dist/lib/local-quality-gates.js +1 -1
- package/dist/lib/local-quality-gates.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +12 -2
- package/dist/lib/mcp/tools.js +10 -8
- package/dist/lib/mcp/tools.js.map +1 -1
- package/dist/lib/mcp/work-tools.d.ts +18 -6
- package/dist/lib/mcp/work-tools.js +75 -50
- package/dist/lib/mcp/work-tools.js.map +1 -1
- package/dist/lib/nested-metadata-changes.d.ts +4 -4
- package/dist/lib/setup-templates.d.ts +3 -3
- package/dist/lib/setup-templates.js +33 -28
- package/dist/lib/setup-templates.js.map +1 -1
- package/dist/lib/setup-wizard.js +1 -1
- package/dist/lib/setup-wizard.js.map +1 -1
- package/dist/lib/stock-quality-gates.d.ts +12 -0
- package/dist/lib/stock-quality-gates.js +67 -0
- package/dist/lib/stock-quality-gates.js.map +1 -0
- package/dist/lib/work-apex-test.d.ts +56 -0
- package/dist/lib/work-apex-test.js +265 -0
- package/dist/lib/work-apex-test.js.map +1 -0
- package/dist/lib/work-branch-metadata.d.ts +2 -0
- package/dist/lib/work-branch-metadata.js +9 -0
- package/dist/lib/work-branch-metadata.js.map +1 -1
- package/dist/lib/work-local-commit.d.ts +1 -1
- package/dist/lib/work-local-commit.js +1 -1
- package/dist/lib/work-publish-command.d.ts +26 -0
- package/dist/lib/work-publish-command.js +88 -0
- package/dist/lib/work-publish-command.js.map +1 -0
- package/dist/lib/work-push.d.ts +3 -3
- package/dist/lib/work-push.js +12 -12
- package/dist/lib/work-push.js.map +1 -1
- package/dist/lib/work-set-selection.d.ts +3 -1
- package/dist/lib/work-set-selection.js +19 -1
- package/dist/lib/work-set-selection.js.map +1 -1
- package/dist/lib/work-types.d.ts +12 -1
- package/dist/lib/work-types.js.map +1 -1
- package/oclif.manifest.json +745 -665
- package/package.json +4 -1
- package/templates/AGENTS.md +2 -2
- package/templates/skills/agentia-cicd/SKILL.md +4 -3
- package/templates/skills/agentia-cicd/references/work.md +25 -23
package/oclif.manifest.json
CHANGED
|
@@ -2020,6 +2020,168 @@
|
|
|
2020
2020
|
"update.js"
|
|
2021
2021
|
]
|
|
2022
2022
|
},
|
|
2023
|
+
"cicd:credential:create": {
|
|
2024
|
+
"aliases": [],
|
|
2025
|
+
"args": {},
|
|
2026
|
+
"description": "Create a Copado environment credential",
|
|
2027
|
+
"examples": [
|
|
2028
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\"",
|
|
2029
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --default",
|
|
2030
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --json"
|
|
2031
|
+
],
|
|
2032
|
+
"flags": {
|
|
2033
|
+
"json": {
|
|
2034
|
+
"description": "Format output as json.",
|
|
2035
|
+
"helpGroup": "GLOBAL",
|
|
2036
|
+
"name": "json",
|
|
2037
|
+
"allowNo": false,
|
|
2038
|
+
"type": "boolean"
|
|
2039
|
+
},
|
|
2040
|
+
"default": {
|
|
2041
|
+
"description": "Mark this credential as the environment default",
|
|
2042
|
+
"name": "default",
|
|
2043
|
+
"allowNo": true,
|
|
2044
|
+
"type": "boolean"
|
|
2045
|
+
},
|
|
2046
|
+
"environmentid": {
|
|
2047
|
+
"description": "Copado environment ID",
|
|
2048
|
+
"name": "environmentid",
|
|
2049
|
+
"required": true,
|
|
2050
|
+
"hasDynamicHelp": false,
|
|
2051
|
+
"multiple": false,
|
|
2052
|
+
"type": "option"
|
|
2053
|
+
},
|
|
2054
|
+
"name": {
|
|
2055
|
+
"description": "Credential name",
|
|
2056
|
+
"name": "name",
|
|
2057
|
+
"required": true,
|
|
2058
|
+
"hasDynamicHelp": false,
|
|
2059
|
+
"multiple": false,
|
|
2060
|
+
"type": "option"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
"hasDynamicHelp": false,
|
|
2064
|
+
"hiddenAliases": [],
|
|
2065
|
+
"id": "cicd:credential:create",
|
|
2066
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2067
|
+
"pluginName": "@copado/agentia-cli",
|
|
2068
|
+
"pluginType": "core",
|
|
2069
|
+
"strict": true,
|
|
2070
|
+
"enableJsonFlag": true,
|
|
2071
|
+
"isESM": true,
|
|
2072
|
+
"relativePath": [
|
|
2073
|
+
"dist",
|
|
2074
|
+
"commands",
|
|
2075
|
+
"cicd",
|
|
2076
|
+
"credential",
|
|
2077
|
+
"create.js"
|
|
2078
|
+
]
|
|
2079
|
+
},
|
|
2080
|
+
"cicd:credential:list": {
|
|
2081
|
+
"aliases": [],
|
|
2082
|
+
"args": {},
|
|
2083
|
+
"description": "List credentials for a Copado environment",
|
|
2084
|
+
"examples": [
|
|
2085
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id>",
|
|
2086
|
+
"<%= config.bin %> <%= command.id %> --environmentid \"Dev Sandbox\"",
|
|
2087
|
+
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --json"
|
|
2088
|
+
],
|
|
2089
|
+
"flags": {
|
|
2090
|
+
"json": {
|
|
2091
|
+
"description": "Format output as json.",
|
|
2092
|
+
"helpGroup": "GLOBAL",
|
|
2093
|
+
"name": "json",
|
|
2094
|
+
"allowNo": false,
|
|
2095
|
+
"type": "boolean"
|
|
2096
|
+
},
|
|
2097
|
+
"environmentid": {
|
|
2098
|
+
"description": "Copado environment ID",
|
|
2099
|
+
"name": "environmentid",
|
|
2100
|
+
"required": true,
|
|
2101
|
+
"hasDynamicHelp": false,
|
|
2102
|
+
"multiple": false,
|
|
2103
|
+
"type": "option"
|
|
2104
|
+
}
|
|
2105
|
+
},
|
|
2106
|
+
"hasDynamicHelp": false,
|
|
2107
|
+
"hiddenAliases": [],
|
|
2108
|
+
"id": "cicd:credential:list",
|
|
2109
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2110
|
+
"pluginName": "@copado/agentia-cli",
|
|
2111
|
+
"pluginType": "core",
|
|
2112
|
+
"strict": true,
|
|
2113
|
+
"enableJsonFlag": true,
|
|
2114
|
+
"isESM": true,
|
|
2115
|
+
"relativePath": [
|
|
2116
|
+
"dist",
|
|
2117
|
+
"commands",
|
|
2118
|
+
"cicd",
|
|
2119
|
+
"credential",
|
|
2120
|
+
"list.js"
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2123
|
+
"cicd:credential:update": {
|
|
2124
|
+
"aliases": [],
|
|
2125
|
+
"args": {
|
|
2126
|
+
"id": {
|
|
2127
|
+
"description": "Copado credential ID",
|
|
2128
|
+
"name": "id",
|
|
2129
|
+
"required": true
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
"description": "Update a Copado environment credential by ID",
|
|
2133
|
+
"examples": [
|
|
2134
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --name \"CI User\"",
|
|
2135
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --default",
|
|
2136
|
+
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --no-default --json"
|
|
2137
|
+
],
|
|
2138
|
+
"flags": {
|
|
2139
|
+
"json": {
|
|
2140
|
+
"description": "Format output as json.",
|
|
2141
|
+
"helpGroup": "GLOBAL",
|
|
2142
|
+
"name": "json",
|
|
2143
|
+
"allowNo": false,
|
|
2144
|
+
"type": "boolean"
|
|
2145
|
+
},
|
|
2146
|
+
"default": {
|
|
2147
|
+
"description": "Mark this credential as the environment default",
|
|
2148
|
+
"name": "default",
|
|
2149
|
+
"allowNo": true,
|
|
2150
|
+
"type": "boolean"
|
|
2151
|
+
},
|
|
2152
|
+
"environmentid": {
|
|
2153
|
+
"description": "Copado environment ID",
|
|
2154
|
+
"name": "environmentid",
|
|
2155
|
+
"required": true,
|
|
2156
|
+
"hasDynamicHelp": false,
|
|
2157
|
+
"multiple": false,
|
|
2158
|
+
"type": "option"
|
|
2159
|
+
},
|
|
2160
|
+
"name": {
|
|
2161
|
+
"description": "Credential name",
|
|
2162
|
+
"name": "name",
|
|
2163
|
+
"hasDynamicHelp": false,
|
|
2164
|
+
"multiple": false,
|
|
2165
|
+
"type": "option"
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
"hasDynamicHelp": false,
|
|
2169
|
+
"hiddenAliases": [],
|
|
2170
|
+
"id": "cicd:credential:update",
|
|
2171
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2172
|
+
"pluginName": "@copado/agentia-cli",
|
|
2173
|
+
"pluginType": "core",
|
|
2174
|
+
"strict": true,
|
|
2175
|
+
"enableJsonFlag": true,
|
|
2176
|
+
"isESM": true,
|
|
2177
|
+
"relativePath": [
|
|
2178
|
+
"dist",
|
|
2179
|
+
"commands",
|
|
2180
|
+
"cicd",
|
|
2181
|
+
"credential",
|
|
2182
|
+
"update.js"
|
|
2183
|
+
]
|
|
2184
|
+
},
|
|
2023
2185
|
"cicd:environment:create": {
|
|
2024
2186
|
"aliases": [],
|
|
2025
2187
|
"args": {
|
|
@@ -2431,14 +2593,13 @@
|
|
|
2431
2593
|
"update.js"
|
|
2432
2594
|
]
|
|
2433
2595
|
},
|
|
2434
|
-
"cicd:
|
|
2596
|
+
"cicd:function:defaults": {
|
|
2435
2597
|
"aliases": [],
|
|
2436
2598
|
"args": {},
|
|
2437
|
-
"description": "
|
|
2599
|
+
"description": "Scaffold default Copado Function metadata and script without writing to Salesforce",
|
|
2438
2600
|
"examples": [
|
|
2439
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2440
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2441
|
-
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --name \"CI User\" --json"
|
|
2601
|
+
"<%= config.bin %> <%= command.id %> --name MyFunction",
|
|
2602
|
+
"<%= config.bin %> <%= command.id %> --name MyFunction --runtime python --json"
|
|
2442
2603
|
],
|
|
2443
2604
|
"flags": {
|
|
2444
2605
|
"json": {
|
|
@@ -2448,32 +2609,39 @@
|
|
|
2448
2609
|
"allowNo": false,
|
|
2449
2610
|
"type": "boolean"
|
|
2450
2611
|
},
|
|
2451
|
-
"
|
|
2452
|
-
"description": "
|
|
2453
|
-
"name": "
|
|
2454
|
-
"
|
|
2455
|
-
"type": "boolean"
|
|
2456
|
-
},
|
|
2457
|
-
"environmentid": {
|
|
2458
|
-
"description": "Copado environment ID",
|
|
2459
|
-
"name": "environmentid",
|
|
2460
|
-
"required": true,
|
|
2612
|
+
"image-name": {
|
|
2613
|
+
"description": "Function container image",
|
|
2614
|
+
"name": "image-name",
|
|
2615
|
+
"default": "copado-function-core:v1",
|
|
2461
2616
|
"hasDynamicHelp": false,
|
|
2462
2617
|
"multiple": false,
|
|
2463
2618
|
"type": "option"
|
|
2464
2619
|
},
|
|
2465
2620
|
"name": {
|
|
2466
|
-
"description": "
|
|
2621
|
+
"description": "Function display name used to scaffold defaults",
|
|
2467
2622
|
"name": "name",
|
|
2468
2623
|
"required": true,
|
|
2469
2624
|
"hasDynamicHelp": false,
|
|
2470
2625
|
"multiple": false,
|
|
2471
2626
|
"type": "option"
|
|
2627
|
+
},
|
|
2628
|
+
"runtime": {
|
|
2629
|
+
"description": "Script runtime",
|
|
2630
|
+
"name": "runtime",
|
|
2631
|
+
"default": "bash",
|
|
2632
|
+
"hasDynamicHelp": false,
|
|
2633
|
+
"multiple": false,
|
|
2634
|
+
"options": [
|
|
2635
|
+
"bash",
|
|
2636
|
+
"node",
|
|
2637
|
+
"python"
|
|
2638
|
+
],
|
|
2639
|
+
"type": "option"
|
|
2472
2640
|
}
|
|
2473
2641
|
},
|
|
2474
2642
|
"hasDynamicHelp": false,
|
|
2475
2643
|
"hiddenAliases": [],
|
|
2476
|
-
"id": "cicd:
|
|
2644
|
+
"id": "cicd:function:defaults",
|
|
2477
2645
|
"pluginAlias": "@copado/agentia-cli",
|
|
2478
2646
|
"pluginName": "@copado/agentia-cli",
|
|
2479
2647
|
"pluginType": "core",
|
|
@@ -2484,18 +2652,23 @@
|
|
|
2484
2652
|
"dist",
|
|
2485
2653
|
"commands",
|
|
2486
2654
|
"cicd",
|
|
2487
|
-
"
|
|
2488
|
-
"
|
|
2655
|
+
"function",
|
|
2656
|
+
"defaults.js"
|
|
2489
2657
|
]
|
|
2490
2658
|
},
|
|
2491
|
-
"cicd:
|
|
2659
|
+
"cicd:function:delete": {
|
|
2492
2660
|
"aliases": [],
|
|
2493
|
-
"args": {
|
|
2494
|
-
|
|
2661
|
+
"args": {
|
|
2662
|
+
"api-name": {
|
|
2663
|
+
"description": "Function API name",
|
|
2664
|
+
"name": "api-name",
|
|
2665
|
+
"required": true
|
|
2666
|
+
}
|
|
2667
|
+
},
|
|
2668
|
+
"description": "Delete a Copado Function by API name",
|
|
2495
2669
|
"examples": [
|
|
2496
|
-
"<%= config.bin %> <%= command.id %>
|
|
2497
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2498
|
-
"<%= config.bin %> <%= command.id %> --environmentid <environment-id> --json"
|
|
2670
|
+
"<%= config.bin %> <%= command.id %> myFunction",
|
|
2671
|
+
"<%= config.bin %> <%= command.id %> myFunction --json"
|
|
2499
2672
|
],
|
|
2500
2673
|
"flags": {
|
|
2501
2674
|
"json": {
|
|
@@ -2504,19 +2677,11 @@
|
|
|
2504
2677
|
"name": "json",
|
|
2505
2678
|
"allowNo": false,
|
|
2506
2679
|
"type": "boolean"
|
|
2507
|
-
},
|
|
2508
|
-
"environmentid": {
|
|
2509
|
-
"description": "Copado environment ID",
|
|
2510
|
-
"name": "environmentid",
|
|
2511
|
-
"required": true,
|
|
2512
|
-
"hasDynamicHelp": false,
|
|
2513
|
-
"multiple": false,
|
|
2514
|
-
"type": "option"
|
|
2515
2680
|
}
|
|
2516
2681
|
},
|
|
2517
2682
|
"hasDynamicHelp": false,
|
|
2518
2683
|
"hiddenAliases": [],
|
|
2519
|
-
"id": "cicd:
|
|
2684
|
+
"id": "cicd:function:delete",
|
|
2520
2685
|
"pluginAlias": "@copado/agentia-cli",
|
|
2521
2686
|
"pluginName": "@copado/agentia-cli",
|
|
2522
2687
|
"pluginType": "core",
|
|
@@ -2527,188 +2692,23 @@
|
|
|
2527
2692
|
"dist",
|
|
2528
2693
|
"commands",
|
|
2529
2694
|
"cicd",
|
|
2530
|
-
"
|
|
2531
|
-
"
|
|
2695
|
+
"function",
|
|
2696
|
+
"delete.js"
|
|
2532
2697
|
]
|
|
2533
2698
|
},
|
|
2534
|
-
"cicd:
|
|
2699
|
+
"cicd:function:get": {
|
|
2535
2700
|
"aliases": [],
|
|
2536
2701
|
"args": {
|
|
2537
|
-
"
|
|
2538
|
-
"description": "
|
|
2539
|
-
"name": "
|
|
2702
|
+
"api-name": {
|
|
2703
|
+
"description": "Function API name",
|
|
2704
|
+
"name": "api-name",
|
|
2540
2705
|
"required": true
|
|
2541
2706
|
}
|
|
2542
2707
|
},
|
|
2543
|
-
"description": "
|
|
2708
|
+
"description": "Get a Copado Function by API name",
|
|
2544
2709
|
"examples": [
|
|
2545
|
-
"<%= config.bin %> <%= command.id %>
|
|
2546
|
-
"<%= config.bin %> <%= command.id %>
|
|
2547
|
-
"<%= config.bin %> <%= command.id %> <credential-id> --environmentid <environment-id> --no-default --json"
|
|
2548
|
-
],
|
|
2549
|
-
"flags": {
|
|
2550
|
-
"json": {
|
|
2551
|
-
"description": "Format output as json.",
|
|
2552
|
-
"helpGroup": "GLOBAL",
|
|
2553
|
-
"name": "json",
|
|
2554
|
-
"allowNo": false,
|
|
2555
|
-
"type": "boolean"
|
|
2556
|
-
},
|
|
2557
|
-
"default": {
|
|
2558
|
-
"description": "Mark this credential as the environment default",
|
|
2559
|
-
"name": "default",
|
|
2560
|
-
"allowNo": true,
|
|
2561
|
-
"type": "boolean"
|
|
2562
|
-
},
|
|
2563
|
-
"environmentid": {
|
|
2564
|
-
"description": "Copado environment ID",
|
|
2565
|
-
"name": "environmentid",
|
|
2566
|
-
"required": true,
|
|
2567
|
-
"hasDynamicHelp": false,
|
|
2568
|
-
"multiple": false,
|
|
2569
|
-
"type": "option"
|
|
2570
|
-
},
|
|
2571
|
-
"name": {
|
|
2572
|
-
"description": "Credential name",
|
|
2573
|
-
"name": "name",
|
|
2574
|
-
"hasDynamicHelp": false,
|
|
2575
|
-
"multiple": false,
|
|
2576
|
-
"type": "option"
|
|
2577
|
-
}
|
|
2578
|
-
},
|
|
2579
|
-
"hasDynamicHelp": false,
|
|
2580
|
-
"hiddenAliases": [],
|
|
2581
|
-
"id": "cicd:credential:update",
|
|
2582
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2583
|
-
"pluginName": "@copado/agentia-cli",
|
|
2584
|
-
"pluginType": "core",
|
|
2585
|
-
"strict": true,
|
|
2586
|
-
"enableJsonFlag": true,
|
|
2587
|
-
"isESM": true,
|
|
2588
|
-
"relativePath": [
|
|
2589
|
-
"dist",
|
|
2590
|
-
"commands",
|
|
2591
|
-
"cicd",
|
|
2592
|
-
"credential",
|
|
2593
|
-
"update.js"
|
|
2594
|
-
]
|
|
2595
|
-
},
|
|
2596
|
-
"cicd:function:defaults": {
|
|
2597
|
-
"aliases": [],
|
|
2598
|
-
"args": {},
|
|
2599
|
-
"description": "Scaffold default Copado Function metadata and script without writing to Salesforce",
|
|
2600
|
-
"examples": [
|
|
2601
|
-
"<%= config.bin %> <%= command.id %> --name MyFunction",
|
|
2602
|
-
"<%= config.bin %> <%= command.id %> --name MyFunction --runtime python --json"
|
|
2603
|
-
],
|
|
2604
|
-
"flags": {
|
|
2605
|
-
"json": {
|
|
2606
|
-
"description": "Format output as json.",
|
|
2607
|
-
"helpGroup": "GLOBAL",
|
|
2608
|
-
"name": "json",
|
|
2609
|
-
"allowNo": false,
|
|
2610
|
-
"type": "boolean"
|
|
2611
|
-
},
|
|
2612
|
-
"image-name": {
|
|
2613
|
-
"description": "Function container image",
|
|
2614
|
-
"name": "image-name",
|
|
2615
|
-
"default": "copado-function-core:v1",
|
|
2616
|
-
"hasDynamicHelp": false,
|
|
2617
|
-
"multiple": false,
|
|
2618
|
-
"type": "option"
|
|
2619
|
-
},
|
|
2620
|
-
"name": {
|
|
2621
|
-
"description": "Function display name used to scaffold defaults",
|
|
2622
|
-
"name": "name",
|
|
2623
|
-
"required": true,
|
|
2624
|
-
"hasDynamicHelp": false,
|
|
2625
|
-
"multiple": false,
|
|
2626
|
-
"type": "option"
|
|
2627
|
-
},
|
|
2628
|
-
"runtime": {
|
|
2629
|
-
"description": "Script runtime",
|
|
2630
|
-
"name": "runtime",
|
|
2631
|
-
"default": "bash",
|
|
2632
|
-
"hasDynamicHelp": false,
|
|
2633
|
-
"multiple": false,
|
|
2634
|
-
"options": [
|
|
2635
|
-
"bash",
|
|
2636
|
-
"node",
|
|
2637
|
-
"python"
|
|
2638
|
-
],
|
|
2639
|
-
"type": "option"
|
|
2640
|
-
}
|
|
2641
|
-
},
|
|
2642
|
-
"hasDynamicHelp": false,
|
|
2643
|
-
"hiddenAliases": [],
|
|
2644
|
-
"id": "cicd:function:defaults",
|
|
2645
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2646
|
-
"pluginName": "@copado/agentia-cli",
|
|
2647
|
-
"pluginType": "core",
|
|
2648
|
-
"strict": true,
|
|
2649
|
-
"enableJsonFlag": true,
|
|
2650
|
-
"isESM": true,
|
|
2651
|
-
"relativePath": [
|
|
2652
|
-
"dist",
|
|
2653
|
-
"commands",
|
|
2654
|
-
"cicd",
|
|
2655
|
-
"function",
|
|
2656
|
-
"defaults.js"
|
|
2657
|
-
]
|
|
2658
|
-
},
|
|
2659
|
-
"cicd:function:delete": {
|
|
2660
|
-
"aliases": [],
|
|
2661
|
-
"args": {
|
|
2662
|
-
"api-name": {
|
|
2663
|
-
"description": "Function API name",
|
|
2664
|
-
"name": "api-name",
|
|
2665
|
-
"required": true
|
|
2666
|
-
}
|
|
2667
|
-
},
|
|
2668
|
-
"description": "Delete a Copado Function by API name",
|
|
2669
|
-
"examples": [
|
|
2670
|
-
"<%= config.bin %> <%= command.id %> myFunction",
|
|
2671
|
-
"<%= config.bin %> <%= command.id %> myFunction --json"
|
|
2672
|
-
],
|
|
2673
|
-
"flags": {
|
|
2674
|
-
"json": {
|
|
2675
|
-
"description": "Format output as json.",
|
|
2676
|
-
"helpGroup": "GLOBAL",
|
|
2677
|
-
"name": "json",
|
|
2678
|
-
"allowNo": false,
|
|
2679
|
-
"type": "boolean"
|
|
2680
|
-
}
|
|
2681
|
-
},
|
|
2682
|
-
"hasDynamicHelp": false,
|
|
2683
|
-
"hiddenAliases": [],
|
|
2684
|
-
"id": "cicd:function:delete",
|
|
2685
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2686
|
-
"pluginName": "@copado/agentia-cli",
|
|
2687
|
-
"pluginType": "core",
|
|
2688
|
-
"strict": true,
|
|
2689
|
-
"enableJsonFlag": true,
|
|
2690
|
-
"isESM": true,
|
|
2691
|
-
"relativePath": [
|
|
2692
|
-
"dist",
|
|
2693
|
-
"commands",
|
|
2694
|
-
"cicd",
|
|
2695
|
-
"function",
|
|
2696
|
-
"delete.js"
|
|
2697
|
-
]
|
|
2698
|
-
},
|
|
2699
|
-
"cicd:function:get": {
|
|
2700
|
-
"aliases": [],
|
|
2701
|
-
"args": {
|
|
2702
|
-
"api-name": {
|
|
2703
|
-
"description": "Function API name",
|
|
2704
|
-
"name": "api-name",
|
|
2705
|
-
"required": true
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
"description": "Get a Copado Function by API name",
|
|
2709
|
-
"examples": [
|
|
2710
|
-
"<%= config.bin %> <%= command.id %> myFunction",
|
|
2711
|
-
"<%= config.bin %> <%= command.id %> myFunction --json"
|
|
2710
|
+
"<%= config.bin %> <%= command.id %> myFunction",
|
|
2711
|
+
"<%= config.bin %> <%= command.id %> myFunction --json"
|
|
2712
2712
|
],
|
|
2713
2713
|
"flags": {
|
|
2714
2714
|
"json": {
|
|
@@ -5246,6 +5246,50 @@
|
|
|
5246
5246
|
"validate.js"
|
|
5247
5247
|
]
|
|
5248
5248
|
},
|
|
5249
|
+
"cicd:user:get": {
|
|
5250
|
+
"aliases": [],
|
|
5251
|
+
"args": {},
|
|
5252
|
+
"description": "Get a Copado user by ID (defaults to the authenticated user)",
|
|
5253
|
+
"examples": [
|
|
5254
|
+
"<%= config.bin %> <%= command.id %>",
|
|
5255
|
+
"<%= config.bin %> <%= command.id %> --id me",
|
|
5256
|
+
"<%= config.bin %> <%= command.id %> --id 005000000000000",
|
|
5257
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
5258
|
+
],
|
|
5259
|
+
"flags": {
|
|
5260
|
+
"json": {
|
|
5261
|
+
"description": "Format output as json.",
|
|
5262
|
+
"helpGroup": "GLOBAL",
|
|
5263
|
+
"name": "json",
|
|
5264
|
+
"allowNo": false,
|
|
5265
|
+
"type": "boolean"
|
|
5266
|
+
},
|
|
5267
|
+
"id": {
|
|
5268
|
+
"description": "User ID, or \"me\" for the authenticated user",
|
|
5269
|
+
"name": "id",
|
|
5270
|
+
"default": "me",
|
|
5271
|
+
"hasDynamicHelp": false,
|
|
5272
|
+
"multiple": false,
|
|
5273
|
+
"type": "option"
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5276
|
+
"hasDynamicHelp": false,
|
|
5277
|
+
"hiddenAliases": [],
|
|
5278
|
+
"id": "cicd:user:get",
|
|
5279
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
5280
|
+
"pluginName": "@copado/agentia-cli",
|
|
5281
|
+
"pluginType": "core",
|
|
5282
|
+
"strict": true,
|
|
5283
|
+
"enableJsonFlag": true,
|
|
5284
|
+
"isESM": true,
|
|
5285
|
+
"relativePath": [
|
|
5286
|
+
"dist",
|
|
5287
|
+
"commands",
|
|
5288
|
+
"cicd",
|
|
5289
|
+
"user",
|
|
5290
|
+
"get.js"
|
|
5291
|
+
]
|
|
5292
|
+
},
|
|
5249
5293
|
"cicd:stage:create": {
|
|
5250
5294
|
"aliases": [],
|
|
5251
5295
|
"args": {
|
|
@@ -5529,50 +5573,6 @@
|
|
|
5529
5573
|
"update.js"
|
|
5530
5574
|
]
|
|
5531
5575
|
},
|
|
5532
|
-
"cicd:user:get": {
|
|
5533
|
-
"aliases": [],
|
|
5534
|
-
"args": {},
|
|
5535
|
-
"description": "Get a Copado user by ID (defaults to the authenticated user)",
|
|
5536
|
-
"examples": [
|
|
5537
|
-
"<%= config.bin %> <%= command.id %>",
|
|
5538
|
-
"<%= config.bin %> <%= command.id %> --id me",
|
|
5539
|
-
"<%= config.bin %> <%= command.id %> --id 005000000000000",
|
|
5540
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
5541
|
-
],
|
|
5542
|
-
"flags": {
|
|
5543
|
-
"json": {
|
|
5544
|
-
"description": "Format output as json.",
|
|
5545
|
-
"helpGroup": "GLOBAL",
|
|
5546
|
-
"name": "json",
|
|
5547
|
-
"allowNo": false,
|
|
5548
|
-
"type": "boolean"
|
|
5549
|
-
},
|
|
5550
|
-
"id": {
|
|
5551
|
-
"description": "User ID, or \"me\" for the authenticated user",
|
|
5552
|
-
"name": "id",
|
|
5553
|
-
"default": "me",
|
|
5554
|
-
"hasDynamicHelp": false,
|
|
5555
|
-
"multiple": false,
|
|
5556
|
-
"type": "option"
|
|
5557
|
-
}
|
|
5558
|
-
},
|
|
5559
|
-
"hasDynamicHelp": false,
|
|
5560
|
-
"hiddenAliases": [],
|
|
5561
|
-
"id": "cicd:user:get",
|
|
5562
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
5563
|
-
"pluginName": "@copado/agentia-cli",
|
|
5564
|
-
"pluginType": "core",
|
|
5565
|
-
"strict": true,
|
|
5566
|
-
"enableJsonFlag": true,
|
|
5567
|
-
"isESM": true,
|
|
5568
|
-
"relativePath": [
|
|
5569
|
-
"dist",
|
|
5570
|
-
"commands",
|
|
5571
|
-
"cicd",
|
|
5572
|
-
"user",
|
|
5573
|
-
"get.js"
|
|
5574
|
-
]
|
|
5575
|
-
},
|
|
5576
5576
|
"cicd:work:commit": {
|
|
5577
5577
|
"aliases": [],
|
|
5578
5578
|
"args": {
|
|
@@ -5582,11 +5582,8 @@
|
|
|
5582
5582
|
"required": false
|
|
5583
5583
|
}
|
|
5584
5584
|
},
|
|
5585
|
-
"description": "
|
|
5585
|
+
"description": "Create a Copado cloud metadata commit for a user story. Requires --cloud: preflights the story, submits POST /release/commit, and polls the job monitor by default. For local Git work, use git add/commit then `cicd work publish`. Permission and full-metadata selections belong on `cicd work publish`.",
|
|
5586
5586
|
"examples": [
|
|
5587
|
-
"<%= config.bin %> <%= command.id %> --local --all",
|
|
5588
|
-
"<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 add account service\" --permissions CustomField:Account.SLA__c,ApexClass:AccountService --apex-test-classes MyTest,OtherTest",
|
|
5589
|
-
"<%= config.bin %> <%= command.id %> --local -a -m \"US-0000001 full onboarding permission set\" --full-metadata PermissionSet:Sales_Onboarding",
|
|
5590
5587
|
"<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
|
|
5591
5588
|
"<%= config.bin %> <%= command.id %> a07XXXXXXXXXXXXXXX --cloud --message \"Update Aura files\" --metadata-name accountEditor --metadata-type AuraDefinitionBundle --metadata-category SFDX --action SelectiveCommit --selection accountEditor/accountEditor.cmp --selection accountEditor/accountEditorController.js",
|
|
5592
5589
|
"cat commit-request.json | <%= config.bin %> <%= command.id %> --cloud --stdin --json"
|
|
@@ -5613,20 +5610,6 @@
|
|
|
5613
5610
|
],
|
|
5614
5611
|
"type": "option"
|
|
5615
5612
|
},
|
|
5616
|
-
"all": {
|
|
5617
|
-
"char": "a",
|
|
5618
|
-
"description": "Local commit only. Stage every tracked modification before committing, like `git commit -a`.",
|
|
5619
|
-
"name": "all",
|
|
5620
|
-
"allowNo": false,
|
|
5621
|
-
"type": "boolean"
|
|
5622
|
-
},
|
|
5623
|
-
"apex-test-classes": {
|
|
5624
|
-
"description": "Local commit only. Comma-separated Apex test class names stored as lastApexTestClassesSelected for `cicd work push`. Pass an empty value to clear it.",
|
|
5625
|
-
"name": "apex-test-classes",
|
|
5626
|
-
"hasDynamicHelp": false,
|
|
5627
|
-
"multiple": false,
|
|
5628
|
-
"type": "option"
|
|
5629
|
-
},
|
|
5630
5613
|
"base-branch": {
|
|
5631
5614
|
"description": "Optional base branch to include in the commit request.",
|
|
5632
5615
|
"name": "base-branch",
|
|
@@ -5635,7 +5618,7 @@
|
|
|
5635
5618
|
"type": "option"
|
|
5636
5619
|
},
|
|
5637
5620
|
"cloud": {
|
|
5638
|
-
"description": "
|
|
5621
|
+
"description": "Create a Copado cloud metadata commit (POST /release/commit). Required. For local Git work, use git commit then `cicd work publish`.",
|
|
5639
5622
|
"name": "cloud",
|
|
5640
5623
|
"allowNo": false,
|
|
5641
5624
|
"type": "boolean"
|
|
@@ -5661,22 +5644,9 @@
|
|
|
5661
5644
|
"multiple": false,
|
|
5662
5645
|
"type": "option"
|
|
5663
5646
|
},
|
|
5664
|
-
"full-metadata": {
|
|
5665
|
-
"description": "Local commit only. Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, stored as lastFullMetadataSelected and sent as `cicd work push` fullMetadata corrections. The named metadata is committed as a complete file, so every permission it contains is applied instead of only the permissions selected with --permissions. Pass an empty value to clear it.",
|
|
5666
|
-
"name": "full-metadata",
|
|
5667
|
-
"hasDynamicHelp": false,
|
|
5668
|
-
"multiple": false,
|
|
5669
|
-
"type": "option"
|
|
5670
|
-
},
|
|
5671
|
-
"local": {
|
|
5672
|
-
"description": "Run a local git commit and record Copado selections. Used by default when --cloud is omitted.",
|
|
5673
|
-
"name": "local",
|
|
5674
|
-
"allowNo": false,
|
|
5675
|
-
"type": "boolean"
|
|
5676
|
-
},
|
|
5677
5647
|
"message": {
|
|
5678
5648
|
"char": "m",
|
|
5679
|
-
"description": "Commit message.
|
|
5649
|
+
"description": "Commit message. Required unless provided by JSON input.",
|
|
5680
5650
|
"name": "message",
|
|
5681
5651
|
"hasDynamicHelp": false,
|
|
5682
5652
|
"multiple": false,
|
|
@@ -5717,13 +5687,6 @@
|
|
|
5717
5687
|
"multiple": false,
|
|
5718
5688
|
"type": "option"
|
|
5719
5689
|
},
|
|
5720
|
-
"permissions": {
|
|
5721
|
-
"description": "Local commit only. Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, stored as lastPermissionSelected and sent as `cicd work push` RetrieveOnly corrections. The named metadata is not committed or deployed; it filters which permissions are updated inside the committed permission sets and profiles so other permissions are not overwritten. Pass an empty value to clear it.",
|
|
5722
|
-
"name": "permissions",
|
|
5723
|
-
"hasDynamicHelp": false,
|
|
5724
|
-
"multiple": false,
|
|
5725
|
-
"type": "option"
|
|
5726
|
-
},
|
|
5727
5690
|
"platform-experience": {
|
|
5728
5691
|
"description": "Initial platform-experience header for preflight. The preflight response wins for commit.",
|
|
5729
5692
|
"name": "platform-experience",
|
|
@@ -6393,10 +6356,10 @@
|
|
|
6393
6356
|
"promote.js"
|
|
6394
6357
|
]
|
|
6395
6358
|
},
|
|
6396
|
-
"cicd:work:
|
|
6359
|
+
"cicd:work:publish": {
|
|
6397
6360
|
"aliases": [],
|
|
6398
6361
|
"args": {},
|
|
6399
|
-
"description": "
|
|
6362
|
+
"description": "Publish 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`. Fetches origin/<lastBaseBranch>, then registers only commits in origin/<lastBaseBranch>..HEAD and diffs nested parent XML at merge-base(origin/<lastBaseBranch>, HEAD) versus HEAD, so origin/base-only history is ignored. When there are no commits since origin/<lastBaseBranch>, or origin already has HEAD, fails with \"No changes to publish\" unless `--permissions` and/or `--full-metadata` is set, in which case it creates an empty commit so a tip commit id exists. 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>`, reports the nested metadata changed across the branch, such as the CustomField behind a profile field-permission edit, plus the parent components it would ignore, calls headless work/push with one changeListUpdate list of Action:MetadataType:MetadataName corrections: lastPermissionSelected and --permissions plus the nested metadata of the changed profiles and permission sets as RetrieveOnly, lastFullMetadataSelected and --full-metadata plus brand-new nested parent files as fullMetadata, the ignored parents as unchanged, the nested metadata deleted on the branch as Del, and the remaining nested metadata as Add, then merges the feature branch into the recorded dev org branch. The changed profiles and permission sets themselves are never sent as corrections, so they stay in the change list and deploy only the permissions their RetrieveOnly entries select. Brand-new nested parent files are an exception: they are sent as fullMetadata so the complete file travels. `cicd work push` is a compatibility alias of this command.",
|
|
6400
6363
|
"examples": [
|
|
6401
6364
|
"<%= config.bin %> <%= command.id %>",
|
|
6402
6365
|
"<%= config.bin %> <%= command.id %> --permissions CustomField:Account.SLA__c,ApexClass:AccountService",
|
|
@@ -6413,14 +6376,70 @@
|
|
|
6413
6376
|
"type": "boolean"
|
|
6414
6377
|
},
|
|
6415
6378
|
"full-metadata": {
|
|
6416
|
-
"description": "Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, added
|
|
6379
|
+
"description": "Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, added for this publish and sent as headless push fullMetadata corrections. The named metadata is committed as a complete file, so it is never decomposed into nested metadata. Not stored.",
|
|
6380
|
+
"name": "full-metadata",
|
|
6381
|
+
"hasDynamicHelp": false,
|
|
6382
|
+
"multiple": false,
|
|
6383
|
+
"type": "option"
|
|
6384
|
+
},
|
|
6385
|
+
"permissions": {
|
|
6386
|
+
"description": "Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, added for this publish and sent as headless push RetrieveOnly corrections. Not stored.",
|
|
6387
|
+
"name": "permissions",
|
|
6388
|
+
"hasDynamicHelp": false,
|
|
6389
|
+
"multiple": false,
|
|
6390
|
+
"type": "option"
|
|
6391
|
+
},
|
|
6392
|
+
"skip-nested-metadata-detection": {
|
|
6393
|
+
"description": "Do not detect the nested metadata changed across the branch (also configurable via skipNestedMetadataDetection in .agentia/config.json or .agentia/config.user.json)",
|
|
6394
|
+
"name": "skip-nested-metadata-detection",
|
|
6395
|
+
"allowNo": false,
|
|
6396
|
+
"type": "boolean"
|
|
6397
|
+
}
|
|
6398
|
+
},
|
|
6399
|
+
"hasDynamicHelp": false,
|
|
6400
|
+
"hiddenAliases": [],
|
|
6401
|
+
"id": "cicd:work:publish",
|
|
6402
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
6403
|
+
"pluginName": "@copado/agentia-cli",
|
|
6404
|
+
"pluginType": "core",
|
|
6405
|
+
"strict": true,
|
|
6406
|
+
"enableJsonFlag": true,
|
|
6407
|
+
"isESM": true,
|
|
6408
|
+
"relativePath": [
|
|
6409
|
+
"dist",
|
|
6410
|
+
"commands",
|
|
6411
|
+
"cicd",
|
|
6412
|
+
"work",
|
|
6413
|
+
"publish.js"
|
|
6414
|
+
]
|
|
6415
|
+
},
|
|
6416
|
+
"cicd:work:push": {
|
|
6417
|
+
"aliases": [],
|
|
6418
|
+
"args": {},
|
|
6419
|
+
"description": "Alias of cicd work publish. Publishes the current feature/<lastWorkItem> branch and registers commits with Copado. Prefer: agentia cicd work publish.",
|
|
6420
|
+
"examples": [
|
|
6421
|
+
"<%= config.bin %> cicd work publish",
|
|
6422
|
+
"<%= config.bin %> <%= command.id %>",
|
|
6423
|
+
"<%= config.bin %> <%= command.id %> --skip-nested-metadata-detection",
|
|
6424
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
6425
|
+
],
|
|
6426
|
+
"flags": {
|
|
6427
|
+
"json": {
|
|
6428
|
+
"description": "Format output as json.",
|
|
6429
|
+
"helpGroup": "GLOBAL",
|
|
6430
|
+
"name": "json",
|
|
6431
|
+
"allowNo": false,
|
|
6432
|
+
"type": "boolean"
|
|
6433
|
+
},
|
|
6434
|
+
"full-metadata": {
|
|
6435
|
+
"description": "Comma-separated type-prefixed metadata such as Profile:Sales_User,PermissionSet:Sales_Onboarding, added for this publish and sent as headless push fullMetadata corrections. The named metadata is committed as a complete file, so it is never decomposed into nested metadata. Not stored.",
|
|
6417
6436
|
"name": "full-metadata",
|
|
6418
6437
|
"hasDynamicHelp": false,
|
|
6419
6438
|
"multiple": false,
|
|
6420
6439
|
"type": "option"
|
|
6421
6440
|
},
|
|
6422
6441
|
"permissions": {
|
|
6423
|
-
"description": "Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, added
|
|
6442
|
+
"description": "Comma-separated type-prefixed metadata such as CustomField:Account.SLA__c,ApexClass:AccountService, added for this publish and sent as headless push RetrieveOnly corrections. Not stored.",
|
|
6424
6443
|
"name": "permissions",
|
|
6425
6444
|
"hasDynamicHelp": false,
|
|
6426
6445
|
"multiple": false,
|
|
@@ -6459,7 +6478,7 @@
|
|
|
6459
6478
|
"required": false
|
|
6460
6479
|
}
|
|
6461
6480
|
},
|
|
6462
|
-
"description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, then creates or checks out feature/<user-story-name>. After work/set returns, compares the Story source credential with the CICD project default: warns when the default or Story credential is missing, and warns without changing the Story when they differ (shows the current credential and environment; use work update to change it). With --none, clears every last* key from `.agentia/config.user.json` and checks out the previous lastBaseBranch when present, else main, else master, else stays put.",
|
|
6481
|
+
"description": "Set the active work item and prepare a local feature branch. Calls the CICD gateway work/set endpoint, requires a clean tracked working tree, fetches the work item base branch from origin, then creates or checks out feature/<user-story-name>. A gateway warning prints the message, skips git, and leaves local work context unchanged. After work/set returns, compares the Story source credential with the CICD project default: warns when the default or Story credential is missing, and warns without changing the Story when they differ (shows the current credential and environment; use work update to change it). With --none, clears every last* key from `.agentia/config.user.json` and checks out the previous lastBaseBranch when present, else main, else master, else stays put.",
|
|
6463
6482
|
"examples": [
|
|
6464
6483
|
"<%= config.bin %> <%= command.id %> a0SKC000000CmZ2AU",
|
|
6465
6484
|
"<%= config.bin %> <%= command.id %> US-0001 --json",
|
|
@@ -6514,7 +6533,7 @@
|
|
|
6514
6533
|
"required": false
|
|
6515
6534
|
}
|
|
6516
6535
|
},
|
|
6517
|
-
"description": "Get status for a work item, including related job executions
|
|
6536
|
+
"description": "Get status for a work item, including related job executions. Includes local branch metadata when lastBaseBranch is recorded by `work set`. Uses the given user story ID/name, or the last work item from `agentia cicd work set`. Use --metadata-list-only to retrieve only local branch metadata without an API call.",
|
|
6518
6537
|
"examples": [
|
|
6519
6538
|
"<%= config.bin %> <%= command.id %>",
|
|
6520
6539
|
"<%= config.bin %> <%= command.id %> US-0001",
|
|
@@ -6556,13 +6575,14 @@
|
|
|
6556
6575
|
"cicd:work:submit": {
|
|
6557
6576
|
"aliases": [],
|
|
6558
6577
|
"args": {},
|
|
6559
|
-
"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). With --done, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
|
|
6578
|
+
"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). With --done or --deploy, matches Copado UI Submit when promoting (validate=false / headless work/done). cicd work done is a compatibility alias of this command with --done.",
|
|
6560
6579
|
"examples": [
|
|
6561
6580
|
"<%= config.bin %> <%= command.id %>",
|
|
6562
6581
|
"<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
|
|
6563
6582
|
"<%= config.bin %> <%= command.id %> --skip-local-tests",
|
|
6564
6583
|
"<%= config.bin %> <%= command.id %> --skip-pull-request",
|
|
6565
6584
|
"<%= config.bin %> <%= command.id %> --done",
|
|
6585
|
+
"<%= config.bin %> <%= command.id %> --deploy",
|
|
6566
6586
|
"<%= config.bin %> <%= command.id %> --done --skip-nested-metadata-detection",
|
|
6567
6587
|
"<%= config.bin %> <%= command.id %> --json"
|
|
6568
6588
|
],
|
|
@@ -6587,8 +6607,14 @@
|
|
|
6587
6607
|
"multiple": false,
|
|
6588
6608
|
"type": "option"
|
|
6589
6609
|
},
|
|
6610
|
+
"deploy": {
|
|
6611
|
+
"description": "Alias of --done: promote instead of validate-only (Copado UI Submit promote)",
|
|
6612
|
+
"name": "deploy",
|
|
6613
|
+
"allowNo": false,
|
|
6614
|
+
"type": "boolean"
|
|
6615
|
+
},
|
|
6590
6616
|
"done": {
|
|
6591
|
-
"description": "Promote instead of validate-only (Copado UI Submit promote); honors --skip-nested-metadata-detection",
|
|
6617
|
+
"description": "Promote instead of validate-only (Copado UI Submit promote); honors --skip-nested-metadata-detection. --deploy is an alias of --done.",
|
|
6592
6618
|
"name": "done",
|
|
6593
6619
|
"allowNo": false,
|
|
6594
6620
|
"type": "boolean"
|
|
@@ -6626,7 +6652,7 @@
|
|
|
6626
6652
|
"cicd:work:test": {
|
|
6627
6653
|
"aliases": [],
|
|
6628
6654
|
"args": {},
|
|
6629
|
-
"description": "Run quality gates for the current work item. With --local (the default) it runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present
|
|
6655
|
+
"description": "Run quality gates for the current work item. With --local (the default) it runs project-root .agentia_quality_gates.sh (macOS/Linux) or .agentia_quality_gates.cmd (Windows) when present. When no project script exists it warns, runs the stock Agentia setup sample from a temporary file, then deletes that file. With --cloud it runs remote Copado quality gates (not implemented yet).",
|
|
6630
6656
|
"examples": [
|
|
6631
6657
|
"<%= config.bin %> <%= command.id %>",
|
|
6632
6658
|
"<%= config.bin %> <%= command.id %> --local --apex-test-classes=MyTest,OtherTest",
|
|
@@ -9669,6 +9695,267 @@
|
|
|
9669
9695
|
"upload.js"
|
|
9670
9696
|
]
|
|
9671
9697
|
},
|
|
9698
|
+
"testing:project:create": {
|
|
9699
|
+
"aliases": [],
|
|
9700
|
+
"args": {},
|
|
9701
|
+
"description": "Create a Copado Robotic Testing project",
|
|
9702
|
+
"examples": [
|
|
9703
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\"",
|
|
9704
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
|
|
9705
|
+
],
|
|
9706
|
+
"flags": {
|
|
9707
|
+
"json": {
|
|
9708
|
+
"description": "Format output as json.",
|
|
9709
|
+
"helpGroup": "GLOBAL",
|
|
9710
|
+
"name": "json",
|
|
9711
|
+
"allowNo": false,
|
|
9712
|
+
"type": "boolean"
|
|
9713
|
+
},
|
|
9714
|
+
"dashboard-id": {
|
|
9715
|
+
"description": "Optional CRT dashboard ID.",
|
|
9716
|
+
"name": "dashboard-id",
|
|
9717
|
+
"hasDynamicHelp": false,
|
|
9718
|
+
"multiple": false,
|
|
9719
|
+
"type": "option"
|
|
9720
|
+
},
|
|
9721
|
+
"description": {
|
|
9722
|
+
"description": "Project description.",
|
|
9723
|
+
"name": "description",
|
|
9724
|
+
"hasDynamicHelp": false,
|
|
9725
|
+
"multiple": false,
|
|
9726
|
+
"type": "option"
|
|
9727
|
+
},
|
|
9728
|
+
"executor": {
|
|
9729
|
+
"description": "Project execution backend.",
|
|
9730
|
+
"name": "executor",
|
|
9731
|
+
"hasDynamicHelp": false,
|
|
9732
|
+
"multiple": false,
|
|
9733
|
+
"options": [
|
|
9734
|
+
"jenkins",
|
|
9735
|
+
"kubernetes"
|
|
9736
|
+
],
|
|
9737
|
+
"type": "option"
|
|
9738
|
+
},
|
|
9739
|
+
"name": {
|
|
9740
|
+
"description": "Project name.",
|
|
9741
|
+
"name": "name",
|
|
9742
|
+
"required": true,
|
|
9743
|
+
"hasDynamicHelp": false,
|
|
9744
|
+
"multiple": false,
|
|
9745
|
+
"type": "option"
|
|
9746
|
+
},
|
|
9747
|
+
"type": {
|
|
9748
|
+
"description": "CRT project type.",
|
|
9749
|
+
"name": "type",
|
|
9750
|
+
"default": "ta",
|
|
9751
|
+
"hasDynamicHelp": false,
|
|
9752
|
+
"multiple": false,
|
|
9753
|
+
"options": [
|
|
9754
|
+
"ta",
|
|
9755
|
+
"rpa"
|
|
9756
|
+
],
|
|
9757
|
+
"type": "option"
|
|
9758
|
+
}
|
|
9759
|
+
},
|
|
9760
|
+
"hasDynamicHelp": false,
|
|
9761
|
+
"hiddenAliases": [],
|
|
9762
|
+
"id": "testing:project:create",
|
|
9763
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9764
|
+
"pluginName": "@copado/agentia-cli",
|
|
9765
|
+
"pluginType": "core",
|
|
9766
|
+
"strict": true,
|
|
9767
|
+
"enableJsonFlag": true,
|
|
9768
|
+
"isESM": true,
|
|
9769
|
+
"relativePath": [
|
|
9770
|
+
"dist",
|
|
9771
|
+
"commands",
|
|
9772
|
+
"testing",
|
|
9773
|
+
"project",
|
|
9774
|
+
"create.js"
|
|
9775
|
+
]
|
|
9776
|
+
},
|
|
9777
|
+
"testing:project:delete": {
|
|
9778
|
+
"aliases": [],
|
|
9779
|
+
"args": {
|
|
9780
|
+
"id": {
|
|
9781
|
+
"description": "CRT project ID.",
|
|
9782
|
+
"name": "id",
|
|
9783
|
+
"required": true
|
|
9784
|
+
}
|
|
9785
|
+
},
|
|
9786
|
+
"description": "Delete a Copado Robotic Testing project",
|
|
9787
|
+
"examples": [
|
|
9788
|
+
"<%= config.bin %> <%= command.id %> <project-id> --yes",
|
|
9789
|
+
"<%= config.bin %> <%= command.id %> <project-id> --yes --json"
|
|
9790
|
+
],
|
|
9791
|
+
"flags": {
|
|
9792
|
+
"json": {
|
|
9793
|
+
"description": "Format output as json.",
|
|
9794
|
+
"helpGroup": "GLOBAL",
|
|
9795
|
+
"name": "json",
|
|
9796
|
+
"allowNo": false,
|
|
9797
|
+
"type": "boolean"
|
|
9798
|
+
},
|
|
9799
|
+
"yes": {
|
|
9800
|
+
"char": "y",
|
|
9801
|
+
"description": "Skip the destructive confirmation prompt.",
|
|
9802
|
+
"name": "yes",
|
|
9803
|
+
"allowNo": false,
|
|
9804
|
+
"type": "boolean"
|
|
9805
|
+
}
|
|
9806
|
+
},
|
|
9807
|
+
"hasDynamicHelp": false,
|
|
9808
|
+
"hiddenAliases": [],
|
|
9809
|
+
"id": "testing:project:delete",
|
|
9810
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9811
|
+
"pluginName": "@copado/agentia-cli",
|
|
9812
|
+
"pluginType": "core",
|
|
9813
|
+
"strict": true,
|
|
9814
|
+
"enableJsonFlag": true,
|
|
9815
|
+
"isESM": true,
|
|
9816
|
+
"relativePath": [
|
|
9817
|
+
"dist",
|
|
9818
|
+
"commands",
|
|
9819
|
+
"testing",
|
|
9820
|
+
"project",
|
|
9821
|
+
"delete.js"
|
|
9822
|
+
]
|
|
9823
|
+
},
|
|
9824
|
+
"testing:project:get": {
|
|
9825
|
+
"aliases": [],
|
|
9826
|
+
"args": {
|
|
9827
|
+
"id": {
|
|
9828
|
+
"description": "CRT project ID.",
|
|
9829
|
+
"name": "id",
|
|
9830
|
+
"required": true
|
|
9831
|
+
}
|
|
9832
|
+
},
|
|
9833
|
+
"description": "Get a Copado Robotic Testing project from the project list",
|
|
9834
|
+
"examples": [
|
|
9835
|
+
"<%= config.bin %> <%= command.id %> <project-id>",
|
|
9836
|
+
"<%= config.bin %> <%= command.id %> <project-id> --json"
|
|
9837
|
+
],
|
|
9838
|
+
"flags": {
|
|
9839
|
+
"json": {
|
|
9840
|
+
"description": "Format output as json.",
|
|
9841
|
+
"helpGroup": "GLOBAL",
|
|
9842
|
+
"name": "json",
|
|
9843
|
+
"allowNo": false,
|
|
9844
|
+
"type": "boolean"
|
|
9845
|
+
}
|
|
9846
|
+
},
|
|
9847
|
+
"hasDynamicHelp": false,
|
|
9848
|
+
"hiddenAliases": [],
|
|
9849
|
+
"id": "testing:project:get",
|
|
9850
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9851
|
+
"pluginName": "@copado/agentia-cli",
|
|
9852
|
+
"pluginType": "core",
|
|
9853
|
+
"strict": true,
|
|
9854
|
+
"enableJsonFlag": true,
|
|
9855
|
+
"isESM": true,
|
|
9856
|
+
"relativePath": [
|
|
9857
|
+
"dist",
|
|
9858
|
+
"commands",
|
|
9859
|
+
"testing",
|
|
9860
|
+
"project",
|
|
9861
|
+
"get.js"
|
|
9862
|
+
]
|
|
9863
|
+
},
|
|
9864
|
+
"testing:project:list": {
|
|
9865
|
+
"aliases": [],
|
|
9866
|
+
"args": {},
|
|
9867
|
+
"description": "List Copado Robotic Testing projects",
|
|
9868
|
+
"examples": [
|
|
9869
|
+
"<%= config.bin %> <%= command.id %>",
|
|
9870
|
+
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --json"
|
|
9871
|
+
],
|
|
9872
|
+
"flags": {
|
|
9873
|
+
"json": {
|
|
9874
|
+
"description": "Format output as json.",
|
|
9875
|
+
"helpGroup": "GLOBAL",
|
|
9876
|
+
"name": "json",
|
|
9877
|
+
"allowNo": false,
|
|
9878
|
+
"type": "boolean"
|
|
9879
|
+
},
|
|
9880
|
+
"name": {
|
|
9881
|
+
"description": "Exact project name to match client-side.",
|
|
9882
|
+
"name": "name",
|
|
9883
|
+
"hasDynamicHelp": false,
|
|
9884
|
+
"multiple": false,
|
|
9885
|
+
"type": "option"
|
|
9886
|
+
}
|
|
9887
|
+
},
|
|
9888
|
+
"hasDynamicHelp": false,
|
|
9889
|
+
"hiddenAliases": [],
|
|
9890
|
+
"id": "testing:project:list",
|
|
9891
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9892
|
+
"pluginName": "@copado/agentia-cli",
|
|
9893
|
+
"pluginType": "core",
|
|
9894
|
+
"strict": true,
|
|
9895
|
+
"enableJsonFlag": true,
|
|
9896
|
+
"isESM": true,
|
|
9897
|
+
"relativePath": [
|
|
9898
|
+
"dist",
|
|
9899
|
+
"commands",
|
|
9900
|
+
"testing",
|
|
9901
|
+
"project",
|
|
9902
|
+
"list.js"
|
|
9903
|
+
]
|
|
9904
|
+
},
|
|
9905
|
+
"testing:project:update": {
|
|
9906
|
+
"aliases": [],
|
|
9907
|
+
"args": {
|
|
9908
|
+
"id": {
|
|
9909
|
+
"description": "CRT project ID.",
|
|
9910
|
+
"name": "id",
|
|
9911
|
+
"required": true
|
|
9912
|
+
}
|
|
9913
|
+
},
|
|
9914
|
+
"description": "Update a Copado Robotic Testing project",
|
|
9915
|
+
"examples": [
|
|
9916
|
+
"<%= config.bin %> <%= command.id %> <project-id> --name \"QA Updated\"",
|
|
9917
|
+
"<%= config.bin %> <%= command.id %> <project-id> --description \"Regression suites\" --json"
|
|
9918
|
+
],
|
|
9919
|
+
"flags": {
|
|
9920
|
+
"json": {
|
|
9921
|
+
"description": "Format output as json.",
|
|
9922
|
+
"helpGroup": "GLOBAL",
|
|
9923
|
+
"name": "json",
|
|
9924
|
+
"allowNo": false,
|
|
9925
|
+
"type": "boolean"
|
|
9926
|
+
},
|
|
9927
|
+
"description": {
|
|
9928
|
+
"description": "New project description.",
|
|
9929
|
+
"name": "description",
|
|
9930
|
+
"hasDynamicHelp": false,
|
|
9931
|
+
"multiple": false,
|
|
9932
|
+
"type": "option"
|
|
9933
|
+
},
|
|
9934
|
+
"name": {
|
|
9935
|
+
"description": "New project name.",
|
|
9936
|
+
"name": "name",
|
|
9937
|
+
"hasDynamicHelp": false,
|
|
9938
|
+
"multiple": false,
|
|
9939
|
+
"type": "option"
|
|
9940
|
+
}
|
|
9941
|
+
},
|
|
9942
|
+
"hasDynamicHelp": false,
|
|
9943
|
+
"hiddenAliases": [],
|
|
9944
|
+
"id": "testing:project:update",
|
|
9945
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
9946
|
+
"pluginName": "@copado/agentia-cli",
|
|
9947
|
+
"pluginType": "core",
|
|
9948
|
+
"strict": true,
|
|
9949
|
+
"enableJsonFlag": true,
|
|
9950
|
+
"isESM": true,
|
|
9951
|
+
"relativePath": [
|
|
9952
|
+
"dist",
|
|
9953
|
+
"commands",
|
|
9954
|
+
"testing",
|
|
9955
|
+
"project",
|
|
9956
|
+
"update.js"
|
|
9957
|
+
]
|
|
9958
|
+
},
|
|
9672
9959
|
"testing:live:continue": {
|
|
9673
9960
|
"aliases": [],
|
|
9674
9961
|
"args": {
|
|
@@ -10420,305 +10707,46 @@
|
|
|
10420
10707
|
"multiple": false,
|
|
10421
10708
|
"type": "option"
|
|
10422
10709
|
},
|
|
10423
|
-
"section": {
|
|
10424
|
-
"description": "Robot test/task name to bootstrap.",
|
|
10425
|
-
"name": "section",
|
|
10426
|
-
"hasDynamicHelp": false,
|
|
10427
|
-
"multiple": false,
|
|
10428
|
-
"type": "option"
|
|
10429
|
-
},
|
|
10430
|
-
"section-index": {
|
|
10431
|
-
"description": "One-based Robot test/task index to bootstrap.",
|
|
10432
|
-
"name": "section-index",
|
|
10433
|
-
"hasDynamicHelp": false,
|
|
10434
|
-
"multiple": false,
|
|
10435
|
-
"type": "option"
|
|
10436
|
-
},
|
|
10437
|
-
"session-version": {
|
|
10438
|
-
"description": "CRT live environment version.",
|
|
10439
|
-
"name": "session-version",
|
|
10440
|
-
"hasDynamicHelp": false,
|
|
10441
|
-
"multiple": false,
|
|
10442
|
-
"type": "option"
|
|
10443
|
-
},
|
|
10444
|
-
"timeout": {
|
|
10445
|
-
"description": "Readiness timeout in seconds.",
|
|
10446
|
-
"name": "timeout",
|
|
10447
|
-
"default": 120,
|
|
10448
|
-
"hasDynamicHelp": false,
|
|
10449
|
-
"multiple": false,
|
|
10450
|
-
"type": "option"
|
|
10451
|
-
},
|
|
10452
|
-
"viewport": {
|
|
10453
|
-
"description": "Session viewport as WIDTHxHEIGHT (24-bit depth).",
|
|
10454
|
-
"name": "viewport",
|
|
10455
|
-
"hasDynamicHelp": false,
|
|
10456
|
-
"multiple": false,
|
|
10457
|
-
"type": "option"
|
|
10458
|
-
}
|
|
10459
|
-
},
|
|
10460
|
-
"hasDynamicHelp": false,
|
|
10461
|
-
"hiddenAliases": [],
|
|
10462
|
-
"id": "testing:live:start",
|
|
10463
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10464
|
-
"pluginName": "@copado/agentia-cli",
|
|
10465
|
-
"pluginType": "core",
|
|
10466
|
-
"strict": true,
|
|
10467
|
-
"enableJsonFlag": true,
|
|
10468
|
-
"isESM": true,
|
|
10469
|
-
"relativePath": [
|
|
10470
|
-
"dist",
|
|
10471
|
-
"commands",
|
|
10472
|
-
"testing",
|
|
10473
|
-
"live",
|
|
10474
|
-
"start.js"
|
|
10475
|
-
]
|
|
10476
|
-
},
|
|
10477
|
-
"testing:live:status": {
|
|
10478
|
-
"aliases": [],
|
|
10479
|
-
"args": {
|
|
10480
|
-
"job-id": {
|
|
10481
|
-
"description": "Optional CRT job/test ID guard.",
|
|
10482
|
-
"name": "job-id",
|
|
10483
|
-
"required": false
|
|
10484
|
-
}
|
|
10485
|
-
},
|
|
10486
|
-
"description": "Inspect sanitized status for the active CRT live session",
|
|
10487
|
-
"examples": [
|
|
10488
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --json"
|
|
10489
|
-
],
|
|
10490
|
-
"flags": {
|
|
10491
|
-
"json": {
|
|
10492
|
-
"description": "Format output as json.",
|
|
10493
|
-
"helpGroup": "GLOBAL",
|
|
10494
|
-
"name": "json",
|
|
10495
|
-
"allowNo": false,
|
|
10496
|
-
"type": "boolean"
|
|
10497
|
-
},
|
|
10498
|
-
"project": {
|
|
10499
|
-
"char": "p",
|
|
10500
|
-
"description": "CRT project ID.",
|
|
10501
|
-
"name": "project",
|
|
10502
|
-
"required": true,
|
|
10503
|
-
"hasDynamicHelp": false,
|
|
10504
|
-
"multiple": false,
|
|
10505
|
-
"type": "option"
|
|
10506
|
-
},
|
|
10507
|
-
"session-id": {
|
|
10508
|
-
"description": "Guard that must match the locally active CRT live session.",
|
|
10509
|
-
"name": "session-id",
|
|
10510
|
-
"hasDynamicHelp": false,
|
|
10511
|
-
"multiple": false,
|
|
10512
|
-
"type": "option"
|
|
10513
|
-
}
|
|
10514
|
-
},
|
|
10515
|
-
"hasDynamicHelp": false,
|
|
10516
|
-
"hiddenAliases": [],
|
|
10517
|
-
"id": "testing:live:status",
|
|
10518
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10519
|
-
"pluginName": "@copado/agentia-cli",
|
|
10520
|
-
"pluginType": "core",
|
|
10521
|
-
"strict": true,
|
|
10522
|
-
"enableJsonFlag": true,
|
|
10523
|
-
"isESM": true,
|
|
10524
|
-
"relativePath": [
|
|
10525
|
-
"dist",
|
|
10526
|
-
"commands",
|
|
10527
|
-
"testing",
|
|
10528
|
-
"live",
|
|
10529
|
-
"status.js"
|
|
10530
|
-
]
|
|
10531
|
-
},
|
|
10532
|
-
"testing:live:stop": {
|
|
10533
|
-
"aliases": [],
|
|
10534
|
-
"args": {
|
|
10535
|
-
"job-id": {
|
|
10536
|
-
"description": "Optional CRT job/test ID guard.",
|
|
10537
|
-
"name": "job-id",
|
|
10538
|
-
"required": false
|
|
10539
|
-
}
|
|
10540
|
-
},
|
|
10541
|
-
"description": "Stop the active Copado Robotic Testing live session",
|
|
10542
|
-
"examples": [
|
|
10543
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
10544
|
-
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --yes --json"
|
|
10545
|
-
],
|
|
10546
|
-
"flags": {
|
|
10547
|
-
"json": {
|
|
10548
|
-
"description": "Format output as json.",
|
|
10549
|
-
"helpGroup": "GLOBAL",
|
|
10550
|
-
"name": "json",
|
|
10551
|
-
"allowNo": false,
|
|
10552
|
-
"type": "boolean"
|
|
10553
|
-
},
|
|
10554
|
-
"project": {
|
|
10555
|
-
"char": "p",
|
|
10556
|
-
"description": "CRT project ID.",
|
|
10557
|
-
"name": "project",
|
|
10558
|
-
"required": true,
|
|
10559
|
-
"hasDynamicHelp": false,
|
|
10560
|
-
"multiple": false,
|
|
10561
|
-
"type": "option"
|
|
10562
|
-
},
|
|
10563
|
-
"session-id": {
|
|
10564
|
-
"description": "Guard that must match the locally active CRT live session.",
|
|
10565
|
-
"name": "session-id",
|
|
10566
|
-
"hasDynamicHelp": false,
|
|
10567
|
-
"multiple": false,
|
|
10568
|
-
"type": "option"
|
|
10569
|
-
},
|
|
10570
|
-
"yes": {
|
|
10571
|
-
"char": "y",
|
|
10572
|
-
"description": "Confirm live session shutdown.",
|
|
10573
|
-
"name": "yes",
|
|
10574
|
-
"allowNo": false,
|
|
10575
|
-
"type": "boolean"
|
|
10576
|
-
}
|
|
10577
|
-
},
|
|
10578
|
-
"hasDynamicHelp": false,
|
|
10579
|
-
"hiddenAliases": [],
|
|
10580
|
-
"id": "testing:live:stop",
|
|
10581
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10582
|
-
"pluginName": "@copado/agentia-cli",
|
|
10583
|
-
"pluginType": "core",
|
|
10584
|
-
"strict": true,
|
|
10585
|
-
"enableJsonFlag": true,
|
|
10586
|
-
"isESM": true,
|
|
10587
|
-
"relativePath": [
|
|
10588
|
-
"dist",
|
|
10589
|
-
"commands",
|
|
10590
|
-
"testing",
|
|
10591
|
-
"live",
|
|
10592
|
-
"stop.js"
|
|
10593
|
-
]
|
|
10594
|
-
},
|
|
10595
|
-
"testing:live:view": {
|
|
10596
|
-
"aliases": [],
|
|
10597
|
-
"args": {},
|
|
10598
|
-
"description": "Open the authenticated CRT run/session page without putting viewer secrets in the URL",
|
|
10599
|
-
"examples": [
|
|
10600
|
-
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
10601
|
-
"<%= config.bin %> <%= command.id %> --project <project-id> --no-open --json"
|
|
10602
|
-
],
|
|
10603
|
-
"flags": {
|
|
10604
|
-
"json": {
|
|
10605
|
-
"description": "Format output as json.",
|
|
10606
|
-
"helpGroup": "GLOBAL",
|
|
10607
|
-
"name": "json",
|
|
10608
|
-
"allowNo": false,
|
|
10609
|
-
"type": "boolean"
|
|
10610
|
-
},
|
|
10611
|
-
"interactive": {
|
|
10612
|
-
"description": "Request interactive viewer controls when available.",
|
|
10613
|
-
"name": "interactive",
|
|
10614
|
-
"allowNo": false,
|
|
10615
|
-
"type": "boolean"
|
|
10616
|
-
},
|
|
10617
|
-
"no-open": {
|
|
10618
|
-
"description": "Return the nonsecret URL without opening a browser.",
|
|
10619
|
-
"name": "no-open",
|
|
10620
|
-
"allowNo": false,
|
|
10621
|
-
"type": "boolean"
|
|
10622
|
-
},
|
|
10623
|
-
"project": {
|
|
10624
|
-
"char": "p",
|
|
10625
|
-
"description": "CRT project ID.",
|
|
10626
|
-
"name": "project",
|
|
10627
|
-
"required": true,
|
|
10628
|
-
"hasDynamicHelp": false,
|
|
10629
|
-
"multiple": false,
|
|
10630
|
-
"type": "option"
|
|
10631
|
-
},
|
|
10632
|
-
"session-id": {
|
|
10633
|
-
"description": "Guard that must match the active CRT live session.",
|
|
10634
|
-
"name": "session-id",
|
|
10635
|
-
"hasDynamicHelp": false,
|
|
10636
|
-
"multiple": false,
|
|
10637
|
-
"type": "option"
|
|
10638
|
-
}
|
|
10639
|
-
},
|
|
10640
|
-
"hasDynamicHelp": false,
|
|
10641
|
-
"hiddenAliases": [],
|
|
10642
|
-
"id": "testing:live:view",
|
|
10643
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10644
|
-
"pluginName": "@copado/agentia-cli",
|
|
10645
|
-
"pluginType": "core",
|
|
10646
|
-
"strict": true,
|
|
10647
|
-
"enableJsonFlag": true,
|
|
10648
|
-
"isESM": true,
|
|
10649
|
-
"relativePath": [
|
|
10650
|
-
"dist",
|
|
10651
|
-
"commands",
|
|
10652
|
-
"testing",
|
|
10653
|
-
"live",
|
|
10654
|
-
"view.js"
|
|
10655
|
-
]
|
|
10656
|
-
},
|
|
10657
|
-
"testing:project:create": {
|
|
10658
|
-
"aliases": [],
|
|
10659
|
-
"args": {},
|
|
10660
|
-
"description": "Create a Copado Robotic Testing project",
|
|
10661
|
-
"examples": [
|
|
10662
|
-
"<%= config.bin %> <%= command.id %> --name \"QA Tests\"",
|
|
10663
|
-
"<%= config.bin %> <%= command.id %> --name \"QA Tests\" --description \"Smoke suite\" --json"
|
|
10664
|
-
],
|
|
10665
|
-
"flags": {
|
|
10666
|
-
"json": {
|
|
10667
|
-
"description": "Format output as json.",
|
|
10668
|
-
"helpGroup": "GLOBAL",
|
|
10669
|
-
"name": "json",
|
|
10670
|
-
"allowNo": false,
|
|
10671
|
-
"type": "boolean"
|
|
10672
|
-
},
|
|
10673
|
-
"dashboard-id": {
|
|
10674
|
-
"description": "Optional CRT dashboard ID.",
|
|
10675
|
-
"name": "dashboard-id",
|
|
10710
|
+
"section": {
|
|
10711
|
+
"description": "Robot test/task name to bootstrap.",
|
|
10712
|
+
"name": "section",
|
|
10676
10713
|
"hasDynamicHelp": false,
|
|
10677
10714
|
"multiple": false,
|
|
10678
10715
|
"type": "option"
|
|
10679
10716
|
},
|
|
10680
|
-
"
|
|
10681
|
-
"description": "
|
|
10682
|
-
"name": "
|
|
10717
|
+
"section-index": {
|
|
10718
|
+
"description": "One-based Robot test/task index to bootstrap.",
|
|
10719
|
+
"name": "section-index",
|
|
10683
10720
|
"hasDynamicHelp": false,
|
|
10684
10721
|
"multiple": false,
|
|
10685
10722
|
"type": "option"
|
|
10686
10723
|
},
|
|
10687
|
-
"
|
|
10688
|
-
"description": "
|
|
10689
|
-
"name": "
|
|
10724
|
+
"session-version": {
|
|
10725
|
+
"description": "CRT live environment version.",
|
|
10726
|
+
"name": "session-version",
|
|
10690
10727
|
"hasDynamicHelp": false,
|
|
10691
10728
|
"multiple": false,
|
|
10692
|
-
"options": [
|
|
10693
|
-
"jenkins",
|
|
10694
|
-
"kubernetes"
|
|
10695
|
-
],
|
|
10696
10729
|
"type": "option"
|
|
10697
10730
|
},
|
|
10698
|
-
"
|
|
10699
|
-
"description": "
|
|
10700
|
-
"name": "
|
|
10701
|
-
"
|
|
10731
|
+
"timeout": {
|
|
10732
|
+
"description": "Readiness timeout in seconds.",
|
|
10733
|
+
"name": "timeout",
|
|
10734
|
+
"default": 120,
|
|
10702
10735
|
"hasDynamicHelp": false,
|
|
10703
10736
|
"multiple": false,
|
|
10704
10737
|
"type": "option"
|
|
10705
10738
|
},
|
|
10706
|
-
"
|
|
10707
|
-
"description": "
|
|
10708
|
-
"name": "
|
|
10709
|
-
"default": "ta",
|
|
10739
|
+
"viewport": {
|
|
10740
|
+
"description": "Session viewport as WIDTHxHEIGHT (24-bit depth).",
|
|
10741
|
+
"name": "viewport",
|
|
10710
10742
|
"hasDynamicHelp": false,
|
|
10711
10743
|
"multiple": false,
|
|
10712
|
-
"options": [
|
|
10713
|
-
"ta",
|
|
10714
|
-
"rpa"
|
|
10715
|
-
],
|
|
10716
10744
|
"type": "option"
|
|
10717
10745
|
}
|
|
10718
10746
|
},
|
|
10719
10747
|
"hasDynamicHelp": false,
|
|
10720
10748
|
"hiddenAliases": [],
|
|
10721
|
-
"id": "testing:
|
|
10749
|
+
"id": "testing:live:start",
|
|
10722
10750
|
"pluginAlias": "@copado/agentia-cli",
|
|
10723
10751
|
"pluginName": "@copado/agentia-cli",
|
|
10724
10752
|
"pluginType": "core",
|
|
@@ -10729,23 +10757,22 @@
|
|
|
10729
10757
|
"dist",
|
|
10730
10758
|
"commands",
|
|
10731
10759
|
"testing",
|
|
10732
|
-
"
|
|
10733
|
-
"
|
|
10760
|
+
"live",
|
|
10761
|
+
"start.js"
|
|
10734
10762
|
]
|
|
10735
10763
|
},
|
|
10736
|
-
"testing:
|
|
10764
|
+
"testing:live:status": {
|
|
10737
10765
|
"aliases": [],
|
|
10738
10766
|
"args": {
|
|
10739
|
-
"id": {
|
|
10740
|
-
"description": "CRT
|
|
10741
|
-
"name": "id",
|
|
10742
|
-
"required":
|
|
10767
|
+
"job-id": {
|
|
10768
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10769
|
+
"name": "job-id",
|
|
10770
|
+
"required": false
|
|
10743
10771
|
}
|
|
10744
10772
|
},
|
|
10745
|
-
"description": "
|
|
10773
|
+
"description": "Inspect sanitized status for the active CRT live session",
|
|
10746
10774
|
"examples": [
|
|
10747
|
-
"<%= config.bin %> <%= command.id %> <project-id> --
|
|
10748
|
-
"<%= config.bin %> <%= command.id %> <project-id> --yes --json"
|
|
10775
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --json"
|
|
10749
10776
|
],
|
|
10750
10777
|
"flags": {
|
|
10751
10778
|
"json": {
|
|
@@ -10755,17 +10782,26 @@
|
|
|
10755
10782
|
"allowNo": false,
|
|
10756
10783
|
"type": "boolean"
|
|
10757
10784
|
},
|
|
10758
|
-
"
|
|
10759
|
-
"char": "
|
|
10760
|
-
"description": "
|
|
10761
|
-
"name": "
|
|
10762
|
-
"
|
|
10763
|
-
"
|
|
10785
|
+
"project": {
|
|
10786
|
+
"char": "p",
|
|
10787
|
+
"description": "CRT project ID.",
|
|
10788
|
+
"name": "project",
|
|
10789
|
+
"required": true,
|
|
10790
|
+
"hasDynamicHelp": false,
|
|
10791
|
+
"multiple": false,
|
|
10792
|
+
"type": "option"
|
|
10793
|
+
},
|
|
10794
|
+
"session-id": {
|
|
10795
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10796
|
+
"name": "session-id",
|
|
10797
|
+
"hasDynamicHelp": false,
|
|
10798
|
+
"multiple": false,
|
|
10799
|
+
"type": "option"
|
|
10764
10800
|
}
|
|
10765
10801
|
},
|
|
10766
10802
|
"hasDynamicHelp": false,
|
|
10767
10803
|
"hiddenAliases": [],
|
|
10768
|
-
"id": "testing:
|
|
10804
|
+
"id": "testing:live:status",
|
|
10769
10805
|
"pluginAlias": "@copado/agentia-cli",
|
|
10770
10806
|
"pluginName": "@copado/agentia-cli",
|
|
10771
10807
|
"pluginType": "core",
|
|
@@ -10776,57 +10812,23 @@
|
|
|
10776
10812
|
"dist",
|
|
10777
10813
|
"commands",
|
|
10778
10814
|
"testing",
|
|
10779
|
-
"
|
|
10780
|
-
"
|
|
10815
|
+
"live",
|
|
10816
|
+
"status.js"
|
|
10781
10817
|
]
|
|
10782
10818
|
},
|
|
10783
|
-
"testing:
|
|
10819
|
+
"testing:live:stop": {
|
|
10784
10820
|
"aliases": [],
|
|
10785
10821
|
"args": {
|
|
10786
|
-
"id": {
|
|
10787
|
-
"description": "CRT
|
|
10788
|
-
"name": "id",
|
|
10789
|
-
"required":
|
|
10790
|
-
}
|
|
10791
|
-
},
|
|
10792
|
-
"description": "Get a Copado Robotic Testing project from the project list",
|
|
10793
|
-
"examples": [
|
|
10794
|
-
"<%= config.bin %> <%= command.id %> <project-id>",
|
|
10795
|
-
"<%= config.bin %> <%= command.id %> <project-id> --json"
|
|
10796
|
-
],
|
|
10797
|
-
"flags": {
|
|
10798
|
-
"json": {
|
|
10799
|
-
"description": "Format output as json.",
|
|
10800
|
-
"helpGroup": "GLOBAL",
|
|
10801
|
-
"name": "json",
|
|
10802
|
-
"allowNo": false,
|
|
10803
|
-
"type": "boolean"
|
|
10822
|
+
"job-id": {
|
|
10823
|
+
"description": "Optional CRT job/test ID guard.",
|
|
10824
|
+
"name": "job-id",
|
|
10825
|
+
"required": false
|
|
10804
10826
|
}
|
|
10805
10827
|
},
|
|
10806
|
-
"
|
|
10807
|
-
"hiddenAliases": [],
|
|
10808
|
-
"id": "testing:project:get",
|
|
10809
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
10810
|
-
"pluginName": "@copado/agentia-cli",
|
|
10811
|
-
"pluginType": "core",
|
|
10812
|
-
"strict": true,
|
|
10813
|
-
"enableJsonFlag": true,
|
|
10814
|
-
"isESM": true,
|
|
10815
|
-
"relativePath": [
|
|
10816
|
-
"dist",
|
|
10817
|
-
"commands",
|
|
10818
|
-
"testing",
|
|
10819
|
-
"project",
|
|
10820
|
-
"get.js"
|
|
10821
|
-
]
|
|
10822
|
-
},
|
|
10823
|
-
"testing:project:list": {
|
|
10824
|
-
"aliases": [],
|
|
10825
|
-
"args": {},
|
|
10826
|
-
"description": "List Copado Robotic Testing projects",
|
|
10828
|
+
"description": "Stop the active Copado Robotic Testing live session",
|
|
10827
10829
|
"examples": [
|
|
10828
|
-
"<%= config.bin %> <%= command.id %>",
|
|
10829
|
-
"<%= config.bin %> <%= command.id %> --
|
|
10830
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
10831
|
+
"<%= config.bin %> <%= command.id %> <job-id> --project <project-id> --yes --json"
|
|
10830
10832
|
],
|
|
10831
10833
|
"flags": {
|
|
10832
10834
|
"json": {
|
|
@@ -10836,17 +10838,33 @@
|
|
|
10836
10838
|
"allowNo": false,
|
|
10837
10839
|
"type": "boolean"
|
|
10838
10840
|
},
|
|
10839
|
-
"
|
|
10840
|
-
"
|
|
10841
|
-
"
|
|
10841
|
+
"project": {
|
|
10842
|
+
"char": "p",
|
|
10843
|
+
"description": "CRT project ID.",
|
|
10844
|
+
"name": "project",
|
|
10845
|
+
"required": true,
|
|
10842
10846
|
"hasDynamicHelp": false,
|
|
10843
10847
|
"multiple": false,
|
|
10844
10848
|
"type": "option"
|
|
10849
|
+
},
|
|
10850
|
+
"session-id": {
|
|
10851
|
+
"description": "Guard that must match the locally active CRT live session.",
|
|
10852
|
+
"name": "session-id",
|
|
10853
|
+
"hasDynamicHelp": false,
|
|
10854
|
+
"multiple": false,
|
|
10855
|
+
"type": "option"
|
|
10856
|
+
},
|
|
10857
|
+
"yes": {
|
|
10858
|
+
"char": "y",
|
|
10859
|
+
"description": "Confirm live session shutdown.",
|
|
10860
|
+
"name": "yes",
|
|
10861
|
+
"allowNo": false,
|
|
10862
|
+
"type": "boolean"
|
|
10845
10863
|
}
|
|
10846
10864
|
},
|
|
10847
10865
|
"hasDynamicHelp": false,
|
|
10848
10866
|
"hiddenAliases": [],
|
|
10849
|
-
"id": "testing:
|
|
10867
|
+
"id": "testing:live:stop",
|
|
10850
10868
|
"pluginAlias": "@copado/agentia-cli",
|
|
10851
10869
|
"pluginName": "@copado/agentia-cli",
|
|
10852
10870
|
"pluginType": "core",
|
|
@@ -10857,23 +10875,17 @@
|
|
|
10857
10875
|
"dist",
|
|
10858
10876
|
"commands",
|
|
10859
10877
|
"testing",
|
|
10860
|
-
"
|
|
10861
|
-
"
|
|
10878
|
+
"live",
|
|
10879
|
+
"stop.js"
|
|
10862
10880
|
]
|
|
10863
10881
|
},
|
|
10864
|
-
"testing:
|
|
10882
|
+
"testing:live:view": {
|
|
10865
10883
|
"aliases": [],
|
|
10866
|
-
"args": {
|
|
10867
|
-
|
|
10868
|
-
"description": "CRT project ID.",
|
|
10869
|
-
"name": "id",
|
|
10870
|
-
"required": true
|
|
10871
|
-
}
|
|
10872
|
-
},
|
|
10873
|
-
"description": "Update a Copado Robotic Testing project",
|
|
10884
|
+
"args": {},
|
|
10885
|
+
"description": "Open the authenticated CRT run/session page without putting viewer secrets in the URL",
|
|
10874
10886
|
"examples": [
|
|
10875
|
-
"<%= config.bin %> <%= command.id %> <project-id>
|
|
10876
|
-
"<%= config.bin %> <%= command.id %> <project-id> --
|
|
10887
|
+
"<%= config.bin %> <%= command.id %> --project <project-id>",
|
|
10888
|
+
"<%= config.bin %> <%= command.id %> --project <project-id> --no-open --json"
|
|
10877
10889
|
],
|
|
10878
10890
|
"flags": {
|
|
10879
10891
|
"json": {
|
|
@@ -10883,16 +10895,30 @@
|
|
|
10883
10895
|
"allowNo": false,
|
|
10884
10896
|
"type": "boolean"
|
|
10885
10897
|
},
|
|
10886
|
-
"
|
|
10887
|
-
"description": "
|
|
10888
|
-
"name": "
|
|
10898
|
+
"interactive": {
|
|
10899
|
+
"description": "Request interactive viewer controls when available.",
|
|
10900
|
+
"name": "interactive",
|
|
10901
|
+
"allowNo": false,
|
|
10902
|
+
"type": "boolean"
|
|
10903
|
+
},
|
|
10904
|
+
"no-open": {
|
|
10905
|
+
"description": "Return the nonsecret URL without opening a browser.",
|
|
10906
|
+
"name": "no-open",
|
|
10907
|
+
"allowNo": false,
|
|
10908
|
+
"type": "boolean"
|
|
10909
|
+
},
|
|
10910
|
+
"project": {
|
|
10911
|
+
"char": "p",
|
|
10912
|
+
"description": "CRT project ID.",
|
|
10913
|
+
"name": "project",
|
|
10914
|
+
"required": true,
|
|
10889
10915
|
"hasDynamicHelp": false,
|
|
10890
10916
|
"multiple": false,
|
|
10891
10917
|
"type": "option"
|
|
10892
10918
|
},
|
|
10893
|
-
"
|
|
10894
|
-
"description": "
|
|
10895
|
-
"name": "
|
|
10919
|
+
"session-id": {
|
|
10920
|
+
"description": "Guard that must match the active CRT live session.",
|
|
10921
|
+
"name": "session-id",
|
|
10896
10922
|
"hasDynamicHelp": false,
|
|
10897
10923
|
"multiple": false,
|
|
10898
10924
|
"type": "option"
|
|
@@ -10900,7 +10926,7 @@
|
|
|
10900
10926
|
},
|
|
10901
10927
|
"hasDynamicHelp": false,
|
|
10902
10928
|
"hiddenAliases": [],
|
|
10903
|
-
"id": "testing:
|
|
10929
|
+
"id": "testing:live:view",
|
|
10904
10930
|
"pluginAlias": "@copado/agentia-cli",
|
|
10905
10931
|
"pluginName": "@copado/agentia-cli",
|
|
10906
10932
|
"pluginType": "core",
|
|
@@ -10911,8 +10937,8 @@
|
|
|
10911
10937
|
"dist",
|
|
10912
10938
|
"commands",
|
|
10913
10939
|
"testing",
|
|
10914
|
-
"
|
|
10915
|
-
"
|
|
10940
|
+
"live",
|
|
10941
|
+
"view.js"
|
|
10916
10942
|
]
|
|
10917
10943
|
},
|
|
10918
10944
|
"testing:robot:create": {
|
|
@@ -17264,6 +17290,60 @@
|
|
|
17264
17290
|
"update.js"
|
|
17265
17291
|
]
|
|
17266
17292
|
},
|
|
17293
|
+
"cicd:work:test:apex": {
|
|
17294
|
+
"aliases": [],
|
|
17295
|
+
"args": {},
|
|
17296
|
+
"description": "Run specified Apex test classes via Salesforce CLI (`sf apex run test`) with code coverage. Usually run from project-root local quality gates (`.agentia_quality_gates.sh` / `.agentia_quality_gates.cmd`) when those scripts are configured. Prints the test-run summary when the run passes, or failing tests with their messages and stack traces when it fails.",
|
|
17297
|
+
"examples": [
|
|
17298
|
+
"<%= config.bin %> <%= command.id %> -t HelloWorldTest",
|
|
17299
|
+
"<%= config.bin %> <%= command.id %> --apex-test-classes=MyTest,OtherTest",
|
|
17300
|
+
"<%= config.bin %> <%= command.id %> -t MyTest,OtherTest -w 10 --json"
|
|
17301
|
+
],
|
|
17302
|
+
"flags": {
|
|
17303
|
+
"json": {
|
|
17304
|
+
"description": "Format output as json.",
|
|
17305
|
+
"helpGroup": "GLOBAL",
|
|
17306
|
+
"name": "json",
|
|
17307
|
+
"allowNo": false,
|
|
17308
|
+
"type": "boolean"
|
|
17309
|
+
},
|
|
17310
|
+
"apex-test-classes": {
|
|
17311
|
+
"char": "t",
|
|
17312
|
+
"description": "Comma-separated Apex test class names to run",
|
|
17313
|
+
"name": "apex-test-classes",
|
|
17314
|
+
"required": true,
|
|
17315
|
+
"hasDynamicHelp": false,
|
|
17316
|
+
"multiple": false,
|
|
17317
|
+
"type": "option"
|
|
17318
|
+
},
|
|
17319
|
+
"wait": {
|
|
17320
|
+
"char": "w",
|
|
17321
|
+
"description": "Minutes to wait for Salesforce CLI Apex test results",
|
|
17322
|
+
"name": "wait",
|
|
17323
|
+
"default": 60,
|
|
17324
|
+
"hasDynamicHelp": false,
|
|
17325
|
+
"multiple": false,
|
|
17326
|
+
"type": "option"
|
|
17327
|
+
}
|
|
17328
|
+
},
|
|
17329
|
+
"hasDynamicHelp": false,
|
|
17330
|
+
"hiddenAliases": [],
|
|
17331
|
+
"id": "cicd:work:test:apex",
|
|
17332
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
17333
|
+
"pluginName": "@copado/agentia-cli",
|
|
17334
|
+
"pluginType": "core",
|
|
17335
|
+
"strict": true,
|
|
17336
|
+
"enableJsonFlag": true,
|
|
17337
|
+
"isESM": true,
|
|
17338
|
+
"relativePath": [
|
|
17339
|
+
"dist",
|
|
17340
|
+
"commands",
|
|
17341
|
+
"cicd",
|
|
17342
|
+
"work",
|
|
17343
|
+
"test",
|
|
17344
|
+
"apex.js"
|
|
17345
|
+
]
|
|
17346
|
+
},
|
|
17267
17347
|
"testing:job:schedule:get": {
|
|
17268
17348
|
"aliases": [],
|
|
17269
17349
|
"args": {
|
|
@@ -17793,5 +17873,5 @@
|
|
|
17793
17873
|
]
|
|
17794
17874
|
}
|
|
17795
17875
|
},
|
|
17796
|
-
"version": "0.
|
|
17876
|
+
"version": "0.117.0-alpha.0"
|
|
17797
17877
|
}
|