@copado/agentia-cli 0.21.0-alpha.0 → 0.22.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 +102 -138
- package/dist/commands/job/get.d.ts +0 -4
- package/dist/commands/job/get.js +3 -6
- package/dist/commands/job/get.js.map +1 -1
- package/dist/commands/job/kill.d.ts +0 -4
- package/dist/commands/job/kill.js +3 -6
- package/dist/commands/job/kill.js.map +1 -1
- package/dist/commands/job/list.d.ts +0 -2
- package/dist/commands/job/list.js +4 -7
- package/dist/commands/job/list.js.map +1 -1
- package/dist/commands/job/pause.d.ts +0 -4
- package/dist/commands/job/pause.js +3 -6
- package/dist/commands/job/pause.js.map +1 -1
- package/dist/commands/job/resume.d.ts +0 -4
- package/dist/commands/job/resume.js +3 -6
- package/dist/commands/job/resume.js.map +1 -1
- package/dist/commands/job/run.d.ts +0 -2
- package/dist/commands/job/run.js +2 -5
- package/dist/commands/job/run.js.map +1 -1
- package/dist/commands/metadata/refresh/deleted.d.ts +0 -2
- package/dist/commands/metadata/refresh/deleted.js +2 -5
- package/dist/commands/metadata/refresh/deleted.js.map +1 -1
- package/dist/commands/metadata/refresh/run.d.ts +0 -2
- package/dist/commands/metadata/refresh/run.js +2 -5
- package/dist/commands/metadata/refresh/run.js.map +1 -1
- package/dist/commands/metadata/refresh/status.d.ts +0 -2
- package/dist/commands/metadata/refresh/status.js +2 -5
- package/dist/commands/metadata/refresh/status.js.map +1 -1
- package/dist/commands/pipeline/connection/list.d.ts +0 -2
- package/dist/commands/pipeline/connection/list.js +3 -5
- package/dist/commands/pipeline/connection/list.js.map +1 -1
- package/dist/commands/pipeline/get.d.ts +0 -4
- package/dist/commands/pipeline/get.js +3 -6
- package/dist/commands/pipeline/get.js.map +1 -1
- package/dist/commands/pipeline/list.d.ts +0 -4
- package/dist/commands/pipeline/list.js +3 -6
- package/dist/commands/pipeline/list.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +5 -9
- package/dist/lib/mcp/tools.js +3 -33
- package/dist/lib/mcp/tools.js.map +1 -1
- package/oclif.manifest.json +129 -297
- package/package.json +1 -1
- package/dist/lib/pipeline-flags.d.ts +0 -10
- package/dist/lib/pipeline-flags.js +0 -19
- package/dist/lib/pipeline-flags.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -464,6 +464,31 @@
|
|
|
464
464
|
"update.js"
|
|
465
465
|
]
|
|
466
466
|
},
|
|
467
|
+
"mcp:start": {
|
|
468
|
+
"aliases": [],
|
|
469
|
+
"args": {},
|
|
470
|
+
"description": "Start the local Agentia MCP server over stdio",
|
|
471
|
+
"examples": [
|
|
472
|
+
"<%= config.bin %> <%= command.id %>",
|
|
473
|
+
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
474
|
+
],
|
|
475
|
+
"flags": {},
|
|
476
|
+
"hasDynamicHelp": false,
|
|
477
|
+
"hiddenAliases": [],
|
|
478
|
+
"id": "mcp:start",
|
|
479
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
480
|
+
"pluginName": "@copado/agentia-cli",
|
|
481
|
+
"pluginType": "core",
|
|
482
|
+
"strict": true,
|
|
483
|
+
"enableJsonFlag": false,
|
|
484
|
+
"isESM": true,
|
|
485
|
+
"relativePath": [
|
|
486
|
+
"dist",
|
|
487
|
+
"commands",
|
|
488
|
+
"mcp",
|
|
489
|
+
"start.js"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
467
492
|
"job:get": {
|
|
468
493
|
"aliases": [],
|
|
469
494
|
"args": {
|
|
@@ -475,8 +500,8 @@
|
|
|
475
500
|
},
|
|
476
501
|
"description": "Get a Copado job execution with ordered steps",
|
|
477
502
|
"examples": [
|
|
478
|
-
"<%= config.bin %> <%= command.id %> <job-id>
|
|
479
|
-
"<%= config.bin %> <%= command.id %> <job-id> --
|
|
503
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
504
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
480
505
|
],
|
|
481
506
|
"flags": {
|
|
482
507
|
"json": {
|
|
@@ -485,20 +510,6 @@
|
|
|
485
510
|
"name": "json",
|
|
486
511
|
"allowNo": false,
|
|
487
512
|
"type": "boolean"
|
|
488
|
-
},
|
|
489
|
-
"organization-id": {
|
|
490
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
491
|
-
"name": "organization-id",
|
|
492
|
-
"hasDynamicHelp": false,
|
|
493
|
-
"multiple": false,
|
|
494
|
-
"type": "option"
|
|
495
|
-
},
|
|
496
|
-
"user-id": {
|
|
497
|
-
"description": "User Id for the x-user-id gateway header",
|
|
498
|
-
"name": "user-id",
|
|
499
|
-
"hasDynamicHelp": false,
|
|
500
|
-
"multiple": false,
|
|
501
|
-
"type": "option"
|
|
502
513
|
}
|
|
503
514
|
},
|
|
504
515
|
"hasDynamicHelp": false,
|
|
@@ -528,8 +539,8 @@
|
|
|
528
539
|
},
|
|
529
540
|
"description": "Cancel a Copado job execution",
|
|
530
541
|
"examples": [
|
|
531
|
-
"<%= config.bin %> <%= command.id %> <job-id>
|
|
532
|
-
"<%= config.bin %> <%= command.id %> <job-id> --
|
|
542
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
543
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
533
544
|
],
|
|
534
545
|
"flags": {
|
|
535
546
|
"json": {
|
|
@@ -538,20 +549,6 @@
|
|
|
538
549
|
"name": "json",
|
|
539
550
|
"allowNo": false,
|
|
540
551
|
"type": "boolean"
|
|
541
|
-
},
|
|
542
|
-
"organization-id": {
|
|
543
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
544
|
-
"name": "organization-id",
|
|
545
|
-
"hasDynamicHelp": false,
|
|
546
|
-
"multiple": false,
|
|
547
|
-
"type": "option"
|
|
548
|
-
},
|
|
549
|
-
"user-id": {
|
|
550
|
-
"description": "User Id for the x-user-id gateway header",
|
|
551
|
-
"name": "user-id",
|
|
552
|
-
"hasDynamicHelp": false,
|
|
553
|
-
"multiple": false,
|
|
554
|
-
"type": "option"
|
|
555
552
|
}
|
|
556
553
|
},
|
|
557
554
|
"hasDynamicHelp": false,
|
|
@@ -575,10 +572,10 @@
|
|
|
575
572
|
"args": {},
|
|
576
573
|
"description": "List Copado job executions",
|
|
577
574
|
"examples": [
|
|
578
|
-
"<%= config.bin %> <%= command.id %>
|
|
579
|
-
"<%= config.bin %> <%= command.id %> --
|
|
580
|
-
"<%= config.bin %> <%= command.id %> --
|
|
581
|
-
"<%= config.bin %> <%= command.id %> --
|
|
575
|
+
"<%= config.bin %> <%= command.id %>",
|
|
576
|
+
"<%= config.bin %> <%= command.id %> --status \"In Progress\" --limit 50",
|
|
577
|
+
"<%= config.bin %> <%= command.id %> --name JE- --type Deploy --parent <parent-id>",
|
|
578
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
582
579
|
],
|
|
583
580
|
"flags": {
|
|
584
581
|
"json": {
|
|
@@ -588,20 +585,6 @@
|
|
|
588
585
|
"allowNo": false,
|
|
589
586
|
"type": "boolean"
|
|
590
587
|
},
|
|
591
|
-
"organization-id": {
|
|
592
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
593
|
-
"name": "organization-id",
|
|
594
|
-
"hasDynamicHelp": false,
|
|
595
|
-
"multiple": false,
|
|
596
|
-
"type": "option"
|
|
597
|
-
},
|
|
598
|
-
"user-id": {
|
|
599
|
-
"description": "User Id for the x-user-id gateway header",
|
|
600
|
-
"name": "user-id",
|
|
601
|
-
"hasDynamicHelp": false,
|
|
602
|
-
"multiple": false,
|
|
603
|
-
"type": "option"
|
|
604
|
-
},
|
|
605
588
|
"context": {
|
|
606
589
|
"description": "Contains match on JobExecution context",
|
|
607
590
|
"name": "context",
|
|
@@ -679,8 +662,8 @@
|
|
|
679
662
|
},
|
|
680
663
|
"description": "Pause a Copado job execution (resumable cancel alias)",
|
|
681
664
|
"examples": [
|
|
682
|
-
"<%= config.bin %> <%= command.id %> <job-id>
|
|
683
|
-
"<%= config.bin %> <%= command.id %> <job-id> --
|
|
665
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
666
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
684
667
|
],
|
|
685
668
|
"flags": {
|
|
686
669
|
"json": {
|
|
@@ -689,20 +672,6 @@
|
|
|
689
672
|
"name": "json",
|
|
690
673
|
"allowNo": false,
|
|
691
674
|
"type": "boolean"
|
|
692
|
-
},
|
|
693
|
-
"organization-id": {
|
|
694
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
695
|
-
"name": "organization-id",
|
|
696
|
-
"hasDynamicHelp": false,
|
|
697
|
-
"multiple": false,
|
|
698
|
-
"type": "option"
|
|
699
|
-
},
|
|
700
|
-
"user-id": {
|
|
701
|
-
"description": "User Id for the x-user-id gateway header",
|
|
702
|
-
"name": "user-id",
|
|
703
|
-
"hasDynamicHelp": false,
|
|
704
|
-
"multiple": false,
|
|
705
|
-
"type": "option"
|
|
706
675
|
}
|
|
707
676
|
},
|
|
708
677
|
"hasDynamicHelp": false,
|
|
@@ -732,8 +701,8 @@
|
|
|
732
701
|
},
|
|
733
702
|
"description": "Resume outstanding steps for a Copado job execution",
|
|
734
703
|
"examples": [
|
|
735
|
-
"<%= config.bin %> <%= command.id %> <job-id>
|
|
736
|
-
"<%= config.bin %> <%= command.id %> <job-id> --
|
|
704
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
705
|
+
"<%= config.bin %> <%= command.id %> <job-id> --json"
|
|
737
706
|
],
|
|
738
707
|
"flags": {
|
|
739
708
|
"json": {
|
|
@@ -742,20 +711,6 @@
|
|
|
742
711
|
"name": "json",
|
|
743
712
|
"allowNo": false,
|
|
744
713
|
"type": "boolean"
|
|
745
|
-
},
|
|
746
|
-
"organization-id": {
|
|
747
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
748
|
-
"name": "organization-id",
|
|
749
|
-
"hasDynamicHelp": false,
|
|
750
|
-
"multiple": false,
|
|
751
|
-
"type": "option"
|
|
752
|
-
},
|
|
753
|
-
"user-id": {
|
|
754
|
-
"description": "User Id for the x-user-id gateway header",
|
|
755
|
-
"name": "user-id",
|
|
756
|
-
"hasDynamicHelp": false,
|
|
757
|
-
"multiple": false,
|
|
758
|
-
"type": "option"
|
|
759
714
|
}
|
|
760
715
|
},
|
|
761
716
|
"hasDynamicHelp": false,
|
|
@@ -785,8 +740,8 @@
|
|
|
785
740
|
},
|
|
786
741
|
"description": "Run all steps for a Copado job execution",
|
|
787
742
|
"examples": [
|
|
788
|
-
"<%= config.bin %> <%= command.id %> <job-id>
|
|
789
|
-
"<%= config.bin %> <%= command.id %> <job-id> --
|
|
743
|
+
"<%= config.bin %> <%= command.id %> <job-id>",
|
|
744
|
+
"<%= config.bin %> <%= command.id %> <job-id> --restart --json"
|
|
790
745
|
],
|
|
791
746
|
"flags": {
|
|
792
747
|
"json": {
|
|
@@ -796,20 +751,6 @@
|
|
|
796
751
|
"allowNo": false,
|
|
797
752
|
"type": "boolean"
|
|
798
753
|
},
|
|
799
|
-
"organization-id": {
|
|
800
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
801
|
-
"name": "organization-id",
|
|
802
|
-
"hasDynamicHelp": false,
|
|
803
|
-
"multiple": false,
|
|
804
|
-
"type": "option"
|
|
805
|
-
},
|
|
806
|
-
"user-id": {
|
|
807
|
-
"description": "User Id for the x-user-id gateway header",
|
|
808
|
-
"name": "user-id",
|
|
809
|
-
"hasDynamicHelp": false,
|
|
810
|
-
"multiple": false,
|
|
811
|
-
"type": "option"
|
|
812
|
-
},
|
|
813
754
|
"restart": {
|
|
814
755
|
"description": "Restart the job run (gateway compatibility flag)",
|
|
815
756
|
"name": "restart",
|
|
@@ -833,31 +774,6 @@
|
|
|
833
774
|
"run.js"
|
|
834
775
|
]
|
|
835
776
|
},
|
|
836
|
-
"mcp:start": {
|
|
837
|
-
"aliases": [],
|
|
838
|
-
"args": {},
|
|
839
|
-
"description": "Start the local Agentia MCP server over stdio",
|
|
840
|
-
"examples": [
|
|
841
|
-
"<%= config.bin %> <%= command.id %>",
|
|
842
|
-
"<%= config.bin %> <%= command.id %> # long-running stdio MCP server for Cursor and other clients"
|
|
843
|
-
],
|
|
844
|
-
"flags": {},
|
|
845
|
-
"hasDynamicHelp": false,
|
|
846
|
-
"hiddenAliases": [],
|
|
847
|
-
"id": "mcp:start",
|
|
848
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
849
|
-
"pluginName": "@copado/agentia-cli",
|
|
850
|
-
"pluginType": "core",
|
|
851
|
-
"strict": true,
|
|
852
|
-
"enableJsonFlag": false,
|
|
853
|
-
"isESM": true,
|
|
854
|
-
"relativePath": [
|
|
855
|
-
"dist",
|
|
856
|
-
"commands",
|
|
857
|
-
"mcp",
|
|
858
|
-
"start.js"
|
|
859
|
-
]
|
|
860
|
-
},
|
|
861
777
|
"metadata:list": {
|
|
862
778
|
"aliases": [],
|
|
863
779
|
"args": {},
|
|
@@ -1022,8 +938,8 @@
|
|
|
1022
938
|
},
|
|
1023
939
|
"description": "Get a Copado pipeline",
|
|
1024
940
|
"examples": [
|
|
1025
|
-
"<%= config.bin %> <%= command.id %> <pipeline-id>
|
|
1026
|
-
"<%= config.bin %> <%= command.id %> <pipeline-id> --
|
|
941
|
+
"<%= config.bin %> <%= command.id %> <pipeline-id>",
|
|
942
|
+
"<%= config.bin %> <%= command.id %> <pipeline-id> --json"
|
|
1027
943
|
],
|
|
1028
944
|
"flags": {
|
|
1029
945
|
"json": {
|
|
@@ -1032,20 +948,6 @@
|
|
|
1032
948
|
"name": "json",
|
|
1033
949
|
"allowNo": false,
|
|
1034
950
|
"type": "boolean"
|
|
1035
|
-
},
|
|
1036
|
-
"organization-id": {
|
|
1037
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
1038
|
-
"name": "organization-id",
|
|
1039
|
-
"hasDynamicHelp": false,
|
|
1040
|
-
"multiple": false,
|
|
1041
|
-
"type": "option"
|
|
1042
|
-
},
|
|
1043
|
-
"user-id": {
|
|
1044
|
-
"description": "User Id for the x-user-id gateway header",
|
|
1045
|
-
"name": "user-id",
|
|
1046
|
-
"hasDynamicHelp": false,
|
|
1047
|
-
"multiple": false,
|
|
1048
|
-
"type": "option"
|
|
1049
951
|
}
|
|
1050
952
|
},
|
|
1051
953
|
"hasDynamicHelp": false,
|
|
@@ -1069,8 +971,8 @@
|
|
|
1069
971
|
"args": {},
|
|
1070
972
|
"description": "List Copado pipelines",
|
|
1071
973
|
"examples": [
|
|
1072
|
-
"<%= config.bin %> <%= command.id %>
|
|
1073
|
-
"<%= config.bin %> <%= command.id %> --
|
|
974
|
+
"<%= config.bin %> <%= command.id %>",
|
|
975
|
+
"<%= config.bin %> <%= command.id %> --json"
|
|
1074
976
|
],
|
|
1075
977
|
"flags": {
|
|
1076
978
|
"json": {
|
|
@@ -1079,20 +981,6 @@
|
|
|
1079
981
|
"name": "json",
|
|
1080
982
|
"allowNo": false,
|
|
1081
983
|
"type": "boolean"
|
|
1082
|
-
},
|
|
1083
|
-
"organization-id": {
|
|
1084
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
1085
|
-
"name": "organization-id",
|
|
1086
|
-
"hasDynamicHelp": false,
|
|
1087
|
-
"multiple": false,
|
|
1088
|
-
"type": "option"
|
|
1089
|
-
},
|
|
1090
|
-
"user-id": {
|
|
1091
|
-
"description": "User Id for the x-user-id gateway header",
|
|
1092
|
-
"name": "user-id",
|
|
1093
|
-
"hasDynamicHelp": false,
|
|
1094
|
-
"multiple": false,
|
|
1095
|
-
"type": "option"
|
|
1096
984
|
}
|
|
1097
985
|
},
|
|
1098
986
|
"hasDynamicHelp": false,
|
|
@@ -2532,89 +2420,6 @@
|
|
|
2532
2420
|
"get.js"
|
|
2533
2421
|
]
|
|
2534
2422
|
},
|
|
2535
|
-
"metadata:index:compare": {
|
|
2536
|
-
"aliases": [],
|
|
2537
|
-
"args": {},
|
|
2538
|
-
"description": "Compare metadata between orgs or Git branches",
|
|
2539
|
-
"examples": [
|
|
2540
|
-
"<%= config.bin %> <%= command.id %> --comparison-mode BRANCH_COMPARE --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
|
|
2541
|
-
"<%= config.bin %> <%= command.id %> --comparison-mode INDEX_FILE --filter-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
|
|
2542
|
-
"<%= config.bin %> <%= command.id %> --comparison-mode MIX --json"
|
|
2543
|
-
],
|
|
2544
|
-
"flags": {
|
|
2545
|
-
"json": {
|
|
2546
|
-
"description": "Format output as json.",
|
|
2547
|
-
"helpGroup": "GLOBAL",
|
|
2548
|
-
"name": "json",
|
|
2549
|
-
"allowNo": false,
|
|
2550
|
-
"type": "boolean"
|
|
2551
|
-
},
|
|
2552
|
-
"comparison-mode": {
|
|
2553
|
-
"description": "Comparison mode",
|
|
2554
|
-
"name": "comparison-mode",
|
|
2555
|
-
"default": "BRANCH_COMPARE",
|
|
2556
|
-
"hasDynamicHelp": false,
|
|
2557
|
-
"multiple": false,
|
|
2558
|
-
"options": [
|
|
2559
|
-
"BRANCH_COMPARE",
|
|
2560
|
-
"INDEX_FILE",
|
|
2561
|
-
"MIX"
|
|
2562
|
-
],
|
|
2563
|
-
"type": "option"
|
|
2564
|
-
},
|
|
2565
|
-
"filter-type": {
|
|
2566
|
-
"description": "Optional metadata type filter, for example ApexClass",
|
|
2567
|
-
"name": "filter-type",
|
|
2568
|
-
"hasDynamicHelp": false,
|
|
2569
|
-
"multiple": false,
|
|
2570
|
-
"type": "option"
|
|
2571
|
-
},
|
|
2572
|
-
"pipeline-id": {
|
|
2573
|
-
"description": "Pipeline Id",
|
|
2574
|
-
"name": "pipeline-id",
|
|
2575
|
-
"hasDynamicHelp": false,
|
|
2576
|
-
"multiple": false,
|
|
2577
|
-
"type": "option"
|
|
2578
|
-
},
|
|
2579
|
-
"source-credential-id": {
|
|
2580
|
-
"description": "Source org credential Id",
|
|
2581
|
-
"name": "source-credential-id",
|
|
2582
|
-
"hasDynamicHelp": false,
|
|
2583
|
-
"multiple": false,
|
|
2584
|
-
"type": "option"
|
|
2585
|
-
},
|
|
2586
|
-
"source-org-id": {
|
|
2587
|
-
"description": "Source org Id",
|
|
2588
|
-
"name": "source-org-id",
|
|
2589
|
-
"hasDynamicHelp": false,
|
|
2590
|
-
"multiple": false,
|
|
2591
|
-
"type": "option"
|
|
2592
|
-
},
|
|
2593
|
-
"target-org-id": {
|
|
2594
|
-
"description": "Target org Id",
|
|
2595
|
-
"name": "target-org-id",
|
|
2596
|
-
"hasDynamicHelp": false,
|
|
2597
|
-
"multiple": false,
|
|
2598
|
-
"type": "option"
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
"hasDynamicHelp": false,
|
|
2602
|
-
"hiddenAliases": [],
|
|
2603
|
-
"id": "metadata:index:compare",
|
|
2604
|
-
"pluginAlias": "@copado/agentia-cli",
|
|
2605
|
-
"pluginName": "@copado/agentia-cli",
|
|
2606
|
-
"pluginType": "core",
|
|
2607
|
-
"strict": true,
|
|
2608
|
-
"enableJsonFlag": true,
|
|
2609
|
-
"isESM": true,
|
|
2610
|
-
"relativePath": [
|
|
2611
|
-
"dist",
|
|
2612
|
-
"commands",
|
|
2613
|
-
"metadata",
|
|
2614
|
-
"index",
|
|
2615
|
-
"compare.js"
|
|
2616
|
-
]
|
|
2617
|
-
},
|
|
2618
2423
|
"metadata:dependency:list": {
|
|
2619
2424
|
"aliases": [],
|
|
2620
2425
|
"args": {},
|
|
@@ -2777,13 +2582,14 @@
|
|
|
2777
2582
|
"list.js"
|
|
2778
2583
|
]
|
|
2779
2584
|
},
|
|
2780
|
-
"metadata:
|
|
2585
|
+
"metadata:index:compare": {
|
|
2781
2586
|
"aliases": [],
|
|
2782
2587
|
"args": {},
|
|
2783
|
-
"description": "
|
|
2588
|
+
"description": "Compare metadata between orgs or Git branches",
|
|
2784
2589
|
"examples": [
|
|
2785
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2786
|
-
"<%= config.bin %> <%= command.id %> --
|
|
2590
|
+
"<%= config.bin %> <%= command.id %> --comparison-mode BRANCH_COMPARE --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
|
|
2591
|
+
"<%= config.bin %> <%= command.id %> --comparison-mode INDEX_FILE --filter-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>",
|
|
2592
|
+
"<%= config.bin %> <%= command.id %> --comparison-mode MIX --json"
|
|
2787
2593
|
],
|
|
2788
2594
|
"flags": {
|
|
2789
2595
|
"json": {
|
|
@@ -2793,19 +2599,87 @@
|
|
|
2793
2599
|
"allowNo": false,
|
|
2794
2600
|
"type": "boolean"
|
|
2795
2601
|
},
|
|
2796
|
-
"
|
|
2797
|
-
"description": "
|
|
2798
|
-
"name": "
|
|
2602
|
+
"comparison-mode": {
|
|
2603
|
+
"description": "Comparison mode",
|
|
2604
|
+
"name": "comparison-mode",
|
|
2605
|
+
"default": "BRANCH_COMPARE",
|
|
2606
|
+
"hasDynamicHelp": false,
|
|
2607
|
+
"multiple": false,
|
|
2608
|
+
"options": [
|
|
2609
|
+
"BRANCH_COMPARE",
|
|
2610
|
+
"INDEX_FILE",
|
|
2611
|
+
"MIX"
|
|
2612
|
+
],
|
|
2613
|
+
"type": "option"
|
|
2614
|
+
},
|
|
2615
|
+
"filter-type": {
|
|
2616
|
+
"description": "Optional metadata type filter, for example ApexClass",
|
|
2617
|
+
"name": "filter-type",
|
|
2618
|
+
"hasDynamicHelp": false,
|
|
2619
|
+
"multiple": false,
|
|
2620
|
+
"type": "option"
|
|
2621
|
+
},
|
|
2622
|
+
"pipeline-id": {
|
|
2623
|
+
"description": "Pipeline Id",
|
|
2624
|
+
"name": "pipeline-id",
|
|
2625
|
+
"hasDynamicHelp": false,
|
|
2626
|
+
"multiple": false,
|
|
2627
|
+
"type": "option"
|
|
2628
|
+
},
|
|
2629
|
+
"source-credential-id": {
|
|
2630
|
+
"description": "Source org credential Id",
|
|
2631
|
+
"name": "source-credential-id",
|
|
2799
2632
|
"hasDynamicHelp": false,
|
|
2800
2633
|
"multiple": false,
|
|
2801
2634
|
"type": "option"
|
|
2802
2635
|
},
|
|
2803
|
-
"
|
|
2804
|
-
"description": "
|
|
2805
|
-
"name": "
|
|
2636
|
+
"source-org-id": {
|
|
2637
|
+
"description": "Source org Id",
|
|
2638
|
+
"name": "source-org-id",
|
|
2639
|
+
"hasDynamicHelp": false,
|
|
2640
|
+
"multiple": false,
|
|
2641
|
+
"type": "option"
|
|
2642
|
+
},
|
|
2643
|
+
"target-org-id": {
|
|
2644
|
+
"description": "Target org Id",
|
|
2645
|
+
"name": "target-org-id",
|
|
2806
2646
|
"hasDynamicHelp": false,
|
|
2807
2647
|
"multiple": false,
|
|
2808
2648
|
"type": "option"
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
"hasDynamicHelp": false,
|
|
2652
|
+
"hiddenAliases": [],
|
|
2653
|
+
"id": "metadata:index:compare",
|
|
2654
|
+
"pluginAlias": "@copado/agentia-cli",
|
|
2655
|
+
"pluginName": "@copado/agentia-cli",
|
|
2656
|
+
"pluginType": "core",
|
|
2657
|
+
"strict": true,
|
|
2658
|
+
"enableJsonFlag": true,
|
|
2659
|
+
"isESM": true,
|
|
2660
|
+
"relativePath": [
|
|
2661
|
+
"dist",
|
|
2662
|
+
"commands",
|
|
2663
|
+
"metadata",
|
|
2664
|
+
"index",
|
|
2665
|
+
"compare.js"
|
|
2666
|
+
]
|
|
2667
|
+
},
|
|
2668
|
+
"metadata:refresh:deleted": {
|
|
2669
|
+
"aliases": [],
|
|
2670
|
+
"args": {},
|
|
2671
|
+
"description": "Refresh the deleted metadata index via the CICD gateway",
|
|
2672
|
+
"examples": [
|
|
2673
|
+
"<%= config.bin %> <%= command.id %> --env <environment-id>",
|
|
2674
|
+
"<%= config.bin %> <%= command.id %> --env <environment-id> --module-type vlocity --json"
|
|
2675
|
+
],
|
|
2676
|
+
"flags": {
|
|
2677
|
+
"json": {
|
|
2678
|
+
"description": "Format output as json.",
|
|
2679
|
+
"helpGroup": "GLOBAL",
|
|
2680
|
+
"name": "json",
|
|
2681
|
+
"allowNo": false,
|
|
2682
|
+
"type": "boolean"
|
|
2809
2683
|
},
|
|
2810
2684
|
"env": {
|
|
2811
2685
|
"description": "Copado environment Id used to resolve the credential",
|
|
@@ -2862,8 +2736,8 @@
|
|
|
2862
2736
|
"args": {},
|
|
2863
2737
|
"description": "Trigger a metadata index refresh via the CICD gateway",
|
|
2864
2738
|
"examples": [
|
|
2865
|
-
"<%= config.bin %> <%= command.id %> --env <environment-id>
|
|
2866
|
-
"<%= config.bin %> <%= command.id %> --env <environment-id> --
|
|
2739
|
+
"<%= config.bin %> <%= command.id %> --env <environment-id>",
|
|
2740
|
+
"<%= config.bin %> <%= command.id %> --env <environment-id> --all --json"
|
|
2867
2741
|
],
|
|
2868
2742
|
"flags": {
|
|
2869
2743
|
"json": {
|
|
@@ -2873,20 +2747,6 @@
|
|
|
2873
2747
|
"allowNo": false,
|
|
2874
2748
|
"type": "boolean"
|
|
2875
2749
|
},
|
|
2876
|
-
"organization-id": {
|
|
2877
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
2878
|
-
"name": "organization-id",
|
|
2879
|
-
"hasDynamicHelp": false,
|
|
2880
|
-
"multiple": false,
|
|
2881
|
-
"type": "option"
|
|
2882
|
-
},
|
|
2883
|
-
"user-id": {
|
|
2884
|
-
"description": "User Id for the x-user-id gateway header",
|
|
2885
|
-
"name": "user-id",
|
|
2886
|
-
"hasDynamicHelp": false,
|
|
2887
|
-
"multiple": false,
|
|
2888
|
-
"type": "option"
|
|
2889
|
-
},
|
|
2890
2750
|
"all": {
|
|
2891
2751
|
"description": "Request replacing the metadata index instead of merging it",
|
|
2892
2752
|
"name": "all",
|
|
@@ -3004,8 +2864,8 @@
|
|
|
3004
2864
|
"args": {},
|
|
3005
2865
|
"description": "Get metadata index refresh status via the CICD gateway",
|
|
3006
2866
|
"examples": [
|
|
3007
|
-
"<%= config.bin %> <%= command.id %> --job-id <event-id>
|
|
3008
|
-
"<%= config.bin %> <%= command.id %> --job-id <event-id> --
|
|
2867
|
+
"<%= config.bin %> <%= command.id %> --job-id <event-id>",
|
|
2868
|
+
"<%= config.bin %> <%= command.id %> --job-id <event-id> --json"
|
|
3009
2869
|
],
|
|
3010
2870
|
"flags": {
|
|
3011
2871
|
"json": {
|
|
@@ -3015,20 +2875,6 @@
|
|
|
3015
2875
|
"allowNo": false,
|
|
3016
2876
|
"type": "boolean"
|
|
3017
2877
|
},
|
|
3018
|
-
"organization-id": {
|
|
3019
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
3020
|
-
"name": "organization-id",
|
|
3021
|
-
"hasDynamicHelp": false,
|
|
3022
|
-
"multiple": false,
|
|
3023
|
-
"type": "option"
|
|
3024
|
-
},
|
|
3025
|
-
"user-id": {
|
|
3026
|
-
"description": "User Id for the x-user-id gateway header",
|
|
3027
|
-
"name": "user-id",
|
|
3028
|
-
"hasDynamicHelp": false,
|
|
3029
|
-
"multiple": false,
|
|
3030
|
-
"type": "option"
|
|
3031
|
-
},
|
|
3032
2878
|
"job-id": {
|
|
3033
2879
|
"description": "Metadata refresh event Id",
|
|
3034
2880
|
"name": "job-id",
|
|
@@ -3084,8 +2930,8 @@
|
|
|
3084
2930
|
"args": {},
|
|
3085
2931
|
"description": "List connections for a Copado pipeline",
|
|
3086
2932
|
"examples": [
|
|
3087
|
-
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>
|
|
3088
|
-
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --
|
|
2933
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
|
|
2934
|
+
"<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
|
|
3089
2935
|
],
|
|
3090
2936
|
"flags": {
|
|
3091
2937
|
"json": {
|
|
@@ -3095,20 +2941,6 @@
|
|
|
3095
2941
|
"allowNo": false,
|
|
3096
2942
|
"type": "boolean"
|
|
3097
2943
|
},
|
|
3098
|
-
"organization-id": {
|
|
3099
|
-
"description": "Organization Id for the x-organization-id gateway header",
|
|
3100
|
-
"name": "organization-id",
|
|
3101
|
-
"hasDynamicHelp": false,
|
|
3102
|
-
"multiple": false,
|
|
3103
|
-
"type": "option"
|
|
3104
|
-
},
|
|
3105
|
-
"user-id": {
|
|
3106
|
-
"description": "User Id for the x-user-id gateway header",
|
|
3107
|
-
"name": "user-id",
|
|
3108
|
-
"hasDynamicHelp": false,
|
|
3109
|
-
"multiple": false,
|
|
3110
|
-
"type": "option"
|
|
3111
|
-
},
|
|
3112
2944
|
"pipeline-id": {
|
|
3113
2945
|
"description": "Pipeline Id whose connections should be listed",
|
|
3114
2946
|
"name": "pipeline-id",
|
|
@@ -3677,5 +3509,5 @@
|
|
|
3677
3509
|
]
|
|
3678
3510
|
}
|
|
3679
3511
|
},
|
|
3680
|
-
"version": "0.
|
|
3512
|
+
"version": "0.22.0-alpha.0"
|
|
3681
3513
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { assertRequired } from './assert.js';
|
|
2
|
-
export declare const pipelineHeaderFlags: {
|
|
3
|
-
readonly 'organization-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
4
|
-
readonly 'user-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
5
|
-
};
|
|
6
|
-
export type PipelineHeaderFlagValues = {
|
|
7
|
-
'organization-id'?: string;
|
|
8
|
-
'user-id'?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function pipelineHeaders(flags: PipelineHeaderFlagValues): Record<string, string>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Flags } from '@oclif/core';
|
|
2
|
-
import { assertRequired } from './assert.js';
|
|
3
|
-
import { normalizeSalesforceId } from './salesforce-id.js';
|
|
4
|
-
export { assertRequired } from './assert.js';
|
|
5
|
-
export const pipelineHeaderFlags = {
|
|
6
|
-
'organization-id': Flags.string({
|
|
7
|
-
description: 'Organization Id for the x-organization-id gateway header',
|
|
8
|
-
}),
|
|
9
|
-
'user-id': Flags.string({
|
|
10
|
-
description: 'User Id for the x-user-id gateway header',
|
|
11
|
-
}),
|
|
12
|
-
};
|
|
13
|
-
export function pipelineHeaders(flags) {
|
|
14
|
-
return {
|
|
15
|
-
'x-organization-id': normalizeSalesforceId(assertRequired(flags['organization-id'], '--organization-id')),
|
|
16
|
-
'x-user-id': normalizeSalesforceId(assertRequired(flags['user-id'], '--user-id')),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=pipeline-flags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-flags.js","sourceRoot":"","sources":["../../src/lib/pipeline-flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAA;AAEjC,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAC,qBAAqB,EAAC,MAAM,oBAAoB,CAAA;AAExD,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC;QAC9B,WAAW,EAAE,0DAA0D;KACxE,CAAC;IACF,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;QACtB,WAAW,EAAE,0CAA0C;KACxD,CAAC;CACM,CAAA;AAOV,MAAM,UAAU,eAAe,CAAC,KAA+B;IAC7D,OAAO;QACL,mBAAmB,EAAE,qBAAqB,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC,CAAC;QACzG,WAAW,EAAE,qBAAqB,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC,CAAC;KAClF,CAAA;AACH,CAAC"}
|