@b64hub/sfpm-cli 0.1.0 → 0.2.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 (279) hide show
  1. package/README.md +416 -204
  2. package/dist/commands/add.d.ts +10 -0
  3. package/dist/commands/add.js +50 -0
  4. package/dist/commands/add.js.map +1 -0
  5. package/dist/commands/bootstrap.d.ts +18 -5
  6. package/dist/commands/bootstrap.js +372 -167
  7. package/dist/commands/bootstrap.js.map +1 -1
  8. package/dist/commands/build/index.d.ts +59 -0
  9. package/dist/commands/build/index.js +425 -0
  10. package/dist/commands/build/index.js.map +1 -0
  11. package/dist/commands/build/status.d.ts +3 -4
  12. package/dist/commands/build/status.js +13 -162
  13. package/dist/commands/build/status.js.map +1 -1
  14. package/dist/commands/deploy/artifact.d.ts +17 -13
  15. package/dist/commands/deploy/artifact.js +31 -88
  16. package/dist/commands/deploy/artifact.js.map +1 -1
  17. package/dist/commands/deploy/index.d.ts +52 -0
  18. package/dist/commands/deploy/index.js +162 -0
  19. package/dist/commands/deploy/index.js.map +1 -0
  20. package/dist/commands/dev/pool-list-replay.d.ts +11 -0
  21. package/dist/commands/dev/pool-list-replay.js +19 -0
  22. package/dist/commands/dev/pool-list-replay.js.map +1 -0
  23. package/dist/commands/dev/pool-replay.d.ts +16 -0
  24. package/dist/commands/dev/pool-replay.js +80 -0
  25. package/dist/commands/dev/pool-replay.js.map +1 -0
  26. package/dist/commands/dev/replay.d.ts +21 -0
  27. package/dist/commands/dev/replay.js +103 -0
  28. package/dist/commands/dev/replay.js.map +1 -0
  29. package/dist/commands/install.d.ts +10 -4
  30. package/dist/commands/install.js +73 -70
  31. package/dist/commands/install.js.map +1 -1
  32. package/dist/commands/package/create.d.ts +31 -0
  33. package/dist/commands/package/create.js +270 -0
  34. package/dist/commands/package/create.js.map +1 -0
  35. package/dist/commands/pool/delete.d.ts +4 -5
  36. package/dist/commands/pool/delete.js +64 -52
  37. package/dist/commands/pool/delete.js.map +1 -1
  38. package/dist/commands/pool/fetch.d.ts +5 -4
  39. package/dist/commands/pool/fetch.js +77 -37
  40. package/dist/commands/pool/fetch.js.map +1 -1
  41. package/dist/commands/pool/fill.d.ts +22 -0
  42. package/dist/commands/pool/fill.js +172 -0
  43. package/dist/commands/pool/fill.js.map +1 -0
  44. package/dist/commands/pool/list.d.ts +3 -6
  45. package/dist/commands/pool/list.js +60 -58
  46. package/dist/commands/pool/list.js.map +1 -1
  47. package/dist/commands/{project.d.ts → project/index.d.ts} +1 -1
  48. package/dist/commands/{project.js → project/index.js} +6 -6
  49. package/dist/commands/project/index.js.map +1 -0
  50. package/dist/commands/project/init/turbo.js +3 -11
  51. package/dist/commands/project/init/turbo.js.map +1 -1
  52. package/dist/commands/project/sync.js +2 -10
  53. package/dist/commands/project/sync.js.map +1 -1
  54. package/dist/commands/project/version/bump.js +12 -13
  55. package/dist/commands/project/version/bump.js.map +1 -1
  56. package/dist/commands/publish.d.ts +14 -0
  57. package/dist/commands/publish.js +60 -0
  58. package/dist/commands/publish.js.map +1 -0
  59. package/dist/commands/watch/cancel.d.ts +12 -0
  60. package/dist/commands/watch/cancel.js +44 -0
  61. package/dist/commands/watch/cancel.js.map +1 -0
  62. package/dist/commands/watch/clean.d.ts +10 -0
  63. package/dist/commands/watch/clean.js +29 -0
  64. package/dist/commands/watch/clean.js.map +1 -0
  65. package/dist/commands/watch/status.d.ts +13 -0
  66. package/dist/commands/watch/status.js +137 -0
  67. package/dist/commands/watch/status.js.map +1 -0
  68. package/dist/logger.d.ts +80 -0
  69. package/dist/logger.js +143 -0
  70. package/dist/logger.js.map +1 -0
  71. package/dist/sfpm-command.d.ts +40 -3
  72. package/dist/sfpm-command.js +112 -18
  73. package/dist/sfpm-command.js.map +1 -1
  74. package/dist/types/bootstrap.d.ts +67 -0
  75. package/dist/types/bootstrap.js +78 -0
  76. package/dist/types/bootstrap.js.map +1 -0
  77. package/dist/ui/apps/BuildApp.d.ts +11 -0
  78. package/dist/ui/apps/BuildApp.js +32 -0
  79. package/dist/ui/apps/BuildApp.js.map +1 -0
  80. package/dist/ui/apps/PoolDeleteApp.d.ts +6 -0
  81. package/dist/ui/apps/PoolDeleteApp.js +77 -0
  82. package/dist/ui/apps/PoolDeleteApp.js.map +1 -0
  83. package/dist/ui/apps/PoolFillApp.d.ts +7 -0
  84. package/dist/ui/apps/PoolFillApp.js +107 -0
  85. package/dist/ui/apps/PoolFillApp.js.map +1 -0
  86. package/dist/ui/apps/PoolListApp.d.ts +14 -0
  87. package/dist/ui/apps/PoolListApp.js +33 -0
  88. package/dist/ui/apps/PoolListApp.js.map +1 -0
  89. package/dist/ui/build-event-bridge.d.ts +21 -0
  90. package/dist/ui/build-event-bridge.js +140 -0
  91. package/dist/ui/build-event-bridge.js.map +1 -0
  92. package/dist/ui/build-progress-renderer.d.ts +21 -35
  93. package/dist/ui/build-progress-renderer.js +147 -505
  94. package/dist/ui/build-progress-renderer.js.map +1 -1
  95. package/dist/ui/build-summary.d.ts +15 -0
  96. package/dist/ui/build-summary.js +26 -0
  97. package/dist/ui/build-summary.js.map +1 -0
  98. package/dist/ui/components/OrchestrationView.d.ts +20 -0
  99. package/dist/ui/components/OrchestrationView.js +59 -0
  100. package/dist/ui/components/OrchestrationView.js.map +1 -0
  101. package/dist/ui/components/PackageRow.d.ts +130 -0
  102. package/dist/ui/components/PackageRow.js +80 -0
  103. package/dist/ui/components/PackageRow.js.map +1 -0
  104. package/dist/ui/components/ValidationView.d.ts +4 -0
  105. package/dist/ui/components/ValidationView.js +9 -0
  106. package/dist/ui/components/ValidationView.js.map +1 -0
  107. package/dist/ui/components/base/Divider.d.ts +4 -0
  108. package/dist/ui/components/base/Divider.js +9 -0
  109. package/dist/ui/components/base/Divider.js.map +1 -0
  110. package/dist/ui/components/base/ElapsedTime.d.ts +14 -0
  111. package/dist/ui/components/base/ElapsedTime.js +19 -0
  112. package/dist/ui/components/base/ElapsedTime.js.map +1 -0
  113. package/dist/ui/components/base/Footer.d.ts +58 -0
  114. package/dist/ui/components/base/Footer.js +59 -0
  115. package/dist/ui/components/base/Footer.js.map +1 -0
  116. package/dist/ui/components/base/GradientBar.d.ts +7 -0
  117. package/dist/ui/components/base/GradientBar.js +19 -0
  118. package/dist/ui/components/base/GradientBar.js.map +1 -0
  119. package/dist/ui/components/base/OrgBadge.d.ts +8 -0
  120. package/dist/ui/components/base/OrgBadge.js +10 -0
  121. package/dist/ui/components/base/OrgBadge.js.map +1 -0
  122. package/dist/ui/components/base/StatusIcon.d.ts +4 -0
  123. package/dist/ui/components/base/StatusIcon.js +22 -0
  124. package/dist/ui/components/base/StatusIcon.js.map +1 -0
  125. package/dist/ui/components/pool/OrgRow.d.ts +17 -0
  126. package/dist/ui/components/pool/OrgRow.js +37 -0
  127. package/dist/ui/components/pool/OrgRow.js.map +1 -0
  128. package/dist/ui/components/pool/PoolOrgRow.d.ts +16 -0
  129. package/dist/ui/components/pool/PoolOrgRow.js +44 -0
  130. package/dist/ui/components/pool/PoolOrgRow.js.map +1 -0
  131. package/dist/ui/connect-devhub.d.ts +41 -0
  132. package/dist/ui/connect-devhub.js +52 -0
  133. package/dist/ui/connect-devhub.js.map +1 -0
  134. package/dist/ui/fixtures/happy-path.d.ts +85 -0
  135. package/dist/ui/fixtures/happy-path.js +62 -0
  136. package/dist/ui/fixtures/happy-path.js.map +1 -0
  137. package/dist/ui/fixtures/large-scale.d.ts +19 -0
  138. package/dist/ui/fixtures/large-scale.js +140 -0
  139. package/dist/ui/fixtures/large-scale.js.map +1 -0
  140. package/dist/ui/fixtures/partial-failure.d.ts +71 -0
  141. package/dist/ui/fixtures/partial-failure.js +21 -0
  142. package/dist/ui/fixtures/partial-failure.js.map +1 -0
  143. package/dist/ui/fixtures/pool-happy-path.d.ts +14 -0
  144. package/dist/ui/fixtures/pool-happy-path.js +74 -0
  145. package/dist/ui/fixtures/pool-happy-path.js.map +1 -0
  146. package/dist/ui/fixtures/pool-list.d.ts +6 -0
  147. package/dist/ui/fixtures/pool-list.js +44 -0
  148. package/dist/ui/fixtures/pool-list.js.map +1 -0
  149. package/dist/ui/fixtures/pool-partial-failure.d.ts +15 -0
  150. package/dist/ui/fixtures/pool-partial-failure.js +86 -0
  151. package/dist/ui/fixtures/pool-partial-failure.js.map +1 -0
  152. package/dist/ui/hooks/use-event-bus-wiring.d.ts +7 -0
  153. package/dist/ui/hooks/use-event-bus-wiring.js +32 -0
  154. package/dist/ui/hooks/use-event-bus-wiring.js.map +1 -0
  155. package/dist/ui/hooks/use-term-width.d.ts +2 -0
  156. package/dist/ui/hooks/use-term-width.js +7 -0
  157. package/dist/ui/hooks/use-term-width.js.map +1 -0
  158. package/dist/ui/install-event-bridge.d.ts +9 -0
  159. package/dist/ui/install-event-bridge.js +91 -0
  160. package/dist/ui/install-event-bridge.js.map +1 -0
  161. package/dist/ui/install-progress-renderer.d.ts +20 -60
  162. package/dist/ui/install-progress-renderer.js +161 -307
  163. package/dist/ui/install-progress-renderer.js.map +1 -1
  164. package/dist/ui/orchestration-listr.d.ts +35 -187
  165. package/dist/ui/orchestration-listr.js +164 -328
  166. package/dist/ui/orchestration-listr.js.map +1 -1
  167. package/dist/ui/pino-bridge.d.ts +11 -0
  168. package/dist/ui/pino-bridge.js +24 -0
  169. package/dist/ui/pino-bridge.js.map +1 -0
  170. package/dist/ui/pool-delete-event-bridge.d.ts +12 -0
  171. package/dist/ui/pool-delete-event-bridge.js +18 -0
  172. package/dist/ui/pool-delete-event-bridge.js.map +1 -0
  173. package/dist/ui/pool-fill-event-bridge.d.ts +9 -0
  174. package/dist/ui/pool-fill-event-bridge.js +51 -0
  175. package/dist/ui/pool-fill-event-bridge.js.map +1 -0
  176. package/dist/ui/pool-utils.d.ts +6 -0
  177. package/dist/ui/pool-utils.js +49 -0
  178. package/dist/ui/pool-utils.js.map +1 -0
  179. package/dist/ui/renderer-utils.d.ts +58 -4
  180. package/dist/ui/renderer-utils.js +65 -0
  181. package/dist/ui/renderer-utils.js.map +1 -1
  182. package/dist/ui/run-pool-delete.d.ts +11 -0
  183. package/dist/ui/run-pool-delete.js +15 -0
  184. package/dist/ui/run-pool-delete.js.map +1 -0
  185. package/dist/ui/run-pool-fill.d.ts +15 -0
  186. package/dist/ui/run-pool-fill.js +19 -0
  187. package/dist/ui/run-pool-fill.js.map +1 -0
  188. package/dist/ui/run-pool-list.d.ts +3 -0
  189. package/dist/ui/run-pool-list.js +7 -0
  190. package/dist/ui/run-pool-list.js.map +1 -0
  191. package/dist/ui/run.d.ts +12 -0
  192. package/dist/ui/run.js +7 -0
  193. package/dist/ui/run.js.map +1 -0
  194. package/dist/ui/state/adapters.d.ts +4 -0
  195. package/dist/ui/state/adapters.js +62 -0
  196. package/dist/ui/state/adapters.js.map +1 -0
  197. package/dist/ui/state/pool-delete-reducer.d.ts +37 -0
  198. package/dist/ui/state/pool-delete-reducer.js +47 -0
  199. package/dist/ui/state/pool-delete-reducer.js.map +1 -0
  200. package/dist/ui/state/pool-fill-reducer.d.ts +87 -0
  201. package/dist/ui/state/pool-fill-reducer.js +109 -0
  202. package/dist/ui/state/pool-fill-reducer.js.map +1 -0
  203. package/dist/ui/state/reducer.d.ts +7 -0
  204. package/dist/ui/state/reducer.js +150 -0
  205. package/dist/ui/state/reducer.js.map +1 -0
  206. package/dist/ui/state/selectors.d.ts +18 -0
  207. package/dist/ui/state/selectors.js +36 -0
  208. package/dist/ui/state/selectors.js.map +1 -0
  209. package/dist/ui/state/types.d.ts +35 -0
  210. package/dist/ui/state/types.js +2 -0
  211. package/dist/ui/state/types.js.map +1 -0
  212. package/dist/ui/strategies/display-strategy.d.ts +51 -0
  213. package/dist/ui/strategies/display-strategy.js +5 -0
  214. package/dist/ui/strategies/display-strategy.js.map +1 -0
  215. package/dist/ui/strategies/index.d.ts +14 -0
  216. package/dist/ui/strategies/index.js +24 -0
  217. package/dist/ui/strategies/index.js.map +1 -0
  218. package/dist/ui/strategies/interactive.d.ts +36 -0
  219. package/dist/ui/strategies/interactive.js +149 -0
  220. package/dist/ui/strategies/interactive.js.map +1 -0
  221. package/dist/ui/strategies/plain.d.ts +24 -0
  222. package/dist/ui/strategies/plain.js +72 -0
  223. package/dist/ui/strategies/plain.js.map +1 -0
  224. package/dist/ui/strategies/silent.d.ts +22 -0
  225. package/dist/ui/strategies/silent.js +25 -0
  226. package/dist/ui/strategies/silent.js.map +1 -0
  227. package/dist/ui/strategies/validation-display-strategy.d.ts +64 -0
  228. package/dist/ui/strategies/validation-display-strategy.js +109 -0
  229. package/dist/ui/strategies/validation-display-strategy.js.map +1 -0
  230. package/dist/ui/table.d.ts +4 -0
  231. package/dist/ui/table.js +33 -0
  232. package/dist/ui/table.js.map +1 -0
  233. package/dist/ui/theme.d.ts +12 -0
  234. package/dist/ui/theme.js +4 -0
  235. package/dist/ui/theme.js.map +1 -0
  236. package/dist/ui/validation-progress-renderer.d.ts +48 -0
  237. package/dist/ui/validation-progress-renderer.js +114 -0
  238. package/dist/ui/validation-progress-renderer.js.map +1 -0
  239. package/dist/utils/package-resolver.d.ts +20 -0
  240. package/dist/utils/package-resolver.js +44 -0
  241. package/dist/utils/package-resolver.js.map +1 -0
  242. package/dist/utils/project-dir.d.ts +9 -0
  243. package/dist/utils/project-dir.js +13 -0
  244. package/dist/utils/project-dir.js.map +1 -0
  245. package/dist/utils/suppress.d.ts +13 -0
  246. package/dist/utils/suppress.js +29 -0
  247. package/dist/utils/suppress.js.map +1 -0
  248. package/dist/utils/validation-runner.js +69 -0
  249. package/dist/utils/validation-runner.js.map +1 -0
  250. package/dist/utils/watcher-runner.d.ts +1 -0
  251. package/dist/utils/watcher-runner.js +148 -0
  252. package/dist/utils/watcher-runner.js.map +1 -0
  253. package/dist/utils/watcher.d.ts +27 -0
  254. package/dist/utils/watcher.js +51 -0
  255. package/dist/utils/watcher.js.map +1 -0
  256. package/oclif.manifest.json +1519 -501
  257. package/package.json +19 -8
  258. package/dist/commands/build.d.ts +0 -30
  259. package/dist/commands/build.js +0 -228
  260. package/dist/commands/build.js.map +0 -1
  261. package/dist/commands/deploy.d.ts +0 -20
  262. package/dist/commands/deploy.js +0 -141
  263. package/dist/commands/deploy.js.map +0 -1
  264. package/dist/commands/hello/index.d.ts +0 -12
  265. package/dist/commands/hello/index.js +0 -20
  266. package/dist/commands/hello/index.js.map +0 -1
  267. package/dist/commands/hello/world.d.ts +0 -8
  268. package/dist/commands/hello/world.js +0 -15
  269. package/dist/commands/hello/world.js.map +0 -1
  270. package/dist/commands/pool/provision.d.ts +0 -22
  271. package/dist/commands/pool/provision.js +0 -115
  272. package/dist/commands/pool/provision.js.map +0 -1
  273. package/dist/commands/project.js.map +0 -1
  274. package/dist/ui/pool-progress-renderer.d.ts +0 -68
  275. package/dist/ui/pool-progress-renderer.js +0 -298
  276. package/dist/ui/pool-progress-renderer.js.map +0 -1
  277. package/dist/utils/validation-watcher.js +0 -114
  278. package/dist/utils/validation-watcher.js.map +0 -1
  279. /package/dist/utils/{validation-watcher.d.ts → validation-runner.d.ts} +0 -0
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
- sfp
1
+ sfpm
2
2
  =================
3
3
 
4
- sfp is the devops tool Salesforce engineers have been waiting for
4
+ sfpm is the devops tool Salesforce engineers have been waiting for
5
5
 
6
6
 
7
7
  [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
8
- [![Version](https://img.shields.io/npm/v/sfp.svg)](https://npmjs.org/package/sfp)
9
- [![Downloads/week](https://img.shields.io/npm/dw/sfp.svg)](https://npmjs.org/package/sfp)
8
+ [![Version](https://img.shields.io/npm/v/sfp.svg)](https://npmjs.org/package/sfpm)
9
+ [![Downloads/week](https://img.shields.io/npm/dw/sfp.svg)](https://npmjs.org/package/sfpm)
10
10
 
11
11
 
12
12
  <!-- toc -->
@@ -20,7 +20,7 @@ $ npm install -g @b64hub/sfpm-cli
20
20
  $ sfpm COMMAND
21
21
  running command...
22
22
  $ sfpm (--version)
23
- @b64hub/sfpm-cli/0.1.0 darwin-arm64 node-v24.4.1
23
+ @b64hub/sfpm-cli/0.2.0 darwin-arm64 node-v25.2.1
24
24
  $ sfpm --help [COMMAND]
25
25
  USAGE
26
26
  $ sfpm COMMAND
@@ -29,15 +29,15 @@ USAGE
29
29
  <!-- usagestop -->
30
30
  # Commands
31
31
  <!-- commands -->
32
+ * [`sfpm add PACKAGES`](#sfpm-add-packages)
32
33
  * [`sfpm bootstrap`](#sfpm-bootstrap)
33
34
  * [`sfpm build PACKAGES`](#sfpm-build-packages)
34
35
  * [`sfpm build status`](#sfpm-build-status)
35
36
  * [`sfpm deploy PACKAGES`](#sfpm-deploy-packages)
36
37
  * [`sfpm deploy artifact PACKAGES`](#sfpm-deploy-artifact-packages)
37
- * [`sfpm hello PERSON`](#sfpm-hello-person)
38
- * [`sfpm hello world`](#sfpm-hello-world)
39
38
  * [`sfpm help [COMMAND]`](#sfpm-help-command)
40
39
  * [`sfpm install PACKAGES`](#sfpm-install-packages)
40
+ * [`sfpm package create`](#sfpm-package-create)
41
41
  * [`sfpm plugins`](#sfpm-plugins)
42
42
  * [`sfpm plugins add PLUGIN`](#sfpm-plugins-add-plugin)
43
43
  * [`sfpm plugins:inspect PLUGIN...`](#sfpm-pluginsinspect-plugin)
@@ -50,13 +50,46 @@ USAGE
50
50
  * [`sfpm plugins update`](#sfpm-plugins-update)
51
51
  * [`sfpm pool delete`](#sfpm-pool-delete)
52
52
  * [`sfpm pool fetch`](#sfpm-pool-fetch)
53
+ * [`sfpm pool fill`](#sfpm-pool-fill)
53
54
  * [`sfpm pool list`](#sfpm-pool-list)
54
- * [`sfpm pool provision`](#sfpm-pool-provision)
55
55
  * [`sfpm project`](#sfpm-project)
56
56
  * [`sfpm project init`](#sfpm-project-init)
57
57
  * [`sfpm project init turbo`](#sfpm-project-init-turbo)
58
58
  * [`sfpm project sync`](#sfpm-project-sync)
59
59
  * [`sfpm project version bump`](#sfpm-project-version-bump)
60
+ * [`sfpm publish [PACKAGES]`](#sfpm-publish-packages)
61
+ * [`sfpm watch cancel ID`](#sfpm-watch-cancel-id)
62
+ * [`sfpm watch clean`](#sfpm-watch-clean)
63
+ * [`sfpm watch status`](#sfpm-watch-status)
64
+
65
+ ## `sfpm add PACKAGES`
66
+
67
+ add packages as dependencies
68
+
69
+ ```
70
+ USAGE
71
+ $ sfpm add PACKAGES... [--json | --plain] [--log-level
72
+ trace|debug|info|warn|error]
73
+
74
+ ARGUMENTS
75
+ PACKAGES... package(s) to add
76
+
77
+ FLAGS
78
+ --json output result as JSON
79
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
80
+ <options: trace|debug|info|warn|error>
81
+ --plain non-interactive output (no spinners or cursor movement)
82
+
83
+ DESCRIPTION
84
+ add packages as dependencies
85
+
86
+ EXAMPLES
87
+ $ sfpm add @myorg/my-package
88
+
89
+ $ sfpm add @myorg/package-a @myorg/package-b
90
+ ```
91
+
92
+ _See code: [dist/commands/add.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/add.js)_
60
93
 
61
94
  ## `sfpm bootstrap`
62
95
 
@@ -64,16 +97,18 @@ Bootstrap SFPM packages into a production org
64
97
 
65
98
  ```
66
99
  USAGE
67
- $ sfpm bootstrap -o <value> [-f] [--json | -q] [-t
68
- core|pool|full]
100
+ $ sfpm bootstrap -o <value> [--json | --plain] [--log-level
101
+ trace|debug|info|warn|error] [-f] [-t core|pool|full]
69
102
 
70
103
  FLAGS
71
- -f, --force force re-install even if packages are already installed
104
+ -f, --force force rebuild, re-promote, and re-install all packages
72
105
  -o, --target-org=<value> (required) target org username (must also be a DevHub)
73
- -q, --quiet only show errors
74
106
  -t, --tier=<option> package tier to install
75
107
  <options: core|pool|full>
76
- --json output as JSON for CI/CD
108
+ --json output result as JSON
109
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
110
+ <options: trace|debug|info|warn|error>
111
+ --plain non-interactive output (no spinners or cursor movement)
77
112
 
78
113
  DESCRIPTION
79
114
  Bootstrap SFPM packages into a production org
@@ -88,44 +123,49 @@ EXAMPLES
88
123
  $ sfpm bootstrap -o my-prod-org --force
89
124
  ```
90
125
 
91
- _See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/bootstrap.js)_
126
+ _See code: [dist/commands/bootstrap.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/bootstrap.js)_
92
127
 
93
128
  ## `sfpm build PACKAGES`
94
129
 
95
- build one or more packages
130
+ build packages
96
131
 
97
132
  ```
98
133
  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>]
134
+ $ sfpm build PACKAGES... [--json | --plain] [--log-level
135
+ trace|debug|info|warn|error] [--async] [-b <value>] [-o <value>] [-f] [-k <value>...] [--no-dependencies]
136
+ [--source-only] [-t <value>] [-v <value>] [--turbo] [-l local|org|full] [-w <value>]
102
137
 
103
138
  ARGUMENTS
104
139
  PACKAGES... package(s) to build
105
140
 
106
141
  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)
142
+ -b, --build-number=<value> build number
143
+ -f, --force [env: SFPM_FORCE_BUILD] build even if no source changes detected
144
+ -k, --installation-key=<value>... installation key for unlocked packages; repeat as <package>=<key>, or a bare value
145
+ as the default
146
+ -l, --validation=<option> [default: local] validation level (use --no-validation to skip)
147
+ <options: local|org|full>
148
+ -o, --build-org=<value> target org for source package validation (deploy + test)
149
+ -t, --tag=<value> tag for the build
150
+ -v, --target-dev-hub=<value> [default: dev-niko, env: SF_DEV_HUB] target dev hub username
151
+ -w, --wait=<value> [default: 120] timeout in minutes for package version creation
152
+ --async return immediately without waiting for validation results
153
+ --json output result as JSON
154
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
155
+ <options: trace|debug|info|warn|error>
156
+ --no-dependencies build the specified packages without their transitive dependencies
157
+ --plain non-interactive output (no spinners or cursor movement)
158
+ --source-only [env: SFPM_SOURCE_ONLY] route all packages through source deployment (no DevHub, no
159
+ package version IDs)
160
+ --turbo single-package mode for external orchestrators (implies --no-dependencies)
121
161
 
122
162
  DESCRIPTION
123
- build one or more packages
163
+ build packages
124
164
 
125
165
  EXAMPLES
126
166
  $ sfpm build my-package -v my-devhub
127
167
 
128
- $ sfpm build my-package -v my-devhub --quiet
168
+ $ sfpm build my-package -v my-devhub --plain
129
169
 
130
170
  $ sfpm build my-package -v my-devhub --json
131
171
 
@@ -134,208 +174,220 @@ EXAMPLES
134
174
  $ sfpm build package-a package-b -v my-devhub
135
175
  ```
136
176
 
137
- _See code: [dist/commands/build.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/build.js)_
177
+ _See code: [dist/commands/build/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/build/index.js)_
138
178
 
139
179
  ## `sfpm build status`
140
180
 
141
- check the status of async package validation watchers
181
+ check the status of async build watchers
142
182
 
143
183
  ```
144
184
  USAGE
145
- $ sfpm build status [--clean] [--json] [--poll] [-v <value>]
185
+ $ sfpm build status [--log-level trace|debug|info|warn|error]
186
+ [--plain | --json] [--poll]
146
187
 
147
188
  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)
189
+ --json output as JSON
190
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
191
+ <options: trace|debug|info|warn|error>
192
+ --plain non-interactive output (no spinners or cursor movement)
193
+ --poll poll Salesforce directly for current status
152
194
 
153
195
  DESCRIPTION
154
- check the status of async package validation watchers
196
+ check the status of async build watchers
155
197
 
156
198
  EXAMPLES
157
199
  $ sfpm build status
158
200
 
159
201
  $ sfpm build status --json
160
202
 
161
- $ sfpm build status --poll -v my-devhub
162
-
163
- $ sfpm build status --clean
203
+ $ sfpm build status --poll
164
204
  ```
165
205
 
166
- _See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/build/status.js)_
206
+ _See code: [dist/commands/build/status.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/build/status.js)_
167
207
 
168
208
  ## `sfpm deploy PACKAGES`
169
209
 
170
- deploy one or more packages from local project source
210
+ deploy packages from local project source
171
211
 
172
212
  ```
173
213
  USAGE
174
- $ sfpm deploy PACKAGES... -o <value> [-f] [--json | -q]
175
- [--no-dependencies] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
214
+ $ sfpm deploy PACKAGES... [--json | --plain] [--log-level
215
+ trace|debug|info|warn|error] [-f] [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
216
+ NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
176
217
 
177
218
  ARGUMENTS
178
219
  PACKAGES... package(s) to deploy
179
220
 
180
221
  FLAGS
181
- -f, --force force deploy even if already installed
222
+ -f, --[no-]force force deploy even if already installed
182
223
  -l, --test-level=<option> deployment test level
183
224
  <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
225
+ -o, --target-org=<value> [env: SF_TARGET_ORG] target org username
226
+ --json output result as JSON
227
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
228
+ <options: trace|debug|info|warn|error>
187
229
  --no-dependencies only deploy the specified packages, skip transitive dependencies
230
+ --no-hooks skip lifecycle hooks
231
+ --plain non-interactive output (no spinners or cursor movement)
232
+ --regression-test run tests in direct dependents after deploy to detect regressions
188
233
  --turbo single-package mode for external orchestrators (implies --no-dependencies --force)
189
234
 
190
235
  DESCRIPTION
191
- deploy one or more packages from local project source
236
+ deploy packages from local project source
192
237
 
193
238
  EXAMPLES
194
239
  $ sfpm deploy my-package -o my-sandbox
195
240
 
196
- $ sfpm deploy my-package -o my-sandbox --quiet
241
+ $ sfpm deploy my-package -o my-sandbox --plain
197
242
 
198
243
  $ sfpm deploy my-package -o my-sandbox --json
199
244
 
200
245
  $ sfpm deploy package-a package-b -o my-sandbox
201
246
  ```
202
247
 
203
- _See code: [dist/commands/deploy.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/deploy.js)_
248
+ _See code: [dist/commands/deploy/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/deploy/index.js)_
204
249
 
205
250
  ## `sfpm deploy artifact PACKAGES`
206
251
 
207
- deploy one or more packages from built artifacts using source-deploy
252
+ deploy packages from built artifacts using source-deploy
208
253
 
209
254
  ```
210
255
  USAGE
211
- $ sfpm deploy artifact PACKAGES... -o <value> [-f] [-k <value>]
212
- [--json | -q] [--no-dependencies]
256
+ $ sfpm deploy artifact PACKAGES... [--json | --plain] [--log-level
257
+ trace|debug|info|warn|error] [-f] [--no-dependencies] [--no-hooks] [--regression-test] [-o <value>] [-l
258
+ NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
213
259
 
214
260
  ARGUMENTS
215
261
  PACKAGES... package(s) to deploy
216
262
 
217
263
  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
264
+ -f, --[no-]force force deploy even if already installed
265
+ -l, --test-level=<option> deployment test level
266
+ <options: NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg>
267
+ -o, --target-org=<value> [env: SF_TARGET_ORG] target org username
268
+ --json output result as JSON
269
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
270
+ <options: trace|debug|info|warn|error>
271
+ --no-dependencies only deploy the specified packages, skip transitive dependencies
272
+ --no-hooks skip lifecycle hooks
273
+ --plain non-interactive output (no spinners or cursor movement)
274
+ --regression-test run tests in direct dependents after deploy to detect regressions
275
+ --turbo single-package mode for external orchestrators (implies --no-dependencies --force)
224
276
 
225
277
  DESCRIPTION
226
- deploy one or more packages from built artifacts using source-deploy
278
+ deploy packages from built artifacts using source-deploy
227
279
 
228
280
  EXAMPLES
229
281
  $ sfpm deploy artifact my-package -o my-sandbox
230
282
 
231
- $ sfpm deploy artifact my-package -o my-sandbox --quiet
283
+ $ sfpm deploy artifact my-package -o my-sandbox --plain
232
284
 
233
285
  $ sfpm deploy artifact my-package -o my-sandbox --json
234
286
 
235
287
  $ sfpm deploy artifact package-a package-b -o my-sandbox
236
288
  ```
237
289
 
238
- _See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/deploy/artifact.js)_
290
+ _See code: [dist/commands/deploy/artifact.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/deploy/artifact.js)_
239
291
 
240
- ## `sfpm hello PERSON`
292
+ ## `sfpm help [COMMAND]`
241
293
 
242
- Say hello
294
+ Display help for sfpm.
243
295
 
244
296
  ```
245
297
  USAGE
246
- $ sfpm hello PERSON -f <value>
298
+ $ sfpm help [COMMAND...] [-n]
247
299
 
248
300
  ARGUMENTS
249
- PERSON Person to say hello to
301
+ [COMMAND...] Command to show help for.
250
302
 
251
303
  FLAGS
252
- -f, --from=<value> (required) Who is saying hello
304
+ -n, --nested-commands Include all nested commands in the output.
253
305
 
254
306
  DESCRIPTION
255
- Say hello
256
-
257
- EXAMPLES
258
- $ sfpm hello friend --from oclif
259
- hello friend from oclif! (./src/commands/hello/index.ts)
307
+ Display help for sfpm.
260
308
  ```
261
309
 
262
- _See code: [dist/commands/hello/index.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/hello/index.js)_
310
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
263
311
 
264
- ## `sfpm hello world`
312
+ ## `sfpm install PACKAGES`
265
313
 
266
- Say hello world
314
+ install packages
267
315
 
268
316
  ```
269
317
  USAGE
270
- $ sfpm hello world
271
-
272
- DESCRIPTION
273
- Say hello world
318
+ $ sfpm install PACKAGES... -o <value> [--json | --plain]
319
+ [--log-level trace|debug|info|warn|error] [-f] [-k <value>...] [--no-dependencies] [--regression-test] [-l
320
+ NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--turbo]
274
321
 
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)_
322
+ ARGUMENTS
323
+ PACKAGES... package(s) to install
281
324
 
282
- ## `sfpm help [COMMAND]`
325
+ FLAGS
326
+ -f, --force force reinstall even if already installed
327
+ -k, --installation-key=<value>... installation key for unlocked packages; repeat as <package>=<key>, or a bare value
328
+ as the default
329
+ -l, --test-level=<option> deployment test level (for source deployments)
330
+ <options: NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg>
331
+ -o, --target-org=<value> (required) [env: SF_TARGET_ORG] target org username
332
+ --json output result as JSON
333
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
334
+ <options: trace|debug|info|warn|error>
335
+ --no-dependencies only install the specified packages, skip transitive dependencies
336
+ --plain non-interactive output (no spinners or cursor movement)
337
+ --regression-test run tests in direct dependents after install to detect regressions
338
+ --turbo single-package mode for external orchestrators (implies --no-dependencies --force)
283
339
 
284
- Display help for sfpm.
340
+ DESCRIPTION
341
+ install packages
285
342
 
286
- ```
287
- USAGE
288
- $ sfpm help [COMMAND...] [-n]
343
+ EXAMPLES
344
+ $ sfpm install my-package -o my-sandbox
289
345
 
290
- ARGUMENTS
291
- [COMMAND...] Command to show help for.
346
+ $ sfpm install my-package -o my-sandbox --plain
292
347
 
293
- FLAGS
294
- -n, --nested-commands Include all nested commands in the output.
348
+ $ sfpm install my-package -o my-sandbox --json
295
349
 
296
- DESCRIPTION
297
- Display help for sfpm.
350
+ $ sfpm install package-a package-b -o my-sandbox
298
351
  ```
299
352
 
300
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.46/src/commands/help.ts)_
353
+ _See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/install.js)_
301
354
 
302
- ## `sfpm install PACKAGES`
355
+ ## `sfpm package create`
303
356
 
304
- install one or more packages
357
+ Create a new SFPM package with interactive scaffolding
305
358
 
306
359
  ```
307
360
  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
361
+ $ sfpm package create [--log-level trace|debug|info|warn|error]
362
+ [--plain | --json] [-d <value>] [-n <value>] [--org-dependent] [-p <value>] [-s <value>] [-t unlocked|source|data]
313
363
 
314
364
  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)
365
+ -d, --devhub=<value> DevHub org username (required for unlocked packages)
366
+ -n, --name=<value> package name (without npm scope)
367
+ -p, --path=<value> SF source path within the package directory (default: ".")
368
+ -s, --scope=<value> npm scope for the package (e.g., "@myorg")
369
+ -t, --type=<option> package type
370
+ <options: unlocked|source|data>
371
+ --json output as JSON for CI/CD
372
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
373
+ <options: trace|debug|info|warn|error>
374
+ --org-dependent create as org-dependent unlocked package
375
+ --plain non-interactive output (no spinners or cursor movement)
324
376
 
325
377
  DESCRIPTION
326
- install one or more packages
378
+ Create a new SFPM package with interactive scaffolding
327
379
 
328
380
  EXAMPLES
329
- $ sfpm install my-package -o my-sandbox
381
+ $ sfpm package create
330
382
 
331
- $ sfpm install my-package -o my-sandbox --quiet
383
+ $ sfpm package create --name my-package --type unlocked --devhub my-devhub
332
384
 
333
- $ sfpm install my-package -o my-sandbox --json
385
+ $ sfpm package create --name my-package --type source
334
386
 
335
- $ sfpm install package-a package-b -o my-sandbox
387
+ $ sfpm package create --json
336
388
  ```
337
389
 
338
- _See code: [dist/commands/install.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/install.js)_
390
+ _See code: [dist/commands/package/create.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/package/create.js)_
339
391
 
340
392
  ## `sfpm plugins`
341
393
 
@@ -358,7 +410,7 @@ EXAMPLES
358
410
  $ sfpm plugins
359
411
  ```
360
412
 
361
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/index.ts)_
413
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/index.ts)_
362
414
 
363
415
  ## `sfpm plugins add PLUGIN`
364
416
 
@@ -432,7 +484,7 @@ EXAMPLES
432
484
  $ sfpm plugins inspect myplugin
433
485
  ```
434
486
 
435
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/inspect.ts)_
487
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/inspect.ts)_
436
488
 
437
489
  ## `sfpm plugins install PLUGIN`
438
490
 
@@ -481,7 +533,7 @@ EXAMPLES
481
533
  $ sfpm plugins install someuser/someplugin
482
534
  ```
483
535
 
484
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/install.ts)_
536
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/install.ts)_
485
537
 
486
538
  ## `sfpm plugins link PATH`
487
539
 
@@ -512,7 +564,7 @@ EXAMPLES
512
564
  $ sfpm plugins link myplugin
513
565
  ```
514
566
 
515
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/link.ts)_
567
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/link.ts)_
516
568
 
517
569
  ## `sfpm plugins remove [PLUGIN]`
518
570
 
@@ -553,7 +605,7 @@ FLAGS
553
605
  --reinstall Reinstall all plugins after uninstalling.
554
606
  ```
555
607
 
556
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/reset.ts)_
608
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/reset.ts)_
557
609
 
558
610
  ## `sfpm plugins uninstall [PLUGIN]`
559
611
 
@@ -581,7 +633,7 @@ EXAMPLES
581
633
  $ sfpm plugins uninstall myplugin
582
634
  ```
583
635
 
584
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/uninstall.ts)_
636
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/uninstall.ts)_
585
637
 
586
638
  ## `sfpm plugins unlink [PLUGIN]`
587
639
 
@@ -625,7 +677,7 @@ DESCRIPTION
625
677
  Update installed plugins.
626
678
  ```
627
679
 
628
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.64/src/commands/plugins/update.ts)_
680
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_
629
681
 
630
682
  ## `sfpm pool delete`
631
683
 
@@ -633,18 +685,20 @@ delete orgs from a pool
633
685
 
634
686
  ```
635
687
  USAGE
636
- $ sfpm pool delete -t <value> -v <value> [--in-progress-only]
637
- [--json | -q] [--my-pool] [--type scratchOrg|sandbox]
688
+ $ sfpm pool delete -t <value>... [--json | --plain]
689
+ [--log-level trace|debug|info|warn|error] [--in-progress-only] [--my-pool] [-v <value>] [--type scratch|sandbox]
638
690
 
639
691
  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
692
+ -t, --tag=<value>... (required) pool tag to delete from (repeat to delete from multiple pools)
693
+ -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
643
694
  --in-progress-only only delete orgs with "In Progress" status
644
- --json output as JSON
695
+ --json output result as JSON
696
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
697
+ <options: trace|debug|info|warn|error>
645
698
  --my-pool only delete orgs created by the current user
646
- --type=<option> [default: scratchOrg] pool type: scratchOrg or sandbox
647
- <options: scratchOrg|sandbox>
699
+ --plain non-interactive output (no spinners or cursor movement)
700
+ --type=<option> [default: scratch] pool type: scratch or sandbox
701
+ <options: scratch|sandbox>
648
702
 
649
703
  DESCRIPTION
650
704
  delete orgs from a pool
@@ -658,10 +712,12 @@ EXAMPLES
658
712
 
659
713
  $ sfpm pool delete --tag dev-pool -v my-devhub --my-pool
660
714
 
715
+ $ sfpm pool delete --tag dev-pool --tag qa-pool -v my-devhub
716
+
661
717
  $ sfpm pool delete --tag dev-pool -v my-devhub --json
662
718
  ```
663
719
 
664
- _See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/delete.js)_
720
+ _See code: [dist/commands/pool/delete.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/delete.js)_
665
721
 
666
722
  ## `sfpm pool fetch`
667
723
 
@@ -669,18 +725,25 @@ fetch an org from a pool
669
725
 
670
726
  ```
671
727
  USAGE
672
- $ sfpm pool fetch -t <value> -v <value> [--json | -q] [--limit
673
- <value>] [--my-pool] [--send-to <value>] [--source-tracking]
728
+ $ sfpm pool fetch -t <value> [--json | --plain] [--log-level
729
+ trace|debug|info|warn|error] [-a <value>] [--limit <value>] [--my-pool] [--send-to <value>] [--set-default]
730
+ [--source-tracking] [-v <value>] [--type scratch|sandbox]
674
731
 
675
732
  FLAGS
676
- -q, --quiet only show errors
733
+ -a, --alias=<value> set a local alias for the fetched org
677
734
  -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
735
+ -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
736
+ --json output result as JSON
680
737
  --limit=<value> max orgs to return when using --all
738
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
739
+ <options: trace|debug|info|warn|error>
681
740
  --my-pool only fetch from orgs created by the current user
741
+ --plain non-interactive output (no spinners or cursor movement)
682
742
  --send-to=<value> email org details to this address instead of local login
743
+ --[no-]set-default set the fetched org as the default target org
683
744
  --source-tracking enable source tracking after fetch
745
+ --type=<option> [default: scratch] pool type: scratch or sandbox
746
+ <options: scratch|sandbox>
684
747
 
685
748
  DESCRIPTION
686
749
  fetch an org from a pool
@@ -688,6 +751,8 @@ DESCRIPTION
688
751
  EXAMPLES
689
752
  $ sfpm pool fetch --tag dev-pool -v my-devhub
690
753
 
754
+ $ sfpm pool fetch --tag dev-pool -v my-devhub --alias my-scratch
755
+
691
756
  $ sfpm pool fetch --tag sb-pool --type sandbox -v my-prod-org
692
757
 
693
758
  $ sfpm pool fetch --tag dev-pool -v my-devhub --send-to user@example.com
@@ -697,81 +762,83 @@ EXAMPLES
697
762
  $ sfpm pool fetch --tag dev-pool -v my-devhub --json
698
763
  ```
699
764
 
700
- _See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/fetch.js)_
765
+ _See code: [dist/commands/pool/fetch.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/fetch.js)_
701
766
 
702
- ## `sfpm pool list`
767
+ ## `sfpm pool fill`
703
768
 
704
- list orgs in a pool
769
+ fill a pool with orgs
705
770
 
706
771
  ```
707
772
  USAGE
708
- $ sfpm pool list -t <value> -v <value> [--json | -q]
709
- [--my-pool] [--type scratchOrg|sandbox]
773
+ $ sfpm pool fill -t <value>... [--json | --plain]
774
+ [--log-level trace|debug|info|warn|error] [--batch-size <value>] [-d <value>] [--expiry-days <value>] [--max
775
+ <value>] [--name-pattern <value>] [-v <value>] [--type scratch|sandbox] [--use-local-source]
710
776
 
711
777
  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>
778
+ -d, --definition-file=<value> org definition file (scratch org or sandbox)
779
+ -t, --tag=<value>... (required) pool tag (repeat to fill multiple pools)
780
+ -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
781
+ --batch-size=<value> max concurrent org creations (default: 5)
782
+ --expiry-days=<value> scratch org expiry in days (default: 7)
783
+ --json output result as JSON
784
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
785
+ <options: trace|debug|info|warn|error>
786
+ --max=<value> maximum number of orgs to allocate (overrides config)
787
+ --name-pattern=<value> override sandbox name prefix from definition file (e.g., SB → SB1, SB2, ...)
788
+ --plain non-interactive output (no spinners or cursor movement)
789
+ --type=<option> pool type: scratch or sandbox (inferred from config if omitted)
790
+ <options: scratch|sandbox>
791
+ --use-local-source deploy from local project source instead of downloaded artifacts
719
792
 
720
793
  DESCRIPTION
721
- list orgs in a pool
794
+ fill a pool with orgs
722
795
 
723
796
  EXAMPLES
724
- $ sfpm pool list --tag dev-pool -v my-devhub
797
+ $ sfpm pool fill --tag dev-pool --max 10 -d config/project-scratch-def.json -v my-devhub
725
798
 
726
- $ sfpm pool list --tag sb-pool --type sandbox -v my-prod-org
799
+ $ sfpm pool fill --tag sb-pool --max 5 --type sandbox -d config/sandbox-def.json -v my-prod-org
727
800
 
728
- $ sfpm pool list --tag dev-pool -v my-devhub --my-pool
801
+ $ sfpm pool fill --tag dev-pool --tag qa-pool --max 10 -d config/project-scratch-def.json -v my-devhub
729
802
 
730
- $ sfpm pool list --tag dev-pool -v my-devhub --json
803
+ $ sfpm pool fill --tag dev-pool --max 10 -d config/project-scratch-def.json -v my-devhub --json
731
804
  ```
732
805
 
733
- _See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/list.js)_
806
+ _See code: [dist/commands/pool/fill.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/fill.js)_
734
807
 
735
- ## `sfpm pool provision`
808
+ ## `sfpm pool list`
736
809
 
737
- provision orgs to fill a pool
810
+ list orgs in a pool
738
811
 
739
812
  ```
740
813
  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]
814
+ $ sfpm pool list [--json | --plain] [--log-level
815
+ trace|debug|info|warn|error] [--my-pool] [-t <value>] [-v <value>] [--type scratch|sandbox]
745
816
 
746
817
  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>
818
+ -t, --tag=<value> pool tag to query (omit to list all pools)
819
+ -v, --target-dev-hub=<value> [default: dev-niko] target hub org username or alias
820
+ --json output result as JSON
821
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
822
+ <options: trace|debug|info|warn|error>
823
+ --my-pool only show orgs created by the current user
824
+ --plain non-interactive output (no spinners or cursor movement)
825
+ --type=<option> [default: scratch] pool type: scratch or sandbox
826
+ <options: scratch|sandbox>
762
827
 
763
828
  DESCRIPTION
764
- provision orgs to fill a pool
829
+ list orgs in a pool
765
830
 
766
831
  EXAMPLES
767
- $ sfpm pool provision --tag dev-pool --max 10 --definition-file config/project-scratch-def.json -v my-devhub
832
+ $ sfpm pool list --tag dev-pool -v my-devhub
768
833
 
769
- $ sfpm pool provision --tag sb-pool --max 5 --type sandbox --sandbox-name-pattern SB --license-type DEVELOPER -v my-prod-org
834
+ $ sfpm pool list --tag sb-pool --type sandbox -v my-prod-org
835
+
836
+ $ sfpm pool list --tag dev-pool -v my-devhub --my-pool
770
837
 
771
- $ sfpm pool provision --tag dev-pool --max 10 --definition-file config/project-scratch-def.json -v my-devhub --json
838
+ $ sfpm pool list --tag dev-pool -v my-devhub --json
772
839
  ```
773
840
 
774
- _See code: [dist/commands/pool/provision.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/pool/provision.js)_
841
+ _See code: [dist/commands/pool/list.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/pool/list.js)_
775
842
 
776
843
  ## `sfpm project`
777
844
 
@@ -779,10 +846,15 @@ Overview of the project
779
846
 
780
847
  ```
781
848
  USAGE
782
- $ sfpm project [-p]
849
+ $ sfpm project [--json | --plain] [--log-level
850
+ trace|debug|info|warn|error] [-p]
783
851
 
784
852
  FLAGS
785
- -p, --path Display package paths
853
+ -p, --path Display package paths
854
+ --json output result as JSON
855
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
856
+ <options: trace|debug|info|warn|error>
857
+ --plain non-interactive output (no spinners or cursor movement)
786
858
 
787
859
  DESCRIPTION
788
860
  Overview of the project
@@ -791,7 +863,7 @@ EXAMPLES
791
863
  $ sfpm project
792
864
  ```
793
865
 
794
- _See code: [dist/commands/project.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project.js)_
866
+ _See code: [dist/commands/project/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/index.js)_
795
867
 
796
868
  ## `sfpm project init`
797
869
 
@@ -799,10 +871,15 @@ Verify project configuration and setup requirements
799
871
 
800
872
  ```
801
873
  USAGE
802
- $ sfpm project init [-f]
874
+ $ sfpm project init [--json | --plain] [--log-level
875
+ trace|debug|info|warn|error] [-f]
803
876
 
804
877
  FLAGS
805
- -f, --fix Attempt to fix issues automatically
878
+ -f, --fix Attempt to fix issues automatically
879
+ --json output result as JSON
880
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
881
+ <options: trace|debug|info|warn|error>
882
+ --plain non-interactive output (no spinners or cursor movement)
806
883
 
807
884
  DESCRIPTION
808
885
  Verify project configuration and setup requirements
@@ -813,7 +890,7 @@ EXAMPLES
813
890
  $ sfpm project init --fix
814
891
  ```
815
892
 
816
- _See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/init/index.js)_
893
+ _See code: [dist/commands/project/init/index.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/init/index.js)_
817
894
 
818
895
  ## `sfpm project init turbo`
819
896
 
@@ -821,16 +898,19 @@ Initialize a turbo-native workspace for SFPM packages
821
898
 
822
899
  ```
823
900
  USAGE
824
- $ sfpm project init turbo [--json] [-m] [--npm-scope <value>]
825
- [--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
901
+ $ sfpm project init turbo [--log-level trace|debug|info|warn|error]
902
+ [--plain | --json] [-m] [--npm-scope <value>] [--package-manager pnpm|npm|yarn] [--workspace-dir <value>] [-y]
826
903
 
827
904
  FLAGS
828
905
  -m, --migrate migrate from an existing sfdx-project.json
829
906
  -y, --yes skip confirmation prompts (use defaults)
830
907
  --json output result as JSON
908
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
909
+ <options: trace|debug|info|warn|error>
831
910
  --npm-scope=<value> npm scope for package names (e.g., @myorg)
832
911
  --package-manager=<option> [default: pnpm] package manager to use
833
912
  <options: pnpm|npm|yarn>
913
+ --plain non-interactive output (no spinners or cursor movement)
834
914
  --workspace-dir=<value> directory prefix for migrated packages (e.g., "packages")
835
915
 
836
916
  DESCRIPTION
@@ -848,7 +928,7 @@ EXAMPLES
848
928
  $ sfpm project init turbo --json
849
929
  ```
850
930
 
851
- _See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/init/turbo.js)_
931
+ _See code: [dist/commands/project/init/turbo.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/init/turbo.js)_
852
932
 
853
933
  ## `sfpm project sync`
854
934
 
@@ -856,11 +936,15 @@ Generate sfdx-project.json from workspace package.json files
856
936
 
857
937
  ```
858
938
  USAGE
859
- $ sfpm project sync [--api-version <value>] [--json]
939
+ $ sfpm project sync [--log-level trace|debug|info|warn|error]
940
+ [--plain | --json] [--api-version <value>]
860
941
 
861
942
  FLAGS
862
943
  --api-version=<value> Override Salesforce API version (e.g., 63.0)
863
944
  --json output result as JSON
945
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
946
+ <options: trace|debug|info|warn|error>
947
+ --plain non-interactive output (no spinners or cursor movement)
864
948
 
865
949
  DESCRIPTION
866
950
  Generate sfdx-project.json from workspace package.json files
@@ -871,7 +955,7 @@ EXAMPLES
871
955
  $ sfpm project sync --api-version 63.0
872
956
  ```
873
957
 
874
- _See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/sync.js)_
958
+ _See code: [dist/commands/project/sync.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/sync.js)_
875
959
 
876
960
  ## `sfpm project version bump`
877
961
 
@@ -879,8 +963,9 @@ Bump package versions in sfdx-project.json
879
963
 
880
964
  ```
881
965
  USAGE
882
- $ sfpm project version bump [-a] [--dryrun] [-M] [-m] [-p <value>]
883
- [--patch] [-f <value>] [-o <value>] [-r <value>] [-v <value>]
966
+ $ sfpm project version bump [--json | --plain] [--log-level
967
+ trace|debug|info|warn|error] [-a] [--dryrun] [-M] [-m] [-p <value>] [--patch] [-f <value>] [-o <value>] [-r <value>]
968
+ [-v <value>]
884
969
 
885
970
  FLAGS
886
971
  -M, --major Increment major number
@@ -892,7 +977,11 @@ FLAGS
892
977
  -r, --targetref=<value> Specify the git reference for diff comparison
893
978
  -v, --versionnumber=<value> Set a custom version number
894
979
  --dryrun Preview changes without saving to sfdx-project.json
980
+ --json output result as JSON
981
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
982
+ <options: trace|debug|info|warn|error>
895
983
  --patch Increment patch number (default)
984
+ --plain non-interactive output (no spinners or cursor movement)
896
985
 
897
986
  DESCRIPTION
898
987
  Bump package versions in sfdx-project.json
@@ -911,5 +1000,128 @@ EXAMPLES
911
1000
  $ sfp project version bump --package mypackage --patch --projectfile path/to/sfdx-project.json
912
1001
  ```
913
1002
 
914
- _See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.1.0/dist/commands/project/version/bump.js)_
1003
+ _See code: [dist/commands/project/version/bump.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/project/version/bump.js)_
1004
+
1005
+ ## `sfpm publish [PACKAGES]`
1006
+
1007
+ publish packages from their dist directories
1008
+
1009
+ ```
1010
+ USAGE
1011
+ $ sfpm publish [PACKAGES...] [--json | --plain]
1012
+ [--log-level trace|debug|info|warn|error] [--dry-run] [--tag <value>]
1013
+
1014
+ ARGUMENTS
1015
+ [PACKAGES...] package(s) to publish (defaults to all workspace packages)
1016
+
1017
+ FLAGS
1018
+ --dry-run show what would be published without actually publishing
1019
+ --json output result as JSON
1020
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
1021
+ <options: trace|debug|info|warn|error>
1022
+ --plain non-interactive output (no spinners or cursor movement)
1023
+ --tag=<value> [default: latest] npm dist-tag (e.g., latest, next)
1024
+
1025
+ DESCRIPTION
1026
+ publish packages from their dist directories
1027
+
1028
+ EXAMPLES
1029
+ $ sfpm publish my-package
1030
+
1031
+ $ sfpm publish my-package --tag next
1032
+
1033
+ $ sfpm publish all
1034
+ ```
1035
+
1036
+ _See code: [dist/commands/publish.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/publish.js)_
1037
+
1038
+ ## `sfpm watch cancel ID`
1039
+
1040
+ cancel a running watcher by killing its process
1041
+
1042
+ ```
1043
+ USAGE
1044
+ $ sfpm watch cancel ID [--log-level trace|debug|info|warn|error]
1045
+ [--plain | --json]
1046
+
1047
+ ARGUMENTS
1048
+ ID watcher ID to cancel
1049
+
1050
+ FLAGS
1051
+ --json output as JSON
1052
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
1053
+ <options: trace|debug|info|warn|error>
1054
+ --plain non-interactive output (no spinners or cursor movement)
1055
+
1056
+ DESCRIPTION
1057
+ cancel a running watcher by killing its process
1058
+
1059
+ EXAMPLES
1060
+ $ sfpm watch cancel 1234567890-abc123
1061
+ ```
1062
+
1063
+ _See code: [dist/commands/watch/cancel.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/cancel.js)_
1064
+
1065
+ ## `sfpm watch clean`
1066
+
1067
+ remove completed, errored, and orphaned watcher state files
1068
+
1069
+ ```
1070
+ USAGE
1071
+ $ sfpm watch clean [--log-level trace|debug|info|warn|error]
1072
+ [--plain | --json] [--type build|deploy|test]
1073
+
1074
+ FLAGS
1075
+ --json output as JSON
1076
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
1077
+ <options: trace|debug|info|warn|error>
1078
+ --plain non-interactive output (no spinners or cursor movement)
1079
+ --type=<option> only clean watchers of this type
1080
+ <options: build|deploy|test>
1081
+
1082
+ DESCRIPTION
1083
+ remove completed, errored, and orphaned watcher state files
1084
+
1085
+ EXAMPLES
1086
+ $ sfpm watch clean
1087
+
1088
+ $ sfpm watch clean --type build
1089
+
1090
+ $ sfpm watch clean --json
1091
+ ```
1092
+
1093
+ _See code: [dist/commands/watch/clean.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/clean.js)_
1094
+
1095
+ ## `sfpm watch status`
1096
+
1097
+ check the status of async watcher jobs
1098
+
1099
+ ```
1100
+ USAGE
1101
+ $ sfpm watch status [--log-level trace|debug|info|warn|error]
1102
+ [--plain | --json] [--poll] [--type build|deploy|test]
1103
+
1104
+ FLAGS
1105
+ --json output as JSON
1106
+ --log-level=<option> [default: error, env: SFPM_LOG_LEVEL] diagnostic log level
1107
+ <options: trace|debug|info|warn|error>
1108
+ --plain non-interactive output (no spinners or cursor movement)
1109
+ --poll poll Salesforce directly for current status
1110
+ --type=<option> filter by job type (build, deploy, test)
1111
+ <options: build|deploy|test>
1112
+
1113
+ DESCRIPTION
1114
+ check the status of async watcher jobs
1115
+
1116
+ EXAMPLES
1117
+ $ sfpm watch status
1118
+
1119
+ $ sfpm watch status --type build
1120
+
1121
+ $ sfpm watch status --poll
1122
+
1123
+ $ sfpm watch status --json
1124
+ ```
1125
+
1126
+ _See code: [dist/commands/watch/status.js](https://github.com/b64hub/sfpm/blob/v0.2.0/dist/commands/watch/status.js)_
915
1127
  <!-- commandsstop -->