@loopress/cli 0.27.0 → 0.29.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 (124) hide show
  1. package/README.md +448 -189
  2. package/bin/dev.js +0 -0
  3. package/dist/commands/acf/pull.d.ts +9 -1
  4. package/dist/commands/acf/pull.js +2 -0
  5. package/dist/commands/acf/push.d.ts +9 -1
  6. package/dist/commands/acf/push.js +3 -1
  7. package/dist/commands/api/publish.js +1 -1
  8. package/dist/commands/app/pull.js +17 -4
  9. package/dist/commands/app/push.d.ts +3 -0
  10. package/dist/commands/app/push.js +30 -6
  11. package/dist/commands/composer/push.js +3 -21
  12. package/dist/commands/diff.js +1 -1
  13. package/dist/commands/form/pull.d.ts +9 -1
  14. package/dist/commands/form/pull.js +3 -1
  15. package/dist/commands/form/push.d.ts +7 -1
  16. package/dist/commands/form/push.js +3 -1
  17. package/dist/commands/init.js +6 -36
  18. package/dist/commands/menu/pull.d.ts +7 -1
  19. package/dist/commands/menu/pull.js +2 -0
  20. package/dist/commands/menu/push.d.ts +7 -1
  21. package/dist/commands/menu/push.js +3 -1
  22. package/dist/commands/option/pull.js +4 -4
  23. package/dist/commands/option/push.js +2 -0
  24. package/dist/commands/page/push.js +3 -0
  25. package/dist/commands/plugin/add.js +6 -3
  26. package/dist/commands/plugin/audit.js +4 -5
  27. package/dist/commands/plugin/pull.d.ts +7 -1
  28. package/dist/commands/plugin/pull.js +68 -14
  29. package/dist/commands/plugin/push.d.ts +5 -1
  30. package/dist/commands/plugin/push.js +92 -38
  31. package/dist/commands/plugin/status.d.ts +1 -0
  32. package/dist/commands/plugin/status.js +21 -2
  33. package/dist/commands/project/config.js +12 -8
  34. package/dist/commands/promote.d.ts +2 -0
  35. package/dist/commands/promote.js +69 -8
  36. package/dist/commands/pull.js +2 -2
  37. package/dist/commands/push.d.ts +1 -0
  38. package/dist/commands/push.js +40 -5
  39. package/dist/commands/seo/pull.d.ts +8 -1
  40. package/dist/commands/seo/pull.js +2 -0
  41. package/dist/commands/seo/push.d.ts +7 -1
  42. package/dist/commands/seo/push.js +3 -1
  43. package/dist/commands/snippet/publish.js +1 -1
  44. package/dist/commands/snippet/pull.js +1 -1
  45. package/dist/commands/snippet/push.js +1 -1
  46. package/dist/commands/status.d.ts +1 -0
  47. package/dist/commands/status.js +4 -4
  48. package/dist/commands/theme/pull.d.ts +6 -8
  49. package/dist/commands/theme/pull.js +30 -26
  50. package/dist/commands/theme/push.d.ts +8 -9
  51. package/dist/commands/theme/push.js +54 -111
  52. package/dist/commands/theme/style/diff.d.ts +2 -0
  53. package/dist/commands/{theme-styles → theme/style}/diff.js +2 -1
  54. package/dist/commands/{theme-styles → theme/style}/pull.d.ts +8 -2
  55. package/dist/commands/{theme-styles → theme/style}/pull.js +6 -4
  56. package/dist/commands/{theme-styles → theme/style}/push.d.ts +9 -2
  57. package/dist/commands/{theme-styles → theme/style}/push.js +9 -6
  58. package/dist/commands/theme/style/rollback.d.ts +2 -0
  59. package/dist/commands/theme/style/rollback.js +6 -0
  60. package/dist/commands/theme/template/diff.d.ts +10 -0
  61. package/dist/commands/theme/template/diff.js +13 -0
  62. package/dist/commands/theme/template/list.d.ts +13 -0
  63. package/dist/commands/theme/template/list.js +23 -0
  64. package/dist/commands/theme/template/push.d.ts +20 -0
  65. package/dist/commands/theme/template/push.js +44 -0
  66. package/dist/commands/theme/version/pull.d.ts +23 -0
  67. package/dist/commands/theme/version/pull.js +43 -0
  68. package/dist/commands/theme/version/push.d.ts +22 -0
  69. package/dist/commands/theme/version/push.js +123 -0
  70. package/dist/hooks/finally.d.ts +2 -1
  71. package/dist/hooks/finally.js +27 -4
  72. package/dist/lib/api-client.js +3 -1
  73. package/dist/lib/app-build.d.ts +5 -0
  74. package/dist/lib/app-build.js +69 -0
  75. package/dist/lib/app-manifest.d.ts +4 -0
  76. package/dist/lib/app-manifest.js +10 -2
  77. package/dist/lib/base.d.ts +1 -0
  78. package/dist/lib/base.js +14 -2
  79. package/dist/lib/bootstrap-full-install.js +45 -14
  80. package/dist/lib/dev-watch.d.ts +1 -1
  81. package/dist/lib/dev-watch.js +3 -1
  82. package/dist/lib/diff-command.d.ts +1 -0
  83. package/dist/lib/diff-command.js +6 -4
  84. package/dist/lib/diff-state.js +1 -0
  85. package/dist/lib/github-release.js +0 -1
  86. package/dist/lib/local-callback-server.d.ts +12 -6
  87. package/dist/lib/local-callback-server.js +21 -22
  88. package/dist/lib/php-files-command.js +3 -1
  89. package/dist/lib/push-command.d.ts +5 -0
  90. package/dist/lib/push-command.js +30 -8
  91. package/dist/lib/resource-state.js +47 -4
  92. package/dist/lib/rollback-command.d.ts +1 -0
  93. package/dist/lib/rollback-command.js +8 -6
  94. package/dist/lib/rotate-app-password.js +2 -2
  95. package/dist/lib/snapshot-store.js +2 -2
  96. package/dist/lib/validate-local.js +6 -0
  97. package/dist/lib/wp-authorize-flow.d.ts +10 -17
  98. package/dist/lib/wp-authorize-flow.js +24 -28
  99. package/dist/lib/wp-client.d.ts +4 -1
  100. package/dist/lib/wp-client.js +25 -1
  101. package/dist/lib/wp-site-diagnostic.js +37 -0
  102. package/dist/types/plugin.d.ts +8 -1
  103. package/dist/types/plugin.js +4 -1
  104. package/dist/types/project-config.generated.d.ts +19 -2
  105. package/dist/utils/composer.d.ts +16 -0
  106. package/dist/utils/composer.js +144 -0
  107. package/dist/utils/option-format.d.ts +3 -1
  108. package/dist/utils/option-format.js +14 -3
  109. package/dist/utils/page-format.d.ts +12 -0
  110. package/dist/utils/page-format.js +40 -28
  111. package/dist/utils/plugin-sync.js +1 -1
  112. package/dist/utils/plugins.d.ts +9 -4
  113. package/dist/utils/plugins.js +16 -7
  114. package/dist/utils/resource-dirs.d.ts +2 -0
  115. package/dist/utils/resource-dirs.js +6 -2
  116. package/dist/utils/seo-format.d.ts +2 -2
  117. package/dist/utils/template-format.d.ts +31 -0
  118. package/dist/utils/template-format.js +43 -0
  119. package/oclif.manifest.json +841 -63
  120. package/package.json +24 -17
  121. package/schemas/project-config.schema.json +25 -4
  122. package/dist/commands/theme-styles/diff.d.ts +0 -2
  123. package/dist/commands/theme-styles/rollback.d.ts +0 -2
  124. package/dist/commands/theme-styles/rollback.js +0 -5
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @loopress/cli
21
21
  $ lps COMMAND
22
22
  running command...
23
23
  $ lps (--version)
24
- @loopress/cli/0.27.0 linux-x64 node-v24.21.0
24
+ @loopress/cli/0.29.0 linux-x64 node-v24.21.0
25
25
  $ lps --help [COMMAND]
26
26
  USAGE
27
27
  $ lps COMMAND
@@ -57,6 +57,7 @@ report.
57
57
  * [`lps api publish [PATH]`](#lps-api-publish-path)
58
58
  * [`lps api pull [PATH]`](#lps-api-pull-path)
59
59
  * [`lps api push [PATH]`](#lps-api-push-path)
60
+ * [`lps api remove FILENAME`](#lps-api-remove-filename)
60
61
  * [`lps api rm FILENAME`](#lps-api-rm-filename)
61
62
  * [`lps api rollback [PATH]`](#lps-api-rollback-path)
62
63
  * [`lps app list`](#lps-app-list)
@@ -79,6 +80,7 @@ report.
79
80
  * [`lps hook list`](#lps-hook-list)
80
81
  * [`lps hook pull [PATH]`](#lps-hook-pull-path)
81
82
  * [`lps hook push [PATH]`](#lps-hook-push-path)
83
+ * [`lps hook remove FILENAME`](#lps-hook-remove-filename)
82
84
  * [`lps hook rm FILENAME`](#lps-hook-rm-filename)
83
85
  * [`lps hook rollback [PATH]`](#lps-hook-rollback-path)
84
86
  * [`lps init`](#lps-init)
@@ -128,14 +130,19 @@ report.
128
130
  * [`lps status`](#lps-status)
129
131
  * [`lps telemetry disable`](#lps-telemetry-disable)
130
132
  * [`lps telemetry enable`](#lps-telemetry-enable)
131
- * [`lps theme-styles diff [PATH]`](#lps-theme-styles-diff-path)
132
- * [`lps theme-styles pull [PATH]`](#lps-theme-styles-pull-path)
133
- * [`lps theme-styles push [PATH]`](#lps-theme-styles-push-path)
134
- * [`lps theme-styles rollback [PATH]`](#lps-theme-styles-rollback-path)
135
133
  * [`lps theme add SLUG`](#lps-theme-add-slug)
136
134
  * [`lps theme pull`](#lps-theme-pull)
137
135
  * [`lps theme push`](#lps-theme-push)
138
136
  * [`lps theme status`](#lps-theme-status)
137
+ * [`lps theme style diff [PATH]`](#lps-theme-style-diff-path)
138
+ * [`lps theme style pull [PATH]`](#lps-theme-style-pull-path)
139
+ * [`lps theme style push [PATH]`](#lps-theme-style-push-path)
140
+ * [`lps theme style rollback [PATH]`](#lps-theme-style-rollback-path)
141
+ * [`lps theme template diff`](#lps-theme-template-diff)
142
+ * [`lps theme template list`](#lps-theme-template-list)
143
+ * [`lps theme template push`](#lps-theme-template-push)
144
+ * [`lps theme version pull`](#lps-theme-version-pull)
145
+ * [`lps theme version push`](#lps-theme-version-push)
139
146
  * [`lps validate`](#lps-validate)
140
147
 
141
148
  ## `lps acf diff [PATH]`
@@ -168,7 +175,7 @@ EXAMPLES
168
175
  $ lps acf diff --env staging --against production
169
176
  ```
170
177
 
171
- _See code: [src/commands/acf/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/acf/diff.ts)_
178
+ _See code: [src/commands/acf/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/acf/diff.ts)_
172
179
 
173
180
  ## `lps acf list`
174
181
 
@@ -195,7 +202,7 @@ EXAMPLES
195
202
  $ lps acf list --type field-groups
196
203
  ```
197
204
 
198
- _See code: [src/commands/acf/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/acf/list.ts)_
205
+ _See code: [src/commands/acf/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/acf/list.ts)_
199
206
 
200
207
  ## `lps acf pull [PATH]`
201
208
 
@@ -203,7 +210,8 @@ Pull ACF field groups, post types, taxonomies, and options pages from WordPress
203
210
 
204
211
  ```
205
212
  USAGE
206
- $ lps acf pull [PATH] [--env <value>] [-d] [-y] [--type field-groups|post-types|taxonomies|options-pages...]
213
+ $ lps acf pull [PATH] [--json] [--env <value>] [-d] [-y] [--type
214
+ field-groups|post-types|taxonomies|options-pages...]
207
215
 
208
216
  ARGUMENTS
209
217
  [PATH] Path to ACF directory (overrides project config)
@@ -215,6 +223,9 @@ FLAGS
215
223
  --type=<option>... Limit to specific ACF object types
216
224
  <options: field-groups|post-types|taxonomies|options-pages>
217
225
 
226
+ GLOBAL FLAGS
227
+ --json Format output as json.
228
+
218
229
  DESCRIPTION
219
230
  Pull ACF field groups, post types, taxonomies, and options pages from WordPress
220
231
 
@@ -224,7 +235,7 @@ EXAMPLES
224
235
  $ lps acf pull --type field-groups
225
236
  ```
226
237
 
227
- _See code: [src/commands/acf/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/acf/pull.ts)_
238
+ _See code: [src/commands/acf/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/acf/pull.ts)_
228
239
 
229
240
  ## `lps acf push [PATH]`
230
241
 
@@ -232,7 +243,8 @@ Push ACF field groups, post types, taxonomies, and options pages to WordPress
232
243
 
233
244
  ```
234
245
  USAGE
235
- $ lps acf push [PATH] [--env <value>] [-d] [-y] [--type field-groups|post-types|taxonomies|options-pages...]
246
+ $ lps acf push [PATH] [--json] [--env <value>] [-d] [-y] [--type
247
+ field-groups|post-types|taxonomies|options-pages...]
236
248
 
237
249
  ARGUMENTS
238
250
  [PATH] Path to ACF directory (overrides project config)
@@ -244,6 +256,9 @@ FLAGS
244
256
  --type=<option>... Limit to specific ACF object types
245
257
  <options: field-groups|post-types|taxonomies|options-pages>
246
258
 
259
+ GLOBAL FLAGS
260
+ --json Format output as json.
261
+
247
262
  DESCRIPTION
248
263
  Push ACF field groups, post types, taxonomies, and options pages to WordPress
249
264
 
@@ -253,7 +268,7 @@ EXAMPLES
253
268
  $ lps acf push --type field-groups
254
269
  ```
255
270
 
256
- _See code: [src/commands/acf/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/acf/push.ts)_
271
+ _See code: [src/commands/acf/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/acf/push.ts)_
257
272
 
258
273
  ## `lps acf rollback [PATH]`
259
274
 
@@ -290,7 +305,7 @@ EXAMPLES
290
305
  $ lps acf rollback --dry-run
291
306
  ```
292
307
 
293
- _See code: [src/commands/acf/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/acf/rollback.ts)_
308
+ _See code: [src/commands/acf/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/acf/rollback.ts)_
294
309
 
295
310
  ## `lps api diff [PATH]`
296
311
 
@@ -322,7 +337,7 @@ EXAMPLES
322
337
  $ lps api diff --env staging --against production
323
338
  ```
324
339
 
325
- _See code: [src/commands/api/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/diff.ts)_
340
+ _See code: [src/commands/api/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/diff.ts)_
326
341
 
327
342
  ## `lps api list`
328
343
 
@@ -345,7 +360,7 @@ EXAMPLES
345
360
  $ lps api list
346
361
  ```
347
362
 
348
- _See code: [src/commands/api/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/list.ts)_
363
+ _See code: [src/commands/api/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/list.ts)_
349
364
 
350
365
  ## `lps api publish [PATH]`
351
366
 
@@ -365,10 +380,10 @@ DESCRIPTION
365
380
  EXAMPLES
366
381
  $ lps api publish
367
382
 
368
- $ lps api publish --path ./api
383
+ $ lps api publish ./api
369
384
  ```
370
385
 
371
- _See code: [src/commands/api/publish.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/publish.ts)_
386
+ _See code: [src/commands/api/publish.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/publish.ts)_
372
387
 
373
388
  ## `lps api pull [PATH]`
374
389
 
@@ -398,7 +413,7 @@ EXAMPLES
398
413
  $ lps api pull --path ./api
399
414
  ```
400
415
 
401
- _See code: [src/commands/api/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/pull.ts)_
416
+ _See code: [src/commands/api/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/pull.ts)_
402
417
 
403
418
  ## `lps api push [PATH]`
404
419
 
@@ -431,7 +446,38 @@ EXAMPLES
431
446
  $ lps api push --prune
432
447
  ```
433
448
 
434
- _See code: [src/commands/api/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/push.ts)_
449
+ _See code: [src/commands/api/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/push.ts)_
450
+
451
+ ## `lps api remove FILENAME`
452
+
453
+ Remove a custom API route file from WordPress
454
+
455
+ ```
456
+ USAGE
457
+ $ lps api remove FILENAME [--json] [--env <value>] [-d] [-y]
458
+
459
+ ARGUMENTS
460
+ FILENAME The route file to remove, its slug without the .php extension (e.g. "hello" or "invoice-pdf/[order_id]")
461
+
462
+ FLAGS
463
+ -d, --dry-run Show what would change without making changes
464
+ -y, --yes Answer yes to confirmation prompts
465
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
466
+
467
+ GLOBAL FLAGS
468
+ --json Format output as json.
469
+
470
+ DESCRIPTION
471
+ Remove a custom API route file from WordPress
472
+
473
+ ALIASES
474
+ $ lps api remove
475
+
476
+ EXAMPLES
477
+ $ lps api rm hello
478
+
479
+ $ lps api remove hello --yes
480
+ ```
435
481
 
436
482
  ## `lps api rm FILENAME`
437
483
 
@@ -455,13 +501,16 @@ GLOBAL FLAGS
455
501
  DESCRIPTION
456
502
  Remove a custom API route file from WordPress
457
503
 
504
+ ALIASES
505
+ $ lps api remove
506
+
458
507
  EXAMPLES
459
508
  $ lps api rm hello
460
509
 
461
- $ lps api rm hello --yes
510
+ $ lps api remove hello --yes
462
511
  ```
463
512
 
464
- _See code: [src/commands/api/rm.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/rm.ts)_
513
+ _See code: [src/commands/api/rm.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/rm.ts)_
465
514
 
466
515
  ## `lps api rollback [PATH]`
467
516
 
@@ -497,7 +546,7 @@ EXAMPLES
497
546
  $ lps api rollback --dry-run
498
547
  ```
499
548
 
500
- _See code: [src/commands/api/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/api/rollback.ts)_
549
+ _See code: [src/commands/api/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/api/rollback.ts)_
501
550
 
502
551
  ## `lps app list`
503
552
 
@@ -520,7 +569,7 @@ EXAMPLES
520
569
  $ lps app list
521
570
  ```
522
571
 
523
- _See code: [src/commands/app/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/app/list.ts)_
572
+ _See code: [src/commands/app/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/app/list.ts)_
524
573
 
525
574
  ## `lps app pull [PATH]`
526
575
 
@@ -548,15 +597,15 @@ EXAMPLES
548
597
  $ lps app pull
549
598
  ```
550
599
 
551
- _See code: [src/commands/app/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/app/pull.ts)_
600
+ _See code: [src/commands/app/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/app/pull.ts)_
552
601
 
553
602
  ## `lps app push [NAME]`
554
603
 
555
- Push built single-page app bundles to WordPress. Each app is an `apps/<name>/` directory holding a loopress.app.json and a built dist/ folder. Only files whose content changed are uploaded.
604
+ Build and push single-page app bundles to WordPress. Each app is an `apps/<name>/` directory holding a loopress.app.json and a dist/ folder. When the app has a package.json with a `build` script, it runs first (use --no-build to skip it). Only files whose content changed are uploaded.
556
605
 
557
606
  ```
558
607
  USAGE
559
- $ lps app push [NAME] [--json] [--env <value>] [-d] [-y]
608
+ $ lps app push [NAME] [--json] [--env <value>] [--build] [-d] [-y]
560
609
 
561
610
  ARGUMENTS
562
611
  [NAME] Push only this app (defaults to every app in the directory)
@@ -564,22 +613,26 @@ ARGUMENTS
564
613
  FLAGS
565
614
  -d, --dry-run Show what would change without making changes
566
615
  -y, --yes Answer yes to confirmation prompts
616
+ --[no-]build Run the app's package.json build script before pushing
567
617
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
568
618
 
569
619
  GLOBAL FLAGS
570
620
  --json Format output as json.
571
621
 
572
622
  DESCRIPTION
573
- Push built single-page app bundles to WordPress. Each app is an `apps/<name>/` directory holding a loopress.app.json
574
- and a built dist/ folder. Only files whose content changed are uploaded.
623
+ Build and push single-page app bundles to WordPress. Each app is an `apps/<name>/` directory holding a
624
+ loopress.app.json and a dist/ folder. When the app has a package.json with a `build` script, it runs first (use
625
+ --no-build to skip it). Only files whose content changed are uploaded.
575
626
 
576
627
  EXAMPLES
577
628
  $ lps app push
578
629
 
579
630
  $ lps app push search
631
+
632
+ $ lps app push --no-build
580
633
  ```
581
634
 
582
- _See code: [src/commands/app/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/app/push.ts)_
635
+ _See code: [src/commands/app/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/app/push.ts)_
583
636
 
584
637
  ## `lps app remove NAME`
585
638
 
@@ -608,7 +661,7 @@ EXAMPLES
608
661
  $ lps app remove search
609
662
  ```
610
663
 
611
- _See code: [src/commands/app/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/app/remove.ts)_
664
+ _See code: [src/commands/app/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/app/remove.ts)_
612
665
 
613
666
  ## `lps composer init`
614
667
 
@@ -631,7 +684,7 @@ EXAMPLES
631
684
  $ lps composer init --dry-run
632
685
  ```
633
686
 
634
- _See code: [src/commands/composer/init.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/composer/init.ts)_
687
+ _See code: [src/commands/composer/init.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/composer/init.ts)_
635
688
 
636
689
  ## `lps composer pull`
637
690
 
@@ -657,7 +710,7 @@ EXAMPLES
657
710
  $ lps composer pull --dry-run
658
711
  ```
659
712
 
660
- _See code: [src/commands/composer/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/composer/pull.ts)_
713
+ _See code: [src/commands/composer/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/composer/pull.ts)_
661
714
 
662
715
  ## `lps composer push`
663
716
 
@@ -685,7 +738,7 @@ EXAMPLES
685
738
  $ lps composer push --dry-run
686
739
  ```
687
740
 
688
- _See code: [src/commands/composer/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/composer/push.ts)_
741
+ _See code: [src/commands/composer/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/composer/push.ts)_
689
742
 
690
743
  ## `lps dev`
691
744
 
@@ -696,8 +749,9 @@ USAGE
696
749
  $ lps dev [--only <value>] [--skip <value>]
697
750
 
698
751
  FLAGS
699
- --only=<value> Only watch these resource types (comma-separated): snippets, pages, api, hooks, plugins
700
- --skip=<value> Skip these resource types (comma-separated): snippets, pages, api, hooks, plugins
752
+ --only=<value> Only watch these resource types (comma-separated): snippets, templates, parts, pages, api, hooks,
753
+ plugins
754
+ --skip=<value> Skip these resource types (comma-separated): snippets, templates, parts, pages, api, hooks, plugins
701
755
 
702
756
  DESCRIPTION
703
757
  Watch project files and push changes to the local WordPress instance as they happen. Always targets the "local"
@@ -711,34 +765,34 @@ EXAMPLES
711
765
  $ lps dev --skip=plugins
712
766
  ```
713
767
 
714
- _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/dev.ts)_
768
+ _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/dev.ts)_
715
769
 
716
770
  ## `lps diff`
717
771
 
718
- Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers snippets, forms, ACF, API routes, Hooks, pages, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not be compared, so it doubles as a CI drift gate.
772
+ Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers snippets, forms, ACF, API routes, Hooks, templates, template parts, pages, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not be compared, so it doubles as a CI drift gate.
719
773
 
720
774
  ```
721
775
  USAGE
722
776
  $ lps diff [--json] [--env <value>] [--against <value>] [--only
723
- snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer...] [--skip
724
- snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer...]
777
+ snippet|form|acf|api|hook|template|part|page|seo|menu|option|theme-styles|composer...] [--skip
778
+ snippet|form|acf|api|hook|template|part|page|seo|menu|option|theme-styles|composer...]
725
779
 
726
780
  FLAGS
727
781
  --against=<value> Compare the primary environment against this second environment instead of against local files
728
782
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
729
783
  --only=<option>... Only compare these resources
730
- <options: snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer>
784
+ <options: snippet|form|acf|api|hook|template|part|page|seo|menu|option|theme-styles|composer>
731
785
  --skip=<option>... Compare every resource except these
732
- <options: snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer>
786
+ <options: snippet|form|acf|api|hook|template|part|page|seo|menu|option|theme-styles|composer>
733
787
 
734
788
  GLOBAL FLAGS
735
789
  --json Format output as json.
736
790
 
737
791
  DESCRIPTION
738
792
  Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers
739
- snippets, forms, ACF, API routes, Hooks, pages, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes
740
- have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not
741
- be compared, so it doubles as a CI drift gate.
793
+ snippets, forms, ACF, API routes, Hooks, templates, template parts, pages, SEO, Options, Menus, Theme styles, and
794
+ Composer. Plugins and themes have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on
795
+ drift, 2 when a resource could not be compared, so it doubles as a CI drift gate.
742
796
 
743
797
  EXAMPLES
744
798
  $ lps diff
@@ -752,7 +806,7 @@ EXAMPLES
752
806
  $ lps diff --skip composer
753
807
  ```
754
808
 
755
- _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/diff.ts)_
809
+ _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/diff.ts)_
756
810
 
757
811
  ## `lps doctor`
758
812
 
@@ -777,7 +831,7 @@ EXAMPLES
777
831
  $ lps doctor --env production
778
832
  ```
779
833
 
780
- _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/doctor.ts)_
834
+ _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/doctor.ts)_
781
835
 
782
836
  ## `lps form diff [PATH]`
783
837
 
@@ -808,7 +862,7 @@ EXAMPLES
808
862
  $ lps form diff --env staging --against production
809
863
  ```
810
864
 
811
- _See code: [src/commands/form/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/form/diff.ts)_
865
+ _See code: [src/commands/form/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/form/diff.ts)_
812
866
 
813
867
  ## `lps form list`
814
868
 
@@ -831,7 +885,7 @@ EXAMPLES
831
885
  $ lps form list
832
886
  ```
833
887
 
834
- _See code: [src/commands/form/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/form/list.ts)_
888
+ _See code: [src/commands/form/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/form/list.ts)_
835
889
 
836
890
  ## `lps form pull [PATH]`
837
891
 
@@ -839,7 +893,7 @@ Pull forms from WordPress
839
893
 
840
894
  ```
841
895
  USAGE
842
- $ lps form pull [PATH] [--env <value>] [-d] [-y]
896
+ $ lps form pull [PATH] [--json] [--env <value>] [-d] [-y]
843
897
 
844
898
  ARGUMENTS
845
899
  [PATH] Path to forms directory (overrides project config)
@@ -849,6 +903,9 @@ FLAGS
849
903
  -y, --yes Answer yes to confirmation prompts
850
904
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
851
905
 
906
+ GLOBAL FLAGS
907
+ --json Format output as json.
908
+
852
909
  DESCRIPTION
853
910
  Pull forms from WordPress
854
911
 
@@ -856,7 +913,7 @@ EXAMPLES
856
913
  $ lps form pull
857
914
  ```
858
915
 
859
- _See code: [src/commands/form/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/form/pull.ts)_
916
+ _See code: [src/commands/form/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/form/pull.ts)_
860
917
 
861
918
  ## `lps form push [PATH]`
862
919
 
@@ -864,7 +921,7 @@ Push forms to WordPress. Local files created or updated remotely are renamed on
864
921
 
865
922
  ```
866
923
  USAGE
867
- $ lps form push [PATH] [--env <value>] [-d] [-y] [--allow-notifications]
924
+ $ lps form push [PATH] [--json] [--env <value>] [-d] [-y] [--allow-notifications]
868
925
 
869
926
  ARGUMENTS
870
927
  [PATH] Path to forms directory (overrides project config)
@@ -877,6 +934,9 @@ FLAGS
877
934
  submissions.
878
935
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
879
936
 
937
+ GLOBAL FLAGS
938
+ --json Format output as json.
939
+
880
940
  DESCRIPTION
881
941
  Push forms to WordPress. Local files created or updated remotely are renamed on disk to the `<id>-<slug>.json`
882
942
  convention.
@@ -887,7 +947,7 @@ EXAMPLES
887
947
  $ lps form push --allow-notifications
888
948
  ```
889
949
 
890
- _See code: [src/commands/form/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/form/push.ts)_
950
+ _See code: [src/commands/form/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/form/push.ts)_
891
951
 
892
952
  ## `lps form rollback [PATH]`
893
953
 
@@ -923,7 +983,7 @@ EXAMPLES
923
983
  $ lps form rollback --dry-run
924
984
  ```
925
985
 
926
- _See code: [src/commands/form/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/form/rollback.ts)_
986
+ _See code: [src/commands/form/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/form/rollback.ts)_
927
987
 
928
988
  ## `lps help [COMMAND]`
929
989
 
@@ -943,7 +1003,7 @@ DESCRIPTION
943
1003
  Display help for lps.
944
1004
  ```
945
1005
 
946
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/7.0.0/src/commands/help.ts)_
1006
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/7.0.2/src/commands/help.ts)_
947
1007
 
948
1008
  ## `lps hook diff [PATH]`
949
1009
 
@@ -974,7 +1034,7 @@ EXAMPLES
974
1034
  $ lps hook diff --env staging --against production
975
1035
  ```
976
1036
 
977
- _See code: [src/commands/hook/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/diff.ts)_
1037
+ _See code: [src/commands/hook/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/diff.ts)_
978
1038
 
979
1039
  ## `lps hook list`
980
1040
 
@@ -997,7 +1057,7 @@ EXAMPLES
997
1057
  $ lps hook list
998
1058
  ```
999
1059
 
1000
- _See code: [src/commands/hook/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/list.ts)_
1060
+ _See code: [src/commands/hook/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/list.ts)_
1001
1061
 
1002
1062
  ## `lps hook pull [PATH]`
1003
1063
 
@@ -1027,7 +1087,7 @@ EXAMPLES
1027
1087
  $ lps hook pull --path ./hooks
1028
1088
  ```
1029
1089
 
1030
- _See code: [src/commands/hook/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/pull.ts)_
1090
+ _See code: [src/commands/hook/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/pull.ts)_
1031
1091
 
1032
1092
  ## `lps hook push [PATH]`
1033
1093
 
@@ -1060,7 +1120,38 @@ EXAMPLES
1060
1120
  $ lps hook push --prune
1061
1121
  ```
1062
1122
 
1063
- _See code: [src/commands/hook/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/push.ts)_
1123
+ _See code: [src/commands/hook/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/push.ts)_
1124
+
1125
+ ## `lps hook remove FILENAME`
1126
+
1127
+ Remove a hook file (action, filter, cron) from WordPress
1128
+
1129
+ ```
1130
+ USAGE
1131
+ $ lps hook remove FILENAME [--json] [--env <value>] [-d] [-y]
1132
+
1133
+ ARGUMENTS
1134
+ FILENAME The hook file to remove, its slug without the .php extension (e.g. "hello" or "invoice-pdf/[order_id]")
1135
+
1136
+ FLAGS
1137
+ -d, --dry-run Show what would change without making changes
1138
+ -y, --yes Answer yes to confirmation prompts
1139
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1140
+
1141
+ GLOBAL FLAGS
1142
+ --json Format output as json.
1143
+
1144
+ DESCRIPTION
1145
+ Remove a hook file (action, filter, cron) from WordPress
1146
+
1147
+ ALIASES
1148
+ $ lps hook remove
1149
+
1150
+ EXAMPLES
1151
+ $ lps hook rm hello
1152
+
1153
+ $ lps hook remove hello --yes
1154
+ ```
1064
1155
 
1065
1156
  ## `lps hook rm FILENAME`
1066
1157
 
@@ -1084,13 +1175,16 @@ GLOBAL FLAGS
1084
1175
  DESCRIPTION
1085
1176
  Remove a hook file (action, filter, cron) from WordPress
1086
1177
 
1178
+ ALIASES
1179
+ $ lps hook remove
1180
+
1087
1181
  EXAMPLES
1088
1182
  $ lps hook rm hello
1089
1183
 
1090
- $ lps hook rm hello --yes
1184
+ $ lps hook remove hello --yes
1091
1185
  ```
1092
1186
 
1093
- _See code: [src/commands/hook/rm.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/rm.ts)_
1187
+ _See code: [src/commands/hook/rm.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/rm.ts)_
1094
1188
 
1095
1189
  ## `lps hook rollback [PATH]`
1096
1190
 
@@ -1126,7 +1220,7 @@ EXAMPLES
1126
1220
  $ lps hook rollback --dry-run
1127
1221
  ```
1128
1222
 
1129
- _See code: [src/commands/hook/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/hook/rollback.ts)_
1223
+ _See code: [src/commands/hook/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/hook/rollback.ts)_
1130
1224
 
1131
1225
  ## `lps init`
1132
1226
 
@@ -1143,7 +1237,7 @@ EXAMPLES
1143
1237
  $ lps init
1144
1238
  ```
1145
1239
 
1146
- _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/init.ts)_
1240
+ _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/init.ts)_
1147
1241
 
1148
1242
  ## `lps login`
1149
1243
 
@@ -1160,7 +1254,7 @@ EXAMPLES
1160
1254
  $ lps login
1161
1255
  ```
1162
1256
 
1163
- _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/login.ts)_
1257
+ _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/login.ts)_
1164
1258
 
1165
1259
  ## `lps logout`
1166
1260
 
@@ -1177,7 +1271,7 @@ EXAMPLES
1177
1271
  $ lps logout
1178
1272
  ```
1179
1273
 
1180
- _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/logout.ts)_
1274
+ _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/logout.ts)_
1181
1275
 
1182
1276
  ## `lps menu diff [PATH]`
1183
1277
 
@@ -1209,7 +1303,7 @@ EXAMPLES
1209
1303
  $ lps menu diff --env staging --against production
1210
1304
  ```
1211
1305
 
1212
- _See code: [src/commands/menu/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/menu/diff.ts)_
1306
+ _See code: [src/commands/menu/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/menu/diff.ts)_
1213
1307
 
1214
1308
  ## `lps menu list`
1215
1309
 
@@ -1232,7 +1326,7 @@ EXAMPLES
1232
1326
  $ lps menu list
1233
1327
  ```
1234
1328
 
1235
- _See code: [src/commands/menu/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/menu/list.ts)_
1329
+ _See code: [src/commands/menu/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/menu/list.ts)_
1236
1330
 
1237
1331
  ## `lps menu pull [PATH]`
1238
1332
 
@@ -1240,7 +1334,7 @@ Pull nav menus and the active theme menu locations from WordPress
1240
1334
 
1241
1335
  ```
1242
1336
  USAGE
1243
- $ lps menu pull [PATH] [--env <value>] [-d] [-y]
1337
+ $ lps menu pull [PATH] [--json] [--env <value>] [-d] [-y]
1244
1338
 
1245
1339
  ARGUMENTS
1246
1340
  [PATH] Path to menus directory (overrides project config)
@@ -1250,6 +1344,9 @@ FLAGS
1250
1344
  -y, --yes Answer yes to confirmation prompts
1251
1345
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1252
1346
 
1347
+ GLOBAL FLAGS
1348
+ --json Format output as json.
1349
+
1253
1350
  DESCRIPTION
1254
1351
  Pull nav menus and the active theme menu locations from WordPress
1255
1352
 
@@ -1257,7 +1354,7 @@ EXAMPLES
1257
1354
  $ lps menu pull
1258
1355
  ```
1259
1356
 
1260
- _See code: [src/commands/menu/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/menu/pull.ts)_
1357
+ _See code: [src/commands/menu/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/menu/pull.ts)_
1261
1358
 
1262
1359
  ## `lps menu push [PATH]`
1263
1360
 
@@ -1265,7 +1362,7 @@ Push local nav menus and the active theme menu locations to WordPress. Each menu
1265
1362
 
1266
1363
  ```
1267
1364
  USAGE
1268
- $ lps menu push [PATH] [--env <value>] [-d] [-y]
1365
+ $ lps menu push [PATH] [--json] [--env <value>] [-d] [-y]
1269
1366
 
1270
1367
  ARGUMENTS
1271
1368
  [PATH] Path to menus directory (overrides project config)
@@ -1275,6 +1372,9 @@ FLAGS
1275
1372
  -y, --yes Answer yes to confirmation prompts
1276
1373
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1277
1374
 
1375
+ GLOBAL FLAGS
1376
+ --json Format output as json.
1377
+
1278
1378
  DESCRIPTION
1279
1379
  Push local nav menus and the active theme menu locations to WordPress. Each menu's post_type/taxonomy items are
1280
1380
  resolved by slug on the target environment, never by a raw id; an item whose target does not exist there fails the
@@ -1284,7 +1384,7 @@ EXAMPLES
1284
1384
  $ lps menu push
1285
1385
  ```
1286
1386
 
1287
- _See code: [src/commands/menu/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/menu/push.ts)_
1387
+ _See code: [src/commands/menu/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/menu/push.ts)_
1288
1388
 
1289
1389
  ## `lps menu rollback [PATH]`
1290
1390
 
@@ -1320,7 +1420,7 @@ EXAMPLES
1320
1420
  $ lps menu rollback --dry-run
1321
1421
  ```
1322
1422
 
1323
- _See code: [src/commands/menu/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/menu/rollback.ts)_
1423
+ _See code: [src/commands/menu/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/menu/rollback.ts)_
1324
1424
 
1325
1425
  ## `lps option add NAME`
1326
1426
 
@@ -1351,7 +1451,7 @@ EXAMPLES
1351
1451
  $ lps option add siteurl
1352
1452
  ```
1353
1453
 
1354
- _See code: [src/commands/option/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/add.ts)_
1454
+ _See code: [src/commands/option/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/add.ts)_
1355
1455
 
1356
1456
  ## `lps option diff [PATH]`
1357
1457
 
@@ -1383,7 +1483,7 @@ EXAMPLES
1383
1483
  $ lps option diff --env staging --against production
1384
1484
  ```
1385
1485
 
1386
- _See code: [src/commands/option/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/diff.ts)_
1486
+ _See code: [src/commands/option/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/diff.ts)_
1387
1487
 
1388
1488
  ## `lps option list`
1389
1489
 
@@ -1413,7 +1513,7 @@ EXAMPLES
1413
1513
  $ lps option list --no-core
1414
1514
  ```
1415
1515
 
1416
- _See code: [src/commands/option/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/list.ts)_
1516
+ _See code: [src/commands/option/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/list.ts)_
1417
1517
 
1418
1518
  ## `lps option pull [PATH]`
1419
1519
 
@@ -1442,7 +1542,7 @@ EXAMPLES
1442
1542
  $ lps option pull
1443
1543
  ```
1444
1544
 
1445
- _See code: [src/commands/option/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/pull.ts)_
1545
+ _See code: [src/commands/option/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/pull.ts)_
1446
1546
 
1447
1547
  ## `lps option push [PATH]`
1448
1548
 
@@ -1471,7 +1571,7 @@ EXAMPLES
1471
1571
  $ lps option push
1472
1572
  ```
1473
1573
 
1474
- _See code: [src/commands/option/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/push.ts)_
1574
+ _See code: [src/commands/option/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/push.ts)_
1475
1575
 
1476
1576
  ## `lps option remove NAME`
1477
1577
 
@@ -1504,7 +1604,7 @@ EXAMPLES
1504
1604
  $ lps option remove wpseo_titles --local-only
1505
1605
  ```
1506
1606
 
1507
- _See code: [src/commands/option/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/remove.ts)_
1607
+ _See code: [src/commands/option/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/remove.ts)_
1508
1608
 
1509
1609
  ## `lps option rollback [PATH]`
1510
1610
 
@@ -1540,7 +1640,7 @@ EXAMPLES
1540
1640
  $ lps option rollback --dry-run
1541
1641
  ```
1542
1642
 
1543
- _See code: [src/commands/option/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/option/rollback.ts)_
1643
+ _See code: [src/commands/option/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/option/rollback.ts)_
1544
1644
 
1545
1645
  ## `lps page diff [PATH]`
1546
1646
 
@@ -1571,7 +1671,7 @@ EXAMPLES
1571
1671
  $ lps page diff --env staging --against production
1572
1672
  ```
1573
1673
 
1574
- _See code: [src/commands/page/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/page/diff.ts)_
1674
+ _See code: [src/commands/page/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/page/diff.ts)_
1575
1675
 
1576
1676
  ## `lps page list`
1577
1677
 
@@ -1594,7 +1694,7 @@ EXAMPLES
1594
1694
  $ lps page list
1595
1695
  ```
1596
1696
 
1597
- _See code: [src/commands/page/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/page/list.ts)_
1697
+ _See code: [src/commands/page/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/page/list.ts)_
1598
1698
 
1599
1699
  ## `lps page push [SLUG]`
1600
1700
 
@@ -1627,7 +1727,7 @@ EXAMPLES
1627
1727
  $ lps page push --dry-run
1628
1728
  ```
1629
1729
 
1630
- _See code: [src/commands/page/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/page/push.ts)_
1730
+ _See code: [src/commands/page/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/page/push.ts)_
1631
1731
 
1632
1732
  ## `lps plugin add SLUG`
1633
1733
 
@@ -1659,7 +1759,7 @@ EXAMPLES
1659
1759
  $ lps plugin add contact-form-7 --dry-run
1660
1760
  ```
1661
1761
 
1662
- _See code: [src/commands/plugin/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/plugin/add.ts)_
1762
+ _See code: [src/commands/plugin/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/plugin/add.ts)_
1663
1763
 
1664
1764
  ## `lps plugin audit`
1665
1765
 
@@ -1682,54 +1782,60 @@ EXAMPLES
1682
1782
  $ lps plugin audit
1683
1783
  ```
1684
1784
 
1685
- _See code: [src/commands/plugin/audit.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/plugin/audit.ts)_
1785
+ _See code: [src/commands/plugin/audit.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/plugin/audit.ts)_
1686
1786
 
1687
1787
  ## `lps plugin pull`
1688
1788
 
1689
- Pull installed plugins from WordPress into loopress.json, pinned to their live versions
1789
+ Pull installed plugins from WordPress into loopress.json (or composer.json), pinned to their live versions. Plugins already tracked are refreshed; new ones are offered as a list to tick, so plugins that only belong on this environment (cache, security, backups) stay out of the project.
1690
1790
 
1691
1791
  ```
1692
1792
  USAGE
1693
- $ lps plugin pull [--json] [--env <value>] [-d]
1793
+ $ lps plugin pull [--json] [--env <value>] [-d] [-y] [--plugin <value>...]
1694
1794
 
1695
1795
  FLAGS
1696
- -d, --dry-run Show what would change without making changes
1697
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1796
+ -d, --dry-run Show what would change without making changes
1797
+ -y, --yes Answer yes to confirmation prompts
1798
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1799
+ --plugin=<value>... Start tracking this installed plugin too, without asking (repeatable)
1698
1800
 
1699
1801
  GLOBAL FLAGS
1700
1802
  --json Format output as json.
1701
1803
 
1702
1804
  DESCRIPTION
1703
- Pull installed plugins from WordPress into loopress.json, pinned to their live versions
1805
+ Pull installed plugins from WordPress into loopress.json (or composer.json), pinned to their live versions. Plugins
1806
+ already tracked are refreshed; new ones are offered as a list to tick, so plugins that only belong on this environment
1807
+ (cache, security, backups) stay out of the project.
1704
1808
 
1705
1809
  EXAMPLES
1706
1810
  $ lps plugin pull
1707
1811
 
1708
- $ lps plugin pull --dry-run
1812
+ $ lps plugin pull --env production --plugin query-monitor
1709
1813
  ```
1710
1814
 
1711
- _See code: [src/commands/plugin/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/plugin/pull.ts)_
1815
+ _See code: [src/commands/plugin/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/plugin/pull.ts)_
1712
1816
 
1713
1817
  ## `lps plugin push`
1714
1818
 
1715
- Install plugins on WordPress to match loopress.json, pinned via Composer + WPackagist
1819
+ Install plugins on WordPress to match loopress.json (or composer.json), via Composer + WPackagist
1716
1820
 
1717
1821
  ```
1718
1822
  USAGE
1719
- $ lps plugin push [--json] [--env <value>] [-d] [-y] [--force] [--prune]
1823
+ $ lps plugin push [--json] [--env <value>] [-d] [-y] [--activate] [--force] [--prune]
1720
1824
 
1721
1825
  FLAGS
1722
1826
  -d, --dry-run Show what would change without making changes
1723
1827
  -y, --yes Answer yes to confirmation prompts
1828
+ --activate composer.json projects only: activate every plugin it declares. Without it, plugins keep their
1829
+ current state and new ones stay inactive
1724
1830
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1725
1831
  --force Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)
1726
- --prune Deactivate plugins that are active on the site but absent from loopress.json
1832
+ --prune Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)
1727
1833
 
1728
1834
  GLOBAL FLAGS
1729
1835
  --json Format output as json.
1730
1836
 
1731
1837
  DESCRIPTION
1732
- Install plugins on WordPress to match loopress.json, pinned via Composer + WPackagist
1838
+ Install plugins on WordPress to match loopress.json (or composer.json), via Composer + WPackagist
1733
1839
 
1734
1840
  EXAMPLES
1735
1841
  $ lps plugin push
@@ -1739,7 +1845,7 @@ EXAMPLES
1739
1845
  $ lps plugin push --force --prune
1740
1846
  ```
1741
1847
 
1742
- _See code: [src/commands/plugin/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/plugin/push.ts)_
1848
+ _See code: [src/commands/plugin/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/plugin/push.ts)_
1743
1849
 
1744
1850
  ## `lps plugin status`
1745
1851
 
@@ -1762,7 +1868,7 @@ EXAMPLES
1762
1868
  $ lps plugin status
1763
1869
  ```
1764
1870
 
1765
- _See code: [src/commands/plugin/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/plugin/status.ts)_
1871
+ _See code: [src/commands/plugin/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/plugin/status.ts)_
1766
1872
 
1767
1873
  ## `lps project config`
1768
1874
 
@@ -1780,7 +1886,7 @@ EXAMPLES
1780
1886
  $ lps project config
1781
1887
  ```
1782
1888
 
1783
- _See code: [src/commands/project/config.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/config.ts)_
1889
+ _See code: [src/commands/project/config.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/config.ts)_
1784
1890
 
1785
1891
  ## `lps project list`
1786
1892
 
@@ -1800,7 +1906,7 @@ EXAMPLES
1800
1906
  $ lps project list
1801
1907
  ```
1802
1908
 
1803
- _See code: [src/commands/project/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/list.ts)_
1909
+ _See code: [src/commands/project/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/list.ts)_
1804
1910
 
1805
1911
  ## `lps project pull`
1806
1912
 
@@ -1817,7 +1923,7 @@ EXAMPLES
1817
1923
  $ lps project pull
1818
1924
  ```
1819
1925
 
1820
- _See code: [src/commands/project/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/pull.ts)_
1926
+ _See code: [src/commands/project/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/pull.ts)_
1821
1927
 
1822
1928
  ## `lps project push`
1823
1929
 
@@ -1837,7 +1943,7 @@ EXAMPLES
1837
1943
  $ lps project push
1838
1944
  ```
1839
1945
 
1840
- _See code: [src/commands/project/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/push.ts)_
1946
+ _See code: [src/commands/project/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/push.ts)_
1841
1947
 
1842
1948
  ## `lps project remove`
1843
1949
 
@@ -1854,7 +1960,7 @@ EXAMPLES
1854
1960
  $ lps project remove
1855
1961
  ```
1856
1962
 
1857
- _See code: [src/commands/project/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/remove.ts)_
1963
+ _See code: [src/commands/project/remove.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/remove.ts)_
1858
1964
 
1859
1965
  ## `lps project rotate`
1860
1966
 
@@ -1876,7 +1982,7 @@ EXAMPLES
1876
1982
  $ lps project rotate --env staging
1877
1983
  ```
1878
1984
 
1879
- _See code: [src/commands/project/rotate.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/rotate.ts)_
1985
+ _See code: [src/commands/project/rotate.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/rotate.ts)_
1880
1986
 
1881
1987
  ## `lps project switch`
1882
1988
 
@@ -1893,11 +1999,11 @@ EXAMPLES
1893
1999
  $ lps project switch
1894
2000
  ```
1895
2001
 
1896
- _See code: [src/commands/project/switch.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/project/switch.ts)_
2002
+ _See code: [src/commands/project/switch.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/project/switch.ts)_
1897
2003
 
1898
2004
  ## `lps promote FROM TO`
1899
2005
 
1900
- Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked files are overwritten with <from> in the process.
2006
+ Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked files are overwritten with <from> in the process. With --dry-run, <from> is pulled into a throwaway copy of the project instead, and the push is only previewed.
1901
2007
 
1902
2008
  ```
1903
2009
  USAGE
@@ -1916,7 +2022,8 @@ GLOBAL FLAGS
1916
2022
 
1917
2023
  DESCRIPTION
1918
2024
  Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked
1919
- files are overwritten with <from> in the process.
2025
+ files are overwritten with <from> in the process. With --dry-run, <from> is pulled into a throwaway copy of the
2026
+ project instead, and the push is only previewed.
1920
2027
 
1921
2028
  EXAMPLES
1922
2029
  $ lps promote staging production
@@ -1924,7 +2031,7 @@ EXAMPLES
1924
2031
  $ lps promote production staging --dry-run
1925
2032
  ```
1926
2033
 
1927
- _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/promote.ts)_
2034
+ _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/promote.ts)_
1928
2035
 
1929
2036
  ## `lps pull`
1930
2037
 
@@ -1954,11 +2061,11 @@ EXAMPLES
1954
2061
  $ lps pull --dry-run
1955
2062
  ```
1956
2063
 
1957
- _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/pull.ts)_
2064
+ _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/pull.ts)_
1958
2065
 
1959
2066
  ## `lps push`
1960
2067
 
1961
- Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, pages, SEO, menus, options, and snippets, to WordPress
2068
+ Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, templates, pages, SEO, menus, options, and snippets, to WordPress
1962
2069
 
1963
2070
  ```
1964
2071
  USAGE
@@ -1973,8 +2080,8 @@ GLOBAL FLAGS
1973
2080
  --json Format output as json.
1974
2081
 
1975
2082
  DESCRIPTION
1976
- Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, pages, SEO, menus, options, and
1977
- snippets, to WordPress
2083
+ Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, templates, pages, SEO, menus,
2084
+ options, and snippets, to WordPress
1978
2085
 
1979
2086
  EXAMPLES
1980
2087
  $ lps push
@@ -1984,7 +2091,7 @@ EXAMPLES
1984
2091
  $ lps push --dry-run
1985
2092
  ```
1986
2093
 
1987
- _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/push.ts)_
2094
+ _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/push.ts)_
1988
2095
 
1989
2096
  ## `lps seo diff [PATH]`
1990
2097
 
@@ -2016,7 +2123,7 @@ EXAMPLES
2016
2123
  $ lps seo diff --env staging --against production
2017
2124
  ```
2018
2125
 
2019
- _See code: [src/commands/seo/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/seo/diff.ts)_
2126
+ _See code: [src/commands/seo/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/seo/diff.ts)_
2020
2127
 
2021
2128
  ## `lps seo list`
2022
2129
 
@@ -2042,7 +2149,7 @@ EXAMPLES
2042
2149
  $ lps seo list --post-type post
2043
2150
  ```
2044
2151
 
2045
- _See code: [src/commands/seo/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/seo/list.ts)_
2152
+ _See code: [src/commands/seo/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/seo/list.ts)_
2046
2153
 
2047
2154
  ## `lps seo pull [PATH]`
2048
2155
 
@@ -2050,7 +2157,7 @@ Pull SEO settings, post meta, and (if supported) redirects from WordPress
2050
2157
 
2051
2158
  ```
2052
2159
  USAGE
2053
- $ lps seo pull [PATH] [--env <value>] [-d] [-y] [--post-type <value>...]
2160
+ $ lps seo pull [PATH] [--json] [--env <value>] [-d] [-y] [--post-type <value>...]
2054
2161
 
2055
2162
  ARGUMENTS
2056
2163
  [PATH] Path to SEO directory (overrides project config)
@@ -2061,6 +2168,9 @@ FLAGS
2061
2168
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2062
2169
  --post-type=<value>... Limit post meta to specific post types
2063
2170
 
2171
+ GLOBAL FLAGS
2172
+ --json Format output as json.
2173
+
2064
2174
  DESCRIPTION
2065
2175
  Pull SEO settings, post meta, and (if supported) redirects from WordPress
2066
2176
 
@@ -2070,7 +2180,7 @@ EXAMPLES
2070
2180
  $ lps seo pull --post-type post --post-type page
2071
2181
  ```
2072
2182
 
2073
- _See code: [src/commands/seo/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/seo/pull.ts)_
2183
+ _See code: [src/commands/seo/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/seo/pull.ts)_
2074
2184
 
2075
2185
  ## `lps seo push [PATH]`
2076
2186
 
@@ -2078,7 +2188,7 @@ Push SEO settings, post meta, and redirects to WordPress. Local redirect files c
2078
2188
 
2079
2189
  ```
2080
2190
  USAGE
2081
- $ lps seo push [PATH] [--env <value>] [-d] [-y] [--allow-external-redirects]
2191
+ $ lps seo push [PATH] [--json] [--env <value>] [-d] [-y] [--allow-external-redirects]
2082
2192
 
2083
2193
  ARGUMENTS
2084
2194
  [PATH] Path to SEO directory (overrides project config)
@@ -2090,6 +2200,9 @@ FLAGS
2090
2200
  rejects an off-site `urlTo` so a stray push can't 301 traffic away.
2091
2201
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2092
2202
 
2203
+ GLOBAL FLAGS
2204
+ --json Format output as json.
2205
+
2093
2206
  DESCRIPTION
2094
2207
  Push SEO settings, post meta, and redirects to WordPress. Local redirect files created remotely are renamed on disk to
2095
2208
  the `<id>-<slug>` convention. Fails clearly per file if the active SEO plugin does not support redirects.
@@ -2100,7 +2213,7 @@ EXAMPLES
2100
2213
  $ lps seo push --allow-external-redirects
2101
2214
  ```
2102
2215
 
2103
- _See code: [src/commands/seo/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/seo/push.ts)_
2216
+ _See code: [src/commands/seo/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/seo/push.ts)_
2104
2217
 
2105
2218
  ## `lps seo rollback [PATH]`
2106
2219
 
@@ -2136,7 +2249,7 @@ EXAMPLES
2136
2249
  $ lps seo rollback --dry-run
2137
2250
  ```
2138
2251
 
2139
- _See code: [src/commands/seo/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/seo/rollback.ts)_
2252
+ _See code: [src/commands/seo/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/seo/rollback.ts)_
2140
2253
 
2141
2254
  ## `lps snippet diff [PATH]`
2142
2255
 
@@ -2167,7 +2280,7 @@ EXAMPLES
2167
2280
  $ lps snippet diff --env staging --against production
2168
2281
  ```
2169
2282
 
2170
- _See code: [src/commands/snippet/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/diff.ts)_
2283
+ _See code: [src/commands/snippet/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/diff.ts)_
2171
2284
 
2172
2285
  ## `lps snippet list`
2173
2286
 
@@ -2190,7 +2303,7 @@ EXAMPLES
2190
2303
  $ lps snippet list
2191
2304
  ```
2192
2305
 
2193
- _See code: [src/commands/snippet/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/list.ts)_
2306
+ _See code: [src/commands/snippet/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/list.ts)_
2194
2307
 
2195
2308
  ## `lps snippet publish [PATH]`
2196
2309
 
@@ -2210,10 +2323,10 @@ DESCRIPTION
2210
2323
  EXAMPLES
2211
2324
  $ lps snippet publish
2212
2325
 
2213
- $ lps snippet publish --path ./snippets
2326
+ $ lps snippet publish ./snippets
2214
2327
  ```
2215
2328
 
2216
- _See code: [src/commands/snippet/publish.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/publish.ts)_
2329
+ _See code: [src/commands/snippet/publish.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/publish.ts)_
2217
2330
 
2218
2331
  ## `lps snippet pull [PATH]`
2219
2332
 
@@ -2240,10 +2353,10 @@ DESCRIPTION
2240
2353
  EXAMPLES
2241
2354
  $ lps snippet pull
2242
2355
 
2243
- $ lps snippet pull --path ./snippets
2356
+ $ lps snippet pull ./snippets
2244
2357
  ```
2245
2358
 
2246
- _See code: [src/commands/snippet/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/pull.ts)_
2359
+ _See code: [src/commands/snippet/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/pull.ts)_
2247
2360
 
2248
2361
  ## `lps snippet push [PATH]`
2249
2362
 
@@ -2271,10 +2384,10 @@ DESCRIPTION
2271
2384
  EXAMPLES
2272
2385
  $ lps snippet push
2273
2386
 
2274
- $ lps snippet push --path ./snippets
2387
+ $ lps snippet push ./snippets
2275
2388
  ```
2276
2389
 
2277
- _See code: [src/commands/snippet/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/push.ts)_
2390
+ _See code: [src/commands/snippet/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/push.ts)_
2278
2391
 
2279
2392
  ## `lps snippet rollback [PATH]`
2280
2393
 
@@ -2310,7 +2423,7 @@ EXAMPLES
2310
2423
  $ lps snippet rollback --dry-run
2311
2424
  ```
2312
2425
 
2313
- _See code: [src/commands/snippet/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/snippet/rollback.ts)_
2426
+ _See code: [src/commands/snippet/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/snippet/rollback.ts)_
2314
2427
 
2315
2428
  ## `lps status`
2316
2429
 
@@ -2335,7 +2448,7 @@ EXAMPLES
2335
2448
  $ lps status --env staging
2336
2449
  ```
2337
2450
 
2338
- _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/status.ts)_
2451
+ _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/status.ts)_
2339
2452
 
2340
2453
  ## `lps telemetry disable`
2341
2454
 
@@ -2352,7 +2465,7 @@ EXAMPLES
2352
2465
  $ lps telemetry disable
2353
2466
  ```
2354
2467
 
2355
- _See code: [src/commands/telemetry/disable.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/telemetry/disable.ts)_
2468
+ _See code: [src/commands/telemetry/disable.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/telemetry/disable.ts)_
2356
2469
 
2357
2470
  ## `lps telemetry enable`
2358
2471
 
@@ -2369,15 +2482,126 @@ EXAMPLES
2369
2482
  $ lps telemetry enable
2370
2483
  ```
2371
2484
 
2372
- _See code: [src/commands/telemetry/enable.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/telemetry/enable.ts)_
2485
+ _See code: [src/commands/telemetry/enable.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/telemetry/enable.ts)_
2486
+
2487
+ ## `lps theme add SLUG`
2488
+
2489
+ Add a WordPress.org theme to loopress.json
2490
+
2491
+ ```
2492
+ USAGE
2493
+ $ lps theme add SLUG [--json] [--env <value>] [-d] [--version <value>]
2494
+
2495
+ ARGUMENTS
2496
+ SLUG Theme slug on WordPress.org
2497
+
2498
+ FLAGS
2499
+ -d, --dry-run Show what would change without making changes
2500
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2501
+ --version=<value> Exact version to pin (default: "latest")
2502
+
2503
+ GLOBAL FLAGS
2504
+ --json Format output as json.
2505
+
2506
+ DESCRIPTION
2507
+ Add a WordPress.org theme to loopress.json
2508
+
2509
+ EXAMPLES
2510
+ $ lps theme add generatepress
2511
+
2512
+ $ lps theme add generatepress --version 3.4.0
2513
+ ```
2514
+
2515
+ _See code: [src/commands/theme/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/add.ts)_
2516
+
2517
+ ## `lps theme pull`
2518
+
2519
+ Pull everything theme related from WordPress: theme versions and Global Styles
2520
+
2521
+ ```
2522
+ USAGE
2523
+ $ lps theme pull [--json] [--env <value>] [-d]
2524
+
2525
+ FLAGS
2526
+ -d, --dry-run Show what would change without making changes
2527
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2528
+
2529
+ GLOBAL FLAGS
2530
+ --json Format output as json.
2531
+
2532
+ DESCRIPTION
2533
+ Pull everything theme related from WordPress: theme versions and Global Styles
2534
+
2535
+ EXAMPLES
2536
+ $ lps theme pull
2537
+
2538
+ $ lps theme pull --env staging
2539
+
2540
+ $ lps theme pull --dry-run
2541
+ ```
2542
+
2543
+ _See code: [src/commands/theme/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/pull.ts)_
2544
+
2545
+ ## `lps theme push`
2546
+
2547
+ Push everything theme related to WordPress: theme versions, templates and parts, then Global Styles
2548
+
2549
+ ```
2550
+ USAGE
2551
+ $ lps theme push [--json] [--env <value>] [-d] [-y] [--force]
2552
+
2553
+ FLAGS
2554
+ -d, --dry-run Show what would change without making changes
2555
+ -y, --yes Answer yes to confirmation prompts
2556
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2557
+ --force Passed to `lps theme version push`
2558
+
2559
+ GLOBAL FLAGS
2560
+ --json Format output as json.
2561
+
2562
+ DESCRIPTION
2563
+ Push everything theme related to WordPress: theme versions, templates and parts, then Global Styles
2564
+
2565
+ EXAMPLES
2566
+ $ lps theme push
2567
+
2568
+ $ lps theme push --env staging
2569
+
2570
+ $ lps theme push --dry-run
2571
+ ```
2572
+
2573
+ _See code: [src/commands/theme/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/push.ts)_
2574
+
2575
+ ## `lps theme status`
2576
+
2577
+ Compare the themes on WordPress against loopress.json and report version drift
2578
+
2579
+ ```
2580
+ USAGE
2581
+ $ lps theme status [--json] [--env <value>]
2582
+
2583
+ FLAGS
2584
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2373
2585
 
2374
- ## `lps theme-styles diff [PATH]`
2586
+ GLOBAL FLAGS
2587
+ --json Format output as json.
2588
+
2589
+ DESCRIPTION
2590
+ Compare the themes on WordPress against loopress.json and report version drift
2591
+
2592
+ EXAMPLES
2593
+ $ lps theme status
2594
+ ```
2595
+
2596
+ _See code: [src/commands/theme/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/status.ts)_
2597
+
2598
+ ## `lps theme style diff [PATH]`
2375
2599
 
2376
2600
  Show what differs in the active block theme's Global Styles (Site Editor > Styles) between your local file and a WordPress environment, or between two environments
2377
2601
 
2378
2602
  ```
2379
2603
  USAGE
2380
- $ lps theme-styles diff [PATH] [--json] [--env <value>] [--against <value>]
2604
+ $ lps theme style diff [PATH] [--json] [--env <value>] [--against <value>]
2381
2605
 
2382
2606
  ARGUMENTS
2383
2607
  [PATH] Path to theme styles directory (overrides project config)
@@ -2394,22 +2618,22 @@ DESCRIPTION
2394
2618
  WordPress environment, or between two environments
2395
2619
 
2396
2620
  EXAMPLES
2397
- $ lps theme-styles diff
2621
+ $ lps theme style diff
2398
2622
 
2399
- $ lps theme-styles diff --env staging
2623
+ $ lps theme style diff --env staging
2400
2624
 
2401
- $ lps theme-styles diff --env staging --against production
2625
+ $ lps theme style diff --env staging --against production
2402
2626
  ```
2403
2627
 
2404
- _See code: [src/commands/theme-styles/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme-styles/diff.ts)_
2628
+ _See code: [src/commands/theme/style/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/style/diff.ts)_
2405
2629
 
2406
- ## `lps theme-styles pull [PATH]`
2630
+ ## `lps theme style pull [PATH]`
2407
2631
 
2408
2632
  Pull the active block theme's Global Styles customizations (Site Editor > Styles) from WordPress into a local file
2409
2633
 
2410
2634
  ```
2411
2635
  USAGE
2412
- $ lps theme-styles pull [PATH] [--env <value>] [-d]
2636
+ $ lps theme style pull [PATH] [--json] [--env <value>] [-d]
2413
2637
 
2414
2638
  ARGUMENTS
2415
2639
  [PATH] Path to theme styles directory (overrides project config)
@@ -2418,46 +2642,53 @@ FLAGS
2418
2642
  -d, --dry-run Show what would change without making changes
2419
2643
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2420
2644
 
2645
+ GLOBAL FLAGS
2646
+ --json Format output as json.
2647
+
2421
2648
  DESCRIPTION
2422
2649
  Pull the active block theme's Global Styles customizations (Site Editor > Styles) from WordPress into a local file
2423
2650
 
2424
2651
  EXAMPLES
2425
- $ lps theme-styles pull
2652
+ $ lps theme style pull
2426
2653
  ```
2427
2654
 
2428
- _See code: [src/commands/theme-styles/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme-styles/pull.ts)_
2655
+ _See code: [src/commands/theme/style/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/style/pull.ts)_
2429
2656
 
2430
- ## `lps theme-styles push [PATH]`
2657
+ ## `lps theme style push [PATH]`
2431
2658
 
2432
2659
  Push the local Global Styles file to the active block theme's Site Editor > Styles on WordPress
2433
2660
 
2434
2661
  ```
2435
2662
  USAGE
2436
- $ lps theme-styles push [PATH] [--env <value>] [-d]
2663
+ $ lps theme style push [PATH] [--json] [--env <value>] [-d] [-y]
2437
2664
 
2438
2665
  ARGUMENTS
2439
2666
  [PATH] Path to theme styles directory (overrides project config)
2440
2667
 
2441
2668
  FLAGS
2442
2669
  -d, --dry-run Show what would change without making changes
2670
+ -y, --yes Answer yes to confirmation prompts
2443
2671
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2444
2672
 
2673
+ GLOBAL FLAGS
2674
+ --json Format output as json.
2675
+
2445
2676
  DESCRIPTION
2446
2677
  Push the local Global Styles file to the active block theme's Site Editor > Styles on WordPress
2447
2678
 
2448
2679
  EXAMPLES
2449
- $ lps theme-styles push
2680
+ $ lps theme style push
2450
2681
  ```
2451
2682
 
2452
- _See code: [src/commands/theme-styles/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme-styles/push.ts)_
2683
+ _See code: [src/commands/theme/style/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/style/push.ts)_
2453
2684
 
2454
- ## `lps theme-styles rollback [PATH]`
2685
+ ## `lps theme style rollback [PATH]`
2455
2686
 
2456
- Restore the active theme’s Global Styles to a snapshot taken automatically before an earlier `lps theme-styles push`
2687
+ Restore the active theme's Global Styles to a snapshot taken automatically before an earlier `lps theme style push`
2457
2688
 
2458
2689
  ```
2459
2690
  USAGE
2460
- $ lps theme-styles rollback [PATH] [--json] [--env <value>] [-d] [-y] [--list] [--to <value>]
2691
+ $ lps theme style rollback [PATH] [--json] [--env <value>] [-d] [-y] [--list] [--to <value>]
2461
2692
 
2462
2693
  ARGUMENTS
2463
2694
  [PATH] Path to theme styles directory (overrides project config)
@@ -2473,124 +2704,152 @@ GLOBAL FLAGS
2473
2704
  --json Format output as json.
2474
2705
 
2475
2706
  DESCRIPTION
2476
- Restore the active theme’s Global Styles to a snapshot taken automatically before an earlier `lps theme-styles push`
2707
+ Restore the active theme's Global Styles to a snapshot taken automatically before an earlier `lps theme style push`
2477
2708
 
2478
2709
  EXAMPLES
2479
- $ lps theme-styles rollback
2710
+ $ lps theme style rollback
2480
2711
 
2481
- $ lps theme-styles rollback --list
2712
+ $ lps theme style rollback --list
2482
2713
 
2483
- $ lps theme-styles rollback --to 1732000000000
2714
+ $ lps theme style rollback --to 1732000000000
2484
2715
 
2485
- $ lps theme-styles rollback --dry-run
2716
+ $ lps theme style rollback --dry-run
2486
2717
  ```
2487
2718
 
2488
- _See code: [src/commands/theme-styles/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme-styles/rollback.ts)_
2719
+ _See code: [src/commands/theme/style/rollback.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/style/rollback.ts)_
2489
2720
 
2490
- ## `lps theme add SLUG`
2721
+ ## `lps theme template diff`
2491
2722
 
2492
- Add a WordPress.org theme to loopress.json
2723
+ Show what differs in block templates and parts between your local files and a WordPress environment, or between two environments. Templates and parts edited in the Site Editor show up too.
2493
2724
 
2494
2725
  ```
2495
2726
  USAGE
2496
- $ lps theme add SLUG [--json] [--env <value>] [-d] [--version <value>]
2497
-
2498
- ARGUMENTS
2499
- SLUG Theme slug on WordPress.org
2727
+ $ lps theme template diff [--json] [--env <value>] [--against <value>]
2500
2728
 
2501
2729
  FLAGS
2502
- -d, --dry-run Show what would change without making changes
2503
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2504
- --version=<value> Exact version to pin (default: "latest")
2730
+ --against=<value> Compare the primary environment against this second environment instead of against local files
2731
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2505
2732
 
2506
2733
  GLOBAL FLAGS
2507
2734
  --json Format output as json.
2508
2735
 
2509
2736
  DESCRIPTION
2510
- Add a WordPress.org theme to loopress.json
2737
+ Show what differs in block templates and parts between your local files and a WordPress environment, or between two
2738
+ environments. Templates and parts edited in the Site Editor show up too.
2511
2739
 
2512
2740
  EXAMPLES
2513
- $ lps theme add generatepress
2741
+ $ lps theme template diff
2514
2742
 
2515
- $ lps theme add generatepress --version 3.4.0
2743
+ $ lps theme template diff --env staging
2744
+
2745
+ $ lps theme template diff --env staging --against production
2516
2746
  ```
2517
2747
 
2518
- _See code: [src/commands/theme/add.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme/add.ts)_
2748
+ _See code: [src/commands/theme/template/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/template/diff.ts)_
2519
2749
 
2520
- ## `lps theme pull`
2750
+ ## `lps theme template list`
2521
2751
 
2522
- Pull installed themes from WordPress into loopress.json, pinned to their live versions
2752
+ Show the Loopress child theme of the active block theme: its templates, parts, and those edited in the Site Editor
2523
2753
 
2524
2754
  ```
2525
2755
  USAGE
2526
- $ lps theme pull [--json] [--env <value>] [-d]
2756
+ $ lps theme template list [--json] [--env <value>]
2527
2757
 
2528
2758
  FLAGS
2529
- -d, --dry-run Show what would change without making changes
2530
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2759
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2531
2760
 
2532
2761
  GLOBAL FLAGS
2533
2762
  --json Format output as json.
2534
2763
 
2535
2764
  DESCRIPTION
2536
- Pull installed themes from WordPress into loopress.json, pinned to their live versions
2765
+ Show the Loopress child theme of the active block theme: its templates, parts, and those edited in the Site Editor
2537
2766
 
2538
2767
  EXAMPLES
2539
- $ lps theme pull
2768
+ $ lps theme template list
2540
2769
  ```
2541
2770
 
2542
- _See code: [src/commands/theme/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme/pull.ts)_
2771
+ _See code: [src/commands/theme/template/list.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/template/list.ts)_
2543
2772
 
2544
- ## `lps theme push`
2773
+ ## `lps theme template push`
2545
2774
 
2546
- Install themes on WordPress to match loopress.json (versions only, never switches the active theme)
2775
+ Push block templates (templates/<slug>.html) and template parts (parts/<slug>.html) as the files of a child theme of the active block theme, <parent>-loopress. The child mirrors the project: files removed locally are removed from it. It is never activated for you.
2547
2776
 
2548
2777
  ```
2549
2778
  USAGE
2550
- $ lps theme push [--json] [--env <value>] [-d] [-y] [--force]
2779
+ $ lps theme template push [--json] [--env <value>] [-d] [-y]
2551
2780
 
2552
2781
  FLAGS
2553
2782
  -d, --dry-run Show what would change without making changes
2554
2783
  -y, --yes Answer yes to confirmation prompts
2555
2784
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2556
- --force Allow downgrades and take over themes installed outside Loopress
2557
2785
 
2558
2786
  GLOBAL FLAGS
2559
2787
  --json Format output as json.
2560
2788
 
2561
2789
  DESCRIPTION
2562
- Install themes on WordPress to match loopress.json (versions only, never switches the active theme)
2790
+ Push block templates (templates/<slug>.html) and template parts (parts/<slug>.html) as the files of a child theme of
2791
+ the active block theme, <parent>-loopress. The child mirrors the project: files removed locally are removed from it.
2792
+ It is never activated for you.
2563
2793
 
2564
2794
  EXAMPLES
2565
- $ lps theme push
2795
+ $ lps theme template push
2566
2796
 
2567
- $ lps theme push --force
2797
+ $ lps theme template push --dry-run
2568
2798
  ```
2569
2799
 
2570
- _See code: [src/commands/theme/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme/push.ts)_
2800
+ _See code: [src/commands/theme/template/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/template/push.ts)_
2571
2801
 
2572
- ## `lps theme status`
2802
+ ## `lps theme version pull`
2573
2803
 
2574
- Compare the themes on WordPress against loopress.json and report version drift
2804
+ Pull installed themes from WordPress into loopress.json, pinned to their live versions
2575
2805
 
2576
2806
  ```
2577
2807
  USAGE
2578
- $ lps theme status [--json] [--env <value>]
2808
+ $ lps theme version pull [--json] [--env <value>] [-d]
2579
2809
 
2580
2810
  FLAGS
2581
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2811
+ -d, --dry-run Show what would change without making changes
2812
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2582
2813
 
2583
2814
  GLOBAL FLAGS
2584
2815
  --json Format output as json.
2585
2816
 
2586
2817
  DESCRIPTION
2587
- Compare the themes on WordPress against loopress.json and report version drift
2818
+ Pull installed themes from WordPress into loopress.json, pinned to their live versions
2588
2819
 
2589
2820
  EXAMPLES
2590
- $ lps theme status
2821
+ $ lps theme version pull
2822
+ ```
2823
+
2824
+ _See code: [src/commands/theme/version/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/version/pull.ts)_
2825
+
2826
+ ## `lps theme version push`
2827
+
2828
+ Install themes on WordPress to match loopress.json (versions only, never switches the active theme)
2829
+
2830
+ ```
2831
+ USAGE
2832
+ $ lps theme version push [--json] [--env <value>] [-d] [-y] [--force]
2833
+
2834
+ FLAGS
2835
+ -d, --dry-run Show what would change without making changes
2836
+ -y, --yes Answer yes to confirmation prompts
2837
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2838
+ --force Allow downgrades and take over themes installed outside Loopress
2839
+
2840
+ GLOBAL FLAGS
2841
+ --json Format output as json.
2842
+
2843
+ DESCRIPTION
2844
+ Install themes on WordPress to match loopress.json (versions only, never switches the active theme)
2845
+
2846
+ EXAMPLES
2847
+ $ lps theme version push
2848
+
2849
+ $ lps theme version push --force
2591
2850
  ```
2592
2851
 
2593
- _See code: [src/commands/theme/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/theme/status.ts)_
2852
+ _See code: [src/commands/theme/version/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/theme/version/push.ts)_
2594
2853
 
2595
2854
  ## `lps validate`
2596
2855
 
@@ -2610,5 +2869,5 @@ EXAMPLES
2610
2869
  $ lps validate
2611
2870
  ```
2612
2871
 
2613
- _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/validate.ts)_
2872
+ _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.29.0/cli/src/commands/validate.ts)_
2614
2873
  <!-- commandsstop -->