@salesforce/plugin-devops-center 1.2.27 → 1.3.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.
Files changed (241) hide show
  1. package/LICENSE.txt +200 -6
  2. package/README.md +515 -19
  3. package/bin/dev.js +15 -0
  4. package/bin/run.js +5 -0
  5. package/lib/commands/devops/pipeline/activate.d.ts +14 -0
  6. package/lib/commands/devops/pipeline/activate.js +82 -0
  7. package/lib/commands/devops/pipeline/activate.js.map +1 -0
  8. package/lib/commands/devops/pipeline/attach-project.d.ts +15 -0
  9. package/lib/commands/devops/pipeline/attach-project.js +82 -0
  10. package/lib/commands/devops/pipeline/attach-project.js.map +1 -0
  11. package/lib/commands/devops/pipeline/create.d.ts +23 -0
  12. package/lib/commands/devops/pipeline/create.js +136 -0
  13. package/lib/commands/devops/pipeline/create.js.map +1 -0
  14. package/lib/commands/devops/pipeline/stage/add.d.ts +16 -0
  15. package/lib/commands/devops/pipeline/stage/add.js +94 -0
  16. package/lib/commands/devops/pipeline/stage/add.js.map +1 -0
  17. package/lib/commands/devops/project/create.d.ts +15 -0
  18. package/lib/commands/devops/project/create.js +72 -0
  19. package/lib/commands/devops/project/create.js.map +1 -0
  20. package/lib/commands/devops/project/list.d.ts +20 -0
  21. package/lib/commands/devops/project/list.js +59 -0
  22. package/lib/commands/devops/project/list.js.map +1 -0
  23. package/lib/commands/devops/pull-request/create.d.ts +17 -0
  24. package/lib/commands/devops/pull-request/create.js +104 -0
  25. package/lib/commands/devops/pull-request/create.js.map +1 -0
  26. package/lib/commands/devops/stage/add-branch.d.ts +17 -0
  27. package/lib/commands/devops/stage/add-branch.js +110 -0
  28. package/lib/commands/devops/stage/add-branch.js.map +1 -0
  29. package/lib/commands/devops/stage/add-environment.d.ts +18 -0
  30. package/lib/commands/devops/stage/add-environment.js +136 -0
  31. package/lib/commands/devops/stage/add-environment.js.map +1 -0
  32. package/lib/commands/devops/work-item/create.d.ts +16 -0
  33. package/lib/commands/devops/work-item/create.js +76 -0
  34. package/lib/commands/devops/work-item/create.js.map +1 -0
  35. package/lib/commands/devops/work-item/list.d.ts +17 -0
  36. package/lib/commands/devops/work-item/list.js +72 -0
  37. package/lib/commands/devops/work-item/list.js.map +1 -0
  38. package/lib/commands/devops/work-item/status/update.d.ts +16 -0
  39. package/lib/commands/devops/work-item/status/update.js +90 -0
  40. package/lib/commands/devops/work-item/status/update.js.map +1 -0
  41. package/lib/commands/project/deploy/pipeline/quick.d.ts +2 -2
  42. package/lib/commands/project/deploy/pipeline/quick.js +24 -21
  43. package/lib/commands/project/deploy/pipeline/quick.js.map +1 -1
  44. package/lib/commands/project/deploy/pipeline/report.d.ts +4 -4
  45. package/lib/commands/project/deploy/pipeline/report.js +38 -35
  46. package/lib/commands/project/deploy/pipeline/report.js.map +1 -1
  47. package/lib/commands/project/deploy/pipeline/resume.d.ts +2 -2
  48. package/lib/commands/project/deploy/pipeline/resume.js +24 -21
  49. package/lib/commands/project/deploy/pipeline/resume.js.map +1 -1
  50. package/lib/commands/project/deploy/pipeline/start.d.ts +3 -3
  51. package/lib/commands/project/deploy/pipeline/start.js +26 -23
  52. package/lib/commands/project/deploy/pipeline/start.js.map +1 -1
  53. package/lib/commands/project/deploy/pipeline/validate.d.ts +3 -3
  54. package/lib/commands/project/deploy/pipeline/validate.js +24 -21
  55. package/lib/commands/project/deploy/pipeline/validate.js.map +1 -1
  56. package/lib/common/base/abstractAsyncOperation.d.ts +3 -3
  57. package/lib/common/base/abstractAsyncOperation.js +31 -23
  58. package/lib/common/base/abstractAsyncOperation.js.map +1 -1
  59. package/lib/common/base/abstractPromote.d.ts +5 -4
  60. package/lib/common/base/abstractPromote.js +52 -38
  61. package/lib/common/base/abstractPromote.js.map +1 -1
  62. package/lib/common/base/abstractQuick.d.ts +4 -3
  63. package/lib/common/base/abstractQuick.js +44 -43
  64. package/lib/common/base/abstractQuick.js.map +1 -1
  65. package/lib/common/base/abstractReportOnPromote.d.ts +2 -1
  66. package/lib/common/base/abstractReportOnPromote.js +31 -24
  67. package/lib/common/base/abstractReportOnPromote.js.map +1 -1
  68. package/lib/common/base/abstractResume.d.ts +3 -2
  69. package/lib/common/base/abstractResume.js +40 -33
  70. package/lib/common/base/abstractResume.js.map +1 -1
  71. package/lib/common/constants.js +19 -13
  72. package/lib/common/constants.js.map +1 -1
  73. package/lib/common/deployPipelineCache.js +20 -15
  74. package/lib/common/deployPipelineCache.js.map +1 -1
  75. package/lib/common/flags/flags.d.ts +2 -2
  76. package/lib/common/flags/flags.js +34 -29
  77. package/lib/common/flags/flags.js.map +1 -1
  78. package/lib/common/flags/promote/promoteFlags.d.ts +3 -3
  79. package/lib/common/flags/promote/promoteFlags.js +26 -20
  80. package/lib/common/flags/promote/promoteFlags.js.map +1 -1
  81. package/lib/common/index.d.ts +3 -2
  82. package/lib/common/index.js +2 -17
  83. package/lib/common/index.js.map +1 -1
  84. package/lib/common/outputColumns.d.ts +3 -13
  85. package/lib/common/outputColumns.js +23 -19
  86. package/lib/common/outputColumns.js.map +1 -1
  87. package/lib/common/outputService/aorOutputService.d.ts +4 -4
  88. package/lib/common/outputService/aorOutputService.js +27 -20
  89. package/lib/common/outputService/aorOutputService.js.map +1 -1
  90. package/lib/common/outputService/deployCommandOutputService.d.ts +2 -2
  91. package/lib/common/outputService/deployCommandOutputService.js +17 -12
  92. package/lib/common/outputService/deployCommandOutputService.js.map +1 -1
  93. package/lib/common/outputService/deploySummaryBuilder.d.ts +1 -1
  94. package/lib/common/outputService/deploySummaryBuilder.js +45 -31
  95. package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
  96. package/lib/common/outputService/deploymentResultOutputService.d.ts +4 -4
  97. package/lib/common/outputService/deploymentResultOutputService.js +16 -10
  98. package/lib/common/outputService/deploymentResultOutputService.js.map +1 -1
  99. package/lib/common/outputService/index.d.ts +8 -6
  100. package/lib/common/outputService/index.js +5 -19
  101. package/lib/common/outputService/index.js.map +1 -1
  102. package/lib/common/outputService/outputService.d.ts +6 -4
  103. package/lib/common/outputService/outputService.js +20 -14
  104. package/lib/common/outputService/outputService.js.map +1 -1
  105. package/lib/common/outputService/outputServiceFactory.d.ts +8 -8
  106. package/lib/common/outputService/outputServiceFactory.js +21 -16
  107. package/lib/common/outputService/outputServiceFactory.js.map +1 -1
  108. package/lib/common/outputService/outputUtils.d.ts +1 -1
  109. package/lib/common/outputService/outputUtils.js +24 -19
  110. package/lib/common/outputService/outputUtils.js.map +1 -1
  111. package/lib/common/outputService/promoteOutputService.d.ts +4 -5
  112. package/lib/common/outputService/promoteOutputService.js +19 -13
  113. package/lib/common/outputService/promoteOutputService.js.map +1 -1
  114. package/lib/common/outputService/reportOutputService.d.ts +5 -6
  115. package/lib/common/outputService/reportOutputService.js +32 -27
  116. package/lib/common/outputService/reportOutputService.js.map +1 -1
  117. package/lib/common/outputService/resumeCommandOutputService.d.ts +3 -3
  118. package/lib/common/outputService/resumeCommandOutputService.js +19 -13
  119. package/lib/common/outputService/resumeCommandOutputService.js.map +1 -1
  120. package/lib/common/outputService/resumeOutputService.d.ts +3 -3
  121. package/lib/common/outputService/resumeOutputService.js +23 -17
  122. package/lib/common/outputService/resumeOutputService.js.map +1 -1
  123. package/lib/common/selectors/asyncOperationResultsSelector.d.ts +1 -1
  124. package/lib/common/selectors/asyncOperationResultsSelector.js +16 -10
  125. package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
  126. package/lib/common/selectors/deployComponentsSelector.d.ts +1 -1
  127. package/lib/common/selectors/deployComponentsSelector.js +18 -13
  128. package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
  129. package/lib/common/selectors/deployProgressSummarySelector.d.ts +2 -2
  130. package/lib/common/selectors/deployProgressSummarySelector.js +16 -10
  131. package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
  132. package/lib/common/selectors/deploymentResultsSelector.d.ts +2 -2
  133. package/lib/common/selectors/deploymentResultsSelector.js +20 -16
  134. package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
  135. package/lib/common/selectors/environmentSelector.d.ts +2 -2
  136. package/lib/common/selectors/environmentSelector.js +16 -10
  137. package/lib/common/selectors/environmentSelector.js.map +1 -1
  138. package/lib/common/selectors/namedCredentialSelector.d.ts +1 -1
  139. package/lib/common/selectors/namedCredentialSelector.js +16 -10
  140. package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
  141. package/lib/common/selectors/pipelineStageSelector.d.ts +1 -1
  142. package/lib/common/selectors/pipelineStageSelector.js +18 -13
  143. package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
  144. package/lib/common/selectors/selectorUtils.d.ts +1 -1
  145. package/lib/common/selectors/selectorUtils.js +17 -11
  146. package/lib/common/selectors/selectorUtils.js.map +1 -1
  147. package/lib/common/selectors/validateDeploySelector.d.ts +1 -1
  148. package/lib/common/selectors/validateDeploySelector.js +16 -10
  149. package/lib/common/selectors/validateDeploySelector.js.map +1 -1
  150. package/lib/common/selectors/workItemSelector.d.ts +2 -2
  151. package/lib/common/selectors/workItemSelector.js +16 -10
  152. package/lib/common/selectors/workItemSelector.js.map +1 -1
  153. package/lib/common/types.d.ts +4 -4
  154. package/lib/common/types.js +4 -7
  155. package/lib/common/types.js.map +1 -1
  156. package/lib/common/utils.d.ts +4 -4
  157. package/lib/common/utils.js +42 -43
  158. package/lib/common/utils.js.map +1 -1
  159. package/lib/configMeta.js +21 -15
  160. package/lib/configMeta.js.map +1 -1
  161. package/lib/streamer/doceMonitor.d.ts +3 -2
  162. package/lib/streamer/doceMonitor.js +14 -6
  163. package/lib/streamer/doceMonitor.js.map +1 -1
  164. package/lib/streamer/doceStream.d.ts +1 -1
  165. package/lib/streamer/doceStream.js +19 -11
  166. package/lib/streamer/doceStream.js.map +1 -1
  167. package/lib/streamer/processors/asyncOpStream.d.ts +2 -2
  168. package/lib/streamer/processors/asyncOpStream.js +22 -15
  169. package/lib/streamer/processors/asyncOpStream.js.map +1 -1
  170. package/lib/streamer/sObjectStream.d.ts +1 -1
  171. package/lib/streamer/sObjectStream.js +9 -10
  172. package/lib/streamer/sObjectStream.js.map +1 -1
  173. package/lib/utils/activatePipeline.d.ts +17 -0
  174. package/lib/utils/activatePipeline.js +35 -0
  175. package/lib/utils/activatePipeline.js.map +1 -0
  176. package/lib/utils/addPipelineStage.d.ts +20 -0
  177. package/lib/utils/addPipelineStage.js +43 -0
  178. package/lib/utils/addPipelineStage.js.map +1 -0
  179. package/lib/utils/addStageBranch.d.ts +22 -0
  180. package/lib/utils/addStageBranch.js +48 -0
  181. package/lib/utils/addStageBranch.js.map +1 -0
  182. package/lib/utils/addStageEnvironment.d.ts +92 -0
  183. package/lib/utils/addStageEnvironment.js +120 -0
  184. package/lib/utils/addStageEnvironment.js.map +1 -0
  185. package/lib/utils/attachProject.d.ts +21 -0
  186. package/lib/utils/attachProject.js +44 -0
  187. package/lib/utils/attachProject.js.map +1 -0
  188. package/lib/utils/createPipeline.d.ts +34 -0
  189. package/lib/utils/createPipeline.js +77 -0
  190. package/lib/utils/createPipeline.js.map +1 -0
  191. package/lib/utils/createProject.d.ts +17 -0
  192. package/lib/utils/createProject.js +39 -0
  193. package/lib/utils/createProject.js.map +1 -0
  194. package/lib/utils/createPullRequest.d.ts +49 -0
  195. package/lib/utils/createPullRequest.js +204 -0
  196. package/lib/utils/createPullRequest.js.map +1 -0
  197. package/lib/utils/createWorkItem.d.ts +19 -0
  198. package/lib/utils/createWorkItem.js +58 -0
  199. package/lib/utils/createWorkItem.js.map +1 -0
  200. package/lib/utils/pipelineUtils.d.ts +8 -0
  201. package/lib/utils/pipelineUtils.js +51 -0
  202. package/lib/utils/pipelineUtils.js.map +1 -0
  203. package/lib/utils/types.d.ts +57 -0
  204. package/lib/utils/types.js +17 -0
  205. package/lib/utils/types.js.map +1 -0
  206. package/lib/utils/updateWorkItemStatus.d.ts +34 -0
  207. package/lib/utils/updateWorkItemStatus.js +71 -0
  208. package/lib/utils/updateWorkItemStatus.js.map +1 -0
  209. package/lib/utils/workItems.d.ts +3 -0
  210. package/lib/utils/workItems.js +181 -0
  211. package/lib/utils/workItems.js.map +1 -0
  212. package/messages/commonErrors.md +5 -1
  213. package/messages/devops.pipeline.activate.md +29 -0
  214. package/messages/devops.pipeline.attach-project.md +29 -0
  215. package/messages/devops.pipeline.create.md +81 -0
  216. package/messages/devops.pipeline.stage.add.md +37 -0
  217. package/messages/devops.project.create.md +29 -0
  218. package/messages/devops.project.list.md +17 -0
  219. package/messages/devops.pull-request.create.md +57 -0
  220. package/messages/devops.stage.add-branch.md +46 -0
  221. package/messages/devops.stage.add-environment.md +61 -0
  222. package/messages/devops.work-item.create.md +29 -0
  223. package/messages/devops.work-item.list.md +21 -0
  224. package/messages/devops.work-item.status.update.md +29 -0
  225. package/npm-shrinkwrap.json +4197 -4471
  226. package/oclif.lock +3380 -3272
  227. package/oclif.manifest.json +1056 -11
  228. package/package.json +53 -23
  229. package/schemas/devops-pipeline-activate.json +28 -0
  230. package/schemas/devops-pipeline-attach__project.json +25 -0
  231. package/schemas/devops-pipeline-create.json +50 -0
  232. package/schemas/devops-pipeline-stage-add.json +31 -0
  233. package/schemas/devops-project-create.json +28 -0
  234. package/schemas/devops-project-list.json +35 -0
  235. package/schemas/devops-pull__request-create.json +34 -0
  236. package/schemas/devops-stage-add__branch.json +34 -0
  237. package/schemas/devops-stage-add__environment.json +47 -0
  238. package/schemas/devops-work__item-create.json +28 -0
  239. package/schemas/devops-work__item-list.json +75 -0
  240. package/schemas/devops-work__item-status-update.json +28 -0
  241. package/schemas/project-deploy-pipeline-report.json +2 -2
@@ -1,5 +1,1015 @@
1
1
  {
2
2
  "commands": {
3
+ "devops:pipeline:activate": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "A pipeline must have at least one stage before you activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
7
+ "examples": [
8
+ "Activate a pipeline using the pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001"
9
+ ],
10
+ "flags": {
11
+ "json": {
12
+ "description": "Format output as json.",
13
+ "helpGroup": "GLOBAL",
14
+ "name": "json",
15
+ "allowNo": false,
16
+ "type": "boolean"
17
+ },
18
+ "flags-dir": {
19
+ "helpGroup": "GLOBAL",
20
+ "name": "flags-dir",
21
+ "summary": "Import flag values from a directory.",
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
25
+ },
26
+ "target-org": {
27
+ "char": "o",
28
+ "name": "target-org",
29
+ "noCacheDefault": true,
30
+ "required": true,
31
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
32
+ "hasDynamicHelp": true,
33
+ "multiple": false,
34
+ "type": "option"
35
+ },
36
+ "api-version": {
37
+ "description": "Override the api version used for api requests made by this command",
38
+ "name": "api-version",
39
+ "hasDynamicHelp": false,
40
+ "multiple": false,
41
+ "type": "option"
42
+ },
43
+ "pipeline-id": {
44
+ "name": "pipeline-id",
45
+ "required": true,
46
+ "summary": "ID of the pipeline.",
47
+ "hasDynamicHelp": false,
48
+ "multiple": false,
49
+ "type": "option"
50
+ }
51
+ },
52
+ "hasDynamicHelp": true,
53
+ "hiddenAliases": [],
54
+ "id": "devops:pipeline:activate",
55
+ "pluginAlias": "@salesforce/plugin-devops-center",
56
+ "pluginName": "@salesforce/plugin-devops-center",
57
+ "pluginType": "core",
58
+ "strict": true,
59
+ "summary": "Activate a DevOps Center pipeline for deployments.",
60
+ "enableJsonFlag": true,
61
+ "isESM": true,
62
+ "relativePath": [
63
+ "lib",
64
+ "commands",
65
+ "devops",
66
+ "pipeline",
67
+ "activate.js"
68
+ ]
69
+ },
70
+ "devops:pipeline:attach-project": {
71
+ "aliases": [],
72
+ "args": {},
73
+ "description": "You can attach a project to only one pipeline.",
74
+ "examples": [
75
+ "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"
76
+ ],
77
+ "flags": {
78
+ "json": {
79
+ "description": "Format output as json.",
80
+ "helpGroup": "GLOBAL",
81
+ "name": "json",
82
+ "allowNo": false,
83
+ "type": "boolean"
84
+ },
85
+ "flags-dir": {
86
+ "helpGroup": "GLOBAL",
87
+ "name": "flags-dir",
88
+ "summary": "Import flag values from a directory.",
89
+ "hasDynamicHelp": false,
90
+ "multiple": false,
91
+ "type": "option"
92
+ },
93
+ "target-org": {
94
+ "char": "o",
95
+ "name": "target-org",
96
+ "noCacheDefault": true,
97
+ "required": true,
98
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
99
+ "hasDynamicHelp": true,
100
+ "multiple": false,
101
+ "type": "option"
102
+ },
103
+ "api-version": {
104
+ "description": "Override the api version used for api requests made by this command",
105
+ "name": "api-version",
106
+ "hasDynamicHelp": false,
107
+ "multiple": false,
108
+ "type": "option"
109
+ },
110
+ "pipeline-id": {
111
+ "name": "pipeline-id",
112
+ "required": true,
113
+ "summary": "ID of the pipeline.",
114
+ "hasDynamicHelp": false,
115
+ "multiple": false,
116
+ "type": "option"
117
+ },
118
+ "project-id": {
119
+ "name": "project-id",
120
+ "required": true,
121
+ "summary": "ID of the DevOps Center project.",
122
+ "hasDynamicHelp": false,
123
+ "multiple": false,
124
+ "type": "option"
125
+ }
126
+ },
127
+ "hasDynamicHelp": true,
128
+ "hiddenAliases": [],
129
+ "id": "devops:pipeline:attach-project",
130
+ "pluginAlias": "@salesforce/plugin-devops-center",
131
+ "pluginName": "@salesforce/plugin-devops-center",
132
+ "pluginType": "core",
133
+ "strict": true,
134
+ "summary": "Attach a DevOps Center project to a pipeline.",
135
+ "enableJsonFlag": true,
136
+ "isESM": true,
137
+ "relativePath": [
138
+ "lib",
139
+ "commands",
140
+ "devops",
141
+ "pipeline",
142
+ "attach-project.js"
143
+ ]
144
+ },
145
+ "devops:pipeline:create": {
146
+ "aliases": [],
147
+ "args": {},
148
+ "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.",
149
+ "examples": [
150
+ "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",
151
+ "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",
152
+ "Create a pipeline with a description and associate it with a Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myorg/myrepo --description \"Main CI/CD pipeline for production releases\""
153
+ ],
154
+ "flags": {
155
+ "json": {
156
+ "description": "Format output as json.",
157
+ "helpGroup": "GLOBAL",
158
+ "name": "json",
159
+ "allowNo": false,
160
+ "type": "boolean"
161
+ },
162
+ "flags-dir": {
163
+ "helpGroup": "GLOBAL",
164
+ "name": "flags-dir",
165
+ "summary": "Import flag values from a directory.",
166
+ "hasDynamicHelp": false,
167
+ "multiple": false,
168
+ "type": "option"
169
+ },
170
+ "target-org": {
171
+ "char": "o",
172
+ "name": "target-org",
173
+ "noCacheDefault": true,
174
+ "required": true,
175
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
176
+ "hasDynamicHelp": true,
177
+ "multiple": false,
178
+ "type": "option"
179
+ },
180
+ "api-version": {
181
+ "description": "Override the api version used for api requests made by this command",
182
+ "name": "api-version",
183
+ "hasDynamicHelp": false,
184
+ "multiple": false,
185
+ "type": "option"
186
+ },
187
+ "name": {
188
+ "char": "n",
189
+ "name": "name",
190
+ "required": true,
191
+ "summary": "Name of the pipeline.",
192
+ "hasDynamicHelp": false,
193
+ "multiple": false,
194
+ "type": "option"
195
+ },
196
+ "repo": {
197
+ "char": "r",
198
+ "name": "repo",
199
+ "required": true,
200
+ "summary": "URL of an existing repository or the name of a repository to create.",
201
+ "hasDynamicHelp": false,
202
+ "multiple": false,
203
+ "type": "option"
204
+ },
205
+ "repo-type": {
206
+ "name": "repo-type",
207
+ "summary": "Type of the source code repository. Required when creating a repository using '--create-repo'.",
208
+ "hasDynamicHelp": false,
209
+ "multiple": false,
210
+ "options": [
211
+ "github",
212
+ "bitbucket"
213
+ ],
214
+ "type": "option"
215
+ },
216
+ "create-repo": {
217
+ "name": "create-repo",
218
+ "summary": "Create a repository if it doesn't exist.",
219
+ "allowNo": false,
220
+ "type": "boolean"
221
+ },
222
+ "repo-owner": {
223
+ "name": "repo-owner",
224
+ "summary": "Owner (organization or user) of the repository. Required when creating a repository using '--create-repo'.",
225
+ "hasDynamicHelp": false,
226
+ "multiple": false,
227
+ "type": "option"
228
+ },
229
+ "bitbucket-project": {
230
+ "name": "bitbucket-project",
231
+ "summary": "Bitbucket project key for the repository. Used when creating a Bitbucket repository with '--create-repo'.",
232
+ "hasDynamicHelp": false,
233
+ "multiple": false,
234
+ "type": "option"
235
+ },
236
+ "description": {
237
+ "char": "d",
238
+ "name": "description",
239
+ "summary": "Description of the pipeline.",
240
+ "hasDynamicHelp": false,
241
+ "multiple": false,
242
+ "type": "option"
243
+ }
244
+ },
245
+ "hasDynamicHelp": true,
246
+ "hiddenAliases": [],
247
+ "id": "devops:pipeline:create",
248
+ "pluginAlias": "@salesforce/plugin-devops-center",
249
+ "pluginName": "@salesforce/plugin-devops-center",
250
+ "pluginType": "core",
251
+ "strict": true,
252
+ "summary": "Create a DevOps Center pipeline.",
253
+ "enableJsonFlag": true,
254
+ "isESM": true,
255
+ "relativePath": [
256
+ "lib",
257
+ "commands",
258
+ "devops",
259
+ "pipeline",
260
+ "create.js"
261
+ ]
262
+ },
263
+ "devops:project:create": {
264
+ "aliases": [],
265
+ "args": {},
266
+ "description": "Creates a new DevOps Center project with the specified name and optional description.",
267
+ "examples": [
268
+ "Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
269
+ "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\""
270
+ ],
271
+ "flags": {
272
+ "json": {
273
+ "description": "Format output as json.",
274
+ "helpGroup": "GLOBAL",
275
+ "name": "json",
276
+ "allowNo": false,
277
+ "type": "boolean"
278
+ },
279
+ "flags-dir": {
280
+ "helpGroup": "GLOBAL",
281
+ "name": "flags-dir",
282
+ "summary": "Import flag values from a directory.",
283
+ "hasDynamicHelp": false,
284
+ "multiple": false,
285
+ "type": "option"
286
+ },
287
+ "target-org": {
288
+ "char": "o",
289
+ "name": "target-org",
290
+ "noCacheDefault": true,
291
+ "required": true,
292
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
293
+ "hasDynamicHelp": true,
294
+ "multiple": false,
295
+ "type": "option"
296
+ },
297
+ "api-version": {
298
+ "description": "Override the api version used for api requests made by this command",
299
+ "name": "api-version",
300
+ "hasDynamicHelp": false,
301
+ "multiple": false,
302
+ "type": "option"
303
+ },
304
+ "name": {
305
+ "char": "n",
306
+ "name": "name",
307
+ "required": true,
308
+ "summary": "Name of the new DevOps Center project.",
309
+ "hasDynamicHelp": false,
310
+ "multiple": false,
311
+ "type": "option"
312
+ },
313
+ "description": {
314
+ "char": "d",
315
+ "name": "description",
316
+ "summary": "Description of the new project; if not specified, the description is blank.",
317
+ "hasDynamicHelp": false,
318
+ "multiple": false,
319
+ "type": "option"
320
+ }
321
+ },
322
+ "hasDynamicHelp": true,
323
+ "hiddenAliases": [],
324
+ "id": "devops:project:create",
325
+ "pluginAlias": "@salesforce/plugin-devops-center",
326
+ "pluginName": "@salesforce/plugin-devops-center",
327
+ "pluginType": "core",
328
+ "strict": true,
329
+ "summary": "Create a DevOps Center project in a DevOps Center org.",
330
+ "enableJsonFlag": true,
331
+ "isESM": true,
332
+ "relativePath": [
333
+ "lib",
334
+ "commands",
335
+ "devops",
336
+ "project",
337
+ "create.js"
338
+ ]
339
+ },
340
+ "devops:project:list": {
341
+ "aliases": [],
342
+ "args": {},
343
+ "description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
344
+ "examples": [
345
+ "List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
346
+ "List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
347
+ ],
348
+ "flags": {
349
+ "json": {
350
+ "description": "Format output as json.",
351
+ "helpGroup": "GLOBAL",
352
+ "name": "json",
353
+ "allowNo": false,
354
+ "type": "boolean"
355
+ },
356
+ "flags-dir": {
357
+ "helpGroup": "GLOBAL",
358
+ "name": "flags-dir",
359
+ "summary": "Import flag values from a directory.",
360
+ "hasDynamicHelp": false,
361
+ "multiple": false,
362
+ "type": "option"
363
+ },
364
+ "target-org": {
365
+ "char": "o",
366
+ "name": "target-org",
367
+ "noCacheDefault": true,
368
+ "required": true,
369
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
370
+ "hasDynamicHelp": true,
371
+ "multiple": false,
372
+ "type": "option"
373
+ },
374
+ "api-version": {
375
+ "description": "Override the api version used for api requests made by this command",
376
+ "name": "api-version",
377
+ "hasDynamicHelp": false,
378
+ "multiple": false,
379
+ "type": "option"
380
+ }
381
+ },
382
+ "hasDynamicHelp": true,
383
+ "hiddenAliases": [],
384
+ "id": "devops:project:list",
385
+ "pluginAlias": "@salesforce/plugin-devops-center",
386
+ "pluginName": "@salesforce/plugin-devops-center",
387
+ "pluginType": "core",
388
+ "strict": true,
389
+ "summary": "List all DevOps Center projects in a Salesforce org.",
390
+ "enableJsonFlag": true,
391
+ "isESM": true,
392
+ "relativePath": [
393
+ "lib",
394
+ "commands",
395
+ "devops",
396
+ "project",
397
+ "list.js"
398
+ ]
399
+ },
400
+ "devops:pull-request:create": {
401
+ "aliases": [],
402
+ "args": {},
403
+ "description": "The pull request title defaults to the work item subject. The work item must have an associated branch and repository. Requires VCS authentication: set GITHUB_TOKEN (or use `gh auth login`) for GitHub, or set BITBUCKET_TOKEN for Bitbucket.",
404
+ "examples": [
405
+ "Create a pull request for a work item using the default title.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
406
+ "Create a pull request with a custom title and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --title \"Fix: Login timeout\" --body \"Resolves the 30s timeout on the login page\""
407
+ ],
408
+ "flags": {
409
+ "json": {
410
+ "description": "Format output as json.",
411
+ "helpGroup": "GLOBAL",
412
+ "name": "json",
413
+ "allowNo": false,
414
+ "type": "boolean"
415
+ },
416
+ "flags-dir": {
417
+ "helpGroup": "GLOBAL",
418
+ "name": "flags-dir",
419
+ "summary": "Import flag values from a directory.",
420
+ "hasDynamicHelp": false,
421
+ "multiple": false,
422
+ "type": "option"
423
+ },
424
+ "target-org": {
425
+ "char": "o",
426
+ "name": "target-org",
427
+ "noCacheDefault": true,
428
+ "required": true,
429
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
430
+ "hasDynamicHelp": true,
431
+ "multiple": false,
432
+ "type": "option"
433
+ },
434
+ "api-version": {
435
+ "description": "Override the api version used for api requests made by this command",
436
+ "name": "api-version",
437
+ "hasDynamicHelp": false,
438
+ "multiple": false,
439
+ "type": "option"
440
+ },
441
+ "work-item-name": {
442
+ "char": "n",
443
+ "name": "work-item-name",
444
+ "summary": "Name of the work item, such as WI-000001.",
445
+ "hasDynamicHelp": false,
446
+ "multiple": false,
447
+ "type": "option"
448
+ },
449
+ "work-item-id": {
450
+ "char": "w",
451
+ "name": "work-item-id",
452
+ "summary": "ID of the work item.",
453
+ "hasDynamicHelp": false,
454
+ "multiple": false,
455
+ "type": "option"
456
+ },
457
+ "title": {
458
+ "name": "title",
459
+ "summary": "Title of the pull request.",
460
+ "hasDynamicHelp": false,
461
+ "multiple": false,
462
+ "type": "option"
463
+ },
464
+ "body": {
465
+ "name": "body",
466
+ "summary": "Description of the pull request.",
467
+ "hasDynamicHelp": false,
468
+ "multiple": false,
469
+ "type": "option"
470
+ }
471
+ },
472
+ "hasDynamicHelp": true,
473
+ "hiddenAliases": [],
474
+ "id": "devops:pull-request:create",
475
+ "pluginAlias": "@salesforce/plugin-devops-center",
476
+ "pluginName": "@salesforce/plugin-devops-center",
477
+ "pluginType": "core",
478
+ "strict": true,
479
+ "summary": "Create a pull request for a work item branch.",
480
+ "enableJsonFlag": true,
481
+ "isESM": true,
482
+ "relativePath": [
483
+ "lib",
484
+ "commands",
485
+ "devops",
486
+ "pull-request",
487
+ "create.js"
488
+ ]
489
+ },
490
+ "devops:stage:add-branch": {
491
+ "aliases": [],
492
+ "args": {},
493
+ "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.",
494
+ "examples": [
495
+ "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",
496
+ "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"
497
+ ],
498
+ "flags": {
499
+ "json": {
500
+ "description": "Format output as json.",
501
+ "helpGroup": "GLOBAL",
502
+ "name": "json",
503
+ "allowNo": false,
504
+ "type": "boolean"
505
+ },
506
+ "flags-dir": {
507
+ "helpGroup": "GLOBAL",
508
+ "name": "flags-dir",
509
+ "summary": "Import flag values from a directory.",
510
+ "hasDynamicHelp": false,
511
+ "multiple": false,
512
+ "type": "option"
513
+ },
514
+ "target-org": {
515
+ "char": "o",
516
+ "name": "target-org",
517
+ "noCacheDefault": true,
518
+ "required": true,
519
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
520
+ "hasDynamicHelp": true,
521
+ "multiple": false,
522
+ "type": "option"
523
+ },
524
+ "api-version": {
525
+ "description": "Override the api version used for api requests made by this command",
526
+ "name": "api-version",
527
+ "hasDynamicHelp": false,
528
+ "multiple": false,
529
+ "type": "option"
530
+ },
531
+ "pipeline-id": {
532
+ "name": "pipeline-id",
533
+ "required": true,
534
+ "summary": "ID of the pipeline that contains the stage.",
535
+ "hasDynamicHelp": false,
536
+ "multiple": false,
537
+ "type": "option"
538
+ },
539
+ "stage-id": {
540
+ "name": "stage-id",
541
+ "required": true,
542
+ "summary": "ID of the pipeline stage to associate the branch with.",
543
+ "hasDynamicHelp": false,
544
+ "multiple": false,
545
+ "type": "option"
546
+ },
547
+ "branch-name": {
548
+ "char": "b",
549
+ "name": "branch-name",
550
+ "required": true,
551
+ "summary": "Name of the repository branch to assign to the stage.",
552
+ "hasDynamicHelp": false,
553
+ "multiple": false,
554
+ "type": "option"
555
+ },
556
+ "create-vcs-branch": {
557
+ "name": "create-vcs-branch",
558
+ "summary": "Create the branch in the remote repository if it doesn't already exist.",
559
+ "allowNo": false,
560
+ "type": "boolean"
561
+ }
562
+ },
563
+ "hasDynamicHelp": true,
564
+ "hiddenAliases": [],
565
+ "id": "devops:stage:add-branch",
566
+ "pluginAlias": "@salesforce/plugin-devops-center",
567
+ "pluginName": "@salesforce/plugin-devops-center",
568
+ "pluginType": "core",
569
+ "strict": true,
570
+ "summary": "Add a source code repository branch to a pipeline stage.",
571
+ "enableJsonFlag": true,
572
+ "isESM": true,
573
+ "relativePath": [
574
+ "lib",
575
+ "commands",
576
+ "devops",
577
+ "stage",
578
+ "add-branch.js"
579
+ ]
580
+ },
581
+ "devops:stage:add-environment": {
582
+ "aliases": [],
583
+ "args": {},
584
+ "description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
585
+ "examples": [
586
+ "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"
587
+ ],
588
+ "flags": {
589
+ "json": {
590
+ "description": "Format output as json.",
591
+ "helpGroup": "GLOBAL",
592
+ "name": "json",
593
+ "allowNo": false,
594
+ "type": "boolean"
595
+ },
596
+ "flags-dir": {
597
+ "helpGroup": "GLOBAL",
598
+ "name": "flags-dir",
599
+ "summary": "Import flag values from a directory.",
600
+ "hasDynamicHelp": false,
601
+ "multiple": false,
602
+ "type": "option"
603
+ },
604
+ "target-org": {
605
+ "char": "o",
606
+ "name": "target-org",
607
+ "noCacheDefault": true,
608
+ "required": true,
609
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
610
+ "hasDynamicHelp": true,
611
+ "multiple": false,
612
+ "type": "option"
613
+ },
614
+ "api-version": {
615
+ "description": "Override the api version used for api requests made by this command",
616
+ "name": "api-version",
617
+ "hasDynamicHelp": false,
618
+ "multiple": false,
619
+ "type": "option"
620
+ },
621
+ "pipeline-id": {
622
+ "name": "pipeline-id",
623
+ "required": true,
624
+ "summary": "ID of the pipeline that contains the stage.",
625
+ "hasDynamicHelp": false,
626
+ "multiple": false,
627
+ "type": "option"
628
+ },
629
+ "stage-id": {
630
+ "name": "stage-id",
631
+ "required": true,
632
+ "summary": "ID of the pipeline stage.",
633
+ "hasDynamicHelp": false,
634
+ "multiple": false,
635
+ "type": "option"
636
+ },
637
+ "environment-name": {
638
+ "char": "e",
639
+ "name": "environment-name",
640
+ "required": true,
641
+ "summary": "Name of the environment.",
642
+ "hasDynamicHelp": false,
643
+ "multiple": false,
644
+ "type": "option"
645
+ },
646
+ "org-type": {
647
+ "name": "org-type",
648
+ "required": true,
649
+ "summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
650
+ "hasDynamicHelp": false,
651
+ "multiple": false,
652
+ "options": [
653
+ "Production",
654
+ "Sandbox"
655
+ ],
656
+ "type": "option"
657
+ },
658
+ "no-browser": {
659
+ "name": "no-browser",
660
+ "summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
661
+ "allowNo": false,
662
+ "type": "boolean"
663
+ }
664
+ },
665
+ "hasDynamicHelp": true,
666
+ "hiddenAliases": [],
667
+ "id": "devops:stage:add-environment",
668
+ "pluginAlias": "@salesforce/plugin-devops-center",
669
+ "pluginName": "@salesforce/plugin-devops-center",
670
+ "pluginType": "core",
671
+ "strict": true,
672
+ "summary": "Add a Salesforce environment to a pipeline stage.",
673
+ "enableJsonFlag": true,
674
+ "isESM": true,
675
+ "relativePath": [
676
+ "lib",
677
+ "commands",
678
+ "devops",
679
+ "stage",
680
+ "add-environment.js"
681
+ ]
682
+ },
683
+ "devops:work-item:create": {
684
+ "aliases": [],
685
+ "args": {},
686
+ "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.",
687
+ "examples": [
688
+ "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\"",
689
+ "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\""
690
+ ],
691
+ "flags": {
692
+ "json": {
693
+ "description": "Format output as json.",
694
+ "helpGroup": "GLOBAL",
695
+ "name": "json",
696
+ "allowNo": false,
697
+ "type": "boolean"
698
+ },
699
+ "flags-dir": {
700
+ "helpGroup": "GLOBAL",
701
+ "name": "flags-dir",
702
+ "summary": "Import flag values from a directory.",
703
+ "hasDynamicHelp": false,
704
+ "multiple": false,
705
+ "type": "option"
706
+ },
707
+ "target-org": {
708
+ "char": "o",
709
+ "name": "target-org",
710
+ "noCacheDefault": true,
711
+ "required": true,
712
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
713
+ "hasDynamicHelp": true,
714
+ "multiple": false,
715
+ "type": "option"
716
+ },
717
+ "api-version": {
718
+ "description": "Override the api version used for api requests made by this command",
719
+ "name": "api-version",
720
+ "hasDynamicHelp": false,
721
+ "multiple": false,
722
+ "type": "option"
723
+ },
724
+ "project-id": {
725
+ "char": "p",
726
+ "name": "project-id",
727
+ "required": true,
728
+ "summary": "ID of the DevOps Center project to create the work item in.",
729
+ "hasDynamicHelp": false,
730
+ "multiple": false,
731
+ "type": "option"
732
+ },
733
+ "subject": {
734
+ "char": "s",
735
+ "name": "subject",
736
+ "required": true,
737
+ "summary": "Subject (title) of the new work item.",
738
+ "hasDynamicHelp": false,
739
+ "multiple": false,
740
+ "type": "option"
741
+ },
742
+ "description": {
743
+ "char": "d",
744
+ "name": "description",
745
+ "summary": "Description of the new work item; if not specified, the description is blank.",
746
+ "hasDynamicHelp": false,
747
+ "multiple": false,
748
+ "type": "option"
749
+ }
750
+ },
751
+ "hasDynamicHelp": true,
752
+ "hiddenAliases": [],
753
+ "id": "devops:work-item:create",
754
+ "pluginAlias": "@salesforce/plugin-devops-center",
755
+ "pluginName": "@salesforce/plugin-devops-center",
756
+ "pluginType": "core",
757
+ "strict": true,
758
+ "summary": "Create a new work item in a DevOps Center project.",
759
+ "enableJsonFlag": true,
760
+ "isESM": true,
761
+ "relativePath": [
762
+ "lib",
763
+ "commands",
764
+ "devops",
765
+ "work-item",
766
+ "create.js"
767
+ ]
768
+ },
769
+ "devops:work-item:list": {
770
+ "aliases": [],
771
+ "args": {},
772
+ "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.",
773
+ "examples": [
774
+ "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",
775
+ "List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
776
+ ],
777
+ "flags": {
778
+ "json": {
779
+ "description": "Format output as json.",
780
+ "helpGroup": "GLOBAL",
781
+ "name": "json",
782
+ "allowNo": false,
783
+ "type": "boolean"
784
+ },
785
+ "flags-dir": {
786
+ "helpGroup": "GLOBAL",
787
+ "name": "flags-dir",
788
+ "summary": "Import flag values from a directory.",
789
+ "hasDynamicHelp": false,
790
+ "multiple": false,
791
+ "type": "option"
792
+ },
793
+ "target-org": {
794
+ "char": "o",
795
+ "name": "target-org",
796
+ "noCacheDefault": true,
797
+ "required": true,
798
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
799
+ "hasDynamicHelp": true,
800
+ "multiple": false,
801
+ "type": "option"
802
+ },
803
+ "api-version": {
804
+ "description": "Override the api version used for api requests made by this command",
805
+ "name": "api-version",
806
+ "hasDynamicHelp": false,
807
+ "multiple": false,
808
+ "type": "option"
809
+ },
810
+ "project-id": {
811
+ "char": "p",
812
+ "name": "project-id",
813
+ "required": true,
814
+ "summary": "ID of the DevOps Center project to list work items for.",
815
+ "hasDynamicHelp": false,
816
+ "multiple": false,
817
+ "type": "option"
818
+ }
819
+ },
820
+ "hasDynamicHelp": true,
821
+ "hiddenAliases": [],
822
+ "id": "devops:work-item:list",
823
+ "pluginAlias": "@salesforce/plugin-devops-center",
824
+ "pluginName": "@salesforce/plugin-devops-center",
825
+ "pluginType": "core",
826
+ "strict": true,
827
+ "summary": "List all work items for a DevOps Center project.",
828
+ "enableJsonFlag": true,
829
+ "isESM": true,
830
+ "relativePath": [
831
+ "lib",
832
+ "commands",
833
+ "devops",
834
+ "work-item",
835
+ "list.js"
836
+ ]
837
+ },
838
+ "devops:pipeline:stage:add": {
839
+ "aliases": [],
840
+ "args": {},
841
+ "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.",
842
+ "examples": [
843
+ "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",
844
+ "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"
845
+ ],
846
+ "flags": {
847
+ "json": {
848
+ "description": "Format output as json.",
849
+ "helpGroup": "GLOBAL",
850
+ "name": "json",
851
+ "allowNo": false,
852
+ "type": "boolean"
853
+ },
854
+ "flags-dir": {
855
+ "helpGroup": "GLOBAL",
856
+ "name": "flags-dir",
857
+ "summary": "Import flag values from a directory.",
858
+ "hasDynamicHelp": false,
859
+ "multiple": false,
860
+ "type": "option"
861
+ },
862
+ "target-org": {
863
+ "char": "o",
864
+ "name": "target-org",
865
+ "noCacheDefault": true,
866
+ "required": true,
867
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
868
+ "hasDynamicHelp": true,
869
+ "multiple": false,
870
+ "type": "option"
871
+ },
872
+ "api-version": {
873
+ "description": "Override the api version used for api requests made by this command",
874
+ "name": "api-version",
875
+ "hasDynamicHelp": false,
876
+ "multiple": false,
877
+ "type": "option"
878
+ },
879
+ "pipeline-id": {
880
+ "name": "pipeline-id",
881
+ "required": true,
882
+ "summary": "ID of the pipeline where the stage is added.",
883
+ "hasDynamicHelp": false,
884
+ "multiple": false,
885
+ "type": "option"
886
+ },
887
+ "name": {
888
+ "char": "n",
889
+ "name": "name",
890
+ "required": true,
891
+ "summary": "Name of the pipeline stage, such as Integration, UAT, or Staging.",
892
+ "hasDynamicHelp": false,
893
+ "multiple": false,
894
+ "type": "option"
895
+ },
896
+ "next-stage-id": {
897
+ "name": "next-stage-id",
898
+ "required": true,
899
+ "summary": "ID of the stage that follows the new stage in the pipeline.",
900
+ "hasDynamicHelp": false,
901
+ "multiple": false,
902
+ "type": "option"
903
+ }
904
+ },
905
+ "hasDynamicHelp": true,
906
+ "hiddenAliases": [],
907
+ "id": "devops:pipeline:stage:add",
908
+ "pluginAlias": "@salesforce/plugin-devops-center",
909
+ "pluginName": "@salesforce/plugin-devops-center",
910
+ "pluginType": "core",
911
+ "strict": true,
912
+ "summary": "Add a stage to a DevOps Center pipeline.",
913
+ "enableJsonFlag": true,
914
+ "isESM": true,
915
+ "relativePath": [
916
+ "lib",
917
+ "commands",
918
+ "devops",
919
+ "pipeline",
920
+ "stage",
921
+ "add.js"
922
+ ]
923
+ },
924
+ "devops:work-item:status:update": {
925
+ "aliases": [],
926
+ "args": {},
927
+ "description": "Allowed statuses are \"In Progress\" and \"Ready to Promote\".",
928
+ "examples": [
929
+ "Update a work item status by its name to indicate the work is underway:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --status \"In Progress\"",
930
+ "Update a work item status by its ID to indicate the changes are ready for promotion:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --status \"Ready to Promote\""
931
+ ],
932
+ "flags": {
933
+ "json": {
934
+ "description": "Format output as json.",
935
+ "helpGroup": "GLOBAL",
936
+ "name": "json",
937
+ "allowNo": false,
938
+ "type": "boolean"
939
+ },
940
+ "flags-dir": {
941
+ "helpGroup": "GLOBAL",
942
+ "name": "flags-dir",
943
+ "summary": "Import flag values from a directory.",
944
+ "hasDynamicHelp": false,
945
+ "multiple": false,
946
+ "type": "option"
947
+ },
948
+ "target-org": {
949
+ "char": "o",
950
+ "name": "target-org",
951
+ "noCacheDefault": true,
952
+ "required": true,
953
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
954
+ "hasDynamicHelp": true,
955
+ "multiple": false,
956
+ "type": "option"
957
+ },
958
+ "api-version": {
959
+ "description": "Override the api version used for api requests made by this command",
960
+ "name": "api-version",
961
+ "hasDynamicHelp": false,
962
+ "multiple": false,
963
+ "type": "option"
964
+ },
965
+ "work-item-name": {
966
+ "char": "n",
967
+ "name": "work-item-name",
968
+ "summary": "Name of the work item, such as WI-000001.",
969
+ "hasDynamicHelp": false,
970
+ "multiple": false,
971
+ "type": "option"
972
+ },
973
+ "work-item-id": {
974
+ "char": "w",
975
+ "name": "work-item-id",
976
+ "summary": "ID of the work item.",
977
+ "hasDynamicHelp": false,
978
+ "multiple": false,
979
+ "type": "option"
980
+ },
981
+ "status": {
982
+ "name": "status",
983
+ "required": true,
984
+ "summary": "Status to set for the work item. Allowed values: \"In Progress\", \"Ready to Promote\".",
985
+ "hasDynamicHelp": false,
986
+ "multiple": false,
987
+ "options": [
988
+ "In Progress",
989
+ "Ready to Promote"
990
+ ],
991
+ "type": "option"
992
+ }
993
+ },
994
+ "hasDynamicHelp": true,
995
+ "hiddenAliases": [],
996
+ "id": "devops:work-item:status:update",
997
+ "pluginAlias": "@salesforce/plugin-devops-center",
998
+ "pluginName": "@salesforce/plugin-devops-center",
999
+ "pluginType": "core",
1000
+ "strict": true,
1001
+ "summary": "Update the status of a work item in DevOps Center.",
1002
+ "enableJsonFlag": true,
1003
+ "isESM": true,
1004
+ "relativePath": [
1005
+ "lib",
1006
+ "commands",
1007
+ "devops",
1008
+ "work-item",
1009
+ "status",
1010
+ "update.js"
1011
+ ]
1012
+ },
3
1013
  "project:deploy:pipeline:quick": {
4
1014
  "aliases": [],
5
1015
  "args": {},
@@ -16,6 +1026,14 @@
16
1026
  "allowNo": false,
17
1027
  "type": "boolean"
18
1028
  },
1029
+ "flags-dir": {
1030
+ "helpGroup": "GLOBAL",
1031
+ "name": "flags-dir",
1032
+ "summary": "Import flag values from a directory.",
1033
+ "hasDynamicHelp": false,
1034
+ "multiple": false,
1035
+ "type": "option"
1036
+ },
19
1037
  "async": {
20
1038
  "description": "The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run \"sf project deploy pipeline resume\". To check the status of the deployment, run \"sf project deploy pipeline report\".",
21
1039
  "name": "async",
@@ -89,8 +1107,7 @@
89
1107
  "strict": true,
90
1108
  "summary": "Quickly deploy a validated deployment to an org.",
91
1109
  "enableJsonFlag": true,
92
- "SF_ENV": "SF_ENV",
93
- "isESM": false,
1110
+ "isESM": true,
94
1111
  "relativePath": [
95
1112
  "lib",
96
1113
  "commands",
@@ -116,6 +1133,14 @@
116
1133
  "allowNo": false,
117
1134
  "type": "boolean"
118
1135
  },
1136
+ "flags-dir": {
1137
+ "helpGroup": "GLOBAL",
1138
+ "name": "flags-dir",
1139
+ "summary": "Import flag values from a directory.",
1140
+ "hasDynamicHelp": false,
1141
+ "multiple": false,
1142
+ "type": "option"
1143
+ },
119
1144
  "devops-center-username": {
120
1145
  "char": "c",
121
1146
  "name": "devops-center-username",
@@ -153,8 +1178,7 @@
153
1178
  "strict": true,
154
1179
  "summary": "Check the status of a pipeline deploy operation.",
155
1180
  "enableJsonFlag": true,
156
- "SF_ENV": "SF_ENV",
157
- "isESM": false,
1181
+ "isESM": true,
158
1182
  "relativePath": [
159
1183
  "lib",
160
1184
  "commands",
@@ -180,6 +1204,14 @@
180
1204
  "allowNo": false,
181
1205
  "type": "boolean"
182
1206
  },
1207
+ "flags-dir": {
1208
+ "helpGroup": "GLOBAL",
1209
+ "name": "flags-dir",
1210
+ "summary": "Import flag values from a directory.",
1211
+ "hasDynamicHelp": false,
1212
+ "multiple": false,
1213
+ "type": "option"
1214
+ },
183
1215
  "devops-center-username": {
184
1216
  "char": "c",
185
1217
  "name": "devops-center-username",
@@ -246,8 +1278,7 @@
246
1278
  "strict": true,
247
1279
  "summary": "Resume watching a pipeline deploy operation.",
248
1280
  "enableJsonFlag": true,
249
- "SF_ENV": "SF_ENV",
250
- "isESM": false,
1281
+ "isESM": true,
251
1282
  "relativePath": [
252
1283
  "lib",
253
1284
  "commands",
@@ -273,6 +1304,14 @@
273
1304
  "allowNo": false,
274
1305
  "type": "boolean"
275
1306
  },
1307
+ "flags-dir": {
1308
+ "helpGroup": "GLOBAL",
1309
+ "name": "flags-dir",
1310
+ "summary": "Import flag values from a directory.",
1311
+ "hasDynamicHelp": false,
1312
+ "multiple": false,
1313
+ "type": "option"
1314
+ },
276
1315
  "branch-name": {
277
1316
  "char": "b",
278
1317
  "name": "branch-name",
@@ -388,8 +1427,7 @@
388
1427
  "strict": true,
389
1428
  "summary": "Deploy changes from a branch to the pipeline stage’s org.",
390
1429
  "enableJsonFlag": true,
391
- "SF_ENV": "SF_ENV",
392
- "isESM": false,
1430
+ "isESM": true,
393
1431
  "relativePath": [
394
1432
  "lib",
395
1433
  "commands",
@@ -415,6 +1453,14 @@
415
1453
  "allowNo": false,
416
1454
  "type": "boolean"
417
1455
  },
1456
+ "flags-dir": {
1457
+ "helpGroup": "GLOBAL",
1458
+ "name": "flags-dir",
1459
+ "summary": "Import flag values from a directory.",
1460
+ "hasDynamicHelp": false,
1461
+ "multiple": false,
1462
+ "type": "option"
1463
+ },
418
1464
  "branch-name": {
419
1465
  "char": "b",
420
1466
  "name": "branch-name",
@@ -530,8 +1576,7 @@
530
1576
  "strict": true,
531
1577
  "summary": "Perform a validate-only deployment from a branch to the pipeline stage’s org.",
532
1578
  "enableJsonFlag": true,
533
- "SF_ENV": "SF_ENV",
534
- "isESM": false,
1579
+ "isESM": true,
535
1580
  "relativePath": [
536
1581
  "lib",
537
1582
  "commands",
@@ -542,5 +1587,5 @@
542
1587
  ]
543
1588
  }
544
1589
  },
545
- "version": "1.2.27"
1590
+ "version": "1.3.0"
546
1591
  }