@copado/agentia-cli 1.0.0-beta.8 → 1.0.0-beta.9
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/CHANGELOG.md +10 -0
- package/README.md +425 -261
- package/dist/commands/adv/auth/status.js +1 -0
- package/dist/commands/adv/component/add.js +3 -0
- package/dist/commands/adv/component/remove.js +3 -0
- package/dist/commands/adv/component/types.js +1 -0
- package/dist/commands/adv/job/wait.js +1 -1
- package/dist/commands/adv/organization/list.js +1 -0
- package/dist/commands/cicd/template/defaults.js +42 -0
- package/dist/commands/cicd/template/delete.js +36 -0
- package/dist/commands/cicd/template/get.js +48 -0
- package/dist/commands/cicd/template/list.js +53 -0
- package/dist/commands/cicd/template/upsert.js +45 -0
- package/dist/lib/adv-operations.js +3 -1
- package/dist/lib/agentia-command.js +35 -0
- package/dist/lib/mcp/adv-tools.js +40 -26
- package/dist/lib/mcp/tool-annotations.js +5 -0
- package/dist/lib/mcp/tools.js +118 -0
- package/dist/lib/runtime.js +1 -1
- package/dist/lib/template-flags.js +8 -0
- package/dist/lib/template-types.js +21 -0
- package/oclif.manifest.json +727 -400
- package/package.json +1 -1
- package/templates/AGENTS.md +1 -1
- package/templates/skills/agentia-adv/SKILL.md +7 -1
- package/templates/skills/agentia-adv/references/pipelines-advanced.md +7 -7
- package/templates/skills/agentia-cicd/SKILL.md +5 -1
- package/templates/skills/agentia-cicd/references/functions.md +148 -0
- package/templates/skills/agentia-cicd/references/templates.md +132 -0
package/oclif.manifest.json
CHANGED
|
@@ -389,6 +389,32 @@
|
|
|
389
389
|
"unset.js"
|
|
390
390
|
]
|
|
391
391
|
},
|
|
392
|
+
"mcp:start": {
|
|
393
|
+
"aliases": [],
|
|
394
|
+
"args": {},
|
|
395
|
+
"description": "Start the local Agentia MCP server over stdio",
|
|
396
|
+
"examples": [
|
|
397
|
+
"<%= config.bin %> <%= command.id %>",
|
|
398
|
+
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
399
|
+
],
|
|
400
|
+
"flags": {},
|
|
401
|
+
"hasDynamicHelp": false,
|
|
402
|
+
"hiddenAliases": [],
|
|
403
|
+
"id": "mcp:start",
|
|
404
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
405
|
+
"pluginName": "@copado/agentia-cli",
|
|
406
|
+
"pluginType": "core",
|
|
407
|
+
"strict": true,
|
|
408
|
+
"enableJsonFlag": false,
|
|
409
|
+
"experimental": false,
|
|
410
|
+
"isESM": true,
|
|
411
|
+
"relativePath": [
|
|
412
|
+
"dist",
|
|
413
|
+
"commands",
|
|
414
|
+
"mcp",
|
|
415
|
+
"start.js"
|
|
416
|
+
]
|
|
417
|
+
},
|
|
392
418
|
"cicd:health-check": {
|
|
393
419
|
"aliases": [],
|
|
394
420
|
"args": {},
|
|
@@ -441,32 +467,6 @@
|
|
|
441
467
|
"health-check.js"
|
|
442
468
|
]
|
|
443
469
|
},
|
|
444
|
-
"mcp:start": {
|
|
445
|
-
"aliases": [],
|
|
446
|
-
"args": {},
|
|
447
|
-
"description": "Start the local Agentia MCP server over stdio",
|
|
448
|
-
"examples": [
|
|
449
|
-
"<%= config.bin %> <%= command.id %>",
|
|
450
|
-
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
451
|
-
],
|
|
452
|
-
"flags": {},
|
|
453
|
-
"hasDynamicHelp": false,
|
|
454
|
-
"hiddenAliases": [],
|
|
455
|
-
"id": "mcp:start",
|
|
456
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
457
|
-
"pluginName": "@copado/agentia-cli",
|
|
458
|
-
"pluginType": "core",
|
|
459
|
-
"strict": true,
|
|
460
|
-
"enableJsonFlag": false,
|
|
461
|
-
"experimental": false,
|
|
462
|
-
"isESM": true,
|
|
463
|
-
"relativePath": [
|
|
464
|
-
"dist",
|
|
465
|
-
"commands",
|
|
466
|
-
"mcp",
|
|
467
|
-
"start.js"
|
|
468
|
-
]
|
|
469
|
-
},
|
|
470
470
|
"plugins:install": {
|
|
471
471
|
"aliases": [
|
|
472
472
|
"plugins:add"
|
|
@@ -1799,7 +1799,7 @@
|
|
|
1799
1799
|
"type": "option"
|
|
1800
1800
|
},
|
|
1801
1801
|
"timeout": {
|
|
1802
|
-
"description": "Maximum seconds to wait
|
|
1802
|
+
"description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
|
|
1803
1803
|
"name": "timeout",
|
|
1804
1804
|
"hasDynamicHelp": false,
|
|
1805
1805
|
"multiple": false,
|
|
@@ -1926,7 +1926,7 @@
|
|
|
1926
1926
|
"type": "option"
|
|
1927
1927
|
},
|
|
1928
1928
|
"timeout": {
|
|
1929
|
-
"description": "Maximum seconds to wait
|
|
1929
|
+
"description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
|
|
1930
1930
|
"name": "timeout",
|
|
1931
1931
|
"hasDynamicHelp": false,
|
|
1932
1932
|
"multiple": false,
|
|
@@ -2139,7 +2139,7 @@
|
|
|
2139
2139
|
"type": "option"
|
|
2140
2140
|
},
|
|
2141
2141
|
"timeout": {
|
|
2142
|
-
"description": "Maximum seconds to wait
|
|
2142
|
+
"description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
|
|
2143
2143
|
"name": "timeout",
|
|
2144
2144
|
"hasDynamicHelp": false,
|
|
2145
2145
|
"multiple": false,
|
|
@@ -2213,7 +2213,7 @@
|
|
|
2213
2213
|
"type": "option"
|
|
2214
2214
|
},
|
|
2215
2215
|
"timeout": {
|
|
2216
|
-
"description": "Maximum seconds to wait
|
|
2216
|
+
"description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
|
|
2217
2217
|
"name": "timeout",
|
|
2218
2218
|
"hasDynamicHelp": false,
|
|
2219
2219
|
"multiple": false,
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
"type": "option"
|
|
2371
2371
|
},
|
|
2372
2372
|
"timeout": {
|
|
2373
|
-
"description": "Maximum seconds to wait (default: 3600).",
|
|
2373
|
+
"description": "Maximum seconds to wait; the remote run continues after timeout (default: 3600).",
|
|
2374
2374
|
"name": "timeout",
|
|
2375
2375
|
"hasDynamicHelp": false,
|
|
2376
2376
|
"multiple": false,
|
|
@@ -4504,6 +4504,175 @@
|
|
|
4504
4504
|
"upsert.js"
|
|
4505
4505
|
]
|
|
4506
4506
|
},
|
|
4507
|
+
"cicd:metadata:list": {
|
|
4508
|
+
"aliases": [],
|
|
4509
|
+
"args": {},
|
|
4510
|
+
"description": "Search the metadata index for an org via the CICD gateway",
|
|
4511
|
+
"examples": [
|
|
4512
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
|
|
4513
|
+
"<%= config.bin %> <%= command.id %> --source Changed --metadata-types ApexClass --limit 100 --pipeline-id <id> --source-org-id <id> --source-credential-id <id>",
|
|
4514
|
+
"<%= config.bin %> <%= command.id %> --source NewAndChanged --find-managed-packages --json"
|
|
4515
|
+
],
|
|
4516
|
+
"flags": {
|
|
4517
|
+
"json": {
|
|
4518
|
+
"description": "Format output as json.",
|
|
4519
|
+
"helpGroup": "GLOBAL",
|
|
4520
|
+
"name": "json",
|
|
4521
|
+
"allowNo": false,
|
|
4522
|
+
"type": "boolean"
|
|
4523
|
+
},
|
|
4524
|
+
"avoid-source-tracking": {
|
|
4525
|
+
"description": "Pass avoidSourceTracking=true to the gateway index route",
|
|
4526
|
+
"name": "avoid-source-tracking",
|
|
4527
|
+
"allowNo": false,
|
|
4528
|
+
"type": "boolean"
|
|
4529
|
+
},
|
|
4530
|
+
"change-date-from": {
|
|
4531
|
+
"description": "Optional change-date-from filter (ISO datetime)",
|
|
4532
|
+
"name": "change-date-from",
|
|
4533
|
+
"hasDynamicHelp": false,
|
|
4534
|
+
"multiple": false,
|
|
4535
|
+
"type": "option"
|
|
4536
|
+
},
|
|
4537
|
+
"change-date-to": {
|
|
4538
|
+
"description": "Optional change-date-to filter (ISO datetime)",
|
|
4539
|
+
"name": "change-date-to",
|
|
4540
|
+
"hasDynamicHelp": false,
|
|
4541
|
+
"multiple": false,
|
|
4542
|
+
"type": "option"
|
|
4543
|
+
},
|
|
4544
|
+
"filter-type": {
|
|
4545
|
+
"description": "Optional metadata type name filter, for example ApexClass",
|
|
4546
|
+
"name": "filter-type",
|
|
4547
|
+
"hasDynamicHelp": false,
|
|
4548
|
+
"multiple": false,
|
|
4549
|
+
"type": "option"
|
|
4550
|
+
},
|
|
4551
|
+
"find-managed-packages": {
|
|
4552
|
+
"description": "Include managed package metadata in the search",
|
|
4553
|
+
"name": "find-managed-packages",
|
|
4554
|
+
"allowNo": false,
|
|
4555
|
+
"type": "boolean"
|
|
4556
|
+
},
|
|
4557
|
+
"limit": {
|
|
4558
|
+
"description": "Maximum number of records to return",
|
|
4559
|
+
"name": "limit",
|
|
4560
|
+
"hasDynamicHelp": false,
|
|
4561
|
+
"multiple": false,
|
|
4562
|
+
"type": "option"
|
|
4563
|
+
},
|
|
4564
|
+
"metadata-types": {
|
|
4565
|
+
"description": "Optional comma-separated metadata types to include",
|
|
4566
|
+
"name": "metadata-types",
|
|
4567
|
+
"hasDynamicHelp": false,
|
|
4568
|
+
"multiple": false,
|
|
4569
|
+
"type": "option"
|
|
4570
|
+
},
|
|
4571
|
+
"modified-by": {
|
|
4572
|
+
"description": "Filter by last modified user",
|
|
4573
|
+
"name": "modified-by",
|
|
4574
|
+
"hasDynamicHelp": false,
|
|
4575
|
+
"multiple": false,
|
|
4576
|
+
"type": "option"
|
|
4577
|
+
},
|
|
4578
|
+
"module-type": {
|
|
4579
|
+
"description": "Optional addon module type",
|
|
4580
|
+
"name": "module-type",
|
|
4581
|
+
"hasDynamicHelp": false,
|
|
4582
|
+
"multiple": false,
|
|
4583
|
+
"options": [
|
|
4584
|
+
"vlocity",
|
|
4585
|
+
"data_cloud"
|
|
4586
|
+
],
|
|
4587
|
+
"type": "option"
|
|
4588
|
+
},
|
|
4589
|
+
"order-direction": {
|
|
4590
|
+
"description": "Sort direction for last modified date",
|
|
4591
|
+
"name": "order-direction",
|
|
4592
|
+
"hasDynamicHelp": false,
|
|
4593
|
+
"multiple": false,
|
|
4594
|
+
"options": [
|
|
4595
|
+
"ASC",
|
|
4596
|
+
"DESC"
|
|
4597
|
+
],
|
|
4598
|
+
"type": "option"
|
|
4599
|
+
},
|
|
4600
|
+
"pipeline-id": {
|
|
4601
|
+
"description": "Pipeline Id",
|
|
4602
|
+
"name": "pipeline-id",
|
|
4603
|
+
"hasDynamicHelp": false,
|
|
4604
|
+
"multiple": false,
|
|
4605
|
+
"type": "option"
|
|
4606
|
+
},
|
|
4607
|
+
"platform-experience": {
|
|
4608
|
+
"description": "Gateway platform experience header",
|
|
4609
|
+
"name": "platform-experience",
|
|
4610
|
+
"default": "salesforce",
|
|
4611
|
+
"hasDynamicHelp": false,
|
|
4612
|
+
"multiple": false,
|
|
4613
|
+
"options": [
|
|
4614
|
+
"salesforce",
|
|
4615
|
+
"sfdx",
|
|
4616
|
+
"metacache",
|
|
4617
|
+
"db"
|
|
4618
|
+
],
|
|
4619
|
+
"type": "option"
|
|
4620
|
+
},
|
|
4621
|
+
"source": {
|
|
4622
|
+
"description": "Index source filter",
|
|
4623
|
+
"name": "source",
|
|
4624
|
+
"hasDynamicHelp": false,
|
|
4625
|
+
"multiple": false,
|
|
4626
|
+
"options": [
|
|
4627
|
+
"All",
|
|
4628
|
+
"Changed",
|
|
4629
|
+
"Deleted",
|
|
4630
|
+
"New",
|
|
4631
|
+
"NewAndChanged",
|
|
4632
|
+
"PreviouslyCommitted"
|
|
4633
|
+
],
|
|
4634
|
+
"type": "option"
|
|
4635
|
+
},
|
|
4636
|
+
"source-credential-id": {
|
|
4637
|
+
"description": "Source org credential Id",
|
|
4638
|
+
"name": "source-credential-id",
|
|
4639
|
+
"hasDynamicHelp": false,
|
|
4640
|
+
"multiple": false,
|
|
4641
|
+
"type": "option"
|
|
4642
|
+
},
|
|
4643
|
+
"source-org-id": {
|
|
4644
|
+
"description": "Source org Id",
|
|
4645
|
+
"name": "source-org-id",
|
|
4646
|
+
"hasDynamicHelp": false,
|
|
4647
|
+
"multiple": false,
|
|
4648
|
+
"type": "option"
|
|
4649
|
+
},
|
|
4650
|
+
"target-org-id": {
|
|
4651
|
+
"description": "Optional target org Id",
|
|
4652
|
+
"name": "target-org-id",
|
|
4653
|
+
"hasDynamicHelp": false,
|
|
4654
|
+
"multiple": false,
|
|
4655
|
+
"type": "option"
|
|
4656
|
+
}
|
|
4657
|
+
},
|
|
4658
|
+
"hasDynamicHelp": false,
|
|
4659
|
+
"hiddenAliases": [],
|
|
4660
|
+
"id": "cicd:metadata:list",
|
|
4661
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
4662
|
+
"pluginName": "@copado/agentia-cli",
|
|
4663
|
+
"pluginType": "core",
|
|
4664
|
+
"strict": true,
|
|
4665
|
+
"enableJsonFlag": true,
|
|
4666
|
+
"experimental": false,
|
|
4667
|
+
"isESM": true,
|
|
4668
|
+
"relativePath": [
|
|
4669
|
+
"dist",
|
|
4670
|
+
"commands",
|
|
4671
|
+
"cicd",
|
|
4672
|
+
"metadata",
|
|
4673
|
+
"list.js"
|
|
4674
|
+
]
|
|
4675
|
+
},
|
|
4507
4676
|
"cicd:job:get": {
|
|
4508
4677
|
"aliases": [],
|
|
4509
4678
|
"args": {
|
|
@@ -4855,14 +5024,14 @@
|
|
|
4855
5024
|
"run.js"
|
|
4856
5025
|
]
|
|
4857
5026
|
},
|
|
4858
|
-
"cicd:
|
|
5027
|
+
"cicd:notification:configure": {
|
|
4859
5028
|
"aliases": [],
|
|
4860
5029
|
"args": {},
|
|
4861
|
-
"description": "
|
|
5030
|
+
"description": "Configure one Slack notification subscription for the current user on a pipeline",
|
|
4862
5031
|
"examples": [
|
|
4863
|
-
"<%= config.bin %> <%= command.id %> --pipeline-id <id> --
|
|
4864
|
-
"<%= config.bin %> <%= command.id %>
|
|
4865
|
-
"<%= config.bin %> <%= command.id %> --
|
|
5032
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event Promotion_Failed --destination-type user --destination-id U0123ABCD --subscription user",
|
|
5033
|
+
"<%= config.bin %> <%= command.id %> -p <pipeline-id> --event Commit_Failed --destination-type channel --destination-id C0123ABCD --subscription all",
|
|
5034
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event \"Test_Not Started\" --destination-type user --destination-id @jane --subscription user --json"
|
|
4866
5035
|
],
|
|
4867
5036
|
"flags": {
|
|
4868
5037
|
"json": {
|
|
@@ -4872,193 +5041,24 @@
|
|
|
4872
5041
|
"allowNo": false,
|
|
4873
5042
|
"type": "boolean"
|
|
4874
5043
|
},
|
|
4875
|
-
"
|
|
4876
|
-
"description": "
|
|
4877
|
-
"name": "
|
|
4878
|
-
"
|
|
4879
|
-
"type": "boolean"
|
|
4880
|
-
},
|
|
4881
|
-
"change-date-from": {
|
|
4882
|
-
"description": "Optional change-date-from filter (ISO datetime)",
|
|
4883
|
-
"name": "change-date-from",
|
|
5044
|
+
"destination-id": {
|
|
5045
|
+
"description": "Slack user or channel id or name",
|
|
5046
|
+
"name": "destination-id",
|
|
5047
|
+
"required": true,
|
|
4884
5048
|
"hasDynamicHelp": false,
|
|
4885
5049
|
"multiple": false,
|
|
4886
5050
|
"type": "option"
|
|
4887
5051
|
},
|
|
4888
|
-
"
|
|
4889
|
-
"description": "
|
|
4890
|
-
"name": "
|
|
5052
|
+
"destination-type": {
|
|
5053
|
+
"description": "Slack destination type",
|
|
5054
|
+
"name": "destination-type",
|
|
5055
|
+
"required": true,
|
|
4891
5056
|
"hasDynamicHelp": false,
|
|
4892
5057
|
"multiple": false,
|
|
4893
|
-
"
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
"name": "filter-type",
|
|
4898
|
-
"hasDynamicHelp": false,
|
|
4899
|
-
"multiple": false,
|
|
4900
|
-
"type": "option"
|
|
4901
|
-
},
|
|
4902
|
-
"find-managed-packages": {
|
|
4903
|
-
"description": "Include managed package metadata in the search",
|
|
4904
|
-
"name": "find-managed-packages",
|
|
4905
|
-
"allowNo": false,
|
|
4906
|
-
"type": "boolean"
|
|
4907
|
-
},
|
|
4908
|
-
"limit": {
|
|
4909
|
-
"description": "Maximum number of records to return",
|
|
4910
|
-
"name": "limit",
|
|
4911
|
-
"hasDynamicHelp": false,
|
|
4912
|
-
"multiple": false,
|
|
4913
|
-
"type": "option"
|
|
4914
|
-
},
|
|
4915
|
-
"metadata-types": {
|
|
4916
|
-
"description": "Optional comma-separated metadata types to include",
|
|
4917
|
-
"name": "metadata-types",
|
|
4918
|
-
"hasDynamicHelp": false,
|
|
4919
|
-
"multiple": false,
|
|
4920
|
-
"type": "option"
|
|
4921
|
-
},
|
|
4922
|
-
"modified-by": {
|
|
4923
|
-
"description": "Filter by last modified user",
|
|
4924
|
-
"name": "modified-by",
|
|
4925
|
-
"hasDynamicHelp": false,
|
|
4926
|
-
"multiple": false,
|
|
4927
|
-
"type": "option"
|
|
4928
|
-
},
|
|
4929
|
-
"module-type": {
|
|
4930
|
-
"description": "Optional addon module type",
|
|
4931
|
-
"name": "module-type",
|
|
4932
|
-
"hasDynamicHelp": false,
|
|
4933
|
-
"multiple": false,
|
|
4934
|
-
"options": [
|
|
4935
|
-
"vlocity",
|
|
4936
|
-
"data_cloud"
|
|
4937
|
-
],
|
|
4938
|
-
"type": "option"
|
|
4939
|
-
},
|
|
4940
|
-
"order-direction": {
|
|
4941
|
-
"description": "Sort direction for last modified date",
|
|
4942
|
-
"name": "order-direction",
|
|
4943
|
-
"hasDynamicHelp": false,
|
|
4944
|
-
"multiple": false,
|
|
4945
|
-
"options": [
|
|
4946
|
-
"ASC",
|
|
4947
|
-
"DESC"
|
|
4948
|
-
],
|
|
4949
|
-
"type": "option"
|
|
4950
|
-
},
|
|
4951
|
-
"pipeline-id": {
|
|
4952
|
-
"description": "Pipeline Id",
|
|
4953
|
-
"name": "pipeline-id",
|
|
4954
|
-
"hasDynamicHelp": false,
|
|
4955
|
-
"multiple": false,
|
|
4956
|
-
"type": "option"
|
|
4957
|
-
},
|
|
4958
|
-
"platform-experience": {
|
|
4959
|
-
"description": "Gateway platform experience header",
|
|
4960
|
-
"name": "platform-experience",
|
|
4961
|
-
"default": "salesforce",
|
|
4962
|
-
"hasDynamicHelp": false,
|
|
4963
|
-
"multiple": false,
|
|
4964
|
-
"options": [
|
|
4965
|
-
"salesforce",
|
|
4966
|
-
"sfdx",
|
|
4967
|
-
"metacache",
|
|
4968
|
-
"db"
|
|
4969
|
-
],
|
|
4970
|
-
"type": "option"
|
|
4971
|
-
},
|
|
4972
|
-
"source": {
|
|
4973
|
-
"description": "Index source filter",
|
|
4974
|
-
"name": "source",
|
|
4975
|
-
"hasDynamicHelp": false,
|
|
4976
|
-
"multiple": false,
|
|
4977
|
-
"options": [
|
|
4978
|
-
"All",
|
|
4979
|
-
"Changed",
|
|
4980
|
-
"Deleted",
|
|
4981
|
-
"New",
|
|
4982
|
-
"NewAndChanged",
|
|
4983
|
-
"PreviouslyCommitted"
|
|
4984
|
-
],
|
|
4985
|
-
"type": "option"
|
|
4986
|
-
},
|
|
4987
|
-
"source-credential-id": {
|
|
4988
|
-
"description": "Source org credential Id",
|
|
4989
|
-
"name": "source-credential-id",
|
|
4990
|
-
"hasDynamicHelp": false,
|
|
4991
|
-
"multiple": false,
|
|
4992
|
-
"type": "option"
|
|
4993
|
-
},
|
|
4994
|
-
"source-org-id": {
|
|
4995
|
-
"description": "Source org Id",
|
|
4996
|
-
"name": "source-org-id",
|
|
4997
|
-
"hasDynamicHelp": false,
|
|
4998
|
-
"multiple": false,
|
|
4999
|
-
"type": "option"
|
|
5000
|
-
},
|
|
5001
|
-
"target-org-id": {
|
|
5002
|
-
"description": "Optional target org Id",
|
|
5003
|
-
"name": "target-org-id",
|
|
5004
|
-
"hasDynamicHelp": false,
|
|
5005
|
-
"multiple": false,
|
|
5006
|
-
"type": "option"
|
|
5007
|
-
}
|
|
5008
|
-
},
|
|
5009
|
-
"hasDynamicHelp": false,
|
|
5010
|
-
"hiddenAliases": [],
|
|
5011
|
-
"id": "cicd:metadata:list",
|
|
5012
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
5013
|
-
"pluginName": "@copado/agentia-cli",
|
|
5014
|
-
"pluginType": "core",
|
|
5015
|
-
"strict": true,
|
|
5016
|
-
"enableJsonFlag": true,
|
|
5017
|
-
"experimental": false,
|
|
5018
|
-
"isESM": true,
|
|
5019
|
-
"relativePath": [
|
|
5020
|
-
"dist",
|
|
5021
|
-
"commands",
|
|
5022
|
-
"cicd",
|
|
5023
|
-
"metadata",
|
|
5024
|
-
"list.js"
|
|
5025
|
-
]
|
|
5026
|
-
},
|
|
5027
|
-
"cicd:notification:configure": {
|
|
5028
|
-
"aliases": [],
|
|
5029
|
-
"args": {},
|
|
5030
|
-
"description": "Configure one Slack notification subscription for the current user on a pipeline",
|
|
5031
|
-
"examples": [
|
|
5032
|
-
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event Promotion_Failed --destination-type user --destination-id U0123ABCD --subscription user",
|
|
5033
|
-
"<%= config.bin %> <%= command.id %> -p <pipeline-id> --event Commit_Failed --destination-type channel --destination-id C0123ABCD --subscription all",
|
|
5034
|
-
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --event \"Test_Not Started\" --destination-type user --destination-id @jane --subscription user --json"
|
|
5035
|
-
],
|
|
5036
|
-
"flags": {
|
|
5037
|
-
"json": {
|
|
5038
|
-
"description": "Format output as json.",
|
|
5039
|
-
"helpGroup": "GLOBAL",
|
|
5040
|
-
"name": "json",
|
|
5041
|
-
"allowNo": false,
|
|
5042
|
-
"type": "boolean"
|
|
5043
|
-
},
|
|
5044
|
-
"destination-id": {
|
|
5045
|
-
"description": "Slack user or channel id or name",
|
|
5046
|
-
"name": "destination-id",
|
|
5047
|
-
"required": true,
|
|
5048
|
-
"hasDynamicHelp": false,
|
|
5049
|
-
"multiple": false,
|
|
5050
|
-
"type": "option"
|
|
5051
|
-
},
|
|
5052
|
-
"destination-type": {
|
|
5053
|
-
"description": "Slack destination type",
|
|
5054
|
-
"name": "destination-type",
|
|
5055
|
-
"required": true,
|
|
5056
|
-
"hasDynamicHelp": false,
|
|
5057
|
-
"multiple": false,
|
|
5058
|
-
"options": [
|
|
5059
|
-
"user",
|
|
5060
|
-
"channel"
|
|
5061
|
-
],
|
|
5058
|
+
"options": [
|
|
5059
|
+
"user",
|
|
5060
|
+
"channel"
|
|
5061
|
+
],
|
|
5062
5062
|
"type": "option"
|
|
5063
5063
|
},
|
|
5064
5064
|
"event": {
|
|
@@ -7101,15 +7101,14 @@
|
|
|
7101
7101
|
"update.js"
|
|
7102
7102
|
]
|
|
7103
7103
|
},
|
|
7104
|
-
"cicd:
|
|
7104
|
+
"cicd:template:defaults": {
|
|
7105
7105
|
"aliases": [],
|
|
7106
7106
|
"args": {},
|
|
7107
|
-
"description": "
|
|
7107
|
+
"description": "Scaffold default Copado Job Template metadata without writing to Salesforce (legacy create ≈ defaults --write)",
|
|
7108
7108
|
"examples": [
|
|
7109
|
-
"<%= config.bin %> <%= command.id %>",
|
|
7110
|
-
"<%= config.bin %> <%= command.id %> --
|
|
7111
|
-
"<%= config.bin %> <%= command.id %> --
|
|
7112
|
-
"<%= config.bin %> <%= command.id %> --json"
|
|
7109
|
+
"<%= config.bin %> <%= command.id %> --name MyTemplate",
|
|
7110
|
+
"<%= config.bin %> <%= command.id %> --name MyTemplate --api-name MyTemplate_1 --write",
|
|
7111
|
+
"<%= config.bin %> <%= command.id %> --name MyTemplate --output ./copado/templates/MyTemplate_1.metadata.json --json"
|
|
7113
7112
|
],
|
|
7114
7113
|
"flags": {
|
|
7115
7114
|
"json": {
|
|
@@ -7119,18 +7118,38 @@
|
|
|
7119
7118
|
"allowNo": false,
|
|
7120
7119
|
"type": "boolean"
|
|
7121
7120
|
},
|
|
7122
|
-
"
|
|
7123
|
-
"description": "
|
|
7124
|
-
"name": "
|
|
7125
|
-
"
|
|
7121
|
+
"api-name": {
|
|
7122
|
+
"description": "Optional template API name for the scaffold (defaults to {name}_1 on the gateway)",
|
|
7123
|
+
"name": "api-name",
|
|
7124
|
+
"hasDynamicHelp": false,
|
|
7125
|
+
"multiple": false,
|
|
7126
|
+
"type": "option"
|
|
7127
|
+
},
|
|
7128
|
+
"name": {
|
|
7129
|
+
"description": "Template display name used to scaffold defaults",
|
|
7130
|
+
"name": "name",
|
|
7131
|
+
"required": true,
|
|
7132
|
+
"hasDynamicHelp": false,
|
|
7133
|
+
"multiple": false,
|
|
7134
|
+
"type": "option"
|
|
7135
|
+
},
|
|
7136
|
+
"output": {
|
|
7137
|
+
"description": "Write scaffold JSON to this path (implies a disk write)",
|
|
7138
|
+
"name": "output",
|
|
7126
7139
|
"hasDynamicHelp": false,
|
|
7127
7140
|
"multiple": false,
|
|
7128
7141
|
"type": "option"
|
|
7142
|
+
},
|
|
7143
|
+
"write": {
|
|
7144
|
+
"description": "Write scaffold JSON to copado/templates/{apiName}.metadata.json (legacy create)",
|
|
7145
|
+
"name": "write",
|
|
7146
|
+
"allowNo": false,
|
|
7147
|
+
"type": "boolean"
|
|
7129
7148
|
}
|
|
7130
7149
|
},
|
|
7131
7150
|
"hasDynamicHelp": false,
|
|
7132
7151
|
"hiddenAliases": [],
|
|
7133
|
-
"id": "cicd:
|
|
7152
|
+
"id": "cicd:template:defaults",
|
|
7134
7153
|
"pluginAlias": "@copado/agentia-cli",
|
|
7135
7154
|
"pluginName": "@copado/agentia-cli",
|
|
7136
7155
|
"pluginType": "core",
|
|
@@ -7142,23 +7161,65 @@
|
|
|
7142
7161
|
"dist",
|
|
7143
7162
|
"commands",
|
|
7144
7163
|
"cicd",
|
|
7145
|
-
"
|
|
7146
|
-
"
|
|
7164
|
+
"template",
|
|
7165
|
+
"defaults.js"
|
|
7147
7166
|
]
|
|
7148
7167
|
},
|
|
7149
|
-
"cicd:
|
|
7168
|
+
"cicd:template:delete": {
|
|
7150
7169
|
"aliases": [],
|
|
7151
7170
|
"args": {
|
|
7152
|
-
"
|
|
7153
|
-
"description": "
|
|
7154
|
-
"name": "
|
|
7155
|
-
"required":
|
|
7171
|
+
"api-name": {
|
|
7172
|
+
"description": "Template API name",
|
|
7173
|
+
"name": "api-name",
|
|
7174
|
+
"required": true
|
|
7156
7175
|
}
|
|
7157
7176
|
},
|
|
7158
|
-
"description": "
|
|
7177
|
+
"description": "Delete a Copado Job Template by API name",
|
|
7159
7178
|
"examples": [
|
|
7160
|
-
"<%= config.bin %>
|
|
7161
|
-
"<%= config.bin %> <%= command.id %>
|
|
7179
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1",
|
|
7180
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1 --json"
|
|
7181
|
+
],
|
|
7182
|
+
"flags": {
|
|
7183
|
+
"json": {
|
|
7184
|
+
"description": "Format output as json.",
|
|
7185
|
+
"helpGroup": "GLOBAL",
|
|
7186
|
+
"name": "json",
|
|
7187
|
+
"allowNo": false,
|
|
7188
|
+
"type": "boolean"
|
|
7189
|
+
}
|
|
7190
|
+
},
|
|
7191
|
+
"hasDynamicHelp": false,
|
|
7192
|
+
"hiddenAliases": [],
|
|
7193
|
+
"id": "cicd:template:delete",
|
|
7194
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
7195
|
+
"pluginName": "@copado/agentia-cli",
|
|
7196
|
+
"pluginType": "core",
|
|
7197
|
+
"strict": true,
|
|
7198
|
+
"enableJsonFlag": true,
|
|
7199
|
+
"experimental": false,
|
|
7200
|
+
"isESM": true,
|
|
7201
|
+
"relativePath": [
|
|
7202
|
+
"dist",
|
|
7203
|
+
"commands",
|
|
7204
|
+
"cicd",
|
|
7205
|
+
"template",
|
|
7206
|
+
"delete.js"
|
|
7207
|
+
]
|
|
7208
|
+
},
|
|
7209
|
+
"cicd:template:get": {
|
|
7210
|
+
"aliases": [],
|
|
7211
|
+
"args": {
|
|
7212
|
+
"api-name": {
|
|
7213
|
+
"description": "Template API name",
|
|
7214
|
+
"name": "api-name",
|
|
7215
|
+
"required": true
|
|
7216
|
+
}
|
|
7217
|
+
},
|
|
7218
|
+
"description": "Get a Copado Job Template by API name (legacy retrieve ≈ get --write)",
|
|
7219
|
+
"examples": [
|
|
7220
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1",
|
|
7221
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1 --write",
|
|
7222
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1 --json"
|
|
7162
7223
|
],
|
|
7163
7224
|
"flags": {
|
|
7164
7225
|
"json": {
|
|
@@ -7168,13 +7229,279 @@
|
|
|
7168
7229
|
"allowNo": false,
|
|
7169
7230
|
"type": "boolean"
|
|
7170
7231
|
},
|
|
7171
|
-
"
|
|
7172
|
-
"description": "
|
|
7173
|
-
"name": "
|
|
7232
|
+
"output": {
|
|
7233
|
+
"description": "Write retrieved template JSON to this path (implies a disk write)",
|
|
7234
|
+
"name": "output",
|
|
7174
7235
|
"hasDynamicHelp": false,
|
|
7175
7236
|
"multiple": false,
|
|
7176
|
-
"
|
|
7177
|
-
|
|
7237
|
+
"type": "option"
|
|
7238
|
+
},
|
|
7239
|
+
"write": {
|
|
7240
|
+
"description": "Write retrieved JSON to copado/templates/{apiName}.metadata.json (legacy retrieve)",
|
|
7241
|
+
"name": "write",
|
|
7242
|
+
"allowNo": false,
|
|
7243
|
+
"type": "boolean"
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
"hasDynamicHelp": false,
|
|
7247
|
+
"hiddenAliases": [],
|
|
7248
|
+
"id": "cicd:template:get",
|
|
7249
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
7250
|
+
"pluginName": "@copado/agentia-cli",
|
|
7251
|
+
"pluginType": "core",
|
|
7252
|
+
"strict": true,
|
|
7253
|
+
"enableJsonFlag": true,
|
|
7254
|
+
"experimental": false,
|
|
7255
|
+
"isESM": true,
|
|
7256
|
+
"relativePath": [
|
|
7257
|
+
"dist",
|
|
7258
|
+
"commands",
|
|
7259
|
+
"cicd",
|
|
7260
|
+
"template",
|
|
7261
|
+
"get.js"
|
|
7262
|
+
]
|
|
7263
|
+
},
|
|
7264
|
+
"cicd:template:list": {
|
|
7265
|
+
"aliases": [],
|
|
7266
|
+
"args": {},
|
|
7267
|
+
"description": "List Copado Job Templates",
|
|
7268
|
+
"examples": [
|
|
7269
|
+
"<%= config.bin %> <%= command.id %>",
|
|
7270
|
+
"<%= config.bin %> <%= command.id %> --type all",
|
|
7271
|
+
"<%= config.bin %> <%= command.id %> --name Demo --page-size 50",
|
|
7272
|
+
"<%= config.bin %> <%= command.id %> --fetch-all --json"
|
|
7273
|
+
],
|
|
7274
|
+
"flags": {
|
|
7275
|
+
"json": {
|
|
7276
|
+
"description": "Format output as json.",
|
|
7277
|
+
"helpGroup": "GLOBAL",
|
|
7278
|
+
"name": "json",
|
|
7279
|
+
"allowNo": false,
|
|
7280
|
+
"type": "boolean"
|
|
7281
|
+
},
|
|
7282
|
+
"cursor": {
|
|
7283
|
+
"description": "Opaque pagination cursor from a previous list response (nextCursor)",
|
|
7284
|
+
"name": "cursor",
|
|
7285
|
+
"hasDynamicHelp": false,
|
|
7286
|
+
"multiple": false,
|
|
7287
|
+
"type": "option"
|
|
7288
|
+
},
|
|
7289
|
+
"page-size": {
|
|
7290
|
+
"description": "Number of records per page (1-200)",
|
|
7291
|
+
"name": "page-size",
|
|
7292
|
+
"hasDynamicHelp": false,
|
|
7293
|
+
"multiple": false,
|
|
7294
|
+
"type": "option"
|
|
7295
|
+
},
|
|
7296
|
+
"fetch-all": {
|
|
7297
|
+
"description": "Fetch all matching templates (incompatible with --cursor on the gateway)",
|
|
7298
|
+
"name": "fetch-all",
|
|
7299
|
+
"allowNo": false,
|
|
7300
|
+
"type": "boolean"
|
|
7301
|
+
},
|
|
7302
|
+
"name": {
|
|
7303
|
+
"description": "Filter by name substring",
|
|
7304
|
+
"name": "name",
|
|
7305
|
+
"hasDynamicHelp": false,
|
|
7306
|
+
"multiple": false,
|
|
7307
|
+
"type": "option"
|
|
7308
|
+
},
|
|
7309
|
+
"type": {
|
|
7310
|
+
"description": "List Custom templates only, or all templates",
|
|
7311
|
+
"name": "type",
|
|
7312
|
+
"default": "custom",
|
|
7313
|
+
"hasDynamicHelp": false,
|
|
7314
|
+
"multiple": false,
|
|
7315
|
+
"options": [
|
|
7316
|
+
"custom",
|
|
7317
|
+
"all"
|
|
7318
|
+
],
|
|
7319
|
+
"type": "option"
|
|
7320
|
+
}
|
|
7321
|
+
},
|
|
7322
|
+
"hasDynamicHelp": false,
|
|
7323
|
+
"hiddenAliases": [],
|
|
7324
|
+
"id": "cicd:template:list",
|
|
7325
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
7326
|
+
"pluginName": "@copado/agentia-cli",
|
|
7327
|
+
"pluginType": "core",
|
|
7328
|
+
"strict": true,
|
|
7329
|
+
"enableJsonFlag": true,
|
|
7330
|
+
"experimental": false,
|
|
7331
|
+
"isESM": true,
|
|
7332
|
+
"relativePath": [
|
|
7333
|
+
"dist",
|
|
7334
|
+
"commands",
|
|
7335
|
+
"cicd",
|
|
7336
|
+
"template",
|
|
7337
|
+
"list.js"
|
|
7338
|
+
]
|
|
7339
|
+
},
|
|
7340
|
+
"cicd:template:upsert": {
|
|
7341
|
+
"aliases": [],
|
|
7342
|
+
"args": {
|
|
7343
|
+
"api-name": {
|
|
7344
|
+
"description": "Template API name",
|
|
7345
|
+
"name": "api-name",
|
|
7346
|
+
"required": true
|
|
7347
|
+
}
|
|
7348
|
+
},
|
|
7349
|
+
"description": "Create or update a Copado Job Template by API name (legacy deploy ≈ upsert reading disk or --file)",
|
|
7350
|
+
"examples": [
|
|
7351
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1",
|
|
7352
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1 --file ./copado/templates/MyTemplate_1.metadata.json",
|
|
7353
|
+
"<%= config.bin %> <%= command.id %> MyTemplate_1 --name \"My Template\" --steps-file ./steps.json --json"
|
|
7354
|
+
],
|
|
7355
|
+
"flags": {
|
|
7356
|
+
"json": {
|
|
7357
|
+
"description": "Format output as json.",
|
|
7358
|
+
"helpGroup": "GLOBAL",
|
|
7359
|
+
"name": "json",
|
|
7360
|
+
"allowNo": false,
|
|
7361
|
+
"type": "boolean"
|
|
7362
|
+
},
|
|
7363
|
+
"description": {
|
|
7364
|
+
"description": "Template description",
|
|
7365
|
+
"name": "description",
|
|
7366
|
+
"hasDynamicHelp": false,
|
|
7367
|
+
"multiple": false,
|
|
7368
|
+
"type": "option"
|
|
7369
|
+
},
|
|
7370
|
+
"file": {
|
|
7371
|
+
"description": "Path to a JSON file with the full upsert payload (legacy deploy format accepted)",
|
|
7372
|
+
"name": "file",
|
|
7373
|
+
"hasDynamicHelp": false,
|
|
7374
|
+
"multiple": false,
|
|
7375
|
+
"type": "option"
|
|
7376
|
+
},
|
|
7377
|
+
"name": {
|
|
7378
|
+
"description": "Template display name (defaults to the API name argument)",
|
|
7379
|
+
"name": "name",
|
|
7380
|
+
"hasDynamicHelp": false,
|
|
7381
|
+
"multiple": false,
|
|
7382
|
+
"type": "option"
|
|
7383
|
+
},
|
|
7384
|
+
"steps-file": {
|
|
7385
|
+
"description": "Path to a JSON file containing the steps array",
|
|
7386
|
+
"name": "steps-file",
|
|
7387
|
+
"hasDynamicHelp": false,
|
|
7388
|
+
"multiple": false,
|
|
7389
|
+
"type": "option"
|
|
7390
|
+
},
|
|
7391
|
+
"type": {
|
|
7392
|
+
"description": "Template type (for example Custom)",
|
|
7393
|
+
"name": "type",
|
|
7394
|
+
"hasDynamicHelp": false,
|
|
7395
|
+
"multiple": false,
|
|
7396
|
+
"type": "option"
|
|
7397
|
+
},
|
|
7398
|
+
"version": {
|
|
7399
|
+
"description": "Template version",
|
|
7400
|
+
"name": "version",
|
|
7401
|
+
"hasDynamicHelp": false,
|
|
7402
|
+
"multiple": false,
|
|
7403
|
+
"type": "option"
|
|
7404
|
+
},
|
|
7405
|
+
"volume-options": {
|
|
7406
|
+
"description": "Template volume options as a JSON string or plain string",
|
|
7407
|
+
"name": "volume-options",
|
|
7408
|
+
"hasDynamicHelp": false,
|
|
7409
|
+
"multiple": false,
|
|
7410
|
+
"type": "option"
|
|
7411
|
+
}
|
|
7412
|
+
},
|
|
7413
|
+
"hasDynamicHelp": false,
|
|
7414
|
+
"hiddenAliases": [],
|
|
7415
|
+
"id": "cicd:template:upsert",
|
|
7416
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
7417
|
+
"pluginName": "@copado/agentia-cli",
|
|
7418
|
+
"pluginType": "core",
|
|
7419
|
+
"strict": true,
|
|
7420
|
+
"enableJsonFlag": true,
|
|
7421
|
+
"experimental": false,
|
|
7422
|
+
"isESM": true,
|
|
7423
|
+
"relativePath": [
|
|
7424
|
+
"dist",
|
|
7425
|
+
"commands",
|
|
7426
|
+
"cicd",
|
|
7427
|
+
"template",
|
|
7428
|
+
"upsert.js"
|
|
7429
|
+
]
|
|
7430
|
+
},
|
|
7431
|
+
"cicd:user:get": {
|
|
7432
|
+
"aliases": [],
|
|
7433
|
+
"args": {},
|
|
7434
|
+
"description": "Get a Copado user by ID (defaults to the authenticated user)",
|
|
7435
|
+
"examples": [
|
|
7436
|
+
"<%= config.bin %> <%= command.id %>",
|
|
7437
|
+
"<%= config.bin %> <%= command.id %> --id me",
|
|
7438
|
+
"<%= config.bin %> <%= command.id %> --id 005000000000000",
|
|
7439
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
7440
|
+
],
|
|
7441
|
+
"flags": {
|
|
7442
|
+
"json": {
|
|
7443
|
+
"description": "Format output as json.",
|
|
7444
|
+
"helpGroup": "GLOBAL",
|
|
7445
|
+
"name": "json",
|
|
7446
|
+
"allowNo": false,
|
|
7447
|
+
"type": "boolean"
|
|
7448
|
+
},
|
|
7449
|
+
"id": {
|
|
7450
|
+
"description": "User ID, or \"me\" for the authenticated user",
|
|
7451
|
+
"name": "id",
|
|
7452
|
+
"default": "me",
|
|
7453
|
+
"hasDynamicHelp": false,
|
|
7454
|
+
"multiple": false,
|
|
7455
|
+
"type": "option"
|
|
7456
|
+
}
|
|
7457
|
+
},
|
|
7458
|
+
"hasDynamicHelp": false,
|
|
7459
|
+
"hiddenAliases": [],
|
|
7460
|
+
"id": "cicd:user:get",
|
|
7461
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
7462
|
+
"pluginName": "@copado/agentia-cli",
|
|
7463
|
+
"pluginType": "core",
|
|
7464
|
+
"strict": true,
|
|
7465
|
+
"enableJsonFlag": true,
|
|
7466
|
+
"experimental": false,
|
|
7467
|
+
"isESM": true,
|
|
7468
|
+
"relativePath": [
|
|
7469
|
+
"dist",
|
|
7470
|
+
"commands",
|
|
7471
|
+
"cicd",
|
|
7472
|
+
"user",
|
|
7473
|
+
"get.js"
|
|
7474
|
+
]
|
|
7475
|
+
},
|
|
7476
|
+
"cicd:work:commit": {
|
|
7477
|
+
"aliases": [],
|
|
7478
|
+
"args": {
|
|
7479
|
+
"id": {
|
|
7480
|
+
"description": "User story ID (defaults to the active work item from `work set`)",
|
|
7481
|
+
"name": "id",
|
|
7482
|
+
"required": false
|
|
7483
|
+
}
|
|
7484
|
+
},
|
|
7485
|
+
"description": "Compatibility alias of cicd cloud commit. Create a Copado cloud metadata commit for a user story. Prefer: agentia cicd cloud commit.",
|
|
7486
|
+
"examples": [
|
|
7487
|
+
"<%= config.bin %> cicd cloud commit --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add",
|
|
7488
|
+
"<%= config.bin %> <%= command.id %> --cloud --message \"Commit AccountService\" --metadata-name AccountService --metadata-type ApexClass --metadata-category SFDX --action Add"
|
|
7489
|
+
],
|
|
7490
|
+
"flags": {
|
|
7491
|
+
"json": {
|
|
7492
|
+
"description": "Format output as json.",
|
|
7493
|
+
"helpGroup": "GLOBAL",
|
|
7494
|
+
"name": "json",
|
|
7495
|
+
"allowNo": false,
|
|
7496
|
+
"type": "boolean"
|
|
7497
|
+
},
|
|
7498
|
+
"action": {
|
|
7499
|
+
"description": "Metadata action for simple flag input. Defaults to Add.",
|
|
7500
|
+
"name": "action",
|
|
7501
|
+
"hasDynamicHelp": false,
|
|
7502
|
+
"multiple": false,
|
|
7503
|
+
"options": [
|
|
7504
|
+
"Add",
|
|
7178
7505
|
"Delete",
|
|
7179
7506
|
"RetrieveOnly",
|
|
7180
7507
|
"SelectiveCommit",
|
|
@@ -16456,164 +16783,14 @@
|
|
|
16456
16783
|
"get.js"
|
|
16457
16784
|
]
|
|
16458
16785
|
},
|
|
16459
|
-
"cicd:
|
|
16786
|
+
"cicd:metadata:content:compare": {
|
|
16460
16787
|
"aliases": [],
|
|
16461
|
-
"args": {
|
|
16462
|
-
|
|
16463
|
-
"description": "JobExecution Id",
|
|
16464
|
-
"name": "id",
|
|
16465
|
-
"required": true
|
|
16466
|
-
}
|
|
16467
|
-
},
|
|
16468
|
-
"description": "Get log output for a Copado job execution step",
|
|
16788
|
+
"args": {},
|
|
16789
|
+
"description": "Compare metadata file content between two orgs or Git branches",
|
|
16469
16790
|
"examples": [
|
|
16470
|
-
"<%= config.bin %> <%= command.id %> <
|
|
16471
|
-
"<%= config.bin %> <%= command.id %>
|
|
16472
|
-
"<%= config.bin %> <%= command.id %>
|
|
16473
|
-
],
|
|
16474
|
-
"flags": {
|
|
16475
|
-
"json": {
|
|
16476
|
-
"description": "Format output as json.",
|
|
16477
|
-
"helpGroup": "GLOBAL",
|
|
16478
|
-
"name": "json",
|
|
16479
|
-
"allowNo": false,
|
|
16480
|
-
"type": "boolean"
|
|
16481
|
-
},
|
|
16482
|
-
"step": {
|
|
16483
|
-
"description": "Job step Id (defaults to the first step with a result Id)",
|
|
16484
|
-
"name": "step",
|
|
16485
|
-
"hasDynamicHelp": false,
|
|
16486
|
-
"multiple": false,
|
|
16487
|
-
"type": "option"
|
|
16488
|
-
}
|
|
16489
|
-
},
|
|
16490
|
-
"hasDynamicHelp": false,
|
|
16491
|
-
"hiddenAliases": [],
|
|
16492
|
-
"id": "cicd:job:log:get",
|
|
16493
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
16494
|
-
"pluginName": "@copado/agentia-cli",
|
|
16495
|
-
"pluginType": "core",
|
|
16496
|
-
"strict": true,
|
|
16497
|
-
"enableJsonFlag": true,
|
|
16498
|
-
"experimental": false,
|
|
16499
|
-
"isESM": true,
|
|
16500
|
-
"relativePath": [
|
|
16501
|
-
"dist",
|
|
16502
|
-
"commands",
|
|
16503
|
-
"cicd",
|
|
16504
|
-
"job",
|
|
16505
|
-
"log",
|
|
16506
|
-
"get.js"
|
|
16507
|
-
]
|
|
16508
|
-
},
|
|
16509
|
-
"cicd:job:result-file:get": {
|
|
16510
|
-
"aliases": [],
|
|
16511
|
-
"args": {
|
|
16512
|
-
"resultId": {
|
|
16513
|
-
"description": "Copado Result Id",
|
|
16514
|
-
"name": "resultId",
|
|
16515
|
-
"required": true
|
|
16516
|
-
}
|
|
16517
|
-
},
|
|
16518
|
-
"description": "Get a File linked to a Copado job Result",
|
|
16519
|
-
"examples": [
|
|
16520
|
-
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id>",
|
|
16521
|
-
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id> --output-file ./result.zip",
|
|
16522
|
-
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id> --json"
|
|
16523
|
-
],
|
|
16524
|
-
"flags": {
|
|
16525
|
-
"json": {
|
|
16526
|
-
"description": "Format output as json.",
|
|
16527
|
-
"helpGroup": "GLOBAL",
|
|
16528
|
-
"name": "json",
|
|
16529
|
-
"allowNo": false,
|
|
16530
|
-
"type": "boolean"
|
|
16531
|
-
},
|
|
16532
|
-
"file-id": {
|
|
16533
|
-
"description": "File Id returned by result-file list",
|
|
16534
|
-
"name": "file-id",
|
|
16535
|
-
"required": true,
|
|
16536
|
-
"hasDynamicHelp": false,
|
|
16537
|
-
"multiple": false,
|
|
16538
|
-
"type": "option"
|
|
16539
|
-
},
|
|
16540
|
-
"output-file": {
|
|
16541
|
-
"description": "Explicit file path to receive decoded content",
|
|
16542
|
-
"name": "output-file",
|
|
16543
|
-
"hasDynamicHelp": false,
|
|
16544
|
-
"multiple": false,
|
|
16545
|
-
"type": "option"
|
|
16546
|
-
}
|
|
16547
|
-
},
|
|
16548
|
-
"hasDynamicHelp": false,
|
|
16549
|
-
"hiddenAliases": [],
|
|
16550
|
-
"id": "cicd:job:result-file:get",
|
|
16551
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
16552
|
-
"pluginName": "@copado/agentia-cli",
|
|
16553
|
-
"pluginType": "core",
|
|
16554
|
-
"strict": true,
|
|
16555
|
-
"enableJsonFlag": true,
|
|
16556
|
-
"experimental": false,
|
|
16557
|
-
"isESM": true,
|
|
16558
|
-
"relativePath": [
|
|
16559
|
-
"dist",
|
|
16560
|
-
"commands",
|
|
16561
|
-
"cicd",
|
|
16562
|
-
"job",
|
|
16563
|
-
"result-file",
|
|
16564
|
-
"get.js"
|
|
16565
|
-
]
|
|
16566
|
-
},
|
|
16567
|
-
"cicd:job:result-file:list": {
|
|
16568
|
-
"aliases": [],
|
|
16569
|
-
"args": {
|
|
16570
|
-
"resultId": {
|
|
16571
|
-
"description": "Copado Result Id",
|
|
16572
|
-
"name": "resultId",
|
|
16573
|
-
"required": true
|
|
16574
|
-
}
|
|
16575
|
-
},
|
|
16576
|
-
"description": "List Files linked to a Copado job Result",
|
|
16577
|
-
"examples": [
|
|
16578
|
-
"<%= config.bin %> <%= command.id %> <result-id>",
|
|
16579
|
-
"<%= config.bin %> <%= command.id %> <result-id> --json"
|
|
16580
|
-
],
|
|
16581
|
-
"flags": {
|
|
16582
|
-
"json": {
|
|
16583
|
-
"description": "Format output as json.",
|
|
16584
|
-
"helpGroup": "GLOBAL",
|
|
16585
|
-
"name": "json",
|
|
16586
|
-
"allowNo": false,
|
|
16587
|
-
"type": "boolean"
|
|
16588
|
-
}
|
|
16589
|
-
},
|
|
16590
|
-
"hasDynamicHelp": false,
|
|
16591
|
-
"hiddenAliases": [],
|
|
16592
|
-
"id": "cicd:job:result-file:list",
|
|
16593
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
16594
|
-
"pluginName": "@copado/agentia-cli",
|
|
16595
|
-
"pluginType": "core",
|
|
16596
|
-
"strict": true,
|
|
16597
|
-
"enableJsonFlag": true,
|
|
16598
|
-
"experimental": false,
|
|
16599
|
-
"isESM": true,
|
|
16600
|
-
"relativePath": [
|
|
16601
|
-
"dist",
|
|
16602
|
-
"commands",
|
|
16603
|
-
"cicd",
|
|
16604
|
-
"job",
|
|
16605
|
-
"result-file",
|
|
16606
|
-
"list.js"
|
|
16607
|
-
]
|
|
16608
|
-
},
|
|
16609
|
-
"cicd:metadata:content:compare": {
|
|
16610
|
-
"aliases": [],
|
|
16611
|
-
"args": {},
|
|
16612
|
-
"description": "Compare metadata file content between two orgs or Git branches",
|
|
16613
|
-
"examples": [
|
|
16614
|
-
"<%= 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>",
|
|
16615
|
-
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main",
|
|
16616
|
-
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --json"
|
|
16791
|
+
"<%= 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>",
|
|
16792
|
+
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main",
|
|
16793
|
+
"<%= config.bin %> <%= command.id %> --metadata-type ApexClass --api-name MyClass --json"
|
|
16617
16794
|
],
|
|
16618
16795
|
"flags": {
|
|
16619
16796
|
"json": {
|
|
@@ -17387,6 +17564,156 @@
|
|
|
17387
17564
|
"status.js"
|
|
17388
17565
|
]
|
|
17389
17566
|
},
|
|
17567
|
+
"cicd:job:log:get": {
|
|
17568
|
+
"aliases": [],
|
|
17569
|
+
"args": {
|
|
17570
|
+
"id": {
|
|
17571
|
+
"description": "JobExecution Id",
|
|
17572
|
+
"name": "id",
|
|
17573
|
+
"required": true
|
|
17574
|
+
}
|
|
17575
|
+
},
|
|
17576
|
+
"description": "Get log output for a Copado job execution step",
|
|
17577
|
+
"examples": [
|
|
17578
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
17579
|
+
"<%= config.bin %> <%= command.id %> <job-id> --step <step-id>",
|
|
17580
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
17581
|
+
],
|
|
17582
|
+
"flags": {
|
|
17583
|
+
"json": {
|
|
17584
|
+
"description": "Format output as json.",
|
|
17585
|
+
"helpGroup": "GLOBAL",
|
|
17586
|
+
"name": "json",
|
|
17587
|
+
"allowNo": false,
|
|
17588
|
+
"type": "boolean"
|
|
17589
|
+
},
|
|
17590
|
+
"step": {
|
|
17591
|
+
"description": "Job step Id (defaults to the first step with a result Id)",
|
|
17592
|
+
"name": "step",
|
|
17593
|
+
"hasDynamicHelp": false,
|
|
17594
|
+
"multiple": false,
|
|
17595
|
+
"type": "option"
|
|
17596
|
+
}
|
|
17597
|
+
},
|
|
17598
|
+
"hasDynamicHelp": false,
|
|
17599
|
+
"hiddenAliases": [],
|
|
17600
|
+
"id": "cicd:job:log:get",
|
|
17601
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
17602
|
+
"pluginName": "@copado/agentia-cli",
|
|
17603
|
+
"pluginType": "core",
|
|
17604
|
+
"strict": true,
|
|
17605
|
+
"enableJsonFlag": true,
|
|
17606
|
+
"experimental": false,
|
|
17607
|
+
"isESM": true,
|
|
17608
|
+
"relativePath": [
|
|
17609
|
+
"dist",
|
|
17610
|
+
"commands",
|
|
17611
|
+
"cicd",
|
|
17612
|
+
"job",
|
|
17613
|
+
"log",
|
|
17614
|
+
"get.js"
|
|
17615
|
+
]
|
|
17616
|
+
},
|
|
17617
|
+
"cicd:job:result-file:get": {
|
|
17618
|
+
"aliases": [],
|
|
17619
|
+
"args": {
|
|
17620
|
+
"resultId": {
|
|
17621
|
+
"description": "Copado Result Id",
|
|
17622
|
+
"name": "resultId",
|
|
17623
|
+
"required": true
|
|
17624
|
+
}
|
|
17625
|
+
},
|
|
17626
|
+
"description": "Get a File linked to a Copado job Result",
|
|
17627
|
+
"examples": [
|
|
17628
|
+
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id>",
|
|
17629
|
+
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id> --output-file ./result.zip",
|
|
17630
|
+
"<%= config.bin %> <%= command.id %> <result-id> --file-id <file-id> --json"
|
|
17631
|
+
],
|
|
17632
|
+
"flags": {
|
|
17633
|
+
"json": {
|
|
17634
|
+
"description": "Format output as json.",
|
|
17635
|
+
"helpGroup": "GLOBAL",
|
|
17636
|
+
"name": "json",
|
|
17637
|
+
"allowNo": false,
|
|
17638
|
+
"type": "boolean"
|
|
17639
|
+
},
|
|
17640
|
+
"file-id": {
|
|
17641
|
+
"description": "File Id returned by result-file list",
|
|
17642
|
+
"name": "file-id",
|
|
17643
|
+
"required": true,
|
|
17644
|
+
"hasDynamicHelp": false,
|
|
17645
|
+
"multiple": false,
|
|
17646
|
+
"type": "option"
|
|
17647
|
+
},
|
|
17648
|
+
"output-file": {
|
|
17649
|
+
"description": "Explicit file path to receive decoded content",
|
|
17650
|
+
"name": "output-file",
|
|
17651
|
+
"hasDynamicHelp": false,
|
|
17652
|
+
"multiple": false,
|
|
17653
|
+
"type": "option"
|
|
17654
|
+
}
|
|
17655
|
+
},
|
|
17656
|
+
"hasDynamicHelp": false,
|
|
17657
|
+
"hiddenAliases": [],
|
|
17658
|
+
"id": "cicd:job:result-file:get",
|
|
17659
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
17660
|
+
"pluginName": "@copado/agentia-cli",
|
|
17661
|
+
"pluginType": "core",
|
|
17662
|
+
"strict": true,
|
|
17663
|
+
"enableJsonFlag": true,
|
|
17664
|
+
"experimental": false,
|
|
17665
|
+
"isESM": true,
|
|
17666
|
+
"relativePath": [
|
|
17667
|
+
"dist",
|
|
17668
|
+
"commands",
|
|
17669
|
+
"cicd",
|
|
17670
|
+
"job",
|
|
17671
|
+
"result-file",
|
|
17672
|
+
"get.js"
|
|
17673
|
+
]
|
|
17674
|
+
},
|
|
17675
|
+
"cicd:job:result-file:list": {
|
|
17676
|
+
"aliases": [],
|
|
17677
|
+
"args": {
|
|
17678
|
+
"resultId": {
|
|
17679
|
+
"description": "Copado Result Id",
|
|
17680
|
+
"name": "resultId",
|
|
17681
|
+
"required": true
|
|
17682
|
+
}
|
|
17683
|
+
},
|
|
17684
|
+
"description": "List Files linked to a Copado job Result",
|
|
17685
|
+
"examples": [
|
|
17686
|
+
"<%= config.bin %> <%= command.id %> <result-id>",
|
|
17687
|
+
"<%= config.bin %> <%= command.id %> <result-id> --json"
|
|
17688
|
+
],
|
|
17689
|
+
"flags": {
|
|
17690
|
+
"json": {
|
|
17691
|
+
"description": "Format output as json.",
|
|
17692
|
+
"helpGroup": "GLOBAL",
|
|
17693
|
+
"name": "json",
|
|
17694
|
+
"allowNo": false,
|
|
17695
|
+
"type": "boolean"
|
|
17696
|
+
}
|
|
17697
|
+
},
|
|
17698
|
+
"hasDynamicHelp": false,
|
|
17699
|
+
"hiddenAliases": [],
|
|
17700
|
+
"id": "cicd:job:result-file:list",
|
|
17701
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
17702
|
+
"pluginName": "@copado/agentia-cli",
|
|
17703
|
+
"pluginType": "core",
|
|
17704
|
+
"strict": true,
|
|
17705
|
+
"enableJsonFlag": true,
|
|
17706
|
+
"experimental": false,
|
|
17707
|
+
"isESM": true,
|
|
17708
|
+
"relativePath": [
|
|
17709
|
+
"dist",
|
|
17710
|
+
"commands",
|
|
17711
|
+
"cicd",
|
|
17712
|
+
"job",
|
|
17713
|
+
"result-file",
|
|
17714
|
+
"list.js"
|
|
17715
|
+
]
|
|
17716
|
+
},
|
|
17390
17717
|
"cicd:pipeline:connection:create": {
|
|
17391
17718
|
"aliases": [],
|
|
17392
17719
|
"args": {},
|
|
@@ -20043,5 +20370,5 @@
|
|
|
20043
20370
|
]
|
|
20044
20371
|
}
|
|
20045
20372
|
},
|
|
20046
|
-
"version": "1.0.0-beta.
|
|
20373
|
+
"version": "1.0.0-beta.9"
|
|
20047
20374
|
}
|