@b64hub/sfpm-cli 0.1.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 +915 -0
- package/bin/debug.sh +14 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/bootstrap.d.ts +19 -0
- package/dist/commands/bootstrap.js +279 -0
- package/dist/commands/bootstrap.js.map +1 -0
- package/dist/commands/build/status.d.ts +14 -0
- package/dist/commands/build/status.js +177 -0
- package/dist/commands/build/status.js.map +1 -0
- package/dist/commands/build.d.ts +30 -0
- package/dist/commands/build.js +228 -0
- package/dist/commands/build.js.map +1 -0
- package/dist/commands/deploy/artifact.d.ts +19 -0
- package/dist/commands/deploy/artifact.js +96 -0
- package/dist/commands/deploy/artifact.js.map +1 -0
- package/dist/commands/deploy.d.ts +20 -0
- package/dist/commands/deploy.js +141 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/hello/index.d.ts +12 -0
- package/dist/commands/hello/index.js +20 -0
- package/dist/commands/hello/index.js.map +1 -0
- package/dist/commands/hello/world.d.ts +8 -0
- package/dist/commands/hello/world.js +15 -0
- package/dist/commands/hello/world.js.map +1 -0
- package/dist/commands/install.d.ts +21 -0
- package/dist/commands/install.js +141 -0
- package/dist/commands/install.js.map +1 -0
- package/dist/commands/pool/delete.d.ts +15 -0
- package/dist/commands/pool/delete.js +80 -0
- package/dist/commands/pool/delete.js.map +1 -0
- package/dist/commands/pool/fetch.d.ts +16 -0
- package/dist/commands/pool/fetch.js +89 -0
- package/dist/commands/pool/fetch.js.map +1 -0
- package/dist/commands/pool/list.d.ts +15 -0
- package/dist/commands/pool/list.js +84 -0
- package/dist/commands/pool/list.js.map +1 -0
- package/dist/commands/pool/provision.d.ts +22 -0
- package/dist/commands/pool/provision.js +115 -0
- package/dist/commands/pool/provision.js.map +1 -0
- package/dist/commands/project/init/index.d.ts +15 -0
- package/dist/commands/project/init/index.js +156 -0
- package/dist/commands/project/init/index.js.map +1 -0
- package/dist/commands/project/init/turbo.d.ts +22 -0
- package/dist/commands/project/init/turbo.js +272 -0
- package/dist/commands/project/init/turbo.js.map +1 -0
- package/dist/commands/project/sync.d.ts +10 -0
- package/dist/commands/project/sync.js +74 -0
- package/dist/commands/project/sync.js.map +1 -0
- package/dist/commands/project/version/bump.d.ts +22 -0
- package/dist/commands/project/version/bump.js +187 -0
- package/dist/commands/project/version/bump.js.map +1 -0
- package/dist/commands/project.d.ts +13 -0
- package/dist/commands/project.js +105 -0
- package/dist/commands/project.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/sfpm-command.d.ts +15 -0
- package/dist/sfpm-command.js +34 -0
- package/dist/sfpm-command.js.map +1 -0
- package/dist/ui/boxes.d.ts +4 -0
- package/dist/ui/boxes.js +34 -0
- package/dist/ui/boxes.js.map +1 -0
- package/dist/ui/build-progress-renderer.d.ts +98 -0
- package/dist/ui/build-progress-renderer.js +684 -0
- package/dist/ui/build-progress-renderer.js.map +1 -0
- package/dist/ui/install-progress-renderer.d.ts +112 -0
- package/dist/ui/install-progress-renderer.js +443 -0
- package/dist/ui/install-progress-renderer.js.map +1 -0
- package/dist/ui/orchestration-listr.d.ts +211 -0
- package/dist/ui/orchestration-listr.js +391 -0
- package/dist/ui/orchestration-listr.js.map +1 -0
- package/dist/ui/pool-progress-renderer.d.ts +68 -0
- package/dist/ui/pool-progress-renderer.js +298 -0
- package/dist/ui/pool-progress-renderer.js.map +1 -0
- package/dist/ui/renderer-utils.d.ts +68 -0
- package/dist/ui/renderer-utils.js +66 -0
- package/dist/ui/renderer-utils.js.map +1 -0
- package/dist/utils/notifier.d.ts +12 -0
- package/dist/utils/notifier.js +73 -0
- package/dist/utils/notifier.js.map +1 -0
- package/dist/utils/validation-watcher.d.ts +1 -0
- package/dist/utils/validation-watcher.js +114 -0
- package/dist/utils/validation-watcher.js.map +1 -0
- package/oclif.manifest.json +1294 -0
- package/package.json +89 -0
- package/theme.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,915 @@
|
|
|
1
|
+
sfp
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
sfp is the devops tool Salesforce engineers have been waiting for
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
[](https://oclif.io)
|
|
8
|
+
[](https://npmjs.org/package/sfp)
|
|
9
|
+
[](https://npmjs.org/package/sfp)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<!-- toc -->
|
|
13
|
+
* [Usage](#usage)
|
|
14
|
+
* [Commands](#commands)
|
|
15
|
+
<!-- tocstop -->
|
|
16
|
+
# Usage
|
|
17
|
+
<!-- usage -->
|
|
18
|
+
```sh-session
|
|
19
|
+
$ npm install -g @b64hub/sfpm-cli
|
|
20
|
+
$ sfpm COMMAND
|
|
21
|
+
running command...
|
|
22
|
+
$ sfpm (--version)
|
|
23
|
+
@b64hub/sfpm-cli/0.1.0 darwin-arm64 node-v24.4.1
|
|
24
|
+
$ sfpm --help [COMMAND]
|
|
25
|
+
USAGE
|
|
26
|
+
$ sfpm COMMAND
|
|
27
|
+
...
|
|
28
|
+
```
|
|
29
|
+
<!-- usagestop -->
|
|
30
|
+
# Commands
|
|
31
|
+
<!-- commands -->
|
|
32
|
+
* [`sfpm bootstrap`](#sfpm-bootstrap)
|
|
33
|
+
* [`sfpm build PACKAGES`](#sfpm-build-packages)
|
|
34
|
+
* [`sfpm build status`](#sfpm-build-status)
|
|
35
|
+
* [`sfpm deploy PACKAGES`](#sfpm-deploy-packages)
|
|
36
|
+
* [`sfpm deploy artifact PACKAGES`](#sfpm-deploy-artifact-packages)
|
|
37
|
+
* [`sfpm hello PERSON`](#sfpm-hello-person)
|
|
38
|
+
* [`sfpm hello world`](#sfpm-hello-world)
|
|
39
|
+
* [`sfpm help [COMMAND]`](#sfpm-help-command)
|
|
40
|
+
* [`sfpm install PACKAGES`](#sfpm-install-packages)
|
|
41
|
+
* [`sfpm plugins`](#sfpm-plugins)
|
|
42
|
+
* [`sfpm plugins add PLUGIN`](#sfpm-plugins-add-plugin)
|
|
43
|
+
* [`sfpm plugins:inspect PLUGIN...`](#sfpm-pluginsinspect-plugin)
|
|
44
|
+
* [`sfpm plugins install PLUGIN`](#sfpm-plugins-install-plugin)
|
|
45
|
+
* [`sfpm plugins link PATH`](#sfpm-plugins-link-path)
|
|
46
|
+
* [`sfpm plugins remove [PLUGIN]`](#sfpm-plugins-remove-plugin)
|
|
47
|
+
* [`sfpm plugins reset`](#sfpm-plugins-reset)
|
|
48
|
+
* [`sfpm plugins uninstall [PLUGIN]`](#sfpm-plugins-uninstall-plugin)
|
|
49
|
+
* [`sfpm plugins unlink [PLUGIN]`](#sfpm-plugins-unlink-plugin)
|
|
50
|
+
* [`sfpm plugins update`](#sfpm-plugins-update)
|
|
51
|
+
* [`sfpm pool delete`](#sfpm-pool-delete)
|
|
52
|
+
* [`sfpm pool fetch`](#sfpm-pool-fetch)
|
|
53
|
+
* [`sfpm pool list`](#sfpm-pool-list)
|
|
54
|
+
* [`sfpm pool provision`](#sfpm-pool-provision)
|
|
55
|
+
* [`sfpm project`](#sfpm-project)
|
|
56
|
+
* [`sfpm project init`](#sfpm-project-init)
|
|
57
|
+
* [`sfpm project init turbo`](#sfpm-project-init-turbo)
|
|
58
|
+
* [`sfpm project sync`](#sfpm-project-sync)
|
|
59
|
+
* [`sfpm project version bump`](#sfpm-project-version-bump)
|
|
60
|
+
|
|
61
|
+
## `sfpm bootstrap`
|
|
62
|
+
|
|
63
|
+
Bootstrap SFPM packages into a production org
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
USAGE
|
|
67
|
+
$ sfpm bootstrap -o <value> [-f] [--json | -q] [-t
|
|
68
|
+
core|pool|full]
|
|
69
|
+
|
|
70
|
+
FLAGS
|
|
71
|
+
-f, --force force re-install even if packages are already installed
|
|
72
|
+
-o, --target-org=<value> (required) target org username (must also be a DevHub)
|
|
73
|
+
-q, --quiet only show errors
|
|
74
|
+
-t, --tier=<option> package tier to install
|
|
75
|
+
<options: core|pool|full>
|
|
76
|
+
--json output as JSON for CI/CD
|
|
77
|
+
|
|
78
|
+
DESCRIPTION
|
|
79
|
+
Bootstrap SFPM packages into a production org
|
|
80
|
+
|
|
81
|
+
EXAMPLES
|
|
82
|
+
$ sfpm bootstrap -o my-prod-org
|
|
83
|
+
|
|
84
|
+
$ sfpm bootstrap -o my-prod-org --tier core
|
|
85
|
+
|
|
86
|
+
$ sfpm bootstrap -o my-prod-org --tier full --json
|
|
87
|
+
|
|
88
|
+
$ sfpm bootstrap -o my-prod-org --force
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
_See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/bootstrap.js)_
|
|
92
|
+
|
|
93
|
+
## `sfpm build PACKAGES`
|
|
94
|
+
|
|
95
|
+
build one or more packages
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
USAGE
|
|
99
|
+
$ sfpm build PACKAGES... [--async-validation] [-b
|
|
100
|
+
<value>] [-f] [-k <value>] [--json | -q] [--no-dependencies] [--skip-validation] [-t <value>] [-v <value>] [--turbo]
|
|
101
|
+
[-w <value>]
|
|
102
|
+
|
|
103
|
+
ARGUMENTS
|
|
104
|
+
PACKAGES... package(s) to build
|
|
105
|
+
|
|
106
|
+
FLAGS
|
|
107
|
+
-b, --build-number=<value> build number
|
|
108
|
+
-f, --force [env: SFPM_FORCE_BUILD] build even if no source changes detected
|
|
109
|
+
-k, --installation-key=<value> installation key
|
|
110
|
+
-q, --quiet only show errors
|
|
111
|
+
-t, --tag=<value> tag for the build
|
|
112
|
+
-v, --target-dev-hub=<value> [env: SF_DEV_HUB] target dev hub username
|
|
113
|
+
-w, --wait=<value> [default: 120] timeout in minutes for package version creation
|
|
114
|
+
--async-validation return immediately after creating unlocked package versions without waiting for
|
|
115
|
+
validation to complete
|
|
116
|
+
--json output as JSON for CI/CD
|
|
117
|
+
--no-dependencies build the specified packages without their transitive dependencies
|
|
118
|
+
--skip-validation skip validation
|
|
119
|
+
--turbo single-package mode for external orchestrators (implies --no-dependencies
|
|
120
|
+
--skip-validation)
|
|
121
|
+
|
|
122
|
+
DESCRIPTION
|
|
123
|
+
build one or more packages
|
|
124
|
+
|
|
125
|
+
EXAMPLES
|
|
126
|
+
$ sfpm build my-package -v my-devhub
|
|
127
|
+
|
|
128
|
+
$ sfpm build my-package -v my-devhub --quiet
|
|
129
|
+
|
|
130
|
+
$ sfpm build my-package -v my-devhub --json
|
|
131
|
+
|
|
132
|
+
$ sfpm build my-package -v my-devhub --force
|
|
133
|
+
|
|
134
|
+
$ sfpm build package-a package-b -v my-devhub
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
_See code: [dist/commands/build.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/build.js)_
|
|
138
|
+
|
|
139
|
+
## `sfpm build status`
|
|
140
|
+
|
|
141
|
+
check the status of async package validation watchers
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
USAGE
|
|
145
|
+
$ sfpm build status [--clean] [--json] [--poll] [-v <value>]
|
|
146
|
+
|
|
147
|
+
FLAGS
|
|
148
|
+
-v, --target-dev-hub=<value> [env: SF_DEV_HUB] target dev hub username (required with --poll)
|
|
149
|
+
--clean remove completed and stale state files
|
|
150
|
+
--json output as JSON
|
|
151
|
+
--poll poll Salesforce directly for current status (requires --target-dev-hub)
|
|
152
|
+
|
|
153
|
+
DESCRIPTION
|
|
154
|
+
check the status of async package validation watchers
|
|
155
|
+
|
|
156
|
+
EXAMPLES
|
|
157
|
+
$ sfpm build status
|
|
158
|
+
|
|
159
|
+
$ sfpm build status --json
|
|
160
|
+
|
|
161
|
+
$ sfpm build status --poll -v my-devhub
|
|
162
|
+
|
|
163
|
+
$ sfpm build status --clean
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
_See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/build/status.js)_
|
|
167
|
+
|
|
168
|
+
## `sfpm deploy PACKAGES`
|
|
169
|
+
|
|
170
|
+
deploy one or more packages from local project source
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
USAGE
|
|
174
|
+
$ sfpm deploy PACKAGES... -o <value> [-f] [--json | -q]
|
|
175
|
+
[--no-dependencies] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
|
|
176
|
+
|
|
177
|
+
ARGUMENTS
|
|
178
|
+
PACKAGES... package(s) to deploy
|
|
179
|
+
|
|
180
|
+
FLAGS
|
|
181
|
+
-f, --force force deploy even if already installed
|
|
182
|
+
-l, --test-level=<option> deployment test level
|
|
183
|
+
<options: NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg>
|
|
184
|
+
-o, --target-org=<value> (required) [env: SF_TARGET_ORG] target org username
|
|
185
|
+
-q, --quiet only show errors
|
|
186
|
+
--json output as JSON for CI/CD
|
|
187
|
+
--no-dependencies only deploy the specified packages, skip transitive dependencies
|
|
188
|
+
--turbo single-package mode for external orchestrators (implies --no-dependencies --force)
|
|
189
|
+
|
|
190
|
+
DESCRIPTION
|
|
191
|
+
deploy one or more packages from local project source
|
|
192
|
+
|
|
193
|
+
EXAMPLES
|
|
194
|
+
$ sfpm deploy my-package -o my-sandbox
|
|
195
|
+
|
|
196
|
+
$ sfpm deploy my-package -o my-sandbox --quiet
|
|
197
|
+
|
|
198
|
+
$ sfpm deploy my-package -o my-sandbox --json
|
|
199
|
+
|
|
200
|
+
$ sfpm deploy package-a package-b -o my-sandbox
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
_See code: [dist/commands/deploy.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/deploy.js)_
|
|
204
|
+
|
|
205
|
+
## `sfpm deploy artifact PACKAGES`
|
|
206
|
+
|
|
207
|
+
deploy one or more packages from built artifacts using source-deploy
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
USAGE
|
|
211
|
+
$ sfpm deploy artifact PACKAGES... -o <value> [-f] [-k <value>]
|
|
212
|
+
[--json | -q] [--no-dependencies]
|
|
213
|
+
|
|
214
|
+
ARGUMENTS
|
|
215
|
+
PACKAGES... package(s) to deploy
|
|
216
|
+
|
|
217
|
+
FLAGS
|
|
218
|
+
-f, --force force deploy even if already installed
|
|
219
|
+
-k, --installation-key=<value> installation key for unlocked packages
|
|
220
|
+
-o, --target-org=<value> (required) [env: SF_TARGET_ORG] target org username
|
|
221
|
+
-q, --quiet only show errors
|
|
222
|
+
--json output as JSON for CI/CD
|
|
223
|
+
--no-dependencies only deploy the specified packages, skip transitive dependencies
|
|
224
|
+
|
|
225
|
+
DESCRIPTION
|
|
226
|
+
deploy one or more packages from built artifacts using source-deploy
|
|
227
|
+
|
|
228
|
+
EXAMPLES
|
|
229
|
+
$ sfpm deploy artifact my-package -o my-sandbox
|
|
230
|
+
|
|
231
|
+
$ sfpm deploy artifact my-package -o my-sandbox --quiet
|
|
232
|
+
|
|
233
|
+
$ sfpm deploy artifact my-package -o my-sandbox --json
|
|
234
|
+
|
|
235
|
+
$ sfpm deploy artifact package-a package-b -o my-sandbox
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
_See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/deploy/artifact.js)_
|
|
239
|
+
|
|
240
|
+
## `sfpm hello PERSON`
|
|
241
|
+
|
|
242
|
+
Say hello
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
USAGE
|
|
246
|
+
$ sfpm hello PERSON -f <value>
|
|
247
|
+
|
|
248
|
+
ARGUMENTS
|
|
249
|
+
PERSON Person to say hello to
|
|
250
|
+
|
|
251
|
+
FLAGS
|
|
252
|
+
-f, --from=<value> (required) Who is saying hello
|
|
253
|
+
|
|
254
|
+
DESCRIPTION
|
|
255
|
+
Say hello
|
|
256
|
+
|
|
257
|
+
EXAMPLES
|
|
258
|
+
$ sfpm hello friend --from oclif
|
|
259
|
+
hello friend from oclif! (./src/commands/hello/index.ts)
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
_See code: [dist/commands/hello/index.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/hello/index.js)_
|
|
263
|
+
|
|
264
|
+
## `sfpm hello world`
|
|
265
|
+
|
|
266
|
+
Say hello world
|
|
267
|
+
|
|
268
|
+
```
|
|
269
|
+
USAGE
|
|
270
|
+
$ sfpm hello world
|
|
271
|
+
|
|
272
|
+
DESCRIPTION
|
|
273
|
+
Say hello world
|
|
274
|
+
|
|
275
|
+
EXAMPLES
|
|
276
|
+
$ sfpm hello world
|
|
277
|
+
hello world! (./src/commands/hello/world.ts)
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
_See code: [dist/commands/hello/world.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/hello/world.js)_
|
|
281
|
+
|
|
282
|
+
## `sfpm help [COMMAND]`
|
|
283
|
+
|
|
284
|
+
Display help for sfpm.
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
USAGE
|
|
288
|
+
$ sfpm help [COMMAND...] [-n]
|
|
289
|
+
|
|
290
|
+
ARGUMENTS
|
|
291
|
+
[COMMAND...] Command to show help for.
|
|
292
|
+
|
|
293
|
+
FLAGS
|
|
294
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
295
|
+
|
|
296
|
+
DESCRIPTION
|
|
297
|
+
Display help for sfpm.
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.46/src/commands/help.ts)_
|
|
301
|
+
|
|
302
|
+
## `sfpm install PACKAGES`
|
|
303
|
+
|
|
304
|
+
install one or more packages
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
USAGE
|
|
308
|
+
$ sfpm install PACKAGES... -o <value> [-f] [-k <value>]
|
|
309
|
+
[--json | -q] [--no-dependencies] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
|
|
310
|
+
|
|
311
|
+
ARGUMENTS
|
|
312
|
+
PACKAGES... package(s) to install
|
|
313
|
+
|
|
314
|
+
FLAGS
|
|
315
|
+
-f, --force force reinstall even if already installed
|
|
316
|
+
-k, --installation-key=<value> installation key for unlocked packages
|
|
317
|
+
-l, --test-level=<option> deployment test level (for source deployments)
|
|
318
|
+
<options: NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg>
|
|
319
|
+
-o, --target-org=<value> (required) [env: SF_TARGET_ORG] target org username
|
|
320
|
+
-q, --quiet only show errors
|
|
321
|
+
--json output as JSON for CI/CD
|
|
322
|
+
--no-dependencies only install the specified packages, skip transitive dependencies
|
|
323
|
+
--turbo single-package mode for external orchestrators (implies --no-dependencies --force)
|
|
324
|
+
|
|
325
|
+
DESCRIPTION
|
|
326
|
+
install one or more packages
|
|
327
|
+
|
|
328
|
+
EXAMPLES
|
|
329
|
+
$ sfpm install my-package -o my-sandbox
|
|
330
|
+
|
|
331
|
+
$ sfpm install my-package -o my-sandbox --quiet
|
|
332
|
+
|
|
333
|
+
$ sfpm install my-package -o my-sandbox --json
|
|
334
|
+
|
|
335
|
+
$ sfpm install package-a package-b -o my-sandbox
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
_See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/install.js)_
|
|
339
|
+
|
|
340
|
+
## `sfpm plugins`
|
|
341
|
+
|
|
342
|
+
List installed plugins.
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
USAGE
|
|
346
|
+
$ sfpm plugins [--json] [--core]
|
|
347
|
+
|
|
348
|
+
FLAGS
|
|
349
|
+
--core Show core plugins.
|
|
350
|
+
|
|
351
|
+
GLOBAL FLAGS
|
|
352
|
+
--json Format output as json.
|
|
353
|
+
|
|
354
|
+
DESCRIPTION
|
|
355
|
+
List installed plugins.
|
|
356
|
+
|
|
357
|
+
EXAMPLES
|
|
358
|
+
$ sfpm plugins
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/index.ts)_
|
|
362
|
+
|
|
363
|
+
## `sfpm plugins add PLUGIN`
|
|
364
|
+
|
|
365
|
+
Installs a plugin into sfpm.
|
|
366
|
+
|
|
367
|
+
```
|
|
368
|
+
USAGE
|
|
369
|
+
$ sfpm plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
370
|
+
|
|
371
|
+
ARGUMENTS
|
|
372
|
+
PLUGIN... Plugin to install.
|
|
373
|
+
|
|
374
|
+
FLAGS
|
|
375
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
376
|
+
-h, --help Show CLI help.
|
|
377
|
+
-s, --silent Silences npm output.
|
|
378
|
+
-v, --verbose Show verbose npm output.
|
|
379
|
+
|
|
380
|
+
GLOBAL FLAGS
|
|
381
|
+
--json Format output as json.
|
|
382
|
+
|
|
383
|
+
DESCRIPTION
|
|
384
|
+
Installs a plugin into sfpm.
|
|
385
|
+
|
|
386
|
+
Uses npm to install plugins.
|
|
387
|
+
|
|
388
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
389
|
+
|
|
390
|
+
Use the SFPM_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
391
|
+
Use the SFPM_NPM_REGISTRY environment variable to set the npm registry.
|
|
392
|
+
|
|
393
|
+
ALIASES
|
|
394
|
+
$ sfpm plugins add
|
|
395
|
+
|
|
396
|
+
EXAMPLES
|
|
397
|
+
Install a plugin from npm registry.
|
|
398
|
+
|
|
399
|
+
$ sfpm plugins add myplugin
|
|
400
|
+
|
|
401
|
+
Install a plugin from a github url.
|
|
402
|
+
|
|
403
|
+
$ sfpm plugins add https://github.com/someuser/someplugin
|
|
404
|
+
|
|
405
|
+
Install a plugin from a github slug.
|
|
406
|
+
|
|
407
|
+
$ sfpm plugins add someuser/someplugin
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
## `sfpm plugins:inspect PLUGIN...`
|
|
411
|
+
|
|
412
|
+
Displays installation properties of a plugin.
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
USAGE
|
|
416
|
+
$ sfpm plugins inspect PLUGIN...
|
|
417
|
+
|
|
418
|
+
ARGUMENTS
|
|
419
|
+
PLUGIN... [default: .] Plugin to inspect.
|
|
420
|
+
|
|
421
|
+
FLAGS
|
|
422
|
+
-h, --help Show CLI help.
|
|
423
|
+
-v, --verbose
|
|
424
|
+
|
|
425
|
+
GLOBAL FLAGS
|
|
426
|
+
--json Format output as json.
|
|
427
|
+
|
|
428
|
+
DESCRIPTION
|
|
429
|
+
Displays installation properties of a plugin.
|
|
430
|
+
|
|
431
|
+
EXAMPLES
|
|
432
|
+
$ sfpm plugins inspect myplugin
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/inspect.ts)_
|
|
436
|
+
|
|
437
|
+
## `sfpm plugins install PLUGIN`
|
|
438
|
+
|
|
439
|
+
Installs a plugin into sfpm.
|
|
440
|
+
|
|
441
|
+
```
|
|
442
|
+
USAGE
|
|
443
|
+
$ sfpm plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
444
|
+
|
|
445
|
+
ARGUMENTS
|
|
446
|
+
PLUGIN... Plugin to install.
|
|
447
|
+
|
|
448
|
+
FLAGS
|
|
449
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
450
|
+
-h, --help Show CLI help.
|
|
451
|
+
-s, --silent Silences npm output.
|
|
452
|
+
-v, --verbose Show verbose npm output.
|
|
453
|
+
|
|
454
|
+
GLOBAL FLAGS
|
|
455
|
+
--json Format output as json.
|
|
456
|
+
|
|
457
|
+
DESCRIPTION
|
|
458
|
+
Installs a plugin into sfpm.
|
|
459
|
+
|
|
460
|
+
Uses npm to install plugins.
|
|
461
|
+
|
|
462
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
463
|
+
|
|
464
|
+
Use the SFPM_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
465
|
+
Use the SFPM_NPM_REGISTRY environment variable to set the npm registry.
|
|
466
|
+
|
|
467
|
+
ALIASES
|
|
468
|
+
$ sfpm plugins add
|
|
469
|
+
|
|
470
|
+
EXAMPLES
|
|
471
|
+
Install a plugin from npm registry.
|
|
472
|
+
|
|
473
|
+
$ sfpm plugins install myplugin
|
|
474
|
+
|
|
475
|
+
Install a plugin from a github url.
|
|
476
|
+
|
|
477
|
+
$ sfpm plugins install https://github.com/someuser/someplugin
|
|
478
|
+
|
|
479
|
+
Install a plugin from a github slug.
|
|
480
|
+
|
|
481
|
+
$ sfpm plugins install someuser/someplugin
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/install.ts)_
|
|
485
|
+
|
|
486
|
+
## `sfpm plugins link PATH`
|
|
487
|
+
|
|
488
|
+
Links a plugin into the CLI for development.
|
|
489
|
+
|
|
490
|
+
```
|
|
491
|
+
USAGE
|
|
492
|
+
$ sfpm plugins link PATH [-h] [--install] [-v]
|
|
493
|
+
|
|
494
|
+
ARGUMENTS
|
|
495
|
+
PATH [default: .] path to plugin
|
|
496
|
+
|
|
497
|
+
FLAGS
|
|
498
|
+
-h, --help Show CLI help.
|
|
499
|
+
-v, --verbose
|
|
500
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
501
|
+
|
|
502
|
+
DESCRIPTION
|
|
503
|
+
Links a plugin into the CLI for development.
|
|
504
|
+
|
|
505
|
+
Installation of a linked plugin will override a user-installed or core plugin.
|
|
506
|
+
|
|
507
|
+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
508
|
+
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
EXAMPLES
|
|
512
|
+
$ sfpm plugins link myplugin
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/link.ts)_
|
|
516
|
+
|
|
517
|
+
## `sfpm plugins remove [PLUGIN]`
|
|
518
|
+
|
|
519
|
+
Removes a plugin from the CLI.
|
|
520
|
+
|
|
521
|
+
```
|
|
522
|
+
USAGE
|
|
523
|
+
$ sfpm plugins remove [PLUGIN...] [-h] [-v]
|
|
524
|
+
|
|
525
|
+
ARGUMENTS
|
|
526
|
+
[PLUGIN...] plugin to uninstall
|
|
527
|
+
|
|
528
|
+
FLAGS
|
|
529
|
+
-h, --help Show CLI help.
|
|
530
|
+
-v, --verbose
|
|
531
|
+
|
|
532
|
+
DESCRIPTION
|
|
533
|
+
Removes a plugin from the CLI.
|
|
534
|
+
|
|
535
|
+
ALIASES
|
|
536
|
+
$ sfpm plugins unlink
|
|
537
|
+
$ sfpm plugins remove
|
|
538
|
+
|
|
539
|
+
EXAMPLES
|
|
540
|
+
$ sfpm plugins remove myplugin
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
## `sfpm plugins reset`
|
|
544
|
+
|
|
545
|
+
Remove all user-installed and linked plugins.
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
USAGE
|
|
549
|
+
$ sfpm plugins reset [--hard] [--reinstall]
|
|
550
|
+
|
|
551
|
+
FLAGS
|
|
552
|
+
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
553
|
+
--reinstall Reinstall all plugins after uninstalling.
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/reset.ts)_
|
|
557
|
+
|
|
558
|
+
## `sfpm plugins uninstall [PLUGIN]`
|
|
559
|
+
|
|
560
|
+
Removes a plugin from the CLI.
|
|
561
|
+
|
|
562
|
+
```
|
|
563
|
+
USAGE
|
|
564
|
+
$ sfpm plugins uninstall [PLUGIN...] [-h] [-v]
|
|
565
|
+
|
|
566
|
+
ARGUMENTS
|
|
567
|
+
[PLUGIN...] plugin to uninstall
|
|
568
|
+
|
|
569
|
+
FLAGS
|
|
570
|
+
-h, --help Show CLI help.
|
|
571
|
+
-v, --verbose
|
|
572
|
+
|
|
573
|
+
DESCRIPTION
|
|
574
|
+
Removes a plugin from the CLI.
|
|
575
|
+
|
|
576
|
+
ALIASES
|
|
577
|
+
$ sfpm plugins unlink
|
|
578
|
+
$ sfpm plugins remove
|
|
579
|
+
|
|
580
|
+
EXAMPLES
|
|
581
|
+
$ sfpm plugins uninstall myplugin
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/uninstall.ts)_
|
|
585
|
+
|
|
586
|
+
## `sfpm plugins unlink [PLUGIN]`
|
|
587
|
+
|
|
588
|
+
Removes a plugin from the CLI.
|
|
589
|
+
|
|
590
|
+
```
|
|
591
|
+
USAGE
|
|
592
|
+
$ sfpm plugins unlink [PLUGIN...] [-h] [-v]
|
|
593
|
+
|
|
594
|
+
ARGUMENTS
|
|
595
|
+
[PLUGIN...] plugin to uninstall
|
|
596
|
+
|
|
597
|
+
FLAGS
|
|
598
|
+
-h, --help Show CLI help.
|
|
599
|
+
-v, --verbose
|
|
600
|
+
|
|
601
|
+
DESCRIPTION
|
|
602
|
+
Removes a plugin from the CLI.
|
|
603
|
+
|
|
604
|
+
ALIASES
|
|
605
|
+
$ sfpm plugins unlink
|
|
606
|
+
$ sfpm plugins remove
|
|
607
|
+
|
|
608
|
+
EXAMPLES
|
|
609
|
+
$ sfpm plugins unlink myplugin
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
## `sfpm plugins update`
|
|
613
|
+
|
|
614
|
+
Update installed plugins.
|
|
615
|
+
|
|
616
|
+
```
|
|
617
|
+
USAGE
|
|
618
|
+
$ sfpm plugins update [-h] [-v]
|
|
619
|
+
|
|
620
|
+
FLAGS
|
|
621
|
+
-h, --help Show CLI help.
|
|
622
|
+
-v, --verbose
|
|
623
|
+
|
|
624
|
+
DESCRIPTION
|
|
625
|
+
Update installed plugins.
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/update.ts)_
|
|
629
|
+
|
|
630
|
+
## `sfpm pool delete`
|
|
631
|
+
|
|
632
|
+
delete orgs from a pool
|
|
633
|
+
|
|
634
|
+
```
|
|
635
|
+
USAGE
|
|
636
|
+
$ sfpm pool delete -t <value> -v <value> [--in-progress-only]
|
|
637
|
+
[--json | -q] [--my-pool] [--type scratchOrg|sandbox]
|
|
638
|
+
|
|
639
|
+
FLAGS
|
|
640
|
+
-q, --quiet only show errors
|
|
641
|
+
-t, --tag=<value> (required) pool tag to delete from
|
|
642
|
+
-v, --target-dev-hub=<value> (required) target hub org username or alias
|
|
643
|
+
--in-progress-only only delete orgs with "In Progress" status
|
|
644
|
+
--json output as JSON
|
|
645
|
+
--my-pool only delete orgs created by the current user
|
|
646
|
+
--type=<option> [default: scratchOrg] pool type: scratchOrg or sandbox
|
|
647
|
+
<options: scratchOrg|sandbox>
|
|
648
|
+
|
|
649
|
+
DESCRIPTION
|
|
650
|
+
delete orgs from a pool
|
|
651
|
+
|
|
652
|
+
EXAMPLES
|
|
653
|
+
$ sfpm pool delete --tag dev-pool -v my-devhub
|
|
654
|
+
|
|
655
|
+
$ sfpm pool delete --tag sb-pool --type sandbox -v my-prod-org
|
|
656
|
+
|
|
657
|
+
$ sfpm pool delete --tag dev-pool -v my-devhub --in-progress-only
|
|
658
|
+
|
|
659
|
+
$ sfpm pool delete --tag dev-pool -v my-devhub --my-pool
|
|
660
|
+
|
|
661
|
+
$ sfpm pool delete --tag dev-pool -v my-devhub --json
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
_See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/delete.js)_
|
|
665
|
+
|
|
666
|
+
## `sfpm pool fetch`
|
|
667
|
+
|
|
668
|
+
fetch an org from a pool
|
|
669
|
+
|
|
670
|
+
```
|
|
671
|
+
USAGE
|
|
672
|
+
$ sfpm pool fetch -t <value> -v <value> [--json | -q] [--limit
|
|
673
|
+
<value>] [--my-pool] [--send-to <value>] [--source-tracking]
|
|
674
|
+
|
|
675
|
+
FLAGS
|
|
676
|
+
-q, --quiet only show errors
|
|
677
|
+
-t, --tag=<value> (required) pool tag to fetch from
|
|
678
|
+
-v, --target-dev-hub=<value> (required) target hub org username or alias
|
|
679
|
+
--json output as JSON
|
|
680
|
+
--limit=<value> max orgs to return when using --all
|
|
681
|
+
--my-pool only fetch from orgs created by the current user
|
|
682
|
+
--send-to=<value> email org details to this address instead of local login
|
|
683
|
+
--source-tracking enable source tracking after fetch
|
|
684
|
+
|
|
685
|
+
DESCRIPTION
|
|
686
|
+
fetch an org from a pool
|
|
687
|
+
|
|
688
|
+
EXAMPLES
|
|
689
|
+
$ sfpm pool fetch --tag dev-pool -v my-devhub
|
|
690
|
+
|
|
691
|
+
$ sfpm pool fetch --tag sb-pool --type sandbox -v my-prod-org
|
|
692
|
+
|
|
693
|
+
$ sfpm pool fetch --tag dev-pool -v my-devhub --send-to user@example.com
|
|
694
|
+
|
|
695
|
+
$ sfpm pool fetch --tag dev-pool -v my-devhub --all --limit 5
|
|
696
|
+
|
|
697
|
+
$ sfpm pool fetch --tag dev-pool -v my-devhub --json
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
_See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/fetch.js)_
|
|
701
|
+
|
|
702
|
+
## `sfpm pool list`
|
|
703
|
+
|
|
704
|
+
list orgs in a pool
|
|
705
|
+
|
|
706
|
+
```
|
|
707
|
+
USAGE
|
|
708
|
+
$ sfpm pool list -t <value> -v <value> [--json | -q]
|
|
709
|
+
[--my-pool] [--type scratchOrg|sandbox]
|
|
710
|
+
|
|
711
|
+
FLAGS
|
|
712
|
+
-q, --quiet only show errors
|
|
713
|
+
-t, --tag=<value> (required) pool tag to query
|
|
714
|
+
-v, --target-dev-hub=<value> (required) target hub org username or alias
|
|
715
|
+
--json output as JSON
|
|
716
|
+
--my-pool only show orgs created by the current user
|
|
717
|
+
--type=<option> [default: scratchOrg] pool type: scratchOrg or sandbox
|
|
718
|
+
<options: scratchOrg|sandbox>
|
|
719
|
+
|
|
720
|
+
DESCRIPTION
|
|
721
|
+
list orgs in a pool
|
|
722
|
+
|
|
723
|
+
EXAMPLES
|
|
724
|
+
$ sfpm pool list --tag dev-pool -v my-devhub
|
|
725
|
+
|
|
726
|
+
$ sfpm pool list --tag sb-pool --type sandbox -v my-prod-org
|
|
727
|
+
|
|
728
|
+
$ sfpm pool list --tag dev-pool -v my-devhub --my-pool
|
|
729
|
+
|
|
730
|
+
$ sfpm pool list --tag dev-pool -v my-devhub --json
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
_See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/list.js)_
|
|
734
|
+
|
|
735
|
+
## `sfpm pool provision`
|
|
736
|
+
|
|
737
|
+
provision orgs to fill a pool
|
|
738
|
+
|
|
739
|
+
```
|
|
740
|
+
USAGE
|
|
741
|
+
$ sfpm pool provision --max <value> -t <value> -v <value>
|
|
742
|
+
[--batch-size <value>] [-d <value>] [--expiry-days <value>] [--group-name <value>] [--json | -q] [--license-type
|
|
743
|
+
DEVELOPER|DEVELOPER PRO|FULL|PARTIAL] [--sandbox-name-pattern <value>] [--source-sandbox <value>] [--type
|
|
744
|
+
scratchOrg|sandbox]
|
|
745
|
+
|
|
746
|
+
FLAGS
|
|
747
|
+
-d, --definition-file=<value> scratch org definition file
|
|
748
|
+
-q, --quiet only show errors
|
|
749
|
+
-t, --tag=<value> (required) pool tag
|
|
750
|
+
-v, --target-dev-hub=<value> (required) target hub org username or alias
|
|
751
|
+
--batch-size=<value> max concurrent org creations (default: 5)
|
|
752
|
+
--expiry-days=<value> scratch org expiry in days (default: 7)
|
|
753
|
+
--group-name=<value> sandbox activation user group name
|
|
754
|
+
--json output as JSON
|
|
755
|
+
--license-type=<option> sandbox license type
|
|
756
|
+
<options: DEVELOPER|DEVELOPER PRO|FULL|PARTIAL>
|
|
757
|
+
--max=<value> (required) maximum number of orgs to allocate
|
|
758
|
+
--sandbox-name-pattern=<value> sandbox name prefix (e.g., SB → SB1, SB2, ...)
|
|
759
|
+
--source-sandbox=<value> source sandbox name to clone from
|
|
760
|
+
--type=<option> [default: scratchOrg] pool type: scratchOrg or sandbox
|
|
761
|
+
<options: scratchOrg|sandbox>
|
|
762
|
+
|
|
763
|
+
DESCRIPTION
|
|
764
|
+
provision orgs to fill a pool
|
|
765
|
+
|
|
766
|
+
EXAMPLES
|
|
767
|
+
$ sfpm pool provision --tag dev-pool --max 10 --definition-file config/project-scratch-def.json -v my-devhub
|
|
768
|
+
|
|
769
|
+
$ sfpm pool provision --tag sb-pool --max 5 --type sandbox --sandbox-name-pattern SB --license-type DEVELOPER -v my-prod-org
|
|
770
|
+
|
|
771
|
+
$ sfpm pool provision --tag dev-pool --max 10 --definition-file config/project-scratch-def.json -v my-devhub --json
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
_See code: [dist/commands/pool/provision.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/provision.js)_
|
|
775
|
+
|
|
776
|
+
## `sfpm project`
|
|
777
|
+
|
|
778
|
+
Overview of the project
|
|
779
|
+
|
|
780
|
+
```
|
|
781
|
+
USAGE
|
|
782
|
+
$ sfpm project [-p]
|
|
783
|
+
|
|
784
|
+
FLAGS
|
|
785
|
+
-p, --path Display package paths
|
|
786
|
+
|
|
787
|
+
DESCRIPTION
|
|
788
|
+
Overview of the project
|
|
789
|
+
|
|
790
|
+
EXAMPLES
|
|
791
|
+
$ sfpm project
|
|
792
|
+
```
|
|
793
|
+
|
|
794
|
+
_See code: [dist/commands/project.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project.js)_
|
|
795
|
+
|
|
796
|
+
## `sfpm project init`
|
|
797
|
+
|
|
798
|
+
Verify project configuration and setup requirements
|
|
799
|
+
|
|
800
|
+
```
|
|
801
|
+
USAGE
|
|
802
|
+
$ sfpm project init [-f]
|
|
803
|
+
|
|
804
|
+
FLAGS
|
|
805
|
+
-f, --fix Attempt to fix issues automatically
|
|
806
|
+
|
|
807
|
+
DESCRIPTION
|
|
808
|
+
Verify project configuration and setup requirements
|
|
809
|
+
|
|
810
|
+
EXAMPLES
|
|
811
|
+
$ sfpm project init
|
|
812
|
+
|
|
813
|
+
$ sfpm project init --fix
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
_See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/init/index.js)_
|
|
817
|
+
|
|
818
|
+
## `sfpm project init turbo`
|
|
819
|
+
|
|
820
|
+
Initialize a turbo-native workspace for SFPM packages
|
|
821
|
+
|
|
822
|
+
```
|
|
823
|
+
USAGE
|
|
824
|
+
$ sfpm project init turbo [--json] [-m] [--npm-scope <value>]
|
|
825
|
+
[--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
|
|
826
|
+
|
|
827
|
+
FLAGS
|
|
828
|
+
-m, --migrate migrate from an existing sfdx-project.json
|
|
829
|
+
-y, --yes skip confirmation prompts (use defaults)
|
|
830
|
+
--json output result as JSON
|
|
831
|
+
--npm-scope=<value> npm scope for package names (e.g., @myorg)
|
|
832
|
+
--package-manager=<option> [default: pnpm] package manager to use
|
|
833
|
+
<options: pnpm|npm|yarn>
|
|
834
|
+
--workspace-dir=<value> directory prefix for migrated packages (e.g., "packages")
|
|
835
|
+
|
|
836
|
+
DESCRIPTION
|
|
837
|
+
Initialize a turbo-native workspace for SFPM packages
|
|
838
|
+
|
|
839
|
+
EXAMPLES
|
|
840
|
+
$ sfpm project init turbo
|
|
841
|
+
|
|
842
|
+
$ sfpm project init turbo --migrate
|
|
843
|
+
|
|
844
|
+
$ sfpm project init turbo --migrate --npm-scope @myorg
|
|
845
|
+
|
|
846
|
+
$ sfpm project init turbo --migrate --workspace-dir packages
|
|
847
|
+
|
|
848
|
+
$ sfpm project init turbo --json
|
|
849
|
+
```
|
|
850
|
+
|
|
851
|
+
_See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/init/turbo.js)_
|
|
852
|
+
|
|
853
|
+
## `sfpm project sync`
|
|
854
|
+
|
|
855
|
+
Generate sfdx-project.json from workspace package.json files
|
|
856
|
+
|
|
857
|
+
```
|
|
858
|
+
USAGE
|
|
859
|
+
$ sfpm project sync [--api-version <value>] [--json]
|
|
860
|
+
|
|
861
|
+
FLAGS
|
|
862
|
+
--api-version=<value> Override Salesforce API version (e.g., 63.0)
|
|
863
|
+
--json output result as JSON
|
|
864
|
+
|
|
865
|
+
DESCRIPTION
|
|
866
|
+
Generate sfdx-project.json from workspace package.json files
|
|
867
|
+
|
|
868
|
+
EXAMPLES
|
|
869
|
+
$ sfpm project sync
|
|
870
|
+
|
|
871
|
+
$ sfpm project sync --api-version 63.0
|
|
872
|
+
```
|
|
873
|
+
|
|
874
|
+
_See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/sync.js)_
|
|
875
|
+
|
|
876
|
+
## `sfpm project version bump`
|
|
877
|
+
|
|
878
|
+
Bump package versions in sfdx-project.json
|
|
879
|
+
|
|
880
|
+
```
|
|
881
|
+
USAGE
|
|
882
|
+
$ sfpm project version bump [-a] [--dryrun] [-M] [-m] [-p <value>]
|
|
883
|
+
[--patch] [-f <value>] [-o <value>] [-r <value>] [-v <value>]
|
|
884
|
+
|
|
885
|
+
FLAGS
|
|
886
|
+
-M, --major Increment major number
|
|
887
|
+
-a, --all Increment all package versions
|
|
888
|
+
-f, --projectfile=<value> [default: sfdx-project.json] Path to sfdx-project.json file
|
|
889
|
+
-m, --minor Increment minor number
|
|
890
|
+
-o, --targetorg=<value> Specify the target org for diff comparison
|
|
891
|
+
-p, --package=<value> Specify the package to increment
|
|
892
|
+
-r, --targetref=<value> Specify the git reference for diff comparison
|
|
893
|
+
-v, --versionnumber=<value> Set a custom version number
|
|
894
|
+
--dryrun Preview changes without saving to sfdx-project.json
|
|
895
|
+
--patch Increment patch number (default)
|
|
896
|
+
|
|
897
|
+
DESCRIPTION
|
|
898
|
+
Bump package versions in sfdx-project.json
|
|
899
|
+
|
|
900
|
+
EXAMPLES
|
|
901
|
+
$ sfp project version bump --package mypackage --minor
|
|
902
|
+
|
|
903
|
+
$ sfp project version bump --all --patch
|
|
904
|
+
|
|
905
|
+
$ sfp project version bump --targetref main
|
|
906
|
+
|
|
907
|
+
$ sfp project version bump --targetorg myorg
|
|
908
|
+
|
|
909
|
+
$ sfp project version bump --package mypackage --versionnumber 2.0.0
|
|
910
|
+
|
|
911
|
+
$ sfp project version bump --package mypackage --patch --projectfile path/to/sfdx-project.json
|
|
912
|
+
```
|
|
913
|
+
|
|
914
|
+
_See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/version/bump.js)_
|
|
915
|
+
<!-- commandsstop -->
|