@salesforce/plugin-devops-center 1.4.0 → 2.0.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 +592 -55
- package/lib/commands/devops/pipeline/{activate.d.ts → get.d.ts} +3 -3
- package/lib/commands/devops/pipeline/get.js +81 -0
- package/lib/commands/devops/pipeline/get.js.map +1 -0
- package/lib/commands/devops/pipeline/list.d.ts +13 -0
- package/lib/commands/devops/pipeline/list.js +58 -0
- package/lib/commands/devops/pipeline/list.js.map +1 -0
- package/lib/commands/devops/pipeline/project/delete.d.ts +15 -0
- package/lib/commands/devops/pipeline/project/delete.js +71 -0
- package/lib/commands/devops/pipeline/project/delete.js.map +1 -0
- package/lib/commands/devops/pipeline/stage/delete.d.ts +15 -0
- package/lib/commands/devops/pipeline/stage/delete.js +69 -0
- package/lib/commands/devops/pipeline/stage/delete.js.map +1 -0
- package/lib/commands/devops/pipeline/update.d.ts +18 -0
- package/lib/commands/devops/pipeline/update.js +126 -0
- package/lib/commands/devops/pipeline/update.js.map +1 -0
- package/lib/commands/devops/project/update.d.ts +17 -0
- package/lib/commands/devops/project/update.js +86 -0
- package/lib/commands/devops/project/update.js.map +1 -0
- package/lib/commands/devops/promote.d.ts +24 -0
- package/lib/commands/devops/promote.js +148 -0
- package/lib/commands/devops/promote.js.map +1 -0
- package/lib/commands/devops/promotion/complete.d.ts +20 -0
- package/lib/commands/devops/promotion/complete.js +112 -0
- package/lib/commands/devops/promotion/complete.js.map +1 -0
- package/lib/commands/devops/request/status.d.ts +14 -0
- package/lib/commands/devops/request/status.js +71 -0
- package/lib/commands/devops/request/status.js.map +1 -0
- package/lib/commands/devops/{pull-request → review}/create.d.ts +1 -1
- package/lib/commands/devops/{pull-request → review}/create.js +3 -3
- package/lib/commands/devops/review/create.js.map +1 -0
- package/lib/commands/devops/stage/environment/add.js +2 -0
- package/lib/commands/devops/stage/environment/add.js.map +1 -1
- package/lib/commands/devops/stage/environment/delete.d.ts +15 -0
- package/lib/commands/devops/{pipeline/activate.js → stage/environment/delete.js} +18 -30
- package/lib/commands/devops/stage/environment/delete.js.map +1 -0
- package/lib/commands/devops/work-item/combine.d.ts +15 -0
- package/lib/commands/devops/work-item/combine.js +109 -0
- package/lib/commands/devops/work-item/combine.js.map +1 -0
- package/lib/commands/devops/work-item/prepare.d.ts +14 -0
- package/lib/commands/devops/work-item/prepare.js +98 -0
- package/lib/commands/devops/work-item/prepare.js.map +1 -0
- package/lib/common/flags/promote/promoteFlags.d.ts +1 -0
- package/lib/common/flags/promote/promoteFlags.js +5 -0
- package/lib/common/flags/promote/promoteFlags.js.map +1 -1
- package/lib/common/outputService/aorOutputService.js +4 -4
- package/lib/common/outputService/aorOutputService.js.map +1 -1
- package/lib/common/outputService/outputUtils.js +1 -2
- package/lib/common/outputService/outputUtils.js.map +1 -1
- package/lib/common/selectors/asyncOperationResultsSelector.js +3 -1
- package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
- package/lib/common/selectors/deployComponentsSelector.js +5 -6
- package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
- package/lib/common/selectors/deployProgressSummarySelector.js +3 -1
- package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
- package/lib/common/selectors/deploymentResultsSelector.js +10 -6
- package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
- package/lib/common/selectors/environmentSelector.js +4 -2
- package/lib/common/selectors/environmentSelector.js.map +1 -1
- package/lib/common/selectors/namedCredentialSelector.js +2 -1
- package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
- package/lib/common/selectors/pipelineStageSelector.js +5 -3
- package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
- package/lib/common/selectors/validateDeploySelector.js +3 -1
- package/lib/common/selectors/validateDeploySelector.js.map +1 -1
- package/lib/common/selectors/workItemSelector.js +4 -1
- package/lib/common/selectors/workItemSelector.js.map +1 -1
- package/lib/utils/activatePipeline.d.ts +13 -4
- package/lib/utils/activatePipeline.js +7 -6
- package/lib/utils/activatePipeline.js.map +1 -1
- package/lib/utils/attachProject.js +2 -0
- package/lib/utils/attachProject.js.map +1 -1
- package/lib/utils/combineWorkItems.d.ts +20 -0
- package/lib/utils/combineWorkItems.js +42 -0
- package/lib/utils/combineWorkItems.js.map +1 -0
- package/lib/utils/createPullRequest.js +2 -1
- package/lib/utils/createPullRequest.js.map +1 -1
- package/lib/utils/deletePipelineStage.d.ts +12 -0
- package/lib/utils/deletePipelineStage.js +41 -0
- package/lib/utils/deletePipelineStage.js.map +1 -0
- package/lib/utils/deleteStageEnvironment.d.ts +8 -0
- package/lib/utils/deleteStageEnvironment.js +33 -0
- package/lib/utils/deleteStageEnvironment.js.map +1 -0
- package/lib/utils/deployStage.d.ts +29 -0
- package/lib/utils/deployStage.js +68 -0
- package/lib/utils/deployStage.js.map +1 -0
- package/lib/utils/detachProject.d.ts +8 -0
- package/lib/utils/detachProject.js +37 -0
- package/lib/utils/detachProject.js.map +1 -0
- package/lib/utils/getPipeline.d.ts +27 -0
- package/lib/utils/getPipeline.js +66 -0
- package/lib/utils/getPipeline.js.map +1 -0
- package/lib/utils/getRequestStatus.d.ts +10 -0
- package/lib/utils/getRequestStatus.js +32 -0
- package/lib/utils/getRequestStatus.js.map +1 -0
- package/lib/utils/listPipelines.d.ts +11 -0
- package/lib/utils/listPipelines.js +20 -0
- package/lib/utils/listPipelines.js.map +1 -0
- package/lib/utils/pipelineUtils.js +3 -0
- package/lib/utils/pipelineUtils.js.map +1 -1
- package/lib/utils/prepareWorkItem.d.ts +25 -0
- package/lib/utils/prepareWorkItem.js +55 -0
- package/lib/utils/prepareWorkItem.js.map +1 -0
- package/lib/utils/promoteStage.d.ts +21 -0
- package/lib/utils/promoteStage.js +46 -0
- package/lib/utils/promoteStage.js.map +1 -0
- package/lib/utils/soqlUtils.d.ts +23 -0
- package/lib/utils/soqlUtils.js +63 -0
- package/lib/utils/soqlUtils.js.map +1 -0
- package/lib/utils/updateProject.d.ts +17 -0
- package/lib/utils/updateProject.js +41 -0
- package/lib/utils/updateProject.js.map +1 -0
- package/lib/utils/updateWorkItem.js +3 -1
- package/lib/utils/updateWorkItem.js.map +1 -1
- package/lib/utils/workItems.js +2 -0
- package/lib/utils/workItems.js.map +1 -1
- package/messages/devops.pipeline.get.md +17 -0
- package/messages/devops.pipeline.list.md +13 -0
- package/messages/devops.pipeline.project.delete.md +25 -0
- package/messages/devops.pipeline.stage.delete.md +25 -0
- package/messages/devops.pipeline.update.md +47 -0
- package/messages/devops.project.update.md +45 -0
- package/messages/devops.promote.md +61 -0
- package/messages/devops.promotion.complete.md +47 -0
- package/messages/devops.request.status.md +21 -0
- package/messages/devops.stage.environment.delete.md +29 -0
- package/messages/devops.work-item.combine.md +39 -0
- package/messages/devops.work-item.prepare.md +27 -0
- package/npm-shrinkwrap.json +290 -272
- package/oclif.lock +81 -24
- package/oclif.manifest.json +1176 -242
- package/package.json +23 -11
- package/schemas/devops-pipeline-get.json +98 -0
- package/schemas/devops-pipeline-list.json +38 -0
- package/schemas/devops-pipeline-project-delete.json +25 -0
- package/schemas/devops-pipeline-stage-delete.json +25 -0
- package/schemas/{devops-pipeline-activate.json → devops-pipeline-update.json} +5 -2
- package/schemas/devops-project-update.json +31 -0
- package/schemas/devops-promote.json +28 -0
- package/schemas/devops-promotion-complete.json +34 -0
- package/schemas/devops-request-status.json +31 -0
- package/schemas/devops-stage-environment-delete.json +25 -0
- package/schemas/devops-work__item-combine.json +25 -0
- package/schemas/devops-work__item-prepare.json +25 -0
- package/lib/commands/devops/pipeline/activate.js.map +0 -1
- package/lib/commands/devops/pull-request/create.js.map +0 -1
- package/messages/devops.pipeline.activate.md +0 -29
- /package/messages/{devops.pull-request.create.md → devops.review.create.md} +0 -0
- /package/schemas/{devops-pull__request-create.json → devops-review-create.json} +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1,12 +1,883 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"devops:promote": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Promote specific work items or all approved work items from a source stage to the target pipeline stage.\n\nPass --work-item-id to promote one or more specific work items to the target stage.\n\nPass --stage-id to promote all approved work items from that source stage to the target stage.\n\nExactly one of --work-item-id or --stage-id must be provided.\n\nUse --deploy-all to deploy all metadata in the branch rather than only changes not yet in the target stage.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"Promote all approved work items from a source stage to a target stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 1QVxx0000000001 --target-stage-id 1QVxx0000000002",
|
|
9
|
+
"Promote a specific work item to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 1fkxx0000000001 --target-stage-id 1QVxx0000000001",
|
|
10
|
+
"Promote multiple work items:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 1fkxx0000000001 --work-item-id 1fkxx0000000002 --target-stage-id 1QVxx0000000001",
|
|
11
|
+
"Promote a stage with full deploy:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 1QVxx0000000001 --target-stage-id 1QVxx0000000002 --deploy-all"
|
|
12
|
+
],
|
|
13
|
+
"flags": {
|
|
14
|
+
"json": {
|
|
15
|
+
"description": "Format output as json.",
|
|
16
|
+
"helpGroup": "GLOBAL",
|
|
17
|
+
"name": "json",
|
|
18
|
+
"allowNo": false,
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"flags-dir": {
|
|
22
|
+
"helpGroup": "GLOBAL",
|
|
23
|
+
"name": "flags-dir",
|
|
24
|
+
"summary": "Import flag values from a directory.",
|
|
25
|
+
"hasDynamicHelp": false,
|
|
26
|
+
"multiple": false,
|
|
27
|
+
"type": "option"
|
|
28
|
+
},
|
|
29
|
+
"target-org": {
|
|
30
|
+
"char": "o",
|
|
31
|
+
"name": "target-org",
|
|
32
|
+
"noCacheDefault": true,
|
|
33
|
+
"required": true,
|
|
34
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
35
|
+
"hasDynamicHelp": true,
|
|
36
|
+
"multiple": false,
|
|
37
|
+
"type": "option"
|
|
38
|
+
},
|
|
39
|
+
"api-version": {
|
|
40
|
+
"description": "Override the api version used for api requests made by this command",
|
|
41
|
+
"name": "api-version",
|
|
42
|
+
"hasDynamicHelp": false,
|
|
43
|
+
"multiple": false,
|
|
44
|
+
"type": "option"
|
|
45
|
+
},
|
|
46
|
+
"target-stage-id": {
|
|
47
|
+
"char": "t",
|
|
48
|
+
"name": "target-stage-id",
|
|
49
|
+
"required": true,
|
|
50
|
+
"summary": "ID of the pipeline stage to promote to.",
|
|
51
|
+
"hasDynamicHelp": false,
|
|
52
|
+
"multiple": false,
|
|
53
|
+
"type": "option"
|
|
54
|
+
},
|
|
55
|
+
"work-item-id": {
|
|
56
|
+
"char": "i",
|
|
57
|
+
"description": "Specify this flag multiple times to promote multiple work items in a single operation.",
|
|
58
|
+
"exclusive": [
|
|
59
|
+
"stage-id"
|
|
60
|
+
],
|
|
61
|
+
"name": "work-item-id",
|
|
62
|
+
"required": false,
|
|
63
|
+
"summary": "ID of the work item to promote. Mutually exclusive with --stage-id.",
|
|
64
|
+
"hasDynamicHelp": false,
|
|
65
|
+
"multiple": true,
|
|
66
|
+
"type": "option"
|
|
67
|
+
},
|
|
68
|
+
"stage-id": {
|
|
69
|
+
"char": "s",
|
|
70
|
+
"exclusive": [
|
|
71
|
+
"work-item-id"
|
|
72
|
+
],
|
|
73
|
+
"name": "stage-id",
|
|
74
|
+
"required": false,
|
|
75
|
+
"summary": "ID of the source pipeline stage whose approved work items will be promoted. Mutually exclusive with --work-item-id.",
|
|
76
|
+
"hasDynamicHelp": false,
|
|
77
|
+
"multiple": false,
|
|
78
|
+
"type": "option"
|
|
79
|
+
},
|
|
80
|
+
"deploy-all": {
|
|
81
|
+
"char": "a",
|
|
82
|
+
"description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
|
|
83
|
+
"name": "deploy-all",
|
|
84
|
+
"summary": "Deploy all metadata in the branch to the stage's org.",
|
|
85
|
+
"allowNo": false,
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"test-level": {
|
|
89
|
+
"char": "l",
|
|
90
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see the section \"Running Tests in a Deployment\" in the \"Metadata API Developer Guide\". (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)",
|
|
91
|
+
"name": "test-level",
|
|
92
|
+
"summary": "Deployment Apex testing level.",
|
|
93
|
+
"hasDynamicHelp": false,
|
|
94
|
+
"multiple": false,
|
|
95
|
+
"options": [
|
|
96
|
+
"NoTestRun",
|
|
97
|
+
"RunSpecifiedTests",
|
|
98
|
+
"RunLocalTests",
|
|
99
|
+
"RunAllTestsInOrg"
|
|
100
|
+
],
|
|
101
|
+
"type": "option"
|
|
102
|
+
},
|
|
103
|
+
"tests": {
|
|
104
|
+
"description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
|
|
105
|
+
"name": "tests",
|
|
106
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
107
|
+
"hasDynamicHelp": false,
|
|
108
|
+
"multiple": true,
|
|
109
|
+
"type": "option"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"hasDynamicHelp": true,
|
|
113
|
+
"hiddenAliases": [],
|
|
114
|
+
"id": "devops:promote",
|
|
115
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
116
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
117
|
+
"pluginType": "core",
|
|
118
|
+
"strict": true,
|
|
119
|
+
"summary": "Promote work items or a pipeline stage to a target pipeline stage.",
|
|
120
|
+
"enableJsonFlag": true,
|
|
121
|
+
"isESM": true,
|
|
122
|
+
"relativePath": [
|
|
123
|
+
"lib",
|
|
124
|
+
"commands",
|
|
125
|
+
"devops",
|
|
126
|
+
"promote.js"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"devops:pipeline:create": {
|
|
130
|
+
"aliases": [],
|
|
131
|
+
"args": {},
|
|
132
|
+
"description": "Provide the URL of an existing repository, or use `--create-repo` with a repository name to create one. After you create the pipeline, add stages, and activate the pipeline.",
|
|
133
|
+
"examples": [
|
|
134
|
+
"Create a pipeline and associate it with an existing GitHub repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo",
|
|
135
|
+
"Create a pipeline and associate it with a new GitHub repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type github --repo-owner myorg --create-repo",
|
|
136
|
+
"Create a pipeline and create a new Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
137
|
+
"Create a pipeline with a description and associate it with an existing Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo --description \"Main CI/CD pipeline for production releases\""
|
|
138
|
+
],
|
|
139
|
+
"flags": {
|
|
140
|
+
"json": {
|
|
141
|
+
"description": "Format output as json.",
|
|
142
|
+
"helpGroup": "GLOBAL",
|
|
143
|
+
"name": "json",
|
|
144
|
+
"allowNo": false,
|
|
145
|
+
"type": "boolean"
|
|
146
|
+
},
|
|
147
|
+
"flags-dir": {
|
|
148
|
+
"helpGroup": "GLOBAL",
|
|
149
|
+
"name": "flags-dir",
|
|
150
|
+
"summary": "Import flag values from a directory.",
|
|
151
|
+
"hasDynamicHelp": false,
|
|
152
|
+
"multiple": false,
|
|
153
|
+
"type": "option"
|
|
154
|
+
},
|
|
155
|
+
"target-org": {
|
|
156
|
+
"char": "o",
|
|
157
|
+
"name": "target-org",
|
|
158
|
+
"noCacheDefault": true,
|
|
159
|
+
"required": true,
|
|
160
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
161
|
+
"hasDynamicHelp": true,
|
|
162
|
+
"multiple": false,
|
|
163
|
+
"type": "option"
|
|
164
|
+
},
|
|
165
|
+
"api-version": {
|
|
166
|
+
"description": "Override the api version used for api requests made by this command",
|
|
167
|
+
"name": "api-version",
|
|
168
|
+
"hasDynamicHelp": false,
|
|
169
|
+
"multiple": false,
|
|
170
|
+
"type": "option"
|
|
171
|
+
},
|
|
172
|
+
"name": {
|
|
173
|
+
"char": "n",
|
|
174
|
+
"name": "name",
|
|
175
|
+
"required": true,
|
|
176
|
+
"summary": "Name of the pipeline.",
|
|
177
|
+
"hasDynamicHelp": false,
|
|
178
|
+
"multiple": false,
|
|
179
|
+
"type": "option"
|
|
180
|
+
},
|
|
181
|
+
"repo": {
|
|
182
|
+
"char": "r",
|
|
183
|
+
"name": "repo",
|
|
184
|
+
"required": true,
|
|
185
|
+
"summary": "URL of an existing repository or the name of a repository to create.",
|
|
186
|
+
"hasDynamicHelp": false,
|
|
187
|
+
"multiple": false,
|
|
188
|
+
"type": "option"
|
|
189
|
+
},
|
|
190
|
+
"repo-type": {
|
|
191
|
+
"name": "repo-type",
|
|
192
|
+
"summary": "Type of the source code repository. Required when creating a repository using '--create-repo'.",
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"multiple": false,
|
|
195
|
+
"options": [
|
|
196
|
+
"github",
|
|
197
|
+
"bitbucket"
|
|
198
|
+
],
|
|
199
|
+
"type": "option"
|
|
200
|
+
},
|
|
201
|
+
"create-repo": {
|
|
202
|
+
"name": "create-repo",
|
|
203
|
+
"summary": "Create a repository if it doesn't exist.",
|
|
204
|
+
"allowNo": false,
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
207
|
+
"repo-owner": {
|
|
208
|
+
"name": "repo-owner",
|
|
209
|
+
"summary": "Owner (organization or user) of the GitHub repository. Required when creating a GitHub repository using '--create-repo'.",
|
|
210
|
+
"hasDynamicHelp": false,
|
|
211
|
+
"multiple": false,
|
|
212
|
+
"type": "option"
|
|
213
|
+
},
|
|
214
|
+
"bitbucket-workspace": {
|
|
215
|
+
"name": "bitbucket-workspace",
|
|
216
|
+
"summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
|
|
217
|
+
"hasDynamicHelp": false,
|
|
218
|
+
"multiple": false,
|
|
219
|
+
"type": "option"
|
|
220
|
+
},
|
|
221
|
+
"bitbucket-project-key": {
|
|
222
|
+
"name": "bitbucket-project-key",
|
|
223
|
+
"summary": "Bitbucket project key to associate with the repository. Optional when creating a Bitbucket repository using '--create-repo'.",
|
|
224
|
+
"hasDynamicHelp": false,
|
|
225
|
+
"multiple": false,
|
|
226
|
+
"type": "option"
|
|
227
|
+
},
|
|
228
|
+
"description": {
|
|
229
|
+
"char": "d",
|
|
230
|
+
"name": "description",
|
|
231
|
+
"summary": "Description of the pipeline.",
|
|
232
|
+
"hasDynamicHelp": false,
|
|
233
|
+
"multiple": false,
|
|
234
|
+
"type": "option"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"hasDynamicHelp": true,
|
|
238
|
+
"hiddenAliases": [],
|
|
239
|
+
"id": "devops:pipeline:create",
|
|
240
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
241
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
242
|
+
"pluginType": "core",
|
|
243
|
+
"strict": true,
|
|
244
|
+
"summary": "Create a DevOps Center pipeline.",
|
|
245
|
+
"enableJsonFlag": true,
|
|
246
|
+
"isESM": true,
|
|
247
|
+
"relativePath": [
|
|
248
|
+
"lib",
|
|
249
|
+
"commands",
|
|
250
|
+
"devops",
|
|
251
|
+
"pipeline",
|
|
252
|
+
"create.js"
|
|
253
|
+
]
|
|
254
|
+
},
|
|
255
|
+
"devops:pipeline:get": {
|
|
256
|
+
"aliases": [],
|
|
257
|
+
"args": {},
|
|
258
|
+
"description": "Returns full details for a single DevOps Center pipeline: its stages in order, the source code repository and branch associated with each stage, and any connected projects.",
|
|
259
|
+
"examples": [
|
|
260
|
+
"Get details for a specific pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Do000000000001"
|
|
261
|
+
],
|
|
262
|
+
"flags": {
|
|
263
|
+
"json": {
|
|
264
|
+
"description": "Format output as json.",
|
|
265
|
+
"helpGroup": "GLOBAL",
|
|
266
|
+
"name": "json",
|
|
267
|
+
"allowNo": false,
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
},
|
|
270
|
+
"flags-dir": {
|
|
271
|
+
"helpGroup": "GLOBAL",
|
|
272
|
+
"name": "flags-dir",
|
|
273
|
+
"summary": "Import flag values from a directory.",
|
|
274
|
+
"hasDynamicHelp": false,
|
|
275
|
+
"multiple": false,
|
|
276
|
+
"type": "option"
|
|
277
|
+
},
|
|
278
|
+
"target-org": {
|
|
279
|
+
"char": "o",
|
|
280
|
+
"name": "target-org",
|
|
281
|
+
"noCacheDefault": true,
|
|
282
|
+
"required": true,
|
|
283
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
284
|
+
"hasDynamicHelp": true,
|
|
285
|
+
"multiple": false,
|
|
286
|
+
"type": "option"
|
|
287
|
+
},
|
|
288
|
+
"api-version": {
|
|
289
|
+
"description": "Override the api version used for api requests made by this command",
|
|
290
|
+
"name": "api-version",
|
|
291
|
+
"hasDynamicHelp": false,
|
|
292
|
+
"multiple": false,
|
|
293
|
+
"type": "option"
|
|
294
|
+
},
|
|
295
|
+
"pipeline-id": {
|
|
296
|
+
"char": "i",
|
|
297
|
+
"name": "pipeline-id",
|
|
298
|
+
"required": true,
|
|
299
|
+
"summary": "ID of the DevOps Center pipeline.",
|
|
300
|
+
"hasDynamicHelp": false,
|
|
301
|
+
"multiple": false,
|
|
302
|
+
"type": "option"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"hasDynamicHelp": true,
|
|
306
|
+
"hiddenAliases": [],
|
|
307
|
+
"id": "devops:pipeline:get",
|
|
308
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
309
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
310
|
+
"pluginType": "core",
|
|
311
|
+
"strict": true,
|
|
312
|
+
"summary": "Get details of a DevOps Center pipeline including its stages, repositories, and connected projects.",
|
|
313
|
+
"enableJsonFlag": true,
|
|
314
|
+
"isESM": true,
|
|
315
|
+
"relativePath": [
|
|
316
|
+
"lib",
|
|
317
|
+
"commands",
|
|
318
|
+
"devops",
|
|
319
|
+
"pipeline",
|
|
320
|
+
"get.js"
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"devops:pipeline:list": {
|
|
324
|
+
"aliases": [],
|
|
325
|
+
"args": {},
|
|
326
|
+
"description": "Returns all DevOps Center pipelines in the org, including each pipeline's stages (in order), source code repository information per stage, and any connected projects.",
|
|
327
|
+
"examples": [
|
|
328
|
+
"List all pipelines in the org:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org"
|
|
329
|
+
],
|
|
330
|
+
"flags": {
|
|
331
|
+
"json": {
|
|
332
|
+
"description": "Format output as json.",
|
|
333
|
+
"helpGroup": "GLOBAL",
|
|
334
|
+
"name": "json",
|
|
335
|
+
"allowNo": false,
|
|
336
|
+
"type": "boolean"
|
|
337
|
+
},
|
|
338
|
+
"flags-dir": {
|
|
339
|
+
"helpGroup": "GLOBAL",
|
|
340
|
+
"name": "flags-dir",
|
|
341
|
+
"summary": "Import flag values from a directory.",
|
|
342
|
+
"hasDynamicHelp": false,
|
|
343
|
+
"multiple": false,
|
|
344
|
+
"type": "option"
|
|
345
|
+
},
|
|
346
|
+
"target-org": {
|
|
347
|
+
"char": "o",
|
|
348
|
+
"name": "target-org",
|
|
349
|
+
"noCacheDefault": true,
|
|
350
|
+
"required": true,
|
|
351
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
352
|
+
"hasDynamicHelp": true,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
355
|
+
},
|
|
356
|
+
"api-version": {
|
|
357
|
+
"description": "Override the api version used for api requests made by this command",
|
|
358
|
+
"name": "api-version",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"hasDynamicHelp": true,
|
|
365
|
+
"hiddenAliases": [],
|
|
366
|
+
"id": "devops:pipeline:list",
|
|
367
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
368
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
369
|
+
"pluginType": "core",
|
|
370
|
+
"strict": true,
|
|
371
|
+
"summary": "List DevOps Center pipelines with their stages, repositories, and connected projects.",
|
|
372
|
+
"enableJsonFlag": true,
|
|
373
|
+
"isESM": true,
|
|
374
|
+
"relativePath": [
|
|
375
|
+
"lib",
|
|
376
|
+
"commands",
|
|
377
|
+
"devops",
|
|
378
|
+
"pipeline",
|
|
379
|
+
"list.js"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"devops:pipeline:update": {
|
|
383
|
+
"aliases": [],
|
|
384
|
+
"args": {},
|
|
385
|
+
"description": "Activate, deactivate, or rename a DevOps Center pipeline. Use --active to activate, --no-active to deactivate, and --name to rename. You can combine --no-active and --name in one command.\n\nA pipeline must have at least one stage before you can activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
|
|
386
|
+
"examples": [
|
|
387
|
+
"Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --active",
|
|
388
|
+
"Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --no-active --name \"My Pipeline\""
|
|
389
|
+
],
|
|
390
|
+
"flags": {
|
|
391
|
+
"json": {
|
|
392
|
+
"description": "Format output as json.",
|
|
393
|
+
"helpGroup": "GLOBAL",
|
|
394
|
+
"name": "json",
|
|
395
|
+
"allowNo": false,
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
398
|
+
"flags-dir": {
|
|
399
|
+
"helpGroup": "GLOBAL",
|
|
400
|
+
"name": "flags-dir",
|
|
401
|
+
"summary": "Import flag values from a directory.",
|
|
402
|
+
"hasDynamicHelp": false,
|
|
403
|
+
"multiple": false,
|
|
404
|
+
"type": "option"
|
|
405
|
+
},
|
|
406
|
+
"target-org": {
|
|
407
|
+
"char": "o",
|
|
408
|
+
"name": "target-org",
|
|
409
|
+
"noCacheDefault": true,
|
|
410
|
+
"required": true,
|
|
411
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
412
|
+
"hasDynamicHelp": true,
|
|
413
|
+
"multiple": false,
|
|
414
|
+
"type": "option"
|
|
415
|
+
},
|
|
416
|
+
"api-version": {
|
|
417
|
+
"description": "Override the api version used for api requests made by this command",
|
|
418
|
+
"name": "api-version",
|
|
419
|
+
"hasDynamicHelp": false,
|
|
420
|
+
"multiple": false,
|
|
421
|
+
"type": "option"
|
|
422
|
+
},
|
|
423
|
+
"pipeline-id": {
|
|
424
|
+
"name": "pipeline-id",
|
|
425
|
+
"required": true,
|
|
426
|
+
"summary": "ID of the pipeline.",
|
|
427
|
+
"hasDynamicHelp": false,
|
|
428
|
+
"multiple": false,
|
|
429
|
+
"type": "option"
|
|
430
|
+
},
|
|
431
|
+
"active": {
|
|
432
|
+
"name": "active",
|
|
433
|
+
"required": false,
|
|
434
|
+
"summary": "Activate the pipeline. Use --no-active to deactivate.",
|
|
435
|
+
"allowNo": true,
|
|
436
|
+
"type": "boolean"
|
|
437
|
+
},
|
|
438
|
+
"name": {
|
|
439
|
+
"char": "n",
|
|
440
|
+
"name": "name",
|
|
441
|
+
"required": false,
|
|
442
|
+
"summary": "New name for the pipeline.",
|
|
443
|
+
"hasDynamicHelp": false,
|
|
444
|
+
"multiple": false,
|
|
445
|
+
"type": "option"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"hasDynamicHelp": true,
|
|
449
|
+
"hiddenAliases": [],
|
|
450
|
+
"id": "devops:pipeline:update",
|
|
451
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
452
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
453
|
+
"pluginType": "core",
|
|
454
|
+
"strict": true,
|
|
455
|
+
"summary": "Update a DevOps Center pipeline.",
|
|
456
|
+
"enableJsonFlag": true,
|
|
457
|
+
"isESM": true,
|
|
458
|
+
"relativePath": [
|
|
459
|
+
"lib",
|
|
460
|
+
"commands",
|
|
461
|
+
"devops",
|
|
462
|
+
"pipeline",
|
|
463
|
+
"update.js"
|
|
464
|
+
]
|
|
465
|
+
},
|
|
3
466
|
"devops:project:create": {
|
|
4
467
|
"aliases": [],
|
|
5
468
|
"args": {},
|
|
6
|
-
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
469
|
+
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
470
|
+
"examples": [
|
|
471
|
+
"Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
|
|
472
|
+
"Create a project with a name and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Platform Update\" --description \"Platform services update\""
|
|
473
|
+
],
|
|
474
|
+
"flags": {
|
|
475
|
+
"json": {
|
|
476
|
+
"description": "Format output as json.",
|
|
477
|
+
"helpGroup": "GLOBAL",
|
|
478
|
+
"name": "json",
|
|
479
|
+
"allowNo": false,
|
|
480
|
+
"type": "boolean"
|
|
481
|
+
},
|
|
482
|
+
"flags-dir": {
|
|
483
|
+
"helpGroup": "GLOBAL",
|
|
484
|
+
"name": "flags-dir",
|
|
485
|
+
"summary": "Import flag values from a directory.",
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"multiple": false,
|
|
488
|
+
"type": "option"
|
|
489
|
+
},
|
|
490
|
+
"target-org": {
|
|
491
|
+
"char": "o",
|
|
492
|
+
"name": "target-org",
|
|
493
|
+
"noCacheDefault": true,
|
|
494
|
+
"required": true,
|
|
495
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
496
|
+
"hasDynamicHelp": true,
|
|
497
|
+
"multiple": false,
|
|
498
|
+
"type": "option"
|
|
499
|
+
},
|
|
500
|
+
"api-version": {
|
|
501
|
+
"description": "Override the api version used for api requests made by this command",
|
|
502
|
+
"name": "api-version",
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"multiple": false,
|
|
505
|
+
"type": "option"
|
|
506
|
+
},
|
|
507
|
+
"name": {
|
|
508
|
+
"char": "n",
|
|
509
|
+
"name": "name",
|
|
510
|
+
"required": true,
|
|
511
|
+
"summary": "Name of the new DevOps Center project.",
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
515
|
+
},
|
|
516
|
+
"description": {
|
|
517
|
+
"char": "d",
|
|
518
|
+
"name": "description",
|
|
519
|
+
"summary": "Description of the new project; if not specified, the description is blank.",
|
|
520
|
+
"hasDynamicHelp": false,
|
|
521
|
+
"multiple": false,
|
|
522
|
+
"type": "option"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"hasDynamicHelp": true,
|
|
526
|
+
"hiddenAliases": [],
|
|
527
|
+
"id": "devops:project:create",
|
|
528
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
529
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
530
|
+
"pluginType": "core",
|
|
531
|
+
"strict": true,
|
|
532
|
+
"summary": "Create a DevOps Center project in a DevOps Center org.",
|
|
533
|
+
"enableJsonFlag": true,
|
|
534
|
+
"isESM": true,
|
|
535
|
+
"relativePath": [
|
|
536
|
+
"lib",
|
|
537
|
+
"commands",
|
|
538
|
+
"devops",
|
|
539
|
+
"project",
|
|
540
|
+
"create.js"
|
|
541
|
+
]
|
|
542
|
+
},
|
|
543
|
+
"devops:project:list": {
|
|
544
|
+
"aliases": [],
|
|
545
|
+
"args": {},
|
|
546
|
+
"description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
|
|
547
|
+
"examples": [
|
|
548
|
+
"List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
|
|
549
|
+
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
550
|
+
],
|
|
551
|
+
"flags": {
|
|
552
|
+
"json": {
|
|
553
|
+
"description": "Format output as json.",
|
|
554
|
+
"helpGroup": "GLOBAL",
|
|
555
|
+
"name": "json",
|
|
556
|
+
"allowNo": false,
|
|
557
|
+
"type": "boolean"
|
|
558
|
+
},
|
|
559
|
+
"flags-dir": {
|
|
560
|
+
"helpGroup": "GLOBAL",
|
|
561
|
+
"name": "flags-dir",
|
|
562
|
+
"summary": "Import flag values from a directory.",
|
|
563
|
+
"hasDynamicHelp": false,
|
|
564
|
+
"multiple": false,
|
|
565
|
+
"type": "option"
|
|
566
|
+
},
|
|
567
|
+
"target-org": {
|
|
568
|
+
"char": "o",
|
|
569
|
+
"name": "target-org",
|
|
570
|
+
"noCacheDefault": true,
|
|
571
|
+
"required": true,
|
|
572
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
573
|
+
"hasDynamicHelp": true,
|
|
574
|
+
"multiple": false,
|
|
575
|
+
"type": "option"
|
|
576
|
+
},
|
|
577
|
+
"api-version": {
|
|
578
|
+
"description": "Override the api version used for api requests made by this command",
|
|
579
|
+
"name": "api-version",
|
|
580
|
+
"hasDynamicHelp": false,
|
|
581
|
+
"multiple": false,
|
|
582
|
+
"type": "option"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"hasDynamicHelp": true,
|
|
586
|
+
"hiddenAliases": [],
|
|
587
|
+
"id": "devops:project:list",
|
|
588
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
589
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
590
|
+
"pluginType": "core",
|
|
591
|
+
"strict": true,
|
|
592
|
+
"summary": "List all DevOps Center projects in a Salesforce org.",
|
|
593
|
+
"enableJsonFlag": true,
|
|
594
|
+
"isESM": true,
|
|
595
|
+
"relativePath": [
|
|
596
|
+
"lib",
|
|
597
|
+
"commands",
|
|
598
|
+
"devops",
|
|
599
|
+
"project",
|
|
600
|
+
"list.js"
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
"devops:project:update": {
|
|
604
|
+
"aliases": [],
|
|
605
|
+
"args": {},
|
|
606
|
+
"description": "Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.",
|
|
607
|
+
"examples": [
|
|
608
|
+
"Rename a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"MyApp Release v2\"",
|
|
609
|
+
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
610
|
+
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
611
|
+
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
612
|
+
],
|
|
613
|
+
"flags": {
|
|
614
|
+
"json": {
|
|
615
|
+
"description": "Format output as json.",
|
|
616
|
+
"helpGroup": "GLOBAL",
|
|
617
|
+
"name": "json",
|
|
618
|
+
"allowNo": false,
|
|
619
|
+
"type": "boolean"
|
|
620
|
+
},
|
|
621
|
+
"flags-dir": {
|
|
622
|
+
"helpGroup": "GLOBAL",
|
|
623
|
+
"name": "flags-dir",
|
|
624
|
+
"summary": "Import flag values from a directory.",
|
|
625
|
+
"hasDynamicHelp": false,
|
|
626
|
+
"multiple": false,
|
|
627
|
+
"type": "option"
|
|
628
|
+
},
|
|
629
|
+
"target-org": {
|
|
630
|
+
"char": "o",
|
|
631
|
+
"name": "target-org",
|
|
632
|
+
"noCacheDefault": true,
|
|
633
|
+
"required": true,
|
|
634
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
635
|
+
"hasDynamicHelp": true,
|
|
636
|
+
"multiple": false,
|
|
637
|
+
"type": "option"
|
|
638
|
+
},
|
|
639
|
+
"api-version": {
|
|
640
|
+
"description": "Override the api version used for api requests made by this command",
|
|
641
|
+
"name": "api-version",
|
|
642
|
+
"hasDynamicHelp": false,
|
|
643
|
+
"multiple": false,
|
|
644
|
+
"type": "option"
|
|
645
|
+
},
|
|
646
|
+
"project-id": {
|
|
647
|
+
"char": "i",
|
|
648
|
+
"name": "project-id",
|
|
649
|
+
"required": true,
|
|
650
|
+
"summary": "ID of the DevOps Center project to update.",
|
|
651
|
+
"hasDynamicHelp": false,
|
|
652
|
+
"multiple": false,
|
|
653
|
+
"type": "option"
|
|
654
|
+
},
|
|
655
|
+
"name": {
|
|
656
|
+
"char": "n",
|
|
657
|
+
"name": "name",
|
|
658
|
+
"summary": "New name for the project.",
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"multiple": false,
|
|
661
|
+
"type": "option"
|
|
662
|
+
},
|
|
663
|
+
"description": {
|
|
664
|
+
"char": "d",
|
|
665
|
+
"name": "description",
|
|
666
|
+
"summary": "New description for the project.",
|
|
667
|
+
"hasDynamicHelp": false,
|
|
668
|
+
"multiple": false,
|
|
669
|
+
"type": "option"
|
|
670
|
+
},
|
|
671
|
+
"is-active": {
|
|
672
|
+
"name": "is-active",
|
|
673
|
+
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
674
|
+
"allowNo": true,
|
|
675
|
+
"type": "boolean"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"hasDynamicHelp": true,
|
|
679
|
+
"hiddenAliases": [],
|
|
680
|
+
"id": "devops:project:update",
|
|
681
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
682
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
683
|
+
"pluginType": "core",
|
|
684
|
+
"strict": true,
|
|
685
|
+
"summary": "Update a DevOps Center project.",
|
|
686
|
+
"enableJsonFlag": true,
|
|
687
|
+
"isESM": true,
|
|
688
|
+
"relativePath": [
|
|
689
|
+
"lib",
|
|
690
|
+
"commands",
|
|
691
|
+
"devops",
|
|
692
|
+
"project",
|
|
693
|
+
"update.js"
|
|
694
|
+
]
|
|
695
|
+
},
|
|
696
|
+
"devops:promotion:complete": {
|
|
697
|
+
"aliases": [],
|
|
698
|
+
"args": {},
|
|
699
|
+
"description": "Deploys work items that were merged into the pipeline branch outside of DevOps Center (externally merged) into the target stage org and updates DevOps Center records. Equivalent to the \"Complete Promotion\" action in the DevOps Center UI when a stage is out of sync.\n\nIf no undeployed work items are found for the stage, the command exits successfully with no action taken.",
|
|
700
|
+
"examples": [
|
|
701
|
+
"Complete a promotion for an out-of-sync pipeline stage.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001",
|
|
702
|
+
"Complete a promotion for a specific work item (e.g. first stage of a pipeline).\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001",
|
|
703
|
+
"Complete a promotion with full deploy and a specific test level.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --deploy-all --test-level RunLocalTests"
|
|
704
|
+
],
|
|
705
|
+
"flags": {
|
|
706
|
+
"json": {
|
|
707
|
+
"description": "Format output as json.",
|
|
708
|
+
"helpGroup": "GLOBAL",
|
|
709
|
+
"name": "json",
|
|
710
|
+
"allowNo": false,
|
|
711
|
+
"type": "boolean"
|
|
712
|
+
},
|
|
713
|
+
"flags-dir": {
|
|
714
|
+
"helpGroup": "GLOBAL",
|
|
715
|
+
"name": "flags-dir",
|
|
716
|
+
"summary": "Import flag values from a directory.",
|
|
717
|
+
"hasDynamicHelp": false,
|
|
718
|
+
"multiple": false,
|
|
719
|
+
"type": "option"
|
|
720
|
+
},
|
|
721
|
+
"target-org": {
|
|
722
|
+
"char": "o",
|
|
723
|
+
"name": "target-org",
|
|
724
|
+
"noCacheDefault": true,
|
|
725
|
+
"required": true,
|
|
726
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
727
|
+
"hasDynamicHelp": true,
|
|
728
|
+
"multiple": false,
|
|
729
|
+
"type": "option"
|
|
730
|
+
},
|
|
731
|
+
"api-version": {
|
|
732
|
+
"description": "Override the api version used for api requests made by this command",
|
|
733
|
+
"name": "api-version",
|
|
734
|
+
"hasDynamicHelp": false,
|
|
735
|
+
"multiple": false,
|
|
736
|
+
"type": "option"
|
|
737
|
+
},
|
|
738
|
+
"target-stage-id": {
|
|
739
|
+
"char": "t",
|
|
740
|
+
"name": "target-stage-id",
|
|
741
|
+
"required": true,
|
|
742
|
+
"summary": "ID of the out-of-sync pipeline stage to deploy to.",
|
|
743
|
+
"hasDynamicHelp": false,
|
|
744
|
+
"multiple": false,
|
|
745
|
+
"type": "option"
|
|
746
|
+
},
|
|
747
|
+
"work-item-id": {
|
|
748
|
+
"char": "i",
|
|
749
|
+
"name": "work-item-id",
|
|
750
|
+
"required": false,
|
|
751
|
+
"summary": "ID of a specific work item to deploy. Omit to deploy all undeployed work items for the stage. Use this for the first stage of a pipeline where no source stage exists.",
|
|
752
|
+
"hasDynamicHelp": false,
|
|
753
|
+
"multiple": true,
|
|
754
|
+
"type": "option"
|
|
755
|
+
},
|
|
756
|
+
"deploy-all": {
|
|
757
|
+
"char": "a",
|
|
758
|
+
"description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
|
|
759
|
+
"name": "deploy-all",
|
|
760
|
+
"summary": "Deploy all metadata in the branch to the stage's org.",
|
|
761
|
+
"allowNo": false,
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
"test-level": {
|
|
765
|
+
"char": "l",
|
|
766
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see the section \"Running Tests in a Deployment\" in the \"Metadata API Developer Guide\". (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)",
|
|
767
|
+
"name": "test-level",
|
|
768
|
+
"summary": "Deployment Apex testing level.",
|
|
769
|
+
"hasDynamicHelp": false,
|
|
770
|
+
"multiple": false,
|
|
771
|
+
"options": [
|
|
772
|
+
"NoTestRun",
|
|
773
|
+
"RunSpecifiedTests",
|
|
774
|
+
"RunLocalTests",
|
|
775
|
+
"RunAllTestsInOrg"
|
|
776
|
+
],
|
|
777
|
+
"type": "option"
|
|
778
|
+
},
|
|
779
|
+
"tests": {
|
|
780
|
+
"description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
|
|
781
|
+
"name": "tests",
|
|
782
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
783
|
+
"hasDynamicHelp": false,
|
|
784
|
+
"multiple": true,
|
|
785
|
+
"type": "option"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"hasDynamicHelp": true,
|
|
789
|
+
"hiddenAliases": [],
|
|
790
|
+
"id": "devops:promotion:complete",
|
|
791
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
792
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
793
|
+
"pluginType": "core",
|
|
794
|
+
"strict": true,
|
|
795
|
+
"summary": "Deploy undeployed work items to a pipeline stage org.",
|
|
796
|
+
"enableJsonFlag": true,
|
|
797
|
+
"isESM": true,
|
|
798
|
+
"relativePath": [
|
|
799
|
+
"lib",
|
|
800
|
+
"commands",
|
|
801
|
+
"devops",
|
|
802
|
+
"promotion",
|
|
803
|
+
"complete.js"
|
|
804
|
+
]
|
|
805
|
+
},
|
|
806
|
+
"devops:request:status": {
|
|
807
|
+
"aliases": [],
|
|
808
|
+
"args": {},
|
|
809
|
+
"description": "Returns the current status of a request identified by its request token.",
|
|
810
|
+
"examples": [
|
|
811
|
+
"Get the status of a request:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --request-token a0B000000000001"
|
|
812
|
+
],
|
|
813
|
+
"flags": {
|
|
814
|
+
"json": {
|
|
815
|
+
"description": "Format output as json.",
|
|
816
|
+
"helpGroup": "GLOBAL",
|
|
817
|
+
"name": "json",
|
|
818
|
+
"allowNo": false,
|
|
819
|
+
"type": "boolean"
|
|
820
|
+
},
|
|
821
|
+
"flags-dir": {
|
|
822
|
+
"helpGroup": "GLOBAL",
|
|
823
|
+
"name": "flags-dir",
|
|
824
|
+
"summary": "Import flag values from a directory.",
|
|
825
|
+
"hasDynamicHelp": false,
|
|
826
|
+
"multiple": false,
|
|
827
|
+
"type": "option"
|
|
828
|
+
},
|
|
829
|
+
"target-org": {
|
|
830
|
+
"char": "o",
|
|
831
|
+
"name": "target-org",
|
|
832
|
+
"noCacheDefault": true,
|
|
833
|
+
"required": true,
|
|
834
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
835
|
+
"hasDynamicHelp": true,
|
|
836
|
+
"multiple": false,
|
|
837
|
+
"type": "option"
|
|
838
|
+
},
|
|
839
|
+
"api-version": {
|
|
840
|
+
"description": "Override the api version used for api requests made by this command",
|
|
841
|
+
"name": "api-version",
|
|
842
|
+
"hasDynamicHelp": false,
|
|
843
|
+
"multiple": false,
|
|
844
|
+
"type": "option"
|
|
845
|
+
},
|
|
846
|
+
"request-token": {
|
|
847
|
+
"char": "i",
|
|
848
|
+
"name": "request-token",
|
|
849
|
+
"required": true,
|
|
850
|
+
"summary": "Request token from the promote response.",
|
|
851
|
+
"hasDynamicHelp": false,
|
|
852
|
+
"multiple": false,
|
|
853
|
+
"type": "option"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"hasDynamicHelp": true,
|
|
857
|
+
"hiddenAliases": [],
|
|
858
|
+
"id": "devops:request:status",
|
|
859
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
860
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
861
|
+
"pluginType": "core",
|
|
862
|
+
"strict": true,
|
|
863
|
+
"summary": "Get the status of a request.",
|
|
864
|
+
"enableJsonFlag": true,
|
|
865
|
+
"isESM": true,
|
|
866
|
+
"relativePath": [
|
|
867
|
+
"lib",
|
|
868
|
+
"commands",
|
|
869
|
+
"devops",
|
|
870
|
+
"request",
|
|
871
|
+
"status.js"
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
"devops:review:create": {
|
|
875
|
+
"aliases": [],
|
|
876
|
+
"args": {},
|
|
877
|
+
"description": "Creates a pull request via the Salesforce DevOps Center API, using the VCS credentials stored in the org. Works with GitHub and Bitbucket without requiring local VCS authentication.",
|
|
7
878
|
"examples": [
|
|
8
|
-
"Create a
|
|
9
|
-
"Create a
|
|
879
|
+
"Create a pull request for a work item.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
|
|
880
|
+
"Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
|
|
10
881
|
],
|
|
11
882
|
"flags": {
|
|
12
883
|
"json": {
|
|
@@ -41,19 +912,18 @@
|
|
|
41
912
|
"multiple": false,
|
|
42
913
|
"type": "option"
|
|
43
914
|
},
|
|
44
|
-
"name": {
|
|
915
|
+
"work-item-name": {
|
|
45
916
|
"char": "n",
|
|
46
|
-
"name": "name",
|
|
47
|
-
"
|
|
48
|
-
"summary": "Name of the new DevOps Center project.",
|
|
917
|
+
"name": "work-item-name",
|
|
918
|
+
"summary": "Name of the work item, such as WI-000001.",
|
|
49
919
|
"hasDynamicHelp": false,
|
|
50
920
|
"multiple": false,
|
|
51
921
|
"type": "option"
|
|
52
922
|
},
|
|
53
|
-
"
|
|
54
|
-
"char": "
|
|
55
|
-
"name": "
|
|
56
|
-
"summary": "
|
|
923
|
+
"work-item-id": {
|
|
924
|
+
"char": "w",
|
|
925
|
+
"name": "work-item-id",
|
|
926
|
+
"summary": "ID of the work item.",
|
|
57
927
|
"hasDynamicHelp": false,
|
|
58
928
|
"multiple": false,
|
|
59
929
|
"type": "option"
|
|
@@ -61,29 +931,28 @@
|
|
|
61
931
|
},
|
|
62
932
|
"hasDynamicHelp": true,
|
|
63
933
|
"hiddenAliases": [],
|
|
64
|
-
"id": "devops:
|
|
934
|
+
"id": "devops:review:create",
|
|
65
935
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
66
936
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
67
937
|
"pluginType": "core",
|
|
68
938
|
"strict": true,
|
|
69
|
-
"summary": "Create a
|
|
939
|
+
"summary": "Create a pull request for a work item branch.",
|
|
70
940
|
"enableJsonFlag": true,
|
|
71
941
|
"isESM": true,
|
|
72
942
|
"relativePath": [
|
|
73
943
|
"lib",
|
|
74
944
|
"commands",
|
|
75
945
|
"devops",
|
|
76
|
-
"
|
|
946
|
+
"review",
|
|
77
947
|
"create.js"
|
|
78
948
|
]
|
|
79
949
|
},
|
|
80
|
-
"devops:
|
|
950
|
+
"devops:work-item:combine": {
|
|
81
951
|
"aliases": [],
|
|
82
952
|
"args": {},
|
|
83
|
-
"description": "
|
|
953
|
+
"description": "Use this command when work items in the same stage share metadata or have dependencies. DevOps Center combines the selected work items so they can be promoted together during custom promotion.\n\nAfter running this command, use \"sf devops work-item promote\" with the parent work item ID to complete the promotion. The combined work items are promoted as a single unit.",
|
|
84
954
|
"examples": [
|
|
85
|
-
"
|
|
86
|
-
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
955
|
+
"Prepare three work items to be combined to prevent conflicts during promotion:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --parent-work-item-id 0Wx000000000001 --child-work-item-id 0Wx000000000002 --child-work-item-id 0Wx000000000003 --target-stage-id 05S000000000002"
|
|
87
956
|
],
|
|
88
957
|
"flags": {
|
|
89
958
|
"json": {
|
|
@@ -117,32 +986,60 @@
|
|
|
117
986
|
"hasDynamicHelp": false,
|
|
118
987
|
"multiple": false,
|
|
119
988
|
"type": "option"
|
|
989
|
+
},
|
|
990
|
+
"parent-work-item-id": {
|
|
991
|
+
"description": "The parent work item is the primary work item that continues through the pipeline. Changes from all child work items are merged into the parent's branch during promotion.",
|
|
992
|
+
"name": "parent-work-item-id",
|
|
993
|
+
"required": true,
|
|
994
|
+
"summary": "ID of the parent work item.",
|
|
995
|
+
"hasDynamicHelp": false,
|
|
996
|
+
"multiple": false,
|
|
997
|
+
"type": "option"
|
|
998
|
+
},
|
|
999
|
+
"child-work-item-id": {
|
|
1000
|
+
"description": "Specify this flag multiple times to combine multiple work items with the parent.",
|
|
1001
|
+
"name": "child-work-item-id",
|
|
1002
|
+
"required": true,
|
|
1003
|
+
"summary": "ID of a work item to combine.",
|
|
1004
|
+
"hasDynamicHelp": false,
|
|
1005
|
+
"multiple": true,
|
|
1006
|
+
"type": "option"
|
|
1007
|
+
},
|
|
1008
|
+
"target-stage-id": {
|
|
1009
|
+
"char": "t",
|
|
1010
|
+
"name": "target-stage-id",
|
|
1011
|
+
"required": true,
|
|
1012
|
+
"summary": "ID of the pipeline stage to promote the combined work item to.",
|
|
1013
|
+
"hasDynamicHelp": false,
|
|
1014
|
+
"multiple": false,
|
|
1015
|
+
"type": "option"
|
|
120
1016
|
}
|
|
121
1017
|
},
|
|
122
1018
|
"hasDynamicHelp": true,
|
|
123
1019
|
"hiddenAliases": [],
|
|
124
|
-
"id": "devops:
|
|
1020
|
+
"id": "devops:work-item:combine",
|
|
125
1021
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
126
1022
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
127
1023
|
"pluginType": "core",
|
|
128
1024
|
"strict": true,
|
|
129
|
-
"summary": "
|
|
1025
|
+
"summary": "Prepare work items to be combined for custom promotion.",
|
|
130
1026
|
"enableJsonFlag": true,
|
|
131
1027
|
"isESM": true,
|
|
132
1028
|
"relativePath": [
|
|
133
1029
|
"lib",
|
|
134
1030
|
"commands",
|
|
135
1031
|
"devops",
|
|
136
|
-
"
|
|
137
|
-
"
|
|
1032
|
+
"work-item",
|
|
1033
|
+
"combine.js"
|
|
138
1034
|
]
|
|
139
1035
|
},
|
|
140
|
-
"devops:
|
|
1036
|
+
"devops:work-item:create": {
|
|
141
1037
|
"aliases": [],
|
|
142
1038
|
"args": {},
|
|
143
|
-
"description": "
|
|
1039
|
+
"description": "The command creates the work item using the Connect API. Requires a project ID and a subject for the new work item; run the `devops project list` command to get the IDs for all existing projects.",
|
|
144
1040
|
"examples": [
|
|
145
|
-
"
|
|
1041
|
+
"Create a work item for the project with the specified ID and give the work item the specified subject (title); use the DevOps Center org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Fix login bug\"",
|
|
1042
|
+
"Create a work item with a subject and description:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Add dark mode\" --description \"Implement dark mode toggle in settings page\""
|
|
146
1043
|
],
|
|
147
1044
|
"flags": {
|
|
148
1045
|
"json": {
|
|
@@ -177,10 +1074,28 @@
|
|
|
177
1074
|
"multiple": false,
|
|
178
1075
|
"type": "option"
|
|
179
1076
|
},
|
|
180
|
-
"
|
|
181
|
-
"
|
|
1077
|
+
"project-id": {
|
|
1078
|
+
"char": "p",
|
|
1079
|
+
"name": "project-id",
|
|
182
1080
|
"required": true,
|
|
183
|
-
"summary": "ID of the
|
|
1081
|
+
"summary": "ID of the DevOps Center project to create the work item in.",
|
|
1082
|
+
"hasDynamicHelp": false,
|
|
1083
|
+
"multiple": false,
|
|
1084
|
+
"type": "option"
|
|
1085
|
+
},
|
|
1086
|
+
"subject": {
|
|
1087
|
+
"char": "s",
|
|
1088
|
+
"name": "subject",
|
|
1089
|
+
"required": true,
|
|
1090
|
+
"summary": "Subject (title) of the new work item.",
|
|
1091
|
+
"hasDynamicHelp": false,
|
|
1092
|
+
"multiple": false,
|
|
1093
|
+
"type": "option"
|
|
1094
|
+
},
|
|
1095
|
+
"description": {
|
|
1096
|
+
"char": "d",
|
|
1097
|
+
"name": "description",
|
|
1098
|
+
"summary": "Description of the new work item; if not specified, the description is blank.",
|
|
184
1099
|
"hasDynamicHelp": false,
|
|
185
1100
|
"multiple": false,
|
|
186
1101
|
"type": "option"
|
|
@@ -188,31 +1103,29 @@
|
|
|
188
1103
|
},
|
|
189
1104
|
"hasDynamicHelp": true,
|
|
190
1105
|
"hiddenAliases": [],
|
|
191
|
-
"id": "devops:
|
|
1106
|
+
"id": "devops:work-item:create",
|
|
192
1107
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
193
1108
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
194
1109
|
"pluginType": "core",
|
|
195
1110
|
"strict": true,
|
|
196
|
-
"summary": "
|
|
1111
|
+
"summary": "Create a new work item in a DevOps Center project.",
|
|
197
1112
|
"enableJsonFlag": true,
|
|
198
1113
|
"isESM": true,
|
|
199
1114
|
"relativePath": [
|
|
200
1115
|
"lib",
|
|
201
1116
|
"commands",
|
|
202
1117
|
"devops",
|
|
203
|
-
"
|
|
204
|
-
"
|
|
1118
|
+
"work-item",
|
|
1119
|
+
"create.js"
|
|
205
1120
|
]
|
|
206
1121
|
},
|
|
207
|
-
"devops:
|
|
1122
|
+
"devops:work-item:list": {
|
|
208
1123
|
"aliases": [],
|
|
209
1124
|
"args": {},
|
|
210
|
-
"description": "
|
|
1125
|
+
"description": "Each work item displays the branch, environment, and repository details needed for checkout and promotion. Requires a project ID; run the `devops project list` command to get the IDs for all existing projects.",
|
|
211
1126
|
"examples": [
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
"Create a pipeline and create a new Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
215
|
-
"Create a pipeline with a description and associate it with an existing Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo --description \"Main CI/CD pipeline for production releases\""
|
|
1127
|
+
"List work items for a specific project in the DevOps org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001",
|
|
1128
|
+
"List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
|
|
216
1129
|
],
|
|
217
1130
|
"flags": {
|
|
218
1131
|
"json": {
|
|
@@ -247,66 +1160,89 @@
|
|
|
247
1160
|
"multiple": false,
|
|
248
1161
|
"type": "option"
|
|
249
1162
|
},
|
|
250
|
-
"
|
|
251
|
-
"char": "
|
|
252
|
-
"name": "
|
|
253
|
-
"required": true,
|
|
254
|
-
"summary": "Name of the pipeline.",
|
|
255
|
-
"hasDynamicHelp": false,
|
|
256
|
-
"multiple": false,
|
|
257
|
-
"type": "option"
|
|
258
|
-
},
|
|
259
|
-
"repo": {
|
|
260
|
-
"char": "r",
|
|
261
|
-
"name": "repo",
|
|
1163
|
+
"project-id": {
|
|
1164
|
+
"char": "p",
|
|
1165
|
+
"name": "project-id",
|
|
262
1166
|
"required": true,
|
|
263
|
-
"summary": "
|
|
1167
|
+
"summary": "ID of the DevOps Center project to list work items for.",
|
|
264
1168
|
"hasDynamicHelp": false,
|
|
265
1169
|
"multiple": false,
|
|
266
1170
|
"type": "option"
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
"hasDynamicHelp": true,
|
|
1174
|
+
"hiddenAliases": [],
|
|
1175
|
+
"id": "devops:work-item:list",
|
|
1176
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1177
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
1178
|
+
"pluginType": "core",
|
|
1179
|
+
"strict": true,
|
|
1180
|
+
"summary": "List all work items for a DevOps Center project.",
|
|
1181
|
+
"enableJsonFlag": true,
|
|
1182
|
+
"isESM": true,
|
|
1183
|
+
"relativePath": [
|
|
1184
|
+
"lib",
|
|
1185
|
+
"commands",
|
|
1186
|
+
"devops",
|
|
1187
|
+
"work-item",
|
|
1188
|
+
"list.js"
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
"devops:work-item:prepare": {
|
|
1192
|
+
"aliases": [],
|
|
1193
|
+
"args": {},
|
|
1194
|
+
"description": "Prepares a work item for one-off promotion by creating the necessary branches and pull requests in the source control repository. Run this command before running \"sf devops work-item promote\" for a one-off promotion.\n\nUse \"sf devops work-item list\" to find the work item ID and target stage ID for a project.",
|
|
1195
|
+
"examples": [
|
|
1196
|
+
"Prepare a work item for one-off promotion to the UAT stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --target-stage-id 05S000000000002",
|
|
1197
|
+
"Prepare a work item using a DevOps Center org username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com --work-item-id 0Wx000000000001 --target-stage-id 05S000000000002"
|
|
1198
|
+
],
|
|
1199
|
+
"flags": {
|
|
1200
|
+
"json": {
|
|
1201
|
+
"description": "Format output as json.",
|
|
1202
|
+
"helpGroup": "GLOBAL",
|
|
1203
|
+
"name": "json",
|
|
1204
|
+
"allowNo": false,
|
|
1205
|
+
"type": "boolean"
|
|
267
1206
|
},
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
1207
|
+
"flags-dir": {
|
|
1208
|
+
"helpGroup": "GLOBAL",
|
|
1209
|
+
"name": "flags-dir",
|
|
1210
|
+
"summary": "Import flag values from a directory.",
|
|
271
1211
|
"hasDynamicHelp": false,
|
|
272
1212
|
"multiple": false,
|
|
273
|
-
"options": [
|
|
274
|
-
"github",
|
|
275
|
-
"bitbucket"
|
|
276
|
-
],
|
|
277
1213
|
"type": "option"
|
|
278
1214
|
},
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"name": "repo-owner",
|
|
287
|
-
"summary": "Owner (organization or user) of the GitHub repository. Required when creating a GitHub repository using '--create-repo'.",
|
|
288
|
-
"hasDynamicHelp": false,
|
|
1215
|
+
"target-org": {
|
|
1216
|
+
"char": "o",
|
|
1217
|
+
"name": "target-org",
|
|
1218
|
+
"noCacheDefault": true,
|
|
1219
|
+
"required": true,
|
|
1220
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1221
|
+
"hasDynamicHelp": true,
|
|
289
1222
|
"multiple": false,
|
|
290
1223
|
"type": "option"
|
|
291
1224
|
},
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
1225
|
+
"api-version": {
|
|
1226
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1227
|
+
"name": "api-version",
|
|
295
1228
|
"hasDynamicHelp": false,
|
|
296
1229
|
"multiple": false,
|
|
297
1230
|
"type": "option"
|
|
298
1231
|
},
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
1232
|
+
"work-item-id": {
|
|
1233
|
+
"char": "i",
|
|
1234
|
+
"name": "work-item-id",
|
|
1235
|
+
"required": true,
|
|
1236
|
+
"summary": "ID of the work item to prepare for one-off promotion.",
|
|
302
1237
|
"hasDynamicHelp": false,
|
|
303
1238
|
"multiple": false,
|
|
304
1239
|
"type": "option"
|
|
305
1240
|
},
|
|
306
|
-
"
|
|
307
|
-
"char": "
|
|
308
|
-
"name": "
|
|
309
|
-
"
|
|
1241
|
+
"target-stage-id": {
|
|
1242
|
+
"char": "t",
|
|
1243
|
+
"name": "target-stage-id",
|
|
1244
|
+
"required": true,
|
|
1245
|
+
"summary": "ID of the pipeline stage to promote the work item to.",
|
|
310
1246
|
"hasDynamicHelp": false,
|
|
311
1247
|
"multiple": false,
|
|
312
1248
|
"type": "option"
|
|
@@ -314,29 +1250,30 @@
|
|
|
314
1250
|
},
|
|
315
1251
|
"hasDynamicHelp": true,
|
|
316
1252
|
"hiddenAliases": [],
|
|
317
|
-
"id": "devops:
|
|
1253
|
+
"id": "devops:work-item:prepare",
|
|
318
1254
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
319
1255
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
320
1256
|
"pluginType": "core",
|
|
321
1257
|
"strict": true,
|
|
322
|
-
"summary": "
|
|
1258
|
+
"summary": "Prepare a work item for one-off promotion between pipeline stages.",
|
|
323
1259
|
"enableJsonFlag": true,
|
|
324
1260
|
"isESM": true,
|
|
325
1261
|
"relativePath": [
|
|
326
1262
|
"lib",
|
|
327
1263
|
"commands",
|
|
328
1264
|
"devops",
|
|
329
|
-
"
|
|
330
|
-
"
|
|
1265
|
+
"work-item",
|
|
1266
|
+
"prepare.js"
|
|
331
1267
|
]
|
|
332
1268
|
},
|
|
333
|
-
"devops:
|
|
1269
|
+
"devops:work-item:update": {
|
|
334
1270
|
"aliases": [],
|
|
335
1271
|
"args": {},
|
|
336
|
-
"description": "
|
|
1272
|
+
"description": "Update the subject, description, or status of a work item. At least one of --subject, --description, or --status must be provided.",
|
|
337
1273
|
"examples": [
|
|
338
|
-
"
|
|
339
|
-
"
|
|
1274
|
+
"Update the subject of a work item by name:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --subject \"Fix login bug\"",
|
|
1275
|
+
"Update the status of a work item by ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --status \"In Progress\"",
|
|
1276
|
+
"Update multiple fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --subject \"Fix login bug\" --description \"Users can't log in on mobile\" --status \"In Progress\""
|
|
340
1277
|
],
|
|
341
1278
|
"flags": {
|
|
342
1279
|
"json": {
|
|
@@ -386,33 +1323,57 @@
|
|
|
386
1323
|
"hasDynamicHelp": false,
|
|
387
1324
|
"multiple": false,
|
|
388
1325
|
"type": "option"
|
|
1326
|
+
},
|
|
1327
|
+
"subject": {
|
|
1328
|
+
"name": "subject",
|
|
1329
|
+
"summary": "New subject for the work item.",
|
|
1330
|
+
"hasDynamicHelp": false,
|
|
1331
|
+
"multiple": false,
|
|
1332
|
+
"type": "option"
|
|
1333
|
+
},
|
|
1334
|
+
"description": {
|
|
1335
|
+
"name": "description",
|
|
1336
|
+
"summary": "New description for the work item.",
|
|
1337
|
+
"hasDynamicHelp": false,
|
|
1338
|
+
"multiple": false,
|
|
1339
|
+
"type": "option"
|
|
1340
|
+
},
|
|
1341
|
+
"status": {
|
|
1342
|
+
"name": "status",
|
|
1343
|
+
"summary": "New status for the work item. Allowed values: \"In Progress\", \"Ready to Promote\".",
|
|
1344
|
+
"hasDynamicHelp": false,
|
|
1345
|
+
"multiple": false,
|
|
1346
|
+
"options": [
|
|
1347
|
+
"In Progress",
|
|
1348
|
+
"Ready to Promote"
|
|
1349
|
+
],
|
|
1350
|
+
"type": "option"
|
|
389
1351
|
}
|
|
390
1352
|
},
|
|
391
1353
|
"hasDynamicHelp": true,
|
|
392
1354
|
"hiddenAliases": [],
|
|
393
|
-
"id": "devops:
|
|
1355
|
+
"id": "devops:work-item:update",
|
|
394
1356
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
395
1357
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
396
1358
|
"pluginType": "core",
|
|
397
1359
|
"strict": true,
|
|
398
|
-
"summary": "
|
|
1360
|
+
"summary": "Update a work item in DevOps Center.",
|
|
399
1361
|
"enableJsonFlag": true,
|
|
400
1362
|
"isESM": true,
|
|
401
1363
|
"relativePath": [
|
|
402
1364
|
"lib",
|
|
403
1365
|
"commands",
|
|
404
1366
|
"devops",
|
|
405
|
-
"
|
|
406
|
-
"
|
|
1367
|
+
"work-item",
|
|
1368
|
+
"update.js"
|
|
407
1369
|
]
|
|
408
1370
|
},
|
|
409
|
-
"devops:
|
|
1371
|
+
"devops:pipeline:project:add": {
|
|
410
1372
|
"aliases": [],
|
|
411
1373
|
"args": {},
|
|
412
|
-
"description": "
|
|
1374
|
+
"description": "You can attach a project to only one pipeline.",
|
|
413
1375
|
"examples": [
|
|
414
|
-
"
|
|
415
|
-
"Create a work item with a subject and description:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Add dark mode\" --description \"Implement dark mode toggle in settings page\""
|
|
1376
|
+
"Attach a project to a pipeline using the project ID and pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --project-id 0Hn000000000001"
|
|
416
1377
|
],
|
|
417
1378
|
"flags": {
|
|
418
1379
|
"json": {
|
|
@@ -447,28 +1408,18 @@
|
|
|
447
1408
|
"multiple": false,
|
|
448
1409
|
"type": "option"
|
|
449
1410
|
},
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"name": "project-id",
|
|
1411
|
+
"pipeline-id": {
|
|
1412
|
+
"name": "pipeline-id",
|
|
453
1413
|
"required": true,
|
|
454
|
-
"summary": "ID of the
|
|
1414
|
+
"summary": "ID of the pipeline.",
|
|
455
1415
|
"hasDynamicHelp": false,
|
|
456
1416
|
"multiple": false,
|
|
457
1417
|
"type": "option"
|
|
458
1418
|
},
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"name": "subject",
|
|
1419
|
+
"project-id": {
|
|
1420
|
+
"name": "project-id",
|
|
462
1421
|
"required": true,
|
|
463
|
-
"summary": "
|
|
464
|
-
"hasDynamicHelp": false,
|
|
465
|
-
"multiple": false,
|
|
466
|
-
"type": "option"
|
|
467
|
-
},
|
|
468
|
-
"description": {
|
|
469
|
-
"char": "d",
|
|
470
|
-
"name": "description",
|
|
471
|
-
"summary": "Description of the new work item; if not specified, the description is blank.",
|
|
1422
|
+
"summary": "ID of the DevOps Center project.",
|
|
472
1423
|
"hasDynamicHelp": false,
|
|
473
1424
|
"multiple": false,
|
|
474
1425
|
"type": "option"
|
|
@@ -476,29 +1427,29 @@
|
|
|
476
1427
|
},
|
|
477
1428
|
"hasDynamicHelp": true,
|
|
478
1429
|
"hiddenAliases": [],
|
|
479
|
-
"id": "devops:
|
|
1430
|
+
"id": "devops:pipeline:project:add",
|
|
480
1431
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
481
1432
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
482
1433
|
"pluginType": "core",
|
|
483
1434
|
"strict": true,
|
|
484
|
-
"summary": "
|
|
1435
|
+
"summary": "Attach a DevOps Center project to a pipeline.",
|
|
485
1436
|
"enableJsonFlag": true,
|
|
486
1437
|
"isESM": true,
|
|
487
1438
|
"relativePath": [
|
|
488
1439
|
"lib",
|
|
489
1440
|
"commands",
|
|
490
1441
|
"devops",
|
|
491
|
-
"
|
|
492
|
-
"
|
|
1442
|
+
"pipeline",
|
|
1443
|
+
"project",
|
|
1444
|
+
"add.js"
|
|
493
1445
|
]
|
|
494
1446
|
},
|
|
495
|
-
"devops:
|
|
1447
|
+
"devops:pipeline:project:delete": {
|
|
496
1448
|
"aliases": [],
|
|
497
1449
|
"args": {},
|
|
498
|
-
"description": "
|
|
1450
|
+
"description": "Deletes the junction record that connects the project to the pipeline. The project itself is not deleted.",
|
|
499
1451
|
"examples": [
|
|
500
|
-
"
|
|
501
|
-
"List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
|
|
1452
|
+
"Remove a project from a pipeline using the project ID and pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --project-id 0Hn000000000001"
|
|
502
1453
|
],
|
|
503
1454
|
"flags": {
|
|
504
1455
|
"json": {
|
|
@@ -533,11 +1484,18 @@
|
|
|
533
1484
|
"multiple": false,
|
|
534
1485
|
"type": "option"
|
|
535
1486
|
},
|
|
1487
|
+
"pipeline-id": {
|
|
1488
|
+
"name": "pipeline-id",
|
|
1489
|
+
"required": true,
|
|
1490
|
+
"summary": "ID of the pipeline.",
|
|
1491
|
+
"hasDynamicHelp": false,
|
|
1492
|
+
"multiple": false,
|
|
1493
|
+
"type": "option"
|
|
1494
|
+
},
|
|
536
1495
|
"project-id": {
|
|
537
|
-
"char": "p",
|
|
538
1496
|
"name": "project-id",
|
|
539
1497
|
"required": true,
|
|
540
|
-
"summary": "ID of the DevOps Center project
|
|
1498
|
+
"summary": "ID of the DevOps Center project.",
|
|
541
1499
|
"hasDynamicHelp": false,
|
|
542
1500
|
"multiple": false,
|
|
543
1501
|
"type": "option"
|
|
@@ -545,30 +1503,30 @@
|
|
|
545
1503
|
},
|
|
546
1504
|
"hasDynamicHelp": true,
|
|
547
1505
|
"hiddenAliases": [],
|
|
548
|
-
"id": "devops:
|
|
1506
|
+
"id": "devops:pipeline:project:delete",
|
|
549
1507
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
550
1508
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
551
1509
|
"pluginType": "core",
|
|
552
1510
|
"strict": true,
|
|
553
|
-
"summary": "
|
|
1511
|
+
"summary": "Remove a DevOps Center project's connection to a pipeline.",
|
|
554
1512
|
"enableJsonFlag": true,
|
|
555
1513
|
"isESM": true,
|
|
556
1514
|
"relativePath": [
|
|
557
1515
|
"lib",
|
|
558
1516
|
"commands",
|
|
559
1517
|
"devops",
|
|
560
|
-
"
|
|
561
|
-
"
|
|
1518
|
+
"pipeline",
|
|
1519
|
+
"project",
|
|
1520
|
+
"delete.js"
|
|
562
1521
|
]
|
|
563
1522
|
},
|
|
564
|
-
"devops:
|
|
1523
|
+
"devops:pipeline:stage:add": {
|
|
565
1524
|
"aliases": [],
|
|
566
1525
|
"args": {},
|
|
567
|
-
"description": "
|
|
1526
|
+
"description": "Inserts an empty stage before the stage specified by `--next-stage-id`. The new stage doesn't include a branch or environment. Configure them separately after you create the stage.",
|
|
568
1527
|
"examples": [
|
|
569
|
-
"
|
|
570
|
-
"
|
|
571
|
-
"Update multiple fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --subject \"Fix login bug\" --description \"Users can't log in on mobile\" --status \"In Progress\""
|
|
1528
|
+
"Add a Development stage before Integration in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"Development\" --next-stage-id 0Xc000000000002",
|
|
1529
|
+
"Add a QA stage before UAT in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"QA\" --next-stage-id 0Xc000000000003"
|
|
572
1530
|
],
|
|
573
1531
|
"flags": {
|
|
574
1532
|
"json": {
|
|
@@ -603,72 +1561,57 @@
|
|
|
603
1561
|
"multiple": false,
|
|
604
1562
|
"type": "option"
|
|
605
1563
|
},
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"
|
|
609
|
-
"summary": "
|
|
610
|
-
"hasDynamicHelp": false,
|
|
611
|
-
"multiple": false,
|
|
612
|
-
"type": "option"
|
|
613
|
-
},
|
|
614
|
-
"work-item-id": {
|
|
615
|
-
"char": "w",
|
|
616
|
-
"name": "work-item-id",
|
|
617
|
-
"summary": "ID of the work item.",
|
|
618
|
-
"hasDynamicHelp": false,
|
|
619
|
-
"multiple": false,
|
|
620
|
-
"type": "option"
|
|
621
|
-
},
|
|
622
|
-
"subject": {
|
|
623
|
-
"name": "subject",
|
|
624
|
-
"summary": "New subject for the work item.",
|
|
1564
|
+
"pipeline-id": {
|
|
1565
|
+
"name": "pipeline-id",
|
|
1566
|
+
"required": true,
|
|
1567
|
+
"summary": "ID of the pipeline where the stage is added.",
|
|
625
1568
|
"hasDynamicHelp": false,
|
|
626
1569
|
"multiple": false,
|
|
627
1570
|
"type": "option"
|
|
628
1571
|
},
|
|
629
|
-
"
|
|
630
|
-
"
|
|
631
|
-
"
|
|
1572
|
+
"name": {
|
|
1573
|
+
"char": "n",
|
|
1574
|
+
"name": "name",
|
|
1575
|
+
"required": true,
|
|
1576
|
+
"summary": "Name of the pipeline stage, such as Integration, UAT, or Staging.",
|
|
632
1577
|
"hasDynamicHelp": false,
|
|
633
1578
|
"multiple": false,
|
|
634
1579
|
"type": "option"
|
|
635
1580
|
},
|
|
636
|
-
"
|
|
637
|
-
"name": "
|
|
638
|
-
"
|
|
1581
|
+
"next-stage-id": {
|
|
1582
|
+
"name": "next-stage-id",
|
|
1583
|
+
"required": true,
|
|
1584
|
+
"summary": "ID of the stage that follows the new stage in the pipeline.",
|
|
639
1585
|
"hasDynamicHelp": false,
|
|
640
1586
|
"multiple": false,
|
|
641
|
-
"options": [
|
|
642
|
-
"In Progress",
|
|
643
|
-
"Ready to Promote"
|
|
644
|
-
],
|
|
645
1587
|
"type": "option"
|
|
646
1588
|
}
|
|
647
1589
|
},
|
|
648
1590
|
"hasDynamicHelp": true,
|
|
649
1591
|
"hiddenAliases": [],
|
|
650
|
-
"id": "devops:
|
|
1592
|
+
"id": "devops:pipeline:stage:add",
|
|
651
1593
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
652
1594
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
653
1595
|
"pluginType": "core",
|
|
654
1596
|
"strict": true,
|
|
655
|
-
"summary": "
|
|
1597
|
+
"summary": "Add a stage to a DevOps Center pipeline.",
|
|
656
1598
|
"enableJsonFlag": true,
|
|
657
1599
|
"isESM": true,
|
|
658
1600
|
"relativePath": [
|
|
659
1601
|
"lib",
|
|
660
1602
|
"commands",
|
|
661
1603
|
"devops",
|
|
662
|
-
"
|
|
663
|
-
"
|
|
1604
|
+
"pipeline",
|
|
1605
|
+
"stage",
|
|
1606
|
+
"add.js"
|
|
664
1607
|
]
|
|
665
1608
|
},
|
|
666
|
-
"devops:pipeline:
|
|
1609
|
+
"devops:pipeline:stage:delete": {
|
|
667
1610
|
"aliases": [],
|
|
668
1611
|
"args": {},
|
|
669
|
-
"description": "
|
|
1612
|
+
"description": "Deletes the specified stage from the pipeline. If the stage sits between two other stages, the predecessor stage is automatically re-linked to the successor so the pipeline chain stays intact.",
|
|
670
1613
|
"examples": [
|
|
671
|
-
"
|
|
1614
|
+
"Delete a stage from a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --stage-id 0Xc000000000002"
|
|
672
1615
|
],
|
|
673
1616
|
"flags": {
|
|
674
1617
|
"json": {
|
|
@@ -706,15 +1649,15 @@
|
|
|
706
1649
|
"pipeline-id": {
|
|
707
1650
|
"name": "pipeline-id",
|
|
708
1651
|
"required": true,
|
|
709
|
-
"summary": "ID of the pipeline.",
|
|
1652
|
+
"summary": "ID of the pipeline that contains the stage.",
|
|
710
1653
|
"hasDynamicHelp": false,
|
|
711
1654
|
"multiple": false,
|
|
712
1655
|
"type": "option"
|
|
713
1656
|
},
|
|
714
|
-
"
|
|
715
|
-
"name": "
|
|
1657
|
+
"stage-id": {
|
|
1658
|
+
"name": "stage-id",
|
|
716
1659
|
"required": true,
|
|
717
|
-
"summary": "ID of the
|
|
1660
|
+
"summary": "ID of the stage to delete.",
|
|
718
1661
|
"hasDynamicHelp": false,
|
|
719
1662
|
"multiple": false,
|
|
720
1663
|
"type": "option"
|
|
@@ -722,12 +1665,12 @@
|
|
|
722
1665
|
},
|
|
723
1666
|
"hasDynamicHelp": true,
|
|
724
1667
|
"hiddenAliases": [],
|
|
725
|
-
"id": "devops:pipeline:
|
|
1668
|
+
"id": "devops:pipeline:stage:delete",
|
|
726
1669
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
727
1670
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
728
1671
|
"pluginType": "core",
|
|
729
1672
|
"strict": true,
|
|
730
|
-
"summary": "
|
|
1673
|
+
"summary": "Delete a stage from a DevOps Center pipeline.",
|
|
731
1674
|
"enableJsonFlag": true,
|
|
732
1675
|
"isESM": true,
|
|
733
1676
|
"relativePath": [
|
|
@@ -735,17 +1678,16 @@
|
|
|
735
1678
|
"commands",
|
|
736
1679
|
"devops",
|
|
737
1680
|
"pipeline",
|
|
738
|
-
"
|
|
739
|
-
"
|
|
1681
|
+
"stage",
|
|
1682
|
+
"delete.js"
|
|
740
1683
|
]
|
|
741
1684
|
},
|
|
742
|
-
"devops:
|
|
1685
|
+
"devops:stage:environment:add": {
|
|
743
1686
|
"aliases": [],
|
|
744
1687
|
"args": {},
|
|
745
|
-
"description": "
|
|
1688
|
+
"description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
|
|
746
1689
|
"examples": [
|
|
747
|
-
"Add a
|
|
748
|
-
"Add a QA stage before UAT in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"QA\" --next-stage-id 0Xc000000000003"
|
|
1690
|
+
"Add a production environment to a stage using its ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 0Xp000000000001 --environment-name Production_Org --org-type Production"
|
|
749
1691
|
],
|
|
750
1692
|
"flags": {
|
|
751
1693
|
"json": {
|
|
@@ -783,55 +1725,72 @@
|
|
|
783
1725
|
"pipeline-id": {
|
|
784
1726
|
"name": "pipeline-id",
|
|
785
1727
|
"required": true,
|
|
786
|
-
"summary": "ID of the pipeline
|
|
1728
|
+
"summary": "ID of the pipeline that contains the stage.",
|
|
787
1729
|
"hasDynamicHelp": false,
|
|
788
1730
|
"multiple": false,
|
|
789
1731
|
"type": "option"
|
|
790
1732
|
},
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"name": "name",
|
|
1733
|
+
"stage-id": {
|
|
1734
|
+
"name": "stage-id",
|
|
794
1735
|
"required": true,
|
|
795
|
-
"summary": "
|
|
1736
|
+
"summary": "ID of the pipeline stage.",
|
|
796
1737
|
"hasDynamicHelp": false,
|
|
797
1738
|
"multiple": false,
|
|
798
1739
|
"type": "option"
|
|
799
1740
|
},
|
|
800
|
-
"
|
|
801
|
-
"
|
|
1741
|
+
"environment-name": {
|
|
1742
|
+
"char": "e",
|
|
1743
|
+
"name": "environment-name",
|
|
802
1744
|
"required": true,
|
|
803
|
-
"summary": "
|
|
1745
|
+
"summary": "Name of the environment.",
|
|
1746
|
+
"hasDynamicHelp": false,
|
|
1747
|
+
"multiple": false,
|
|
1748
|
+
"type": "option"
|
|
1749
|
+
},
|
|
1750
|
+
"org-type": {
|
|
1751
|
+
"name": "org-type",
|
|
1752
|
+
"required": true,
|
|
1753
|
+
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
804
1754
|
"hasDynamicHelp": false,
|
|
805
1755
|
"multiple": false,
|
|
1756
|
+
"options": [
|
|
1757
|
+
"Production",
|
|
1758
|
+
"Sandbox"
|
|
1759
|
+
],
|
|
806
1760
|
"type": "option"
|
|
1761
|
+
},
|
|
1762
|
+
"no-browser": {
|
|
1763
|
+
"name": "no-browser",
|
|
1764
|
+
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
1765
|
+
"allowNo": false,
|
|
1766
|
+
"type": "boolean"
|
|
807
1767
|
}
|
|
808
1768
|
},
|
|
809
1769
|
"hasDynamicHelp": true,
|
|
810
1770
|
"hiddenAliases": [],
|
|
811
|
-
"id": "devops:
|
|
1771
|
+
"id": "devops:stage:environment:add",
|
|
812
1772
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
813
1773
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
814
1774
|
"pluginType": "core",
|
|
815
1775
|
"strict": true,
|
|
816
|
-
"summary": "Add a
|
|
1776
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
817
1777
|
"enableJsonFlag": true,
|
|
818
1778
|
"isESM": true,
|
|
819
1779
|
"relativePath": [
|
|
820
1780
|
"lib",
|
|
821
1781
|
"commands",
|
|
822
1782
|
"devops",
|
|
823
|
-
"pipeline",
|
|
824
1783
|
"stage",
|
|
1784
|
+
"environment",
|
|
825
1785
|
"add.js"
|
|
826
1786
|
]
|
|
827
1787
|
},
|
|
828
|
-
"devops:stage:
|
|
1788
|
+
"devops:stage:environment:delete": {
|
|
829
1789
|
"aliases": [],
|
|
830
1790
|
"args": {},
|
|
831
|
-
"description": "
|
|
1791
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
832
1792
|
"examples": [
|
|
833
|
-
"
|
|
834
|
-
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
1793
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
835
1794
|
],
|
|
836
1795
|
"flags": {
|
|
837
1796
|
"json": {
|
|
@@ -869,43 +1828,29 @@
|
|
|
869
1828
|
"pipeline-id": {
|
|
870
1829
|
"name": "pipeline-id",
|
|
871
1830
|
"required": true,
|
|
872
|
-
"summary": "ID of the pipeline
|
|
873
|
-
"hasDynamicHelp": false,
|
|
874
|
-
"multiple": false,
|
|
875
|
-
"type": "option"
|
|
876
|
-
},
|
|
877
|
-
"stage-id": {
|
|
878
|
-
"name": "stage-id",
|
|
879
|
-
"required": true,
|
|
880
|
-
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
1831
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
881
1832
|
"hasDynamicHelp": false,
|
|
882
1833
|
"multiple": false,
|
|
883
1834
|
"type": "option"
|
|
884
1835
|
},
|
|
885
|
-
"
|
|
886
|
-
"char": "
|
|
887
|
-
"name": "
|
|
1836
|
+
"environment-id": {
|
|
1837
|
+
"char": "e",
|
|
1838
|
+
"name": "environment-id",
|
|
888
1839
|
"required": true,
|
|
889
|
-
"summary": "
|
|
1840
|
+
"summary": "ID of the environment to delete.",
|
|
890
1841
|
"hasDynamicHelp": false,
|
|
891
1842
|
"multiple": false,
|
|
892
1843
|
"type": "option"
|
|
893
|
-
},
|
|
894
|
-
"create-vcs-branch": {
|
|
895
|
-
"name": "create-vcs-branch",
|
|
896
|
-
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
897
|
-
"allowNo": false,
|
|
898
|
-
"type": "boolean"
|
|
899
1844
|
}
|
|
900
1845
|
},
|
|
901
1846
|
"hasDynamicHelp": true,
|
|
902
1847
|
"hiddenAliases": [],
|
|
903
|
-
"id": "devops:stage:
|
|
1848
|
+
"id": "devops:stage:environment:delete",
|
|
904
1849
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
905
1850
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
906
1851
|
"pluginType": "core",
|
|
907
1852
|
"strict": true,
|
|
908
|
-
"summary": "
|
|
1853
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
909
1854
|
"enableJsonFlag": true,
|
|
910
1855
|
"isESM": true,
|
|
911
1856
|
"relativePath": [
|
|
@@ -913,16 +1858,17 @@
|
|
|
913
1858
|
"commands",
|
|
914
1859
|
"devops",
|
|
915
1860
|
"stage",
|
|
916
|
-
"
|
|
917
|
-
"
|
|
1861
|
+
"environment",
|
|
1862
|
+
"delete.js"
|
|
918
1863
|
]
|
|
919
1864
|
},
|
|
920
|
-
"devops:stage:
|
|
1865
|
+
"devops:stage:branch:add": {
|
|
921
1866
|
"aliases": [],
|
|
922
1867
|
"args": {},
|
|
923
|
-
"description": "
|
|
1868
|
+
"description": "By default, the branch must exist in the repository. Use --create-vcs-branch to create a branch if it doesn't exist.\nEach pipeline stage supports only one branch. Adding a branch replaces any existing branch linked to the pipeline stage.",
|
|
924
1869
|
"examples": [
|
|
925
|
-
"Add
|
|
1870
|
+
"Add an existing branch to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001 --branch-name main",
|
|
1871
|
+
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
926
1872
|
],
|
|
927
1873
|
"flags": {
|
|
928
1874
|
"json": {
|
|
@@ -968,47 +1914,35 @@
|
|
|
968
1914
|
"stage-id": {
|
|
969
1915
|
"name": "stage-id",
|
|
970
1916
|
"required": true,
|
|
971
|
-
"summary": "ID of the pipeline stage.",
|
|
972
|
-
"hasDynamicHelp": false,
|
|
973
|
-
"multiple": false,
|
|
974
|
-
"type": "option"
|
|
975
|
-
},
|
|
976
|
-
"environment-name": {
|
|
977
|
-
"char": "e",
|
|
978
|
-
"name": "environment-name",
|
|
979
|
-
"required": true,
|
|
980
|
-
"summary": "Name of the environment.",
|
|
1917
|
+
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
981
1918
|
"hasDynamicHelp": false,
|
|
982
1919
|
"multiple": false,
|
|
983
1920
|
"type": "option"
|
|
984
1921
|
},
|
|
985
|
-
"
|
|
986
|
-
"
|
|
1922
|
+
"branch-name": {
|
|
1923
|
+
"char": "b",
|
|
1924
|
+
"name": "branch-name",
|
|
987
1925
|
"required": true,
|
|
988
|
-
"summary": "
|
|
1926
|
+
"summary": "Name of the repository branch to assign to the stage.",
|
|
989
1927
|
"hasDynamicHelp": false,
|
|
990
1928
|
"multiple": false,
|
|
991
|
-
"options": [
|
|
992
|
-
"Production",
|
|
993
|
-
"Sandbox"
|
|
994
|
-
],
|
|
995
1929
|
"type": "option"
|
|
996
1930
|
},
|
|
997
|
-
"
|
|
998
|
-
"name": "
|
|
999
|
-
"summary": "
|
|
1931
|
+
"create-vcs-branch": {
|
|
1932
|
+
"name": "create-vcs-branch",
|
|
1933
|
+
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
1000
1934
|
"allowNo": false,
|
|
1001
1935
|
"type": "boolean"
|
|
1002
1936
|
}
|
|
1003
1937
|
},
|
|
1004
1938
|
"hasDynamicHelp": true,
|
|
1005
1939
|
"hiddenAliases": [],
|
|
1006
|
-
"id": "devops:stage:
|
|
1940
|
+
"id": "devops:stage:branch:add",
|
|
1007
1941
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1008
1942
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1009
1943
|
"pluginType": "core",
|
|
1010
1944
|
"strict": true,
|
|
1011
|
-
"summary": "Add a
|
|
1945
|
+
"summary": "Add a source code repository branch to a pipeline stage.",
|
|
1012
1946
|
"enableJsonFlag": true,
|
|
1013
1947
|
"isESM": true,
|
|
1014
1948
|
"relativePath": [
|
|
@@ -1016,7 +1950,7 @@
|
|
|
1016
1950
|
"commands",
|
|
1017
1951
|
"devops",
|
|
1018
1952
|
"stage",
|
|
1019
|
-
"
|
|
1953
|
+
"branch",
|
|
1020
1954
|
"add.js"
|
|
1021
1955
|
]
|
|
1022
1956
|
},
|
|
@@ -1597,5 +2531,5 @@
|
|
|
1597
2531
|
]
|
|
1598
2532
|
}
|
|
1599
2533
|
},
|
|
1600
|
-
"version": "
|
|
2534
|
+
"version": "2.0.0"
|
|
1601
2535
|
}
|