@loopress/cli 0.25.0 → 0.27.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 (38) hide show
  1. package/README.md +197 -101
  2. package/dist/commands/diff.js +1 -1
  3. package/dist/commands/init.js +6 -1
  4. package/dist/commands/page/diff.d.ts +2 -0
  5. package/dist/commands/page/diff.js +5 -0
  6. package/dist/commands/page/list.d.ts +8 -0
  7. package/dist/commands/page/list.js +22 -0
  8. package/dist/commands/page/push.d.ts +20 -0
  9. package/dist/commands/page/push.js +60 -0
  10. package/dist/commands/plugin/add.d.ts +8 -1
  11. package/dist/commands/plugin/add.js +4 -2
  12. package/dist/commands/promote.js +3 -2
  13. package/dist/commands/pull.js +6 -2
  14. package/dist/commands/push.js +8 -3
  15. package/dist/commands/theme/add.d.ts +8 -1
  16. package/dist/commands/theme/add.js +4 -2
  17. package/dist/lib/api-client.js +24 -1
  18. package/dist/lib/dev-watch.d.ts +1 -1
  19. package/dist/lib/dev-watch.js +3 -1
  20. package/dist/lib/json-delegation.d.ts +1 -0
  21. package/dist/lib/json-delegation.js +18 -0
  22. package/dist/lib/load-snippets.js +1 -1
  23. package/dist/lib/php-files-command.js +4 -3
  24. package/dist/lib/readdir-tolerant.js +15 -5
  25. package/dist/lib/resource-state.js +24 -0
  26. package/dist/lib/snapshot-store.js +14 -0
  27. package/dist/lib/validate-local.js +33 -7
  28. package/dist/lib/wp-client.js +31 -2
  29. package/dist/types/project-config.generated.d.ts +4 -0
  30. package/dist/utils/loopress-config.d.ts +1 -0
  31. package/dist/utils/loopress-config.js +14 -0
  32. package/dist/utils/page-format.d.ts +31 -0
  33. package/dist/utils/page-format.js +118 -0
  34. package/dist/utils/resource-dirs.d.ts +1 -0
  35. package/dist/utils/resource-dirs.js +2 -0
  36. package/oclif.manifest.json +506 -298
  37. package/package.json +5 -3
  38. package/schemas/project-config.schema.json +5 -0
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.25.0 linux-x64 node-v24.20.0
24
+ @loopress/cli/0.27.0 linux-x64 node-v24.21.0
25
25
  $ lps --help [COMMAND]
26
26
  USAGE
27
27
  $ lps COMMAND
@@ -96,6 +96,9 @@ report.
96
96
  * [`lps option push [PATH]`](#lps-option-push-path)
97
97
  * [`lps option remove NAME`](#lps-option-remove-name)
98
98
  * [`lps option rollback [PATH]`](#lps-option-rollback-path)
99
+ * [`lps page diff [PATH]`](#lps-page-diff-path)
100
+ * [`lps page list`](#lps-page-list)
101
+ * [`lps page push [SLUG]`](#lps-page-push-slug)
99
102
  * [`lps plugin add SLUG`](#lps-plugin-add-slug)
100
103
  * [`lps plugin audit`](#lps-plugin-audit)
101
104
  * [`lps plugin pull`](#lps-plugin-pull)
@@ -165,7 +168,7 @@ EXAMPLES
165
168
  $ lps acf diff --env staging --against production
166
169
  ```
167
170
 
168
- _See code: [src/commands/acf/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/acf/diff.ts)_
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)_
169
172
 
170
173
  ## `lps acf list`
171
174
 
@@ -192,7 +195,7 @@ EXAMPLES
192
195
  $ lps acf list --type field-groups
193
196
  ```
194
197
 
195
- _See code: [src/commands/acf/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/acf/list.ts)_
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)_
196
199
 
197
200
  ## `lps acf pull [PATH]`
198
201
 
@@ -221,7 +224,7 @@ EXAMPLES
221
224
  $ lps acf pull --type field-groups
222
225
  ```
223
226
 
224
- _See code: [src/commands/acf/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/acf/pull.ts)_
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)_
225
228
 
226
229
  ## `lps acf push [PATH]`
227
230
 
@@ -250,7 +253,7 @@ EXAMPLES
250
253
  $ lps acf push --type field-groups
251
254
  ```
252
255
 
253
- _See code: [src/commands/acf/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/acf/push.ts)_
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)_
254
257
 
255
258
  ## `lps acf rollback [PATH]`
256
259
 
@@ -287,7 +290,7 @@ EXAMPLES
287
290
  $ lps acf rollback --dry-run
288
291
  ```
289
292
 
290
- _See code: [src/commands/acf/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/acf/rollback.ts)_
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)_
291
294
 
292
295
  ## `lps api diff [PATH]`
293
296
 
@@ -319,7 +322,7 @@ EXAMPLES
319
322
  $ lps api diff --env staging --against production
320
323
  ```
321
324
 
322
- _See code: [src/commands/api/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/diff.ts)_
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)_
323
326
 
324
327
  ## `lps api list`
325
328
 
@@ -342,7 +345,7 @@ EXAMPLES
342
345
  $ lps api list
343
346
  ```
344
347
 
345
- _See code: [src/commands/api/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/list.ts)_
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)_
346
349
 
347
350
  ## `lps api publish [PATH]`
348
351
 
@@ -365,7 +368,7 @@ EXAMPLES
365
368
  $ lps api publish --path ./api
366
369
  ```
367
370
 
368
- _See code: [src/commands/api/publish.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/publish.ts)_
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)_
369
372
 
370
373
  ## `lps api pull [PATH]`
371
374
 
@@ -395,7 +398,7 @@ EXAMPLES
395
398
  $ lps api pull --path ./api
396
399
  ```
397
400
 
398
- _See code: [src/commands/api/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/pull.ts)_
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)_
399
402
 
400
403
  ## `lps api push [PATH]`
401
404
 
@@ -428,7 +431,7 @@ EXAMPLES
428
431
  $ lps api push --prune
429
432
  ```
430
433
 
431
- _See code: [src/commands/api/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/push.ts)_
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)_
432
435
 
433
436
  ## `lps api rm FILENAME`
434
437
 
@@ -458,7 +461,7 @@ EXAMPLES
458
461
  $ lps api rm hello --yes
459
462
  ```
460
463
 
461
- _See code: [src/commands/api/rm.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/rm.ts)_
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)_
462
465
 
463
466
  ## `lps api rollback [PATH]`
464
467
 
@@ -494,7 +497,7 @@ EXAMPLES
494
497
  $ lps api rollback --dry-run
495
498
  ```
496
499
 
497
- _See code: [src/commands/api/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/api/rollback.ts)_
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)_
498
501
 
499
502
  ## `lps app list`
500
503
 
@@ -517,7 +520,7 @@ EXAMPLES
517
520
  $ lps app list
518
521
  ```
519
522
 
520
- _See code: [src/commands/app/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/app/list.ts)_
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)_
521
524
 
522
525
  ## `lps app pull [PATH]`
523
526
 
@@ -545,7 +548,7 @@ EXAMPLES
545
548
  $ lps app pull
546
549
  ```
547
550
 
548
- _See code: [src/commands/app/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/app/pull.ts)_
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)_
549
552
 
550
553
  ## `lps app push [NAME]`
551
554
 
@@ -576,7 +579,7 @@ EXAMPLES
576
579
  $ lps app push search
577
580
  ```
578
581
 
579
- _See code: [src/commands/app/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/app/push.ts)_
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)_
580
583
 
581
584
  ## `lps app remove NAME`
582
585
 
@@ -605,7 +608,7 @@ EXAMPLES
605
608
  $ lps app remove search
606
609
  ```
607
610
 
608
- _See code: [src/commands/app/remove.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/app/remove.ts)_
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)_
609
612
 
610
613
  ## `lps composer init`
611
614
 
@@ -628,7 +631,7 @@ EXAMPLES
628
631
  $ lps composer init --dry-run
629
632
  ```
630
633
 
631
- _See code: [src/commands/composer/init.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/composer/init.ts)_
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)_
632
635
 
633
636
  ## `lps composer pull`
634
637
 
@@ -654,7 +657,7 @@ EXAMPLES
654
657
  $ lps composer pull --dry-run
655
658
  ```
656
659
 
657
- _See code: [src/commands/composer/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/composer/pull.ts)_
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)_
658
661
 
659
662
  ## `lps composer push`
660
663
 
@@ -682,7 +685,7 @@ EXAMPLES
682
685
  $ lps composer push --dry-run
683
686
  ```
684
687
 
685
- _See code: [src/commands/composer/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/composer/push.ts)_
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)_
686
689
 
687
690
  ## `lps dev`
688
691
 
@@ -693,8 +696,8 @@ USAGE
693
696
  $ lps dev [--only <value>] [--skip <value>]
694
697
 
695
698
  FLAGS
696
- --only=<value> Only watch these resource types (comma-separated): snippets, api, plugins
697
- --skip=<value> Skip these resource types (comma-separated): snippets, api, plugins
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
698
701
 
699
702
  DESCRIPTION
700
703
  Watch project files and push changes to the local WordPress instance as they happen. Always targets the "local"
@@ -708,34 +711,34 @@ EXAMPLES
708
711
  $ lps dev --skip=plugins
709
712
  ```
710
713
 
711
- _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/dev.ts)_
714
+ _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/dev.ts)_
712
715
 
713
716
  ## `lps diff`
714
717
 
715
- Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers snippets, forms, ACF, API routes, Hooks, 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.
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.
716
719
 
717
720
  ```
718
721
  USAGE
719
722
  $ lps diff [--json] [--env <value>] [--against <value>] [--only
720
- snippet|form|acf|api|hook|seo|menu|option|theme-styles|composer...] [--skip
721
- snippet|form|acf|api|hook|seo|menu|option|theme-styles|composer...]
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...]
722
725
 
723
726
  FLAGS
724
727
  --against=<value> Compare the primary environment against this second environment instead of against local files
725
728
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
726
729
  --only=<option>... Only compare these resources
727
- <options: snippet|form|acf|api|hook|seo|menu|option|theme-styles|composer>
730
+ <options: snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer>
728
731
  --skip=<option>... Compare every resource except these
729
- <options: snippet|form|acf|api|hook|seo|menu|option|theme-styles|composer>
732
+ <options: snippet|form|acf|api|hook|page|seo|menu|option|theme-styles|composer>
730
733
 
731
734
  GLOBAL FLAGS
732
735
  --json Format output as json.
733
736
 
734
737
  DESCRIPTION
735
738
  Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers
736
- snippets, forms, ACF, API routes, Hooks, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes have
737
- their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not be
738
- compared, so it doubles as a CI drift gate.
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.
739
742
 
740
743
  EXAMPLES
741
744
  $ lps diff
@@ -749,7 +752,7 @@ EXAMPLES
749
752
  $ lps diff --skip composer
750
753
  ```
751
754
 
752
- _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/diff.ts)_
755
+ _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/diff.ts)_
753
756
 
754
757
  ## `lps doctor`
755
758
 
@@ -774,7 +777,7 @@ EXAMPLES
774
777
  $ lps doctor --env production
775
778
  ```
776
779
 
777
- _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/doctor.ts)_
780
+ _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/doctor.ts)_
778
781
 
779
782
  ## `lps form diff [PATH]`
780
783
 
@@ -805,7 +808,7 @@ EXAMPLES
805
808
  $ lps form diff --env staging --against production
806
809
  ```
807
810
 
808
- _See code: [src/commands/form/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/form/diff.ts)_
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)_
809
812
 
810
813
  ## `lps form list`
811
814
 
@@ -828,7 +831,7 @@ EXAMPLES
828
831
  $ lps form list
829
832
  ```
830
833
 
831
- _See code: [src/commands/form/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/form/list.ts)_
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)_
832
835
 
833
836
  ## `lps form pull [PATH]`
834
837
 
@@ -853,7 +856,7 @@ EXAMPLES
853
856
  $ lps form pull
854
857
  ```
855
858
 
856
- _See code: [src/commands/form/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/form/pull.ts)_
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)_
857
860
 
858
861
  ## `lps form push [PATH]`
859
862
 
@@ -884,7 +887,7 @@ EXAMPLES
884
887
  $ lps form push --allow-notifications
885
888
  ```
886
889
 
887
- _See code: [src/commands/form/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/form/push.ts)_
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)_
888
891
 
889
892
  ## `lps form rollback [PATH]`
890
893
 
@@ -920,7 +923,7 @@ EXAMPLES
920
923
  $ lps form rollback --dry-run
921
924
  ```
922
925
 
923
- _See code: [src/commands/form/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/form/rollback.ts)_
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)_
924
927
 
925
928
  ## `lps help [COMMAND]`
926
929
 
@@ -971,7 +974,7 @@ EXAMPLES
971
974
  $ lps hook diff --env staging --against production
972
975
  ```
973
976
 
974
- _See code: [src/commands/hook/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/diff.ts)_
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)_
975
978
 
976
979
  ## `lps hook list`
977
980
 
@@ -994,7 +997,7 @@ EXAMPLES
994
997
  $ lps hook list
995
998
  ```
996
999
 
997
- _See code: [src/commands/hook/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/list.ts)_
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)_
998
1001
 
999
1002
  ## `lps hook pull [PATH]`
1000
1003
 
@@ -1024,7 +1027,7 @@ EXAMPLES
1024
1027
  $ lps hook pull --path ./hooks
1025
1028
  ```
1026
1029
 
1027
- _See code: [src/commands/hook/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/pull.ts)_
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)_
1028
1031
 
1029
1032
  ## `lps hook push [PATH]`
1030
1033
 
@@ -1057,7 +1060,7 @@ EXAMPLES
1057
1060
  $ lps hook push --prune
1058
1061
  ```
1059
1062
 
1060
- _See code: [src/commands/hook/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/push.ts)_
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)_
1061
1064
 
1062
1065
  ## `lps hook rm FILENAME`
1063
1066
 
@@ -1087,7 +1090,7 @@ EXAMPLES
1087
1090
  $ lps hook rm hello --yes
1088
1091
  ```
1089
1092
 
1090
- _See code: [src/commands/hook/rm.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/rm.ts)_
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)_
1091
1094
 
1092
1095
  ## `lps hook rollback [PATH]`
1093
1096
 
@@ -1123,7 +1126,7 @@ EXAMPLES
1123
1126
  $ lps hook rollback --dry-run
1124
1127
  ```
1125
1128
 
1126
- _See code: [src/commands/hook/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/hook/rollback.ts)_
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)_
1127
1130
 
1128
1131
  ## `lps init`
1129
1132
 
@@ -1140,7 +1143,7 @@ EXAMPLES
1140
1143
  $ lps init
1141
1144
  ```
1142
1145
 
1143
- _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/init.ts)_
1146
+ _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/init.ts)_
1144
1147
 
1145
1148
  ## `lps login`
1146
1149
 
@@ -1157,7 +1160,7 @@ EXAMPLES
1157
1160
  $ lps login
1158
1161
  ```
1159
1162
 
1160
- _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/login.ts)_
1163
+ _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/login.ts)_
1161
1164
 
1162
1165
  ## `lps logout`
1163
1166
 
@@ -1174,7 +1177,7 @@ EXAMPLES
1174
1177
  $ lps logout
1175
1178
  ```
1176
1179
 
1177
- _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/logout.ts)_
1180
+ _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/logout.ts)_
1178
1181
 
1179
1182
  ## `lps menu diff [PATH]`
1180
1183
 
@@ -1206,7 +1209,7 @@ EXAMPLES
1206
1209
  $ lps menu diff --env staging --against production
1207
1210
  ```
1208
1211
 
1209
- _See code: [src/commands/menu/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/menu/diff.ts)_
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)_
1210
1213
 
1211
1214
  ## `lps menu list`
1212
1215
 
@@ -1229,7 +1232,7 @@ EXAMPLES
1229
1232
  $ lps menu list
1230
1233
  ```
1231
1234
 
1232
- _See code: [src/commands/menu/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/menu/list.ts)_
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)_
1233
1236
 
1234
1237
  ## `lps menu pull [PATH]`
1235
1238
 
@@ -1254,7 +1257,7 @@ EXAMPLES
1254
1257
  $ lps menu pull
1255
1258
  ```
1256
1259
 
1257
- _See code: [src/commands/menu/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/menu/pull.ts)_
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)_
1258
1261
 
1259
1262
  ## `lps menu push [PATH]`
1260
1263
 
@@ -1281,7 +1284,7 @@ EXAMPLES
1281
1284
  $ lps menu push
1282
1285
  ```
1283
1286
 
1284
- _See code: [src/commands/menu/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/menu/push.ts)_
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)_
1285
1288
 
1286
1289
  ## `lps menu rollback [PATH]`
1287
1290
 
@@ -1317,7 +1320,7 @@ EXAMPLES
1317
1320
  $ lps menu rollback --dry-run
1318
1321
  ```
1319
1322
 
1320
- _See code: [src/commands/menu/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/menu/rollback.ts)_
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)_
1321
1324
 
1322
1325
  ## `lps option add NAME`
1323
1326
 
@@ -1348,7 +1351,7 @@ EXAMPLES
1348
1351
  $ lps option add siteurl
1349
1352
  ```
1350
1353
 
1351
- _See code: [src/commands/option/add.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/add.ts)_
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)_
1352
1355
 
1353
1356
  ## `lps option diff [PATH]`
1354
1357
 
@@ -1380,7 +1383,7 @@ EXAMPLES
1380
1383
  $ lps option diff --env staging --against production
1381
1384
  ```
1382
1385
 
1383
- _See code: [src/commands/option/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/diff.ts)_
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)_
1384
1387
 
1385
1388
  ## `lps option list`
1386
1389
 
@@ -1410,7 +1413,7 @@ EXAMPLES
1410
1413
  $ lps option list --no-core
1411
1414
  ```
1412
1415
 
1413
- _See code: [src/commands/option/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/list.ts)_
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)_
1414
1417
 
1415
1418
  ## `lps option pull [PATH]`
1416
1419
 
@@ -1439,7 +1442,7 @@ EXAMPLES
1439
1442
  $ lps option pull
1440
1443
  ```
1441
1444
 
1442
- _See code: [src/commands/option/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/pull.ts)_
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)_
1443
1446
 
1444
1447
  ## `lps option push [PATH]`
1445
1448
 
@@ -1468,7 +1471,7 @@ EXAMPLES
1468
1471
  $ lps option push
1469
1472
  ```
1470
1473
 
1471
- _See code: [src/commands/option/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/push.ts)_
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)_
1472
1475
 
1473
1476
  ## `lps option remove NAME`
1474
1477
 
@@ -1501,7 +1504,7 @@ EXAMPLES
1501
1504
  $ lps option remove wpseo_titles --local-only
1502
1505
  ```
1503
1506
 
1504
- _See code: [src/commands/option/remove.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/remove.ts)_
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)_
1505
1508
 
1506
1509
  ## `lps option rollback [PATH]`
1507
1510
 
@@ -1537,7 +1540,94 @@ EXAMPLES
1537
1540
  $ lps option rollback --dry-run
1538
1541
  ```
1539
1542
 
1540
- _See code: [src/commands/option/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/option/rollback.ts)_
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)_
1544
+
1545
+ ## `lps page diff [PATH]`
1546
+
1547
+ Show what differs in static pages between your local files and a WordPress environment, or between two environments
1548
+
1549
+ ```
1550
+ USAGE
1551
+ $ lps page diff [PATH] [--json] [--env <value>] [--against <value>]
1552
+
1553
+ ARGUMENTS
1554
+ [PATH] Path to pages directory (overrides project config)
1555
+
1556
+ FLAGS
1557
+ --against=<value> Compare the primary environment against this second environment instead of against local files
1558
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1559
+
1560
+ GLOBAL FLAGS
1561
+ --json Format output as json.
1562
+
1563
+ DESCRIPTION
1564
+ Show what differs in static pages between your local files and a WordPress environment, or between two environments
1565
+
1566
+ EXAMPLES
1567
+ $ lps page diff
1568
+
1569
+ $ lps page diff --env staging
1570
+
1571
+ $ lps page diff --env staging --against production
1572
+ ```
1573
+
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)_
1575
+
1576
+ ## `lps page list`
1577
+
1578
+ List the static pages managed by Loopress on WordPress
1579
+
1580
+ ```
1581
+ USAGE
1582
+ $ lps page list [--json] [--env <value>]
1583
+
1584
+ FLAGS
1585
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1586
+
1587
+ GLOBAL FLAGS
1588
+ --json Format output as json.
1589
+
1590
+ DESCRIPTION
1591
+ List the static pages managed by Loopress on WordPress
1592
+
1593
+ EXAMPLES
1594
+ $ lps page list
1595
+ ```
1596
+
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)_
1598
+
1599
+ ## `lps page push [SLUG]`
1600
+
1601
+ Push static HTML pages (pages/<slug>.html) to WordPress. The `status` header (draft or publish, draft by default) is applied on every push.
1602
+
1603
+ ```
1604
+ USAGE
1605
+ $ lps page push [SLUG] [--json] [--env <value>] [-d] [-y]
1606
+
1607
+ ARGUMENTS
1608
+ [SLUG] Push only this page (its file name without .html). Pushes every page when omitted.
1609
+
1610
+ FLAGS
1611
+ -d, --dry-run Show what would change without making changes
1612
+ -y, --yes Answer yes to confirmation prompts
1613
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1614
+
1615
+ GLOBAL FLAGS
1616
+ --json Format output as json.
1617
+
1618
+ DESCRIPTION
1619
+ Push static HTML pages (pages/<slug>.html) to WordPress. The `status` header (draft or publish, draft by default) is
1620
+ applied on every push.
1621
+
1622
+ EXAMPLES
1623
+ $ lps page push
1624
+
1625
+ $ lps page push legal-notice
1626
+
1627
+ $ lps page push --dry-run
1628
+ ```
1629
+
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)_
1541
1631
 
1542
1632
  ## `lps plugin add SLUG`
1543
1633
 
@@ -1545,7 +1635,7 @@ Add a WordPress.org plugin to loopress.json
1545
1635
 
1546
1636
  ```
1547
1637
  USAGE
1548
- $ lps plugin add SLUG [--env <value>] [-d] [--version <value>]
1638
+ $ lps plugin add SLUG [--json] [--env <value>] [-d] [--version <value>]
1549
1639
 
1550
1640
  ARGUMENTS
1551
1641
  SLUG Plugin slug on WordPress.org
@@ -1555,6 +1645,9 @@ FLAGS
1555
1645
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1556
1646
  --version=<value> Exact version to pin (default: "latest", tracked on every push)
1557
1647
 
1648
+ GLOBAL FLAGS
1649
+ --json Format output as json.
1650
+
1558
1651
  DESCRIPTION
1559
1652
  Add a WordPress.org plugin to loopress.json
1560
1653
 
@@ -1566,7 +1659,7 @@ EXAMPLES
1566
1659
  $ lps plugin add contact-form-7 --dry-run
1567
1660
  ```
1568
1661
 
1569
- _See code: [src/commands/plugin/add.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/plugin/add.ts)_
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)_
1570
1663
 
1571
1664
  ## `lps plugin audit`
1572
1665
 
@@ -1589,7 +1682,7 @@ EXAMPLES
1589
1682
  $ lps plugin audit
1590
1683
  ```
1591
1684
 
1592
- _See code: [src/commands/plugin/audit.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/plugin/audit.ts)_
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)_
1593
1686
 
1594
1687
  ## `lps plugin pull`
1595
1688
 
@@ -1615,7 +1708,7 @@ EXAMPLES
1615
1708
  $ lps plugin pull --dry-run
1616
1709
  ```
1617
1710
 
1618
- _See code: [src/commands/plugin/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/plugin/pull.ts)_
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)_
1619
1712
 
1620
1713
  ## `lps plugin push`
1621
1714
 
@@ -1646,7 +1739,7 @@ EXAMPLES
1646
1739
  $ lps plugin push --force --prune
1647
1740
  ```
1648
1741
 
1649
- _See code: [src/commands/plugin/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/plugin/push.ts)_
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)_
1650
1743
 
1651
1744
  ## `lps plugin status`
1652
1745
 
@@ -1669,7 +1762,7 @@ EXAMPLES
1669
1762
  $ lps plugin status
1670
1763
  ```
1671
1764
 
1672
- _See code: [src/commands/plugin/status.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/plugin/status.ts)_
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)_
1673
1766
 
1674
1767
  ## `lps project config`
1675
1768
 
@@ -1687,7 +1780,7 @@ EXAMPLES
1687
1780
  $ lps project config
1688
1781
  ```
1689
1782
 
1690
- _See code: [src/commands/project/config.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/config.ts)_
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)_
1691
1784
 
1692
1785
  ## `lps project list`
1693
1786
 
@@ -1707,7 +1800,7 @@ EXAMPLES
1707
1800
  $ lps project list
1708
1801
  ```
1709
1802
 
1710
- _See code: [src/commands/project/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/list.ts)_
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)_
1711
1804
 
1712
1805
  ## `lps project pull`
1713
1806
 
@@ -1724,7 +1817,7 @@ EXAMPLES
1724
1817
  $ lps project pull
1725
1818
  ```
1726
1819
 
1727
- _See code: [src/commands/project/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/pull.ts)_
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)_
1728
1821
 
1729
1822
  ## `lps project push`
1730
1823
 
@@ -1744,7 +1837,7 @@ EXAMPLES
1744
1837
  $ lps project push
1745
1838
  ```
1746
1839
 
1747
- _See code: [src/commands/project/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/push.ts)_
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)_
1748
1841
 
1749
1842
  ## `lps project remove`
1750
1843
 
@@ -1761,7 +1854,7 @@ EXAMPLES
1761
1854
  $ lps project remove
1762
1855
  ```
1763
1856
 
1764
- _See code: [src/commands/project/remove.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/remove.ts)_
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)_
1765
1858
 
1766
1859
  ## `lps project rotate`
1767
1860
 
@@ -1783,7 +1876,7 @@ EXAMPLES
1783
1876
  $ lps project rotate --env staging
1784
1877
  ```
1785
1878
 
1786
- _See code: [src/commands/project/rotate.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/rotate.ts)_
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)_
1787
1880
 
1788
1881
  ## `lps project switch`
1789
1882
 
@@ -1800,7 +1893,7 @@ EXAMPLES
1800
1893
  $ lps project switch
1801
1894
  ```
1802
1895
 
1803
- _See code: [src/commands/project/switch.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/project/switch.ts)_
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)_
1804
1897
 
1805
1898
  ## `lps promote FROM TO`
1806
1899
 
@@ -1831,7 +1924,7 @@ EXAMPLES
1831
1924
  $ lps promote production staging --dry-run
1832
1925
  ```
1833
1926
 
1834
- _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/promote.ts)_
1927
+ _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/promote.ts)_
1835
1928
 
1836
1929
  ## `lps pull`
1837
1930
 
@@ -1861,11 +1954,11 @@ EXAMPLES
1861
1954
  $ lps pull --dry-run
1862
1955
  ```
1863
1956
 
1864
- _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/pull.ts)_
1957
+ _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/pull.ts)_
1865
1958
 
1866
1959
  ## `lps push`
1867
1960
 
1868
- Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, SEO, menus, options, and snippets, to WordPress
1961
+ Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, pages, SEO, menus, options, and snippets, to WordPress
1869
1962
 
1870
1963
  ```
1871
1964
  USAGE
@@ -1880,7 +1973,7 @@ GLOBAL FLAGS
1880
1973
  --json Format output as json.
1881
1974
 
1882
1975
  DESCRIPTION
1883
- Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, SEO, menus, options, and
1976
+ Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, pages, SEO, menus, options, and
1884
1977
  snippets, to WordPress
1885
1978
 
1886
1979
  EXAMPLES
@@ -1891,7 +1984,7 @@ EXAMPLES
1891
1984
  $ lps push --dry-run
1892
1985
  ```
1893
1986
 
1894
- _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/push.ts)_
1987
+ _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/push.ts)_
1895
1988
 
1896
1989
  ## `lps seo diff [PATH]`
1897
1990
 
@@ -1923,7 +2016,7 @@ EXAMPLES
1923
2016
  $ lps seo diff --env staging --against production
1924
2017
  ```
1925
2018
 
1926
- _See code: [src/commands/seo/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/seo/diff.ts)_
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)_
1927
2020
 
1928
2021
  ## `lps seo list`
1929
2022
 
@@ -1949,7 +2042,7 @@ EXAMPLES
1949
2042
  $ lps seo list --post-type post
1950
2043
  ```
1951
2044
 
1952
- _See code: [src/commands/seo/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/seo/list.ts)_
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)_
1953
2046
 
1954
2047
  ## `lps seo pull [PATH]`
1955
2048
 
@@ -1977,7 +2070,7 @@ EXAMPLES
1977
2070
  $ lps seo pull --post-type post --post-type page
1978
2071
  ```
1979
2072
 
1980
- _See code: [src/commands/seo/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/seo/pull.ts)_
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)_
1981
2074
 
1982
2075
  ## `lps seo push [PATH]`
1983
2076
 
@@ -2007,7 +2100,7 @@ EXAMPLES
2007
2100
  $ lps seo push --allow-external-redirects
2008
2101
  ```
2009
2102
 
2010
- _See code: [src/commands/seo/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/seo/push.ts)_
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)_
2011
2104
 
2012
2105
  ## `lps seo rollback [PATH]`
2013
2106
 
@@ -2043,7 +2136,7 @@ EXAMPLES
2043
2136
  $ lps seo rollback --dry-run
2044
2137
  ```
2045
2138
 
2046
- _See code: [src/commands/seo/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/seo/rollback.ts)_
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)_
2047
2140
 
2048
2141
  ## `lps snippet diff [PATH]`
2049
2142
 
@@ -2074,7 +2167,7 @@ EXAMPLES
2074
2167
  $ lps snippet diff --env staging --against production
2075
2168
  ```
2076
2169
 
2077
- _See code: [src/commands/snippet/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/diff.ts)_
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)_
2078
2171
 
2079
2172
  ## `lps snippet list`
2080
2173
 
@@ -2097,7 +2190,7 @@ EXAMPLES
2097
2190
  $ lps snippet list
2098
2191
  ```
2099
2192
 
2100
- _See code: [src/commands/snippet/list.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/list.ts)_
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)_
2101
2194
 
2102
2195
  ## `lps snippet publish [PATH]`
2103
2196
 
@@ -2120,7 +2213,7 @@ EXAMPLES
2120
2213
  $ lps snippet publish --path ./snippets
2121
2214
  ```
2122
2215
 
2123
- _See code: [src/commands/snippet/publish.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/publish.ts)_
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)_
2124
2217
 
2125
2218
  ## `lps snippet pull [PATH]`
2126
2219
 
@@ -2150,7 +2243,7 @@ EXAMPLES
2150
2243
  $ lps snippet pull --path ./snippets
2151
2244
  ```
2152
2245
 
2153
- _See code: [src/commands/snippet/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/pull.ts)_
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)_
2154
2247
 
2155
2248
  ## `lps snippet push [PATH]`
2156
2249
 
@@ -2181,7 +2274,7 @@ EXAMPLES
2181
2274
  $ lps snippet push --path ./snippets
2182
2275
  ```
2183
2276
 
2184
- _See code: [src/commands/snippet/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/push.ts)_
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)_
2185
2278
 
2186
2279
  ## `lps snippet rollback [PATH]`
2187
2280
 
@@ -2217,7 +2310,7 @@ EXAMPLES
2217
2310
  $ lps snippet rollback --dry-run
2218
2311
  ```
2219
2312
 
2220
- _See code: [src/commands/snippet/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/snippet/rollback.ts)_
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)_
2221
2314
 
2222
2315
  ## `lps status`
2223
2316
 
@@ -2242,7 +2335,7 @@ EXAMPLES
2242
2335
  $ lps status --env staging
2243
2336
  ```
2244
2337
 
2245
- _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/status.ts)_
2338
+ _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/status.ts)_
2246
2339
 
2247
2340
  ## `lps telemetry disable`
2248
2341
 
@@ -2259,7 +2352,7 @@ EXAMPLES
2259
2352
  $ lps telemetry disable
2260
2353
  ```
2261
2354
 
2262
- _See code: [src/commands/telemetry/disable.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/telemetry/disable.ts)_
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)_
2263
2356
 
2264
2357
  ## `lps telemetry enable`
2265
2358
 
@@ -2276,7 +2369,7 @@ EXAMPLES
2276
2369
  $ lps telemetry enable
2277
2370
  ```
2278
2371
 
2279
- _See code: [src/commands/telemetry/enable.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/telemetry/enable.ts)_
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)_
2280
2373
 
2281
2374
  ## `lps theme-styles diff [PATH]`
2282
2375
 
@@ -2308,7 +2401,7 @@ EXAMPLES
2308
2401
  $ lps theme-styles diff --env staging --against production
2309
2402
  ```
2310
2403
 
2311
- _See code: [src/commands/theme-styles/diff.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme-styles/diff.ts)_
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)_
2312
2405
 
2313
2406
  ## `lps theme-styles pull [PATH]`
2314
2407
 
@@ -2332,7 +2425,7 @@ EXAMPLES
2332
2425
  $ lps theme-styles pull
2333
2426
  ```
2334
2427
 
2335
- _See code: [src/commands/theme-styles/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme-styles/pull.ts)_
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)_
2336
2429
 
2337
2430
  ## `lps theme-styles push [PATH]`
2338
2431
 
@@ -2356,7 +2449,7 @@ EXAMPLES
2356
2449
  $ lps theme-styles push
2357
2450
  ```
2358
2451
 
2359
- _See code: [src/commands/theme-styles/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme-styles/push.ts)_
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)_
2360
2453
 
2361
2454
  ## `lps theme-styles rollback [PATH]`
2362
2455
 
@@ -2392,7 +2485,7 @@ EXAMPLES
2392
2485
  $ lps theme-styles rollback --dry-run
2393
2486
  ```
2394
2487
 
2395
- _See code: [src/commands/theme-styles/rollback.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme-styles/rollback.ts)_
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)_
2396
2489
 
2397
2490
  ## `lps theme add SLUG`
2398
2491
 
@@ -2400,7 +2493,7 @@ Add a WordPress.org theme to loopress.json
2400
2493
 
2401
2494
  ```
2402
2495
  USAGE
2403
- $ lps theme add SLUG [--env <value>] [-d] [--version <value>]
2496
+ $ lps theme add SLUG [--json] [--env <value>] [-d] [--version <value>]
2404
2497
 
2405
2498
  ARGUMENTS
2406
2499
  SLUG Theme slug on WordPress.org
@@ -2410,6 +2503,9 @@ FLAGS
2410
2503
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
2411
2504
  --version=<value> Exact version to pin (default: "latest")
2412
2505
 
2506
+ GLOBAL FLAGS
2507
+ --json Format output as json.
2508
+
2413
2509
  DESCRIPTION
2414
2510
  Add a WordPress.org theme to loopress.json
2415
2511
 
@@ -2419,7 +2515,7 @@ EXAMPLES
2419
2515
  $ lps theme add generatepress --version 3.4.0
2420
2516
  ```
2421
2517
 
2422
- _See code: [src/commands/theme/add.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme/add.ts)_
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)_
2423
2519
 
2424
2520
  ## `lps theme pull`
2425
2521
 
@@ -2443,7 +2539,7 @@ EXAMPLES
2443
2539
  $ lps theme pull
2444
2540
  ```
2445
2541
 
2446
- _See code: [src/commands/theme/pull.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme/pull.ts)_
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)_
2447
2543
 
2448
2544
  ## `lps theme push`
2449
2545
 
@@ -2471,7 +2567,7 @@ EXAMPLES
2471
2567
  $ lps theme push --force
2472
2568
  ```
2473
2569
 
2474
- _See code: [src/commands/theme/push.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme/push.ts)_
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)_
2475
2571
 
2476
2572
  ## `lps theme status`
2477
2573
 
@@ -2494,7 +2590,7 @@ EXAMPLES
2494
2590
  $ lps theme status
2495
2591
  ```
2496
2592
 
2497
- _See code: [src/commands/theme/status.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/theme/status.ts)_
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)_
2498
2594
 
2499
2595
  ## `lps validate`
2500
2596
 
@@ -2514,5 +2610,5 @@ EXAMPLES
2514
2610
  $ lps validate
2515
2611
  ```
2516
2612
 
2517
- _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/v0.25.0/src/commands/validate.ts)_
2613
+ _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/%40loopress%2Fcli%400.27.0/cli/src/commands/validate.ts)_
2518
2614
  <!-- commandsstop -->