@copado/agentia-cli 0.120.0-alpha.0 → 0.121.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.
@@ -3636,150 +3636,6 @@
3636
3636
  "configure.js"
3637
3637
  ]
3638
3638
  },
3639
- "cicd:project:get": {
3640
- "aliases": [],
3641
- "args": {
3642
- "id": {
3643
- "description": "Copado project ID",
3644
- "name": "id",
3645
- "required": true
3646
- }
3647
- },
3648
- "description": "Get a Copado project by ID",
3649
- "examples": [
3650
- "<%= config.bin %> <%= command.id %> <project-id>",
3651
- "<%= config.bin %> <%= command.id %> <project-id> --json"
3652
- ],
3653
- "flags": {
3654
- "json": {
3655
- "description": "Format output as json.",
3656
- "helpGroup": "GLOBAL",
3657
- "name": "json",
3658
- "allowNo": false,
3659
- "type": "boolean"
3660
- }
3661
- },
3662
- "hasDynamicHelp": false,
3663
- "hiddenAliases": [],
3664
- "id": "cicd:project:get",
3665
- "pluginAlias": "@copado/agentia-cli",
3666
- "pluginName": "@copado/agentia-cli",
3667
- "pluginType": "core",
3668
- "strict": true,
3669
- "enableJsonFlag": true,
3670
- "isESM": true,
3671
- "relativePath": [
3672
- "dist",
3673
- "commands",
3674
- "cicd",
3675
- "project",
3676
- "get.js"
3677
- ]
3678
- },
3679
- "cicd:project:list": {
3680
- "aliases": [],
3681
- "args": {},
3682
- "description": "List Copado projects",
3683
- "examples": [
3684
- "<%= config.bin %> <%= command.id %>",
3685
- "<%= config.bin %> <%= command.id %> --mine",
3686
- "<%= config.bin %> <%= command.id %> --name Gateway",
3687
- "<%= config.bin %> <%= command.id %> --mine --json"
3688
- ],
3689
- "flags": {
3690
- "json": {
3691
- "description": "Format output as json.",
3692
- "helpGroup": "GLOBAL",
3693
- "name": "json",
3694
- "allowNo": false,
3695
- "type": "boolean"
3696
- },
3697
- "cursor": {
3698
- "description": "Opaque pagination cursor from a previous list response (nextCursor)",
3699
- "name": "cursor",
3700
- "hasDynamicHelp": false,
3701
- "multiple": false,
3702
- "type": "option"
3703
- },
3704
- "page-size": {
3705
- "description": "Number of records per page (1-200)",
3706
- "name": "page-size",
3707
- "hasDynamicHelp": false,
3708
- "multiple": false,
3709
- "type": "option"
3710
- },
3711
- "mine": {
3712
- "description": "List only projects owned by or related to the current user",
3713
- "name": "mine",
3714
- "allowNo": false,
3715
- "type": "boolean"
3716
- },
3717
- "name": {
3718
- "description": "Filter by name (partial match)",
3719
- "name": "name",
3720
- "hasDynamicHelp": false,
3721
- "multiple": false,
3722
- "type": "option"
3723
- }
3724
- },
3725
- "hasDynamicHelp": false,
3726
- "hiddenAliases": [],
3727
- "id": "cicd:project:list",
3728
- "pluginAlias": "@copado/agentia-cli",
3729
- "pluginName": "@copado/agentia-cli",
3730
- "pluginType": "core",
3731
- "strict": true,
3732
- "enableJsonFlag": true,
3733
- "isESM": true,
3734
- "relativePath": [
3735
- "dist",
3736
- "commands",
3737
- "cicd",
3738
- "project",
3739
- "list.js"
3740
- ]
3741
- },
3742
- "cicd:project:open": {
3743
- "aliases": [],
3744
- "args": {
3745
- "id": {
3746
- "description": "Copado project ID (defaults to the configured project default)",
3747
- "name": "id",
3748
- "required": false
3749
- }
3750
- },
3751
- "description": "Open a Copado project in the browser",
3752
- "examples": [
3753
- "<%= config.bin %> <%= command.id %>",
3754
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
3755
- "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
3756
- ],
3757
- "flags": {
3758
- "json": {
3759
- "description": "Format output as json.",
3760
- "helpGroup": "GLOBAL",
3761
- "name": "json",
3762
- "allowNo": false,
3763
- "type": "boolean"
3764
- }
3765
- },
3766
- "hasDynamicHelp": false,
3767
- "hiddenAliases": [],
3768
- "id": "cicd:project:open",
3769
- "pluginAlias": "@copado/agentia-cli",
3770
- "pluginName": "@copado/agentia-cli",
3771
- "pluginType": "core",
3772
- "strict": true,
3773
- "enableJsonFlag": true,
3774
- "isESM": true,
3775
- "relativePath": [
3776
- "dist",
3777
- "commands",
3778
- "cicd",
3779
- "project",
3780
- "open.js"
3781
- ]
3782
- },
3783
3639
  "cicd:pipeline:create": {
3784
3640
  "aliases": [],
3785
3641
  "args": {
@@ -4142,19 +3998,19 @@
4142
3998
  "update.js"
4143
3999
  ]
4144
4000
  },
4145
- "cicd:promotion:get": {
4001
+ "cicd:project:get": {
4146
4002
  "aliases": [],
4147
4003
  "args": {
4148
4004
  "id": {
4149
- "description": "Copado promotion ID",
4005
+ "description": "Copado project ID",
4150
4006
  "name": "id",
4151
4007
  "required": true
4152
4008
  }
4153
4009
  },
4154
- "description": "Get a Copado promotion by ID",
4010
+ "description": "Get a Copado project by ID",
4155
4011
  "examples": [
4156
- "<%= config.bin %> <%= command.id %> <promotion-id>",
4157
- "<%= config.bin %> <%= command.id %> <promotion-id> --json"
4012
+ "<%= config.bin %> <%= command.id %> <project-id>",
4013
+ "<%= config.bin %> <%= command.id %> <project-id> --json"
4158
4014
  ],
4159
4015
  "flags": {
4160
4016
  "json": {
@@ -4167,7 +4023,7 @@
4167
4023
  },
4168
4024
  "hasDynamicHelp": false,
4169
4025
  "hiddenAliases": [],
4170
- "id": "cicd:promotion:get",
4026
+ "id": "cicd:project:get",
4171
4027
  "pluginAlias": "@copado/agentia-cli",
4172
4028
  "pluginName": "@copado/agentia-cli",
4173
4029
  "pluginType": "core",
@@ -4178,18 +4034,19 @@
4178
4034
  "dist",
4179
4035
  "commands",
4180
4036
  "cicd",
4181
- "promotion",
4037
+ "project",
4182
4038
  "get.js"
4183
4039
  ]
4184
4040
  },
4185
- "cicd:promotion:list": {
4041
+ "cicd:project:list": {
4186
4042
  "aliases": [],
4187
4043
  "args": {},
4188
- "description": "List Copado promotions",
4044
+ "description": "List Copado projects",
4189
4045
  "examples": [
4190
4046
  "<%= config.bin %> <%= command.id %>",
4191
- "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4192
- "<%= config.bin %> <%= command.id %> --json"
4047
+ "<%= config.bin %> <%= command.id %> --mine",
4048
+ "<%= config.bin %> <%= command.id %> --name Gateway",
4049
+ "<%= config.bin %> <%= command.id %> --mine --json"
4193
4050
  ],
4194
4051
  "flags": {
4195
4052
  "json": {
@@ -4213,97 +4070,240 @@
4213
4070
  "multiple": false,
4214
4071
  "type": "option"
4215
4072
  },
4216
- "created-by-id": {
4217
- "description": "Filter by creator ID",
4218
- "name": "created-by-id",
4219
- "hasDynamicHelp": false,
4220
- "multiple": false,
4221
- "type": "option"
4222
- },
4223
- "created-by-name": {
4224
- "description": "Filter by creator name",
4225
- "name": "created-by-name",
4226
- "hasDynamicHelp": false,
4227
- "multiple": false,
4228
- "type": "option"
4229
- },
4230
- "destination-environment-id": {
4231
- "description": "Filter by destination environment ID",
4232
- "name": "destination-environment-id",
4233
- "hasDynamicHelp": false,
4234
- "multiple": false,
4235
- "type": "option"
4236
- },
4237
- "destination-environment-name": {
4238
- "description": "Filter by destination environment name",
4239
- "name": "destination-environment-name",
4240
- "hasDynamicHelp": false,
4241
- "multiple": false,
4242
- "type": "option"
4243
- },
4244
- "is-back-promotion": {
4245
- "description": "Filter by back promotion",
4246
- "name": "is-back-promotion",
4247
- "allowNo": true,
4073
+ "mine": {
4074
+ "description": "List only projects owned by or related to the current user",
4075
+ "name": "mine",
4076
+ "allowNo": false,
4248
4077
  "type": "boolean"
4249
4078
  },
4250
4079
  "name": {
4251
- "description": "Filter by name",
4080
+ "description": "Filter by name (partial match)",
4252
4081
  "name": "name",
4253
4082
  "hasDynamicHelp": false,
4254
4083
  "multiple": false,
4255
4084
  "type": "option"
4256
- },
4257
- "pipeline-id": {
4258
- "description": "Filter by pipeline ID",
4259
- "name": "pipeline-id",
4260
- "hasDynamicHelp": false,
4261
- "multiple": false,
4262
- "type": "option"
4263
- },
4264
- "pipeline-name": {
4265
- "description": "Filter by pipeline name",
4266
- "name": "pipeline-name",
4267
- "hasDynamicHelp": false,
4268
- "multiple": false,
4269
- "type": "option"
4270
- },
4271
- "project-id": {
4272
- "description": "Filter by project ID",
4273
- "name": "project-id",
4274
- "hasDynamicHelp": false,
4275
- "multiple": false,
4276
- "type": "option"
4277
- },
4278
- "project-name": {
4279
- "description": "Filter by project name",
4280
- "name": "project-name",
4281
- "hasDynamicHelp": false,
4282
- "multiple": false,
4283
- "type": "option"
4284
- },
4285
- "source-environment-id": {
4286
- "description": "Filter by source environment ID",
4287
- "name": "source-environment-id",
4288
- "hasDynamicHelp": false,
4289
- "multiple": false,
4290
- "type": "option"
4291
- },
4292
- "source-environment-name": {
4293
- "description": "Filter by source environment name",
4294
- "name": "source-environment-name",
4295
- "hasDynamicHelp": false,
4296
- "multiple": false,
4297
- "type": "option"
4298
- },
4299
- "status": {
4300
- "description": "Filter by status",
4301
- "name": "status",
4302
- "hasDynamicHelp": false,
4303
- "multiple": false,
4304
- "type": "option"
4305
- },
4306
- "work-id": {
4085
+ }
4086
+ },
4087
+ "hasDynamicHelp": false,
4088
+ "hiddenAliases": [],
4089
+ "id": "cicd:project:list",
4090
+ "pluginAlias": "@copado/agentia-cli",
4091
+ "pluginName": "@copado/agentia-cli",
4092
+ "pluginType": "core",
4093
+ "strict": true,
4094
+ "enableJsonFlag": true,
4095
+ "isESM": true,
4096
+ "relativePath": [
4097
+ "dist",
4098
+ "commands",
4099
+ "cicd",
4100
+ "project",
4101
+ "list.js"
4102
+ ]
4103
+ },
4104
+ "cicd:project:open": {
4105
+ "aliases": [],
4106
+ "args": {
4107
+ "id": {
4108
+ "description": "Copado project ID (defaults to the configured project default)",
4109
+ "name": "id",
4110
+ "required": false
4111
+ }
4112
+ },
4113
+ "description": "Open a Copado project in the browser",
4114
+ "examples": [
4115
+ "<%= config.bin %> <%= command.id %>",
4116
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU",
4117
+ "<%= config.bin %> <%= command.id %> a0wKC000000CmZ2AU --json"
4118
+ ],
4119
+ "flags": {
4120
+ "json": {
4121
+ "description": "Format output as json.",
4122
+ "helpGroup": "GLOBAL",
4123
+ "name": "json",
4124
+ "allowNo": false,
4125
+ "type": "boolean"
4126
+ }
4127
+ },
4128
+ "hasDynamicHelp": false,
4129
+ "hiddenAliases": [],
4130
+ "id": "cicd:project:open",
4131
+ "pluginAlias": "@copado/agentia-cli",
4132
+ "pluginName": "@copado/agentia-cli",
4133
+ "pluginType": "core",
4134
+ "strict": true,
4135
+ "enableJsonFlag": true,
4136
+ "isESM": true,
4137
+ "relativePath": [
4138
+ "dist",
4139
+ "commands",
4140
+ "cicd",
4141
+ "project",
4142
+ "open.js"
4143
+ ]
4144
+ },
4145
+ "cicd:promotion:get": {
4146
+ "aliases": [],
4147
+ "args": {
4148
+ "id": {
4149
+ "description": "Copado promotion ID",
4150
+ "name": "id",
4151
+ "required": true
4152
+ }
4153
+ },
4154
+ "description": "Get a Copado promotion by ID",
4155
+ "examples": [
4156
+ "<%= config.bin %> <%= command.id %> <promotion-id>",
4157
+ "<%= config.bin %> <%= command.id %> <promotion-id> --json"
4158
+ ],
4159
+ "flags": {
4160
+ "json": {
4161
+ "description": "Format output as json.",
4162
+ "helpGroup": "GLOBAL",
4163
+ "name": "json",
4164
+ "allowNo": false,
4165
+ "type": "boolean"
4166
+ }
4167
+ },
4168
+ "hasDynamicHelp": false,
4169
+ "hiddenAliases": [],
4170
+ "id": "cicd:promotion:get",
4171
+ "pluginAlias": "@copado/agentia-cli",
4172
+ "pluginName": "@copado/agentia-cli",
4173
+ "pluginType": "core",
4174
+ "strict": true,
4175
+ "enableJsonFlag": true,
4176
+ "isESM": true,
4177
+ "relativePath": [
4178
+ "dist",
4179
+ "commands",
4180
+ "cicd",
4181
+ "promotion",
4182
+ "get.js"
4183
+ ]
4184
+ },
4185
+ "cicd:promotion:list": {
4186
+ "aliases": [],
4187
+ "args": {},
4188
+ "description": "List Copado promotions",
4189
+ "examples": [
4190
+ "<%= config.bin %> <%= command.id %>",
4191
+ "<%= config.bin %> <%= command.id %> --status Completed --project-name \"My Project\" --page-size 50",
4192
+ "<%= config.bin %> <%= command.id %> --json"
4193
+ ],
4194
+ "flags": {
4195
+ "json": {
4196
+ "description": "Format output as json.",
4197
+ "helpGroup": "GLOBAL",
4198
+ "name": "json",
4199
+ "allowNo": false,
4200
+ "type": "boolean"
4201
+ },
4202
+ "cursor": {
4203
+ "description": "Opaque pagination cursor from a previous list response (nextCursor)",
4204
+ "name": "cursor",
4205
+ "hasDynamicHelp": false,
4206
+ "multiple": false,
4207
+ "type": "option"
4208
+ },
4209
+ "page-size": {
4210
+ "description": "Number of records per page (1-200)",
4211
+ "name": "page-size",
4212
+ "hasDynamicHelp": false,
4213
+ "multiple": false,
4214
+ "type": "option"
4215
+ },
4216
+ "created-by-id": {
4217
+ "description": "Filter by creator ID",
4218
+ "name": "created-by-id",
4219
+ "hasDynamicHelp": false,
4220
+ "multiple": false,
4221
+ "type": "option"
4222
+ },
4223
+ "created-by-name": {
4224
+ "description": "Filter by creator name",
4225
+ "name": "created-by-name",
4226
+ "hasDynamicHelp": false,
4227
+ "multiple": false,
4228
+ "type": "option"
4229
+ },
4230
+ "destination-environment-id": {
4231
+ "description": "Filter by destination environment ID",
4232
+ "name": "destination-environment-id",
4233
+ "hasDynamicHelp": false,
4234
+ "multiple": false,
4235
+ "type": "option"
4236
+ },
4237
+ "destination-environment-name": {
4238
+ "description": "Filter by destination environment name",
4239
+ "name": "destination-environment-name",
4240
+ "hasDynamicHelp": false,
4241
+ "multiple": false,
4242
+ "type": "option"
4243
+ },
4244
+ "is-back-promotion": {
4245
+ "description": "Filter by back promotion",
4246
+ "name": "is-back-promotion",
4247
+ "allowNo": true,
4248
+ "type": "boolean"
4249
+ },
4250
+ "name": {
4251
+ "description": "Filter by name",
4252
+ "name": "name",
4253
+ "hasDynamicHelp": false,
4254
+ "multiple": false,
4255
+ "type": "option"
4256
+ },
4257
+ "pipeline-id": {
4258
+ "description": "Filter by pipeline ID",
4259
+ "name": "pipeline-id",
4260
+ "hasDynamicHelp": false,
4261
+ "multiple": false,
4262
+ "type": "option"
4263
+ },
4264
+ "pipeline-name": {
4265
+ "description": "Filter by pipeline name",
4266
+ "name": "pipeline-name",
4267
+ "hasDynamicHelp": false,
4268
+ "multiple": false,
4269
+ "type": "option"
4270
+ },
4271
+ "project-id": {
4272
+ "description": "Filter by project ID",
4273
+ "name": "project-id",
4274
+ "hasDynamicHelp": false,
4275
+ "multiple": false,
4276
+ "type": "option"
4277
+ },
4278
+ "project-name": {
4279
+ "description": "Filter by project name",
4280
+ "name": "project-name",
4281
+ "hasDynamicHelp": false,
4282
+ "multiple": false,
4283
+ "type": "option"
4284
+ },
4285
+ "source-environment-id": {
4286
+ "description": "Filter by source environment ID",
4287
+ "name": "source-environment-id",
4288
+ "hasDynamicHelp": false,
4289
+ "multiple": false,
4290
+ "type": "option"
4291
+ },
4292
+ "source-environment-name": {
4293
+ "description": "Filter by source environment name",
4294
+ "name": "source-environment-name",
4295
+ "hasDynamicHelp": false,
4296
+ "multiple": false,
4297
+ "type": "option"
4298
+ },
4299
+ "status": {
4300
+ "description": "Filter by status",
4301
+ "name": "status",
4302
+ "hasDynamicHelp": false,
4303
+ "multiple": false,
4304
+ "type": "option"
4305
+ },
4306
+ "work-id": {
4307
4307
  "description": "Filter by user story ID",
4308
4308
  "name": "work-id",
4309
4309
  "hasDynamicHelp": false,
@@ -6208,7 +6208,7 @@
6208
6208
  "cicd:work:publish": {
6209
6209
  "aliases": [],
6210
6210
  "args": {},
6211
- "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.",
6211
+ "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 to the added and modified files in origin/<lastBaseBranch>..HEAD (passed to the jars as `--include`; yaml `-b` is the feature branch, matching Copado Commit), 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.",
6212
6212
  "examples": [
6213
6213
  "<%= config.bin %> <%= command.id %>",
6214
6214
  "<%= config.bin %> <%= command.id %> --permissions CustomField:Account.SLA__c,ApexClass:AccountService",
@@ -13139,127 +13139,45 @@
13139
13139
  "list.js"
13140
13140
  ]
13141
13141
  },
13142
- "cicd:data:dataset-file:content": {
13142
+ "cicd:data:filter:add": {
13143
13143
  "aliases": [],
13144
13144
  "args": {
13145
- "contentVersionId": {
13146
- "description": "ContentVersion Id",
13147
- "name": "contentVersionId",
13145
+ "dataTemplateId": {
13146
+ "description": "Data template Id",
13147
+ "name": "dataTemplateId",
13148
13148
  "required": true
13149
13149
  }
13150
13150
  },
13151
- "description": "Get dataset file content by ContentVersion Id",
13151
+ "description": "Add an advanced filter to a data template",
13152
13152
  "examples": [
13153
- "<%= config.bin %> <%= command.id %> 068000000000001",
13154
- "<%= config.bin %> <%= command.id %> 068000000000001 --json"
13153
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --file filter.json",
13154
+ "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
13155
13155
  ],
13156
13156
  "flags": {
13157
13157
  "json": {
13158
13158
  "description": "Format output as json.",
13159
13159
  "helpGroup": "GLOBAL",
13160
13160
  "name": "json",
13161
- "allowNo": false,
13162
- "type": "boolean"
13163
- }
13164
- },
13165
- "hasDynamicHelp": false,
13166
- "hiddenAliases": [],
13167
- "id": "cicd:data:dataset-file:content",
13168
- "pluginAlias": "@copado/agentia-cli",
13169
- "pluginName": "@copado/agentia-cli",
13170
- "pluginType": "core",
13171
- "strict": true,
13172
- "enableJsonFlag": true,
13173
- "isESM": true,
13174
- "relativePath": [
13175
- "dist",
13176
- "commands",
13177
- "cicd",
13178
- "data",
13179
- "dataset-file",
13180
- "content.js"
13181
- ]
13182
- },
13183
- "cicd:data:dataset-file:list": {
13184
- "aliases": [],
13185
- "args": {
13186
- "userStoryDataCommitId": {
13187
- "description": "User story data commit Id",
13188
- "name": "userStoryDataCommitId",
13189
- "required": true
13190
- }
13191
- },
13192
- "description": "List dataset files for a user story data commit",
13193
- "examples": [
13194
- "<%= config.bin %> <%= command.id %> a1A000000000001",
13195
- "<%= config.bin %> <%= command.id %> a1A000000000001 --json"
13196
- ],
13197
- "flags": {
13198
- "json": {
13199
- "description": "Format output as json.",
13200
- "helpGroup": "GLOBAL",
13201
- "name": "json",
13202
- "allowNo": false,
13203
- "type": "boolean"
13204
- }
13205
- },
13206
- "hasDynamicHelp": false,
13207
- "hiddenAliases": [],
13208
- "id": "cicd:data:dataset-file:list",
13209
- "pluginAlias": "@copado/agentia-cli",
13210
- "pluginName": "@copado/agentia-cli",
13211
- "pluginType": "core",
13212
- "strict": true,
13213
- "enableJsonFlag": true,
13214
- "isESM": true,
13215
- "relativePath": [
13216
- "dist",
13217
- "commands",
13218
- "cicd",
13219
- "data",
13220
- "dataset-file",
13221
- "list.js"
13222
- ]
13223
- },
13224
- "cicd:data:filter:add": {
13225
- "aliases": [],
13226
- "args": {
13227
- "dataTemplateId": {
13228
- "description": "Data template Id",
13229
- "name": "dataTemplateId",
13230
- "required": true
13231
- }
13232
- },
13233
- "description": "Add an advanced filter to a data template",
13234
- "examples": [
13235
- "<%= config.bin %> <%= command.id %> a0X000000000001 --file filter.json",
13236
- "<%= config.bin %> <%= command.id %> a0X000000000001 --stdin --json"
13237
- ],
13238
- "flags": {
13239
- "json": {
13240
- "description": "Format output as json.",
13241
- "helpGroup": "GLOBAL",
13242
- "name": "json",
13243
- "allowNo": false,
13244
- "type": "boolean"
13245
- },
13246
- "file": {
13247
- "char": "f",
13248
- "description": "Path to a JSON file body",
13249
- "exclusive": [
13250
- "stdin"
13251
- ],
13252
- "name": "file",
13253
- "hasDynamicHelp": false,
13254
- "multiple": false,
13255
- "type": "option"
13256
- },
13257
- "stdin": {
13258
- "description": "Read the JSON body from stdin",
13259
- "exclusive": [
13260
- "file"
13261
- ],
13262
- "name": "stdin",
13161
+ "allowNo": false,
13162
+ "type": "boolean"
13163
+ },
13164
+ "file": {
13165
+ "char": "f",
13166
+ "description": "Path to a JSON file body",
13167
+ "exclusive": [
13168
+ "stdin"
13169
+ ],
13170
+ "name": "file",
13171
+ "hasDynamicHelp": false,
13172
+ "multiple": false,
13173
+ "type": "option"
13174
+ },
13175
+ "stdin": {
13176
+ "description": "Read the JSON body from stdin",
13177
+ "exclusive": [
13178
+ "file"
13179
+ ],
13180
+ "name": "stdin",
13263
13181
  "allowNo": false,
13264
13182
  "type": "boolean"
13265
13183
  }
@@ -14431,6 +14349,88 @@
14431
14349
  "status.js"
14432
14350
  ]
14433
14351
  },
14352
+ "cicd:data:dataset-file:content": {
14353
+ "aliases": [],
14354
+ "args": {
14355
+ "contentVersionId": {
14356
+ "description": "ContentVersion Id",
14357
+ "name": "contentVersionId",
14358
+ "required": true
14359
+ }
14360
+ },
14361
+ "description": "Get dataset file content by ContentVersion Id",
14362
+ "examples": [
14363
+ "<%= config.bin %> <%= command.id %> 068000000000001",
14364
+ "<%= config.bin %> <%= command.id %> 068000000000001 --json"
14365
+ ],
14366
+ "flags": {
14367
+ "json": {
14368
+ "description": "Format output as json.",
14369
+ "helpGroup": "GLOBAL",
14370
+ "name": "json",
14371
+ "allowNo": false,
14372
+ "type": "boolean"
14373
+ }
14374
+ },
14375
+ "hasDynamicHelp": false,
14376
+ "hiddenAliases": [],
14377
+ "id": "cicd:data:dataset-file:content",
14378
+ "pluginAlias": "@copado/agentia-cli",
14379
+ "pluginName": "@copado/agentia-cli",
14380
+ "pluginType": "core",
14381
+ "strict": true,
14382
+ "enableJsonFlag": true,
14383
+ "isESM": true,
14384
+ "relativePath": [
14385
+ "dist",
14386
+ "commands",
14387
+ "cicd",
14388
+ "data",
14389
+ "dataset-file",
14390
+ "content.js"
14391
+ ]
14392
+ },
14393
+ "cicd:data:dataset-file:list": {
14394
+ "aliases": [],
14395
+ "args": {
14396
+ "userStoryDataCommitId": {
14397
+ "description": "User story data commit Id",
14398
+ "name": "userStoryDataCommitId",
14399
+ "required": true
14400
+ }
14401
+ },
14402
+ "description": "List dataset files for a user story data commit",
14403
+ "examples": [
14404
+ "<%= config.bin %> <%= command.id %> a1A000000000001",
14405
+ "<%= config.bin %> <%= command.id %> a1A000000000001 --json"
14406
+ ],
14407
+ "flags": {
14408
+ "json": {
14409
+ "description": "Format output as json.",
14410
+ "helpGroup": "GLOBAL",
14411
+ "name": "json",
14412
+ "allowNo": false,
14413
+ "type": "boolean"
14414
+ }
14415
+ },
14416
+ "hasDynamicHelp": false,
14417
+ "hiddenAliases": [],
14418
+ "id": "cicd:data:dataset-file:list",
14419
+ "pluginAlias": "@copado/agentia-cli",
14420
+ "pluginName": "@copado/agentia-cli",
14421
+ "pluginType": "core",
14422
+ "strict": true,
14423
+ "enableJsonFlag": true,
14424
+ "isESM": true,
14425
+ "relativePath": [
14426
+ "dist",
14427
+ "commands",
14428
+ "cicd",
14429
+ "data",
14430
+ "dataset-file",
14431
+ "list.js"
14432
+ ]
14433
+ },
14434
14434
  "cicd:function:result:get": {
14435
14435
  "aliases": [],
14436
14436
  "args": {
@@ -15393,15 +15393,14 @@
15393
15393
  "status.js"
15394
15394
  ]
15395
15395
  },
15396
- "cicd:project:default:get": {
15396
+ "cicd:pipeline:connection:create": {
15397
15397
  "aliases": [],
15398
15398
  "args": {},
15399
- "description": "Show project default values for the current project or globally",
15399
+ "description": "Create one or more Copado pipeline connections",
15400
15400
  "examples": [
15401
- "<%= config.bin %> <%= command.id %>",
15402
- "<%= config.bin %> <%= command.id %> --project --environment",
15403
- "<%= config.bin %> <%= command.id %> --global",
15404
- "<%= config.bin %> <%= command.id %> --json"
15401
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main",
15402
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connections.json",
15403
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main --json"
15405
15404
  ],
15406
15405
  "flags": {
15407
15406
  "json": {
@@ -15411,64 +15410,91 @@
15411
15410
  "allowNo": false,
15412
15411
  "type": "boolean"
15413
15412
  },
15414
- "assign-me": {
15415
- "description": "Select the assign-me default",
15416
- "name": "assign-me",
15417
- "allowNo": false,
15418
- "type": "boolean"
15419
- },
15420
- "credential": {
15421
- "description": "Select the default source credential",
15422
- "name": "credential",
15423
- "allowNo": false,
15424
- "type": "boolean"
15413
+ "branch": {
15414
+ "description": "Source branch for the connection",
15415
+ "name": "branch",
15416
+ "hasDynamicHelp": false,
15417
+ "multiple": false,
15418
+ "type": "option"
15425
15419
  },
15426
- "environment": {
15427
- "description": "Select the default environment",
15428
- "name": "environment",
15429
- "allowNo": false,
15430
- "type": "boolean"
15420
+ "connection-id": {
15421
+ "description": "Pipeline connection ID (required for single-connection update or delete)",
15422
+ "name": "connection-id",
15423
+ "hasDynamicHelp": false,
15424
+ "multiple": false,
15425
+ "type": "option"
15431
15426
  },
15432
- "epic": {
15433
- "description": "Select the default epic",
15434
- "name": "epic",
15435
- "allowNo": false,
15436
- "type": "boolean"
15427
+ "destination-branch": {
15428
+ "description": "Destination branch for the connection",
15429
+ "name": "destination-branch",
15430
+ "hasDynamicHelp": false,
15431
+ "multiple": false,
15432
+ "type": "option"
15437
15433
  },
15438
- "feature": {
15439
- "description": "Select the default feature",
15440
- "name": "feature",
15441
- "allowNo": false,
15442
- "type": "boolean"
15434
+ "destination-environment-id": {
15435
+ "description": "Destination environment ID",
15436
+ "name": "destination-environment-id",
15437
+ "hasDynamicHelp": false,
15438
+ "multiple": false,
15439
+ "type": "option"
15443
15440
  },
15444
- "global": {
15445
- "description": "Use machine-wide defaults instead of project-local defaults",
15446
- "name": "global",
15447
- "allowNo": false,
15448
- "type": "boolean"
15441
+ "source-environment-id": {
15442
+ "description": "Source environment ID",
15443
+ "name": "source-environment-id",
15444
+ "hasDynamicHelp": false,
15445
+ "multiple": false,
15446
+ "type": "option"
15449
15447
  },
15450
- "project": {
15451
- "description": "Select the default project",
15452
- "name": "project",
15453
- "allowNo": false,
15454
- "type": "boolean"
15448
+ "stage-connection-id": {
15449
+ "description": "Stage connection ID",
15450
+ "name": "stage-connection-id",
15451
+ "hasDynamicHelp": false,
15452
+ "multiple": false,
15453
+ "type": "option"
15455
15454
  },
15456
- "sprint": {
15457
- "description": "Select the default sprint",
15458
- "name": "sprint",
15459
- "allowNo": false,
15460
- "type": "boolean"
15455
+ "sync-merge-state": {
15456
+ "description": "Sync merge state",
15457
+ "name": "sync-merge-state",
15458
+ "hasDynamicHelp": false,
15459
+ "multiple": false,
15460
+ "type": "option"
15461
15461
  },
15462
- "team": {
15463
- "description": "Select the default team",
15464
- "name": "team",
15465
- "allowNo": false,
15466
- "type": "boolean"
15462
+ "sync-pull-state": {
15463
+ "description": "Sync pull state",
15464
+ "name": "sync-pull-state",
15465
+ "hasDynamicHelp": false,
15466
+ "multiple": false,
15467
+ "type": "option"
15468
+ },
15469
+ "file": {
15470
+ "char": "f",
15471
+ "description": "Path to a JSON array of pipeline connections to create",
15472
+ "exclusive": [
15473
+ "branch",
15474
+ "destination-branch",
15475
+ "destination-environment-id",
15476
+ "source-environment-id",
15477
+ "stage-connection-id",
15478
+ "sync-merge-state",
15479
+ "sync-pull-state"
15480
+ ],
15481
+ "name": "file",
15482
+ "hasDynamicHelp": false,
15483
+ "multiple": false,
15484
+ "type": "option"
15485
+ },
15486
+ "pipeline-id": {
15487
+ "description": "Pipeline ID or name",
15488
+ "name": "pipeline-id",
15489
+ "required": true,
15490
+ "hasDynamicHelp": false,
15491
+ "multiple": false,
15492
+ "type": "option"
15467
15493
  }
15468
15494
  },
15469
15495
  "hasDynamicHelp": false,
15470
15496
  "hiddenAliases": [],
15471
- "id": "cicd:project:default:get",
15497
+ "id": "cicd:pipeline:connection:create",
15472
15498
  "pluginAlias": "@copado/agentia-cli",
15473
15499
  "pluginName": "@copado/agentia-cli",
15474
15500
  "pluginType": "core",
@@ -15479,20 +15505,19 @@
15479
15505
  "dist",
15480
15506
  "commands",
15481
15507
  "cicd",
15482
- "project",
15483
- "default",
15484
- "get.js"
15508
+ "pipeline",
15509
+ "connection",
15510
+ "create.js"
15485
15511
  ]
15486
15512
  },
15487
- "cicd:project:default:set": {
15513
+ "cicd:pipeline:connection:delete": {
15488
15514
  "aliases": [],
15489
15515
  "args": {},
15490
- "description": "Set project default values for the current project or globally",
15516
+ "description": "Delete one or more Copado pipeline connections",
15491
15517
  "examples": [
15492
- "<%= config.bin %> <%= command.id %> --project my-project --team platform",
15493
- "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
15494
- "<%= config.bin %> <%= command.id %> --project my-project --global",
15495
- "<%= config.bin %> <%= command.id %> --project my-project --json"
15518
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --connection-id conn-1 --yes",
15519
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --connection-id conn-1 --connection-id conn-2 --yes",
15520
+ "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connection-ids.json --yes --json"
15496
15521
  ],
15497
15522
  "flags": {
15498
15523
  "json": {
@@ -15502,71 +15527,43 @@
15502
15527
  "allowNo": false,
15503
15528
  "type": "boolean"
15504
15529
  },
15505
- "credential": {
15506
- "description": "Default source credential",
15507
- "name": "credential",
15508
- "hasDynamicHelp": false,
15509
- "multiple": false,
15510
- "type": "option"
15511
- },
15512
- "environment": {
15513
- "description": "Default environment",
15514
- "name": "environment",
15515
- "hasDynamicHelp": false,
15516
- "multiple": false,
15517
- "type": "option"
15518
- },
15519
- "epic": {
15520
- "description": "Default epic",
15521
- "name": "epic",
15522
- "hasDynamicHelp": false,
15523
- "multiple": false,
15524
- "type": "option"
15525
- },
15526
- "feature": {
15527
- "description": "Default feature",
15528
- "name": "feature",
15529
- "hasDynamicHelp": false,
15530
- "multiple": false,
15531
- "type": "option"
15532
- },
15533
- "project": {
15534
- "description": "Default project",
15535
- "name": "project",
15530
+ "connection-id": {
15531
+ "description": "Pipeline connection ID to delete (repeatable)",
15532
+ "name": "connection-id",
15536
15533
  "hasDynamicHelp": false,
15537
- "multiple": false,
15534
+ "multiple": true,
15538
15535
  "type": "option"
15539
15536
  },
15540
- "sprint": {
15541
- "description": "Default sprint",
15542
- "name": "sprint",
15537
+ "file": {
15538
+ "char": "f",
15539
+ "description": "Path to a JSON array of connection IDs or an object with connectionIds",
15540
+ "exclusive": [
15541
+ "connection-id"
15542
+ ],
15543
+ "name": "file",
15543
15544
  "hasDynamicHelp": false,
15544
15545
  "multiple": false,
15545
15546
  "type": "option"
15546
15547
  },
15547
- "team": {
15548
- "description": "Default team",
15549
- "name": "team",
15548
+ "pipeline-id": {
15549
+ "description": "Pipeline ID or name",
15550
+ "name": "pipeline-id",
15551
+ "required": true,
15550
15552
  "hasDynamicHelp": false,
15551
15553
  "multiple": false,
15552
15554
  "type": "option"
15553
15555
  },
15554
- "assign-me": {
15555
- "description": "Assign work items to the current user by default",
15556
- "name": "assign-me",
15557
- "allowNo": false,
15558
- "type": "boolean"
15559
- },
15560
- "global": {
15561
- "description": "Use machine-wide defaults instead of project-local defaults",
15562
- "name": "global",
15556
+ "yes": {
15557
+ "char": "y",
15558
+ "description": "Confirm deletion without prompting",
15559
+ "name": "yes",
15563
15560
  "allowNo": false,
15564
15561
  "type": "boolean"
15565
15562
  }
15566
15563
  },
15567
15564
  "hasDynamicHelp": false,
15568
15565
  "hiddenAliases": [],
15569
- "id": "cicd:project:default:set",
15566
+ "id": "cicd:pipeline:connection:delete",
15570
15567
  "pluginAlias": "@copado/agentia-cli",
15571
15568
  "pluginName": "@copado/agentia-cli",
15572
15569
  "pluginType": "core",
@@ -15577,20 +15574,18 @@
15577
15574
  "dist",
15578
15575
  "commands",
15579
15576
  "cicd",
15580
- "project",
15581
- "default",
15582
- "set.js"
15577
+ "pipeline",
15578
+ "connection",
15579
+ "delete.js"
15583
15580
  ]
15584
15581
  },
15585
- "cicd:project:default:unset": {
15582
+ "cicd:pipeline:connection:list": {
15586
15583
  "aliases": [],
15587
15584
  "args": {},
15588
- "description": "Remove project default values from the current project or globally",
15585
+ "description": "List connections for a Copado pipeline",
15589
15586
  "examples": [
15590
- "<%= config.bin %> <%= command.id %> --project",
15591
- "<%= config.bin %> <%= command.id %> --environment --team",
15592
- "<%= config.bin %> <%= command.id %> --assign-me --global",
15593
- "<%= config.bin %> <%= command.id %> --project --json"
15587
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
15588
+ "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
15594
15589
  ],
15595
15590
  "flags": {
15596
15591
  "json": {
@@ -15600,64 +15595,18 @@
15600
15595
  "allowNo": false,
15601
15596
  "type": "boolean"
15602
15597
  },
15603
- "assign-me": {
15604
- "description": "Select the assign-me default",
15605
- "name": "assign-me",
15606
- "allowNo": false,
15607
- "type": "boolean"
15608
- },
15609
- "credential": {
15610
- "description": "Select the default source credential",
15611
- "name": "credential",
15612
- "allowNo": false,
15613
- "type": "boolean"
15614
- },
15615
- "environment": {
15616
- "description": "Select the default environment",
15617
- "name": "environment",
15618
- "allowNo": false,
15619
- "type": "boolean"
15620
- },
15621
- "epic": {
15622
- "description": "Select the default epic",
15623
- "name": "epic",
15624
- "allowNo": false,
15625
- "type": "boolean"
15626
- },
15627
- "feature": {
15628
- "description": "Select the default feature",
15629
- "name": "feature",
15630
- "allowNo": false,
15631
- "type": "boolean"
15632
- },
15633
- "global": {
15634
- "description": "Use machine-wide defaults instead of project-local defaults",
15635
- "name": "global",
15636
- "allowNo": false,
15637
- "type": "boolean"
15638
- },
15639
- "project": {
15640
- "description": "Select the default project",
15641
- "name": "project",
15642
- "allowNo": false,
15643
- "type": "boolean"
15644
- },
15645
- "sprint": {
15646
- "description": "Select the default sprint",
15647
- "name": "sprint",
15648
- "allowNo": false,
15649
- "type": "boolean"
15650
- },
15651
- "team": {
15652
- "description": "Select the default team",
15653
- "name": "team",
15654
- "allowNo": false,
15655
- "type": "boolean"
15598
+ "pipeline-id": {
15599
+ "description": "Pipeline Id whose connections should be listed",
15600
+ "name": "pipeline-id",
15601
+ "required": true,
15602
+ "hasDynamicHelp": false,
15603
+ "multiple": false,
15604
+ "type": "option"
15656
15605
  }
15657
15606
  },
15658
15607
  "hasDynamicHelp": false,
15659
15608
  "hiddenAliases": [],
15660
- "id": "cicd:project:default:unset",
15609
+ "id": "cicd:pipeline:connection:list",
15661
15610
  "pluginAlias": "@copado/agentia-cli",
15662
15611
  "pluginName": "@copado/agentia-cli",
15663
15612
  "pluginType": "core",
@@ -15668,253 +15617,24 @@
15668
15617
  "dist",
15669
15618
  "commands",
15670
15619
  "cicd",
15671
- "project",
15672
- "default",
15673
- "unset.js"
15620
+ "pipeline",
15621
+ "connection",
15622
+ "list.js"
15674
15623
  ]
15675
15624
  },
15676
- "cicd:pipeline:connection:create": {
15625
+ "cicd:pipeline:connection:open": {
15677
15626
  "aliases": [],
15678
- "args": {},
15679
- "description": "Create one or more Copado pipeline connections",
15627
+ "args": {
15628
+ "id": {
15629
+ "description": "Pipeline connection ID",
15630
+ "name": "id",
15631
+ "required": true
15632
+ }
15633
+ },
15634
+ "description": "Open a Copado pipeline connection in the browser",
15680
15635
  "examples": [
15681
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main",
15682
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connections.json",
15683
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --source-environment-id env-1 --destination-environment-id env-2 --branch main --json"
15684
- ],
15685
- "flags": {
15686
- "json": {
15687
- "description": "Format output as json.",
15688
- "helpGroup": "GLOBAL",
15689
- "name": "json",
15690
- "allowNo": false,
15691
- "type": "boolean"
15692
- },
15693
- "branch": {
15694
- "description": "Source branch for the connection",
15695
- "name": "branch",
15696
- "hasDynamicHelp": false,
15697
- "multiple": false,
15698
- "type": "option"
15699
- },
15700
- "connection-id": {
15701
- "description": "Pipeline connection ID (required for single-connection update or delete)",
15702
- "name": "connection-id",
15703
- "hasDynamicHelp": false,
15704
- "multiple": false,
15705
- "type": "option"
15706
- },
15707
- "destination-branch": {
15708
- "description": "Destination branch for the connection",
15709
- "name": "destination-branch",
15710
- "hasDynamicHelp": false,
15711
- "multiple": false,
15712
- "type": "option"
15713
- },
15714
- "destination-environment-id": {
15715
- "description": "Destination environment ID",
15716
- "name": "destination-environment-id",
15717
- "hasDynamicHelp": false,
15718
- "multiple": false,
15719
- "type": "option"
15720
- },
15721
- "source-environment-id": {
15722
- "description": "Source environment ID",
15723
- "name": "source-environment-id",
15724
- "hasDynamicHelp": false,
15725
- "multiple": false,
15726
- "type": "option"
15727
- },
15728
- "stage-connection-id": {
15729
- "description": "Stage connection ID",
15730
- "name": "stage-connection-id",
15731
- "hasDynamicHelp": false,
15732
- "multiple": false,
15733
- "type": "option"
15734
- },
15735
- "sync-merge-state": {
15736
- "description": "Sync merge state",
15737
- "name": "sync-merge-state",
15738
- "hasDynamicHelp": false,
15739
- "multiple": false,
15740
- "type": "option"
15741
- },
15742
- "sync-pull-state": {
15743
- "description": "Sync pull state",
15744
- "name": "sync-pull-state",
15745
- "hasDynamicHelp": false,
15746
- "multiple": false,
15747
- "type": "option"
15748
- },
15749
- "file": {
15750
- "char": "f",
15751
- "description": "Path to a JSON array of pipeline connections to create",
15752
- "exclusive": [
15753
- "branch",
15754
- "destination-branch",
15755
- "destination-environment-id",
15756
- "source-environment-id",
15757
- "stage-connection-id",
15758
- "sync-merge-state",
15759
- "sync-pull-state"
15760
- ],
15761
- "name": "file",
15762
- "hasDynamicHelp": false,
15763
- "multiple": false,
15764
- "type": "option"
15765
- },
15766
- "pipeline-id": {
15767
- "description": "Pipeline ID or name",
15768
- "name": "pipeline-id",
15769
- "required": true,
15770
- "hasDynamicHelp": false,
15771
- "multiple": false,
15772
- "type": "option"
15773
- }
15774
- },
15775
- "hasDynamicHelp": false,
15776
- "hiddenAliases": [],
15777
- "id": "cicd:pipeline:connection:create",
15778
- "pluginAlias": "@copado/agentia-cli",
15779
- "pluginName": "@copado/agentia-cli",
15780
- "pluginType": "core",
15781
- "strict": true,
15782
- "enableJsonFlag": true,
15783
- "isESM": true,
15784
- "relativePath": [
15785
- "dist",
15786
- "commands",
15787
- "cicd",
15788
- "pipeline",
15789
- "connection",
15790
- "create.js"
15791
- ]
15792
- },
15793
- "cicd:pipeline:connection:delete": {
15794
- "aliases": [],
15795
- "args": {},
15796
- "description": "Delete one or more Copado pipeline connections",
15797
- "examples": [
15798
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --connection-id conn-1 --yes",
15799
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --connection-id conn-1 --connection-id conn-2 --yes",
15800
- "<%= config.bin %> <%= command.id %> --pipeline-id pipeline-1 --file connection-ids.json --yes --json"
15801
- ],
15802
- "flags": {
15803
- "json": {
15804
- "description": "Format output as json.",
15805
- "helpGroup": "GLOBAL",
15806
- "name": "json",
15807
- "allowNo": false,
15808
- "type": "boolean"
15809
- },
15810
- "connection-id": {
15811
- "description": "Pipeline connection ID to delete (repeatable)",
15812
- "name": "connection-id",
15813
- "hasDynamicHelp": false,
15814
- "multiple": true,
15815
- "type": "option"
15816
- },
15817
- "file": {
15818
- "char": "f",
15819
- "description": "Path to a JSON array of connection IDs or an object with connectionIds",
15820
- "exclusive": [
15821
- "connection-id"
15822
- ],
15823
- "name": "file",
15824
- "hasDynamicHelp": false,
15825
- "multiple": false,
15826
- "type": "option"
15827
- },
15828
- "pipeline-id": {
15829
- "description": "Pipeline ID or name",
15830
- "name": "pipeline-id",
15831
- "required": true,
15832
- "hasDynamicHelp": false,
15833
- "multiple": false,
15834
- "type": "option"
15835
- },
15836
- "yes": {
15837
- "char": "y",
15838
- "description": "Confirm deletion without prompting",
15839
- "name": "yes",
15840
- "allowNo": false,
15841
- "type": "boolean"
15842
- }
15843
- },
15844
- "hasDynamicHelp": false,
15845
- "hiddenAliases": [],
15846
- "id": "cicd:pipeline:connection:delete",
15847
- "pluginAlias": "@copado/agentia-cli",
15848
- "pluginName": "@copado/agentia-cli",
15849
- "pluginType": "core",
15850
- "strict": true,
15851
- "enableJsonFlag": true,
15852
- "isESM": true,
15853
- "relativePath": [
15854
- "dist",
15855
- "commands",
15856
- "cicd",
15857
- "pipeline",
15858
- "connection",
15859
- "delete.js"
15860
- ]
15861
- },
15862
- "cicd:pipeline:connection:list": {
15863
- "aliases": [],
15864
- "args": {},
15865
- "description": "List connections for a Copado pipeline",
15866
- "examples": [
15867
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id>",
15868
- "<%= config.bin %> <%= command.id %> --pipeline-id <pipeline-id> --json"
15869
- ],
15870
- "flags": {
15871
- "json": {
15872
- "description": "Format output as json.",
15873
- "helpGroup": "GLOBAL",
15874
- "name": "json",
15875
- "allowNo": false,
15876
- "type": "boolean"
15877
- },
15878
- "pipeline-id": {
15879
- "description": "Pipeline Id whose connections should be listed",
15880
- "name": "pipeline-id",
15881
- "required": true,
15882
- "hasDynamicHelp": false,
15883
- "multiple": false,
15884
- "type": "option"
15885
- }
15886
- },
15887
- "hasDynamicHelp": false,
15888
- "hiddenAliases": [],
15889
- "id": "cicd:pipeline:connection:list",
15890
- "pluginAlias": "@copado/agentia-cli",
15891
- "pluginName": "@copado/agentia-cli",
15892
- "pluginType": "core",
15893
- "strict": true,
15894
- "enableJsonFlag": true,
15895
- "isESM": true,
15896
- "relativePath": [
15897
- "dist",
15898
- "commands",
15899
- "cicd",
15900
- "pipeline",
15901
- "connection",
15902
- "list.js"
15903
- ]
15904
- },
15905
- "cicd:pipeline:connection:open": {
15906
- "aliases": [],
15907
- "args": {
15908
- "id": {
15909
- "description": "Pipeline connection ID",
15910
- "name": "id",
15911
- "required": true
15912
- }
15913
- },
15914
- "description": "Open a Copado pipeline connection in the browser",
15915
- "examples": [
15916
- "<%= config.bin %> <%= command.id %> <connection-id>",
15917
- "<%= config.bin %> <%= command.id %> <connection-id> --json"
15636
+ "<%= config.bin %> <%= command.id %> <connection-id>",
15637
+ "<%= config.bin %> <%= command.id %> <connection-id> --json"
15918
15638
  ],
15919
15639
  "flags": {
15920
15640
  "json": {
@@ -16318,6 +16038,286 @@
16318
16038
  "update.js"
16319
16039
  ]
16320
16040
  },
16041
+ "cicd:project:default:get": {
16042
+ "aliases": [],
16043
+ "args": {},
16044
+ "description": "Show project default values for the current project or globally",
16045
+ "examples": [
16046
+ "<%= config.bin %> <%= command.id %>",
16047
+ "<%= config.bin %> <%= command.id %> --project --environment",
16048
+ "<%= config.bin %> <%= command.id %> --global",
16049
+ "<%= config.bin %> <%= command.id %> --json"
16050
+ ],
16051
+ "flags": {
16052
+ "json": {
16053
+ "description": "Format output as json.",
16054
+ "helpGroup": "GLOBAL",
16055
+ "name": "json",
16056
+ "allowNo": false,
16057
+ "type": "boolean"
16058
+ },
16059
+ "assign-me": {
16060
+ "description": "Select the assign-me default",
16061
+ "name": "assign-me",
16062
+ "allowNo": false,
16063
+ "type": "boolean"
16064
+ },
16065
+ "credential": {
16066
+ "description": "Select the default source credential",
16067
+ "name": "credential",
16068
+ "allowNo": false,
16069
+ "type": "boolean"
16070
+ },
16071
+ "environment": {
16072
+ "description": "Select the default environment",
16073
+ "name": "environment",
16074
+ "allowNo": false,
16075
+ "type": "boolean"
16076
+ },
16077
+ "epic": {
16078
+ "description": "Select the default epic",
16079
+ "name": "epic",
16080
+ "allowNo": false,
16081
+ "type": "boolean"
16082
+ },
16083
+ "feature": {
16084
+ "description": "Select the default feature",
16085
+ "name": "feature",
16086
+ "allowNo": false,
16087
+ "type": "boolean"
16088
+ },
16089
+ "global": {
16090
+ "description": "Use machine-wide defaults instead of project-local defaults",
16091
+ "name": "global",
16092
+ "allowNo": false,
16093
+ "type": "boolean"
16094
+ },
16095
+ "project": {
16096
+ "description": "Select the default project",
16097
+ "name": "project",
16098
+ "allowNo": false,
16099
+ "type": "boolean"
16100
+ },
16101
+ "sprint": {
16102
+ "description": "Select the default sprint",
16103
+ "name": "sprint",
16104
+ "allowNo": false,
16105
+ "type": "boolean"
16106
+ },
16107
+ "team": {
16108
+ "description": "Select the default team",
16109
+ "name": "team",
16110
+ "allowNo": false,
16111
+ "type": "boolean"
16112
+ }
16113
+ },
16114
+ "hasDynamicHelp": false,
16115
+ "hiddenAliases": [],
16116
+ "id": "cicd:project:default:get",
16117
+ "pluginAlias": "@copado/agentia-cli",
16118
+ "pluginName": "@copado/agentia-cli",
16119
+ "pluginType": "core",
16120
+ "strict": true,
16121
+ "enableJsonFlag": true,
16122
+ "isESM": true,
16123
+ "relativePath": [
16124
+ "dist",
16125
+ "commands",
16126
+ "cicd",
16127
+ "project",
16128
+ "default",
16129
+ "get.js"
16130
+ ]
16131
+ },
16132
+ "cicd:project:default:set": {
16133
+ "aliases": [],
16134
+ "args": {},
16135
+ "description": "Set project default values for the current project or globally",
16136
+ "examples": [
16137
+ "<%= config.bin %> <%= command.id %> --project my-project --team platform",
16138
+ "<%= config.bin %> <%= command.id %> --environment dev --assign-me",
16139
+ "<%= config.bin %> <%= command.id %> --project my-project --global",
16140
+ "<%= config.bin %> <%= command.id %> --project my-project --json"
16141
+ ],
16142
+ "flags": {
16143
+ "json": {
16144
+ "description": "Format output as json.",
16145
+ "helpGroup": "GLOBAL",
16146
+ "name": "json",
16147
+ "allowNo": false,
16148
+ "type": "boolean"
16149
+ },
16150
+ "credential": {
16151
+ "description": "Default source credential",
16152
+ "name": "credential",
16153
+ "hasDynamicHelp": false,
16154
+ "multiple": false,
16155
+ "type": "option"
16156
+ },
16157
+ "environment": {
16158
+ "description": "Default environment",
16159
+ "name": "environment",
16160
+ "hasDynamicHelp": false,
16161
+ "multiple": false,
16162
+ "type": "option"
16163
+ },
16164
+ "epic": {
16165
+ "description": "Default epic",
16166
+ "name": "epic",
16167
+ "hasDynamicHelp": false,
16168
+ "multiple": false,
16169
+ "type": "option"
16170
+ },
16171
+ "feature": {
16172
+ "description": "Default feature",
16173
+ "name": "feature",
16174
+ "hasDynamicHelp": false,
16175
+ "multiple": false,
16176
+ "type": "option"
16177
+ },
16178
+ "project": {
16179
+ "description": "Default project",
16180
+ "name": "project",
16181
+ "hasDynamicHelp": false,
16182
+ "multiple": false,
16183
+ "type": "option"
16184
+ },
16185
+ "sprint": {
16186
+ "description": "Default sprint",
16187
+ "name": "sprint",
16188
+ "hasDynamicHelp": false,
16189
+ "multiple": false,
16190
+ "type": "option"
16191
+ },
16192
+ "team": {
16193
+ "description": "Default team",
16194
+ "name": "team",
16195
+ "hasDynamicHelp": false,
16196
+ "multiple": false,
16197
+ "type": "option"
16198
+ },
16199
+ "assign-me": {
16200
+ "description": "Assign work items to the current user by default",
16201
+ "name": "assign-me",
16202
+ "allowNo": false,
16203
+ "type": "boolean"
16204
+ },
16205
+ "global": {
16206
+ "description": "Use machine-wide defaults instead of project-local defaults",
16207
+ "name": "global",
16208
+ "allowNo": false,
16209
+ "type": "boolean"
16210
+ }
16211
+ },
16212
+ "hasDynamicHelp": false,
16213
+ "hiddenAliases": [],
16214
+ "id": "cicd:project:default:set",
16215
+ "pluginAlias": "@copado/agentia-cli",
16216
+ "pluginName": "@copado/agentia-cli",
16217
+ "pluginType": "core",
16218
+ "strict": true,
16219
+ "enableJsonFlag": true,
16220
+ "isESM": true,
16221
+ "relativePath": [
16222
+ "dist",
16223
+ "commands",
16224
+ "cicd",
16225
+ "project",
16226
+ "default",
16227
+ "set.js"
16228
+ ]
16229
+ },
16230
+ "cicd:project:default:unset": {
16231
+ "aliases": [],
16232
+ "args": {},
16233
+ "description": "Remove project default values from the current project or globally",
16234
+ "examples": [
16235
+ "<%= config.bin %> <%= command.id %> --project",
16236
+ "<%= config.bin %> <%= command.id %> --environment --team",
16237
+ "<%= config.bin %> <%= command.id %> --assign-me --global",
16238
+ "<%= config.bin %> <%= command.id %> --project --json"
16239
+ ],
16240
+ "flags": {
16241
+ "json": {
16242
+ "description": "Format output as json.",
16243
+ "helpGroup": "GLOBAL",
16244
+ "name": "json",
16245
+ "allowNo": false,
16246
+ "type": "boolean"
16247
+ },
16248
+ "assign-me": {
16249
+ "description": "Select the assign-me default",
16250
+ "name": "assign-me",
16251
+ "allowNo": false,
16252
+ "type": "boolean"
16253
+ },
16254
+ "credential": {
16255
+ "description": "Select the default source credential",
16256
+ "name": "credential",
16257
+ "allowNo": false,
16258
+ "type": "boolean"
16259
+ },
16260
+ "environment": {
16261
+ "description": "Select the default environment",
16262
+ "name": "environment",
16263
+ "allowNo": false,
16264
+ "type": "boolean"
16265
+ },
16266
+ "epic": {
16267
+ "description": "Select the default epic",
16268
+ "name": "epic",
16269
+ "allowNo": false,
16270
+ "type": "boolean"
16271
+ },
16272
+ "feature": {
16273
+ "description": "Select the default feature",
16274
+ "name": "feature",
16275
+ "allowNo": false,
16276
+ "type": "boolean"
16277
+ },
16278
+ "global": {
16279
+ "description": "Use machine-wide defaults instead of project-local defaults",
16280
+ "name": "global",
16281
+ "allowNo": false,
16282
+ "type": "boolean"
16283
+ },
16284
+ "project": {
16285
+ "description": "Select the default project",
16286
+ "name": "project",
16287
+ "allowNo": false,
16288
+ "type": "boolean"
16289
+ },
16290
+ "sprint": {
16291
+ "description": "Select the default sprint",
16292
+ "name": "sprint",
16293
+ "allowNo": false,
16294
+ "type": "boolean"
16295
+ },
16296
+ "team": {
16297
+ "description": "Select the default team",
16298
+ "name": "team",
16299
+ "allowNo": false,
16300
+ "type": "boolean"
16301
+ }
16302
+ },
16303
+ "hasDynamicHelp": false,
16304
+ "hiddenAliases": [],
16305
+ "id": "cicd:project:default:unset",
16306
+ "pluginAlias": "@copado/agentia-cli",
16307
+ "pluginName": "@copado/agentia-cli",
16308
+ "pluginType": "core",
16309
+ "strict": true,
16310
+ "enableJsonFlag": true,
16311
+ "isESM": true,
16312
+ "relativePath": [
16313
+ "dist",
16314
+ "commands",
16315
+ "cicd",
16316
+ "project",
16317
+ "default",
16318
+ "unset.js"
16319
+ ]
16320
+ },
16321
16321
  "cicd:promotion:conflict:get": {
16322
16322
  "aliases": [],
16323
16323
  "args": {
@@ -17722,5 +17722,5 @@
17722
17722
  ]
17723
17723
  }
17724
17724
  },
17725
- "version": "0.120.0-alpha.0"
17725
+ "version": "0.121.0-alpha.0"
17726
17726
  }