@loopress/cli 0.24.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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.24.0 linux-x64 node-v24.20.0
24
+ @loopress/cli/0.24.1 linux-x64 node-v24.20.0
25
25
  $ lps --help [COMMAND]
26
26
  USAGE
27
27
  $ lps COMMAND
@@ -56,6 +56,7 @@ report.
56
56
  * [`lps api publish [PATH]`](#lps-api-publish-path)
57
57
  * [`lps api pull [PATH]`](#lps-api-pull-path)
58
58
  * [`lps api push [PATH]`](#lps-api-push-path)
59
+ * [`lps api rm FILENAME`](#lps-api-rm-filename)
59
60
  * [`lps app list`](#lps-app-list)
60
61
  * [`lps app pull [PATH]`](#lps-app-pull-path)
61
62
  * [`lps app push [NAME]`](#lps-app-push-name)
@@ -75,6 +76,7 @@ report.
75
76
  * [`lps hook list`](#lps-hook-list)
76
77
  * [`lps hook pull [PATH]`](#lps-hook-pull-path)
77
78
  * [`lps hook push [PATH]`](#lps-hook-push-path)
79
+ * [`lps hook rm FILENAME`](#lps-hook-rm-filename)
78
80
  * [`lps init`](#lps-init)
79
81
  * [`lps login`](#lps-login)
80
82
  * [`lps logout`](#lps-logout)
@@ -147,7 +149,7 @@ EXAMPLES
147
149
  $ lps acf diff --env staging --against production
148
150
  ```
149
151
 
150
- _See code: [src/commands/acf/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/acf/diff.ts)_
152
+ _See code: [src/commands/acf/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/acf/diff.ts)_
151
153
 
152
154
  ## `lps acf list`
153
155
 
@@ -174,7 +176,7 @@ EXAMPLES
174
176
  $ lps acf list --type field-groups
175
177
  ```
176
178
 
177
- _See code: [src/commands/acf/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/acf/list.ts)_
179
+ _See code: [src/commands/acf/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/acf/list.ts)_
178
180
 
179
181
  ## `lps acf pull [PATH]`
180
182
 
@@ -203,7 +205,7 @@ EXAMPLES
203
205
  $ lps acf pull --type field-groups
204
206
  ```
205
207
 
206
- _See code: [src/commands/acf/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/acf/pull.ts)_
208
+ _See code: [src/commands/acf/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/acf/pull.ts)_
207
209
 
208
210
  ## `lps acf push [PATH]`
209
211
 
@@ -232,7 +234,7 @@ EXAMPLES
232
234
  $ lps acf push --type field-groups
233
235
  ```
234
236
 
235
- _See code: [src/commands/acf/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/acf/push.ts)_
237
+ _See code: [src/commands/acf/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/acf/push.ts)_
236
238
 
237
239
  ## `lps api diff [PATH]`
238
240
 
@@ -264,7 +266,7 @@ EXAMPLES
264
266
  $ lps api diff --env staging --against production
265
267
  ```
266
268
 
267
- _See code: [src/commands/api/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/api/diff.ts)_
269
+ _See code: [src/commands/api/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/diff.ts)_
268
270
 
269
271
  ## `lps api list`
270
272
 
@@ -287,7 +289,7 @@ EXAMPLES
287
289
  $ lps api list
288
290
  ```
289
291
 
290
- _See code: [src/commands/api/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/api/list.ts)_
292
+ _See code: [src/commands/api/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/list.ts)_
291
293
 
292
294
  ## `lps api publish [PATH]`
293
295
 
@@ -310,7 +312,7 @@ EXAMPLES
310
312
  $ lps api publish --path ./api
311
313
  ```
312
314
 
313
- _See code: [src/commands/api/publish.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/api/publish.ts)_
315
+ _See code: [src/commands/api/publish.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/publish.ts)_
314
316
 
315
317
  ## `lps api pull [PATH]`
316
318
 
@@ -340,7 +342,7 @@ EXAMPLES
340
342
  $ lps api pull --path ./api
341
343
  ```
342
344
 
343
- _See code: [src/commands/api/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/api/pull.ts)_
345
+ _See code: [src/commands/api/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/pull.ts)_
344
346
 
345
347
  ## `lps api push [PATH]`
346
348
 
@@ -348,7 +350,7 @@ Push custom API route files to WordPress
348
350
 
349
351
  ```
350
352
  USAGE
351
- $ lps api push [PATH] [--json] [--env <value>] [-d] [-y]
353
+ $ lps api push [PATH] [--json] [--env <value>] [-d] [-y] [--prune]
352
354
 
353
355
  ARGUMENTS
354
356
  [PATH] Path to api directory (overrides project config)
@@ -357,6 +359,7 @@ FLAGS
357
359
  -d, --dry-run Show what would change without making changes
358
360
  -y, --yes Answer yes to confirmation prompts
359
361
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
362
+ --prune Delete server-side route files not present locally after pushing
360
363
 
361
364
  GLOBAL FLAGS
362
365
  --json Format output as json.
@@ -368,9 +371,41 @@ EXAMPLES
368
371
  $ lps api push
369
372
 
370
373
  $ lps api push --path ./api
374
+
375
+ $ lps api push --prune
371
376
  ```
372
377
 
373
- _See code: [src/commands/api/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/api/push.ts)_
378
+ _See code: [src/commands/api/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/push.ts)_
379
+
380
+ ## `lps api rm FILENAME`
381
+
382
+ Remove a custom API route file from WordPress
383
+
384
+ ```
385
+ USAGE
386
+ $ lps api rm FILENAME [--json] [--env <value>] [-d] [-y]
387
+
388
+ ARGUMENTS
389
+ FILENAME The route file to remove, its slug without the .php extension (e.g. "hello" or "invoice-pdf/[order_id]")
390
+
391
+ FLAGS
392
+ -d, --dry-run Show what would change without making changes
393
+ -y, --yes Answer yes to confirmation prompts
394
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
395
+
396
+ GLOBAL FLAGS
397
+ --json Format output as json.
398
+
399
+ DESCRIPTION
400
+ Remove a custom API route file from WordPress
401
+
402
+ EXAMPLES
403
+ $ lps api rm hello
404
+
405
+ $ lps api rm hello --yes
406
+ ```
407
+
408
+ _See code: [src/commands/api/rm.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/api/rm.ts)_
374
409
 
375
410
  ## `lps app list`
376
411
 
@@ -393,7 +428,7 @@ EXAMPLES
393
428
  $ lps app list
394
429
  ```
395
430
 
396
- _See code: [src/commands/app/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/app/list.ts)_
431
+ _See code: [src/commands/app/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/app/list.ts)_
397
432
 
398
433
  ## `lps app pull [PATH]`
399
434
 
@@ -421,7 +456,7 @@ EXAMPLES
421
456
  $ lps app pull
422
457
  ```
423
458
 
424
- _See code: [src/commands/app/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/app/pull.ts)_
459
+ _See code: [src/commands/app/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/app/pull.ts)_
425
460
 
426
461
  ## `lps app push [NAME]`
427
462
 
@@ -452,7 +487,7 @@ EXAMPLES
452
487
  $ lps app push search
453
488
  ```
454
489
 
455
- _See code: [src/commands/app/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/app/push.ts)_
490
+ _See code: [src/commands/app/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/app/push.ts)_
456
491
 
457
492
  ## `lps app remove NAME`
458
493
 
@@ -481,7 +516,7 @@ EXAMPLES
481
516
  $ lps app remove search
482
517
  ```
483
518
 
484
- _See code: [src/commands/app/remove.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/app/remove.ts)_
519
+ _See code: [src/commands/app/remove.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/app/remove.ts)_
485
520
 
486
521
  ## `lps composer init`
487
522
 
@@ -504,7 +539,7 @@ EXAMPLES
504
539
  $ lps composer init --dry-run
505
540
  ```
506
541
 
507
- _See code: [src/commands/composer/init.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/composer/init.ts)_
542
+ _See code: [src/commands/composer/init.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/composer/init.ts)_
508
543
 
509
544
  ## `lps composer pull`
510
545
 
@@ -530,11 +565,11 @@ EXAMPLES
530
565
  $ lps composer pull --dry-run
531
566
  ```
532
567
 
533
- _See code: [src/commands/composer/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/composer/pull.ts)_
568
+ _See code: [src/commands/composer/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/composer/pull.ts)_
534
569
 
535
570
  ## `lps composer push`
536
571
 
537
- Push composer.json (and composer.lock, if present) to WordPress and run Composer
572
+ Push composer.json to WordPress and run Composer to resolve and install dependencies
538
573
 
539
574
  ```
540
575
  USAGE
@@ -550,7 +585,7 @@ GLOBAL FLAGS
550
585
  --json Format output as json.
551
586
 
552
587
  DESCRIPTION
553
- Push composer.json (and composer.lock, if present) to WordPress and run Composer
588
+ Push composer.json to WordPress and run Composer to resolve and install dependencies
554
589
 
555
590
  EXAMPLES
556
591
  $ lps composer push
@@ -558,7 +593,7 @@ EXAMPLES
558
593
  $ lps composer push --dry-run
559
594
  ```
560
595
 
561
- _See code: [src/commands/composer/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/composer/push.ts)_
596
+ _See code: [src/commands/composer/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/composer/push.ts)_
562
597
 
563
598
  ## `lps dev`
564
599
 
@@ -584,7 +619,7 @@ EXAMPLES
584
619
  $ lps dev --skip=plugins
585
620
  ```
586
621
 
587
- _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/dev.ts)_
622
+ _See code: [src/commands/dev.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/dev.ts)_
588
623
 
589
624
  ## `lps diff`
590
625
 
@@ -624,7 +659,7 @@ EXAMPLES
624
659
  $ lps diff --skip composer
625
660
  ```
626
661
 
627
- _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/diff.ts)_
662
+ _See code: [src/commands/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/diff.ts)_
628
663
 
629
664
  ## `lps doctor`
630
665
 
@@ -646,7 +681,7 @@ EXAMPLES
646
681
  $ lps doctor --env production
647
682
  ```
648
683
 
649
- _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/doctor.ts)_
684
+ _See code: [src/commands/doctor.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/doctor.ts)_
650
685
 
651
686
  ## `lps form diff [PATH]`
652
687
 
@@ -677,7 +712,7 @@ EXAMPLES
677
712
  $ lps form diff --env staging --against production
678
713
  ```
679
714
 
680
- _See code: [src/commands/form/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/form/diff.ts)_
715
+ _See code: [src/commands/form/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/form/diff.ts)_
681
716
 
682
717
  ## `lps form list`
683
718
 
@@ -700,7 +735,7 @@ EXAMPLES
700
735
  $ lps form list
701
736
  ```
702
737
 
703
- _See code: [src/commands/form/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/form/list.ts)_
738
+ _See code: [src/commands/form/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/form/list.ts)_
704
739
 
705
740
  ## `lps form pull [PATH]`
706
741
 
@@ -725,7 +760,7 @@ EXAMPLES
725
760
  $ lps form pull
726
761
  ```
727
762
 
728
- _See code: [src/commands/form/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/form/pull.ts)_
763
+ _See code: [src/commands/form/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/form/pull.ts)_
729
764
 
730
765
  ## `lps form push [PATH]`
731
766
 
@@ -733,15 +768,18 @@ Push forms to WordPress. Local files created or updated remotely are renamed on
733
768
 
734
769
  ```
735
770
  USAGE
736
- $ lps form push [PATH] [--env <value>] [-d] [-y]
771
+ $ lps form push [PATH] [--env <value>] [-d] [-y] [--allow-notifications]
737
772
 
738
773
  ARGUMENTS
739
774
  [PATH] Path to forms directory (overrides project config)
740
775
 
741
776
  FLAGS
742
- -d, --dry-run Show what would change without making changes
743
- -y, --yes Answer yes to confirmation prompts
744
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
777
+ -d, --dry-run Show what would change without making changes
778
+ -y, --yes Answer yes to confirmation prompts
779
+ --allow-notifications Also push each form's notification and confirmation settings (recipients, sender,
780
+ messages). Off by default: the server keeps its own so a stray push can't redirect
781
+ submissions.
782
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
745
783
 
746
784
  DESCRIPTION
747
785
  Push forms to WordPress. Local files created or updated remotely are renamed on disk to the `<id>-<slug>.json`
@@ -749,9 +787,11 @@ DESCRIPTION
749
787
 
750
788
  EXAMPLES
751
789
  $ lps form push
790
+
791
+ $ lps form push --allow-notifications
752
792
  ```
753
793
 
754
- _See code: [src/commands/form/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/form/push.ts)_
794
+ _See code: [src/commands/form/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/form/push.ts)_
755
795
 
756
796
  ## `lps help [COMMAND]`
757
797
 
@@ -802,7 +842,7 @@ EXAMPLES
802
842
  $ lps hook diff --env staging --against production
803
843
  ```
804
844
 
805
- _See code: [src/commands/hook/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/hook/diff.ts)_
845
+ _See code: [src/commands/hook/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/hook/diff.ts)_
806
846
 
807
847
  ## `lps hook list`
808
848
 
@@ -825,7 +865,7 @@ EXAMPLES
825
865
  $ lps hook list
826
866
  ```
827
867
 
828
- _See code: [src/commands/hook/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/hook/list.ts)_
868
+ _See code: [src/commands/hook/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/hook/list.ts)_
829
869
 
830
870
  ## `lps hook pull [PATH]`
831
871
 
@@ -855,7 +895,7 @@ EXAMPLES
855
895
  $ lps hook pull --path ./hooks
856
896
  ```
857
897
 
858
- _See code: [src/commands/hook/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/hook/pull.ts)_
898
+ _See code: [src/commands/hook/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/hook/pull.ts)_
859
899
 
860
900
  ## `lps hook push [PATH]`
861
901
 
@@ -863,7 +903,7 @@ Push hook files (actions, filters, cron) to WordPress
863
903
 
864
904
  ```
865
905
  USAGE
866
- $ lps hook push [PATH] [--json] [--env <value>] [-d] [-y]
906
+ $ lps hook push [PATH] [--json] [--env <value>] [-d] [-y] [--prune]
867
907
 
868
908
  ARGUMENTS
869
909
  [PATH] Path to hooks directory (overrides project config)
@@ -872,6 +912,7 @@ FLAGS
872
912
  -d, --dry-run Show what would change without making changes
873
913
  -y, --yes Answer yes to confirmation prompts
874
914
  --env=<value> Target environment by name, overriding the globally active one (lps project switch)
915
+ --prune Delete server-side hook files not present locally after pushing
875
916
 
876
917
  GLOBAL FLAGS
877
918
  --json Format output as json.
@@ -883,9 +924,41 @@ EXAMPLES
883
924
  $ lps hook push
884
925
 
885
926
  $ lps hook push --path ./hooks
927
+
928
+ $ lps hook push --prune
886
929
  ```
887
930
 
888
- _See code: [src/commands/hook/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/hook/push.ts)_
931
+ _See code: [src/commands/hook/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/hook/push.ts)_
932
+
933
+ ## `lps hook rm FILENAME`
934
+
935
+ Remove a hook file (action, filter, cron) from WordPress
936
+
937
+ ```
938
+ USAGE
939
+ $ lps hook rm FILENAME [--json] [--env <value>] [-d] [-y]
940
+
941
+ ARGUMENTS
942
+ FILENAME The hook file to remove, its slug without the .php extension (e.g. "hello" or "invoice-pdf/[order_id]")
943
+
944
+ FLAGS
945
+ -d, --dry-run Show what would change without making changes
946
+ -y, --yes Answer yes to confirmation prompts
947
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
948
+
949
+ GLOBAL FLAGS
950
+ --json Format output as json.
951
+
952
+ DESCRIPTION
953
+ Remove a hook file (action, filter, cron) from WordPress
954
+
955
+ EXAMPLES
956
+ $ lps hook rm hello
957
+
958
+ $ lps hook rm hello --yes
959
+ ```
960
+
961
+ _See code: [src/commands/hook/rm.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/hook/rm.ts)_
889
962
 
890
963
  ## `lps init`
891
964
 
@@ -902,7 +975,7 @@ EXAMPLES
902
975
  $ lps init
903
976
  ```
904
977
 
905
- _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/init.ts)_
978
+ _See code: [src/commands/init.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/init.ts)_
906
979
 
907
980
  ## `lps login`
908
981
 
@@ -919,7 +992,7 @@ EXAMPLES
919
992
  $ lps login
920
993
  ```
921
994
 
922
- _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/login.ts)_
995
+ _See code: [src/commands/login.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/login.ts)_
923
996
 
924
997
  ## `lps logout`
925
998
 
@@ -936,7 +1009,7 @@ EXAMPLES
936
1009
  $ lps logout
937
1010
  ```
938
1011
 
939
- _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/logout.ts)_
1012
+ _See code: [src/commands/logout.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/logout.ts)_
940
1013
 
941
1014
  ## `lps option add NAME`
942
1015
 
@@ -967,7 +1040,7 @@ EXAMPLES
967
1040
  $ lps option add siteurl
968
1041
  ```
969
1042
 
970
- _See code: [src/commands/option/add.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/add.ts)_
1043
+ _See code: [src/commands/option/add.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/add.ts)_
971
1044
 
972
1045
  ## `lps option diff [PATH]`
973
1046
 
@@ -999,7 +1072,7 @@ EXAMPLES
999
1072
  $ lps option diff --env staging --against production
1000
1073
  ```
1001
1074
 
1002
- _See code: [src/commands/option/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/diff.ts)_
1075
+ _See code: [src/commands/option/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/diff.ts)_
1003
1076
 
1004
1077
  ## `lps option list`
1005
1078
 
@@ -1029,7 +1102,7 @@ EXAMPLES
1029
1102
  $ lps option list --no-core
1030
1103
  ```
1031
1104
 
1032
- _See code: [src/commands/option/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/list.ts)_
1105
+ _See code: [src/commands/option/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/list.ts)_
1033
1106
 
1034
1107
  ## `lps option pull [PATH]`
1035
1108
 
@@ -1058,7 +1131,7 @@ EXAMPLES
1058
1131
  $ lps option pull
1059
1132
  ```
1060
1133
 
1061
- _See code: [src/commands/option/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/pull.ts)_
1134
+ _See code: [src/commands/option/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/pull.ts)_
1062
1135
 
1063
1136
  ## `lps option push [PATH]`
1064
1137
 
@@ -1087,7 +1160,7 @@ EXAMPLES
1087
1160
  $ lps option push
1088
1161
  ```
1089
1162
 
1090
- _See code: [src/commands/option/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/push.ts)_
1163
+ _See code: [src/commands/option/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/push.ts)_
1091
1164
 
1092
1165
  ## `lps option remove NAME`
1093
1166
 
@@ -1120,7 +1193,7 @@ EXAMPLES
1120
1193
  $ lps option remove wpseo_titles --local-only
1121
1194
  ```
1122
1195
 
1123
- _See code: [src/commands/option/remove.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/option/remove.ts)_
1196
+ _See code: [src/commands/option/remove.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/option/remove.ts)_
1124
1197
 
1125
1198
  ## `lps plugin add SLUG`
1126
1199
 
@@ -1149,7 +1222,7 @@ EXAMPLES
1149
1222
  $ lps plugin add contact-form-7 --dry-run
1150
1223
  ```
1151
1224
 
1152
- _See code: [src/commands/plugin/add.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/plugin/add.ts)_
1225
+ _See code: [src/commands/plugin/add.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/plugin/add.ts)_
1153
1226
 
1154
1227
  ## `lps plugin audit`
1155
1228
 
@@ -1172,7 +1245,7 @@ EXAMPLES
1172
1245
  $ lps plugin audit
1173
1246
  ```
1174
1247
 
1175
- _See code: [src/commands/plugin/audit.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/plugin/audit.ts)_
1248
+ _See code: [src/commands/plugin/audit.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/plugin/audit.ts)_
1176
1249
 
1177
1250
  ## `lps plugin pull`
1178
1251
 
@@ -1198,7 +1271,7 @@ EXAMPLES
1198
1271
  $ lps plugin pull --dry-run
1199
1272
  ```
1200
1273
 
1201
- _See code: [src/commands/plugin/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/plugin/pull.ts)_
1274
+ _See code: [src/commands/plugin/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/plugin/pull.ts)_
1202
1275
 
1203
1276
  ## `lps plugin push`
1204
1277
 
@@ -1229,7 +1302,7 @@ EXAMPLES
1229
1302
  $ lps plugin push --force --prune
1230
1303
  ```
1231
1304
 
1232
- _See code: [src/commands/plugin/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/plugin/push.ts)_
1305
+ _See code: [src/commands/plugin/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/plugin/push.ts)_
1233
1306
 
1234
1307
  ## `lps plugin status`
1235
1308
 
@@ -1252,7 +1325,7 @@ EXAMPLES
1252
1325
  $ lps plugin status
1253
1326
  ```
1254
1327
 
1255
- _See code: [src/commands/plugin/status.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/plugin/status.ts)_
1328
+ _See code: [src/commands/plugin/status.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/plugin/status.ts)_
1256
1329
 
1257
1330
  ## `lps project config`
1258
1331
 
@@ -1270,7 +1343,7 @@ EXAMPLES
1270
1343
  $ lps project config
1271
1344
  ```
1272
1345
 
1273
- _See code: [src/commands/project/config.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/config.ts)_
1346
+ _See code: [src/commands/project/config.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/config.ts)_
1274
1347
 
1275
1348
  ## `lps project list`
1276
1349
 
@@ -1290,7 +1363,7 @@ EXAMPLES
1290
1363
  $ lps project list
1291
1364
  ```
1292
1365
 
1293
- _See code: [src/commands/project/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/list.ts)_
1366
+ _See code: [src/commands/project/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/list.ts)_
1294
1367
 
1295
1368
  ## `lps project pull`
1296
1369
 
@@ -1307,7 +1380,7 @@ EXAMPLES
1307
1380
  $ lps project pull
1308
1381
  ```
1309
1382
 
1310
- _See code: [src/commands/project/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/pull.ts)_
1383
+ _See code: [src/commands/project/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/pull.ts)_
1311
1384
 
1312
1385
  ## `lps project push`
1313
1386
 
@@ -1327,7 +1400,7 @@ EXAMPLES
1327
1400
  $ lps project push
1328
1401
  ```
1329
1402
 
1330
- _See code: [src/commands/project/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/push.ts)_
1403
+ _See code: [src/commands/project/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/push.ts)_
1331
1404
 
1332
1405
  ## `lps project remove`
1333
1406
 
@@ -1344,7 +1417,7 @@ EXAMPLES
1344
1417
  $ lps project remove
1345
1418
  ```
1346
1419
 
1347
- _See code: [src/commands/project/remove.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/remove.ts)_
1420
+ _See code: [src/commands/project/remove.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/remove.ts)_
1348
1421
 
1349
1422
  ## `lps project rotate`
1350
1423
 
@@ -1366,7 +1439,7 @@ EXAMPLES
1366
1439
  $ lps project rotate --env staging
1367
1440
  ```
1368
1441
 
1369
- _See code: [src/commands/project/rotate.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/rotate.ts)_
1442
+ _See code: [src/commands/project/rotate.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/rotate.ts)_
1370
1443
 
1371
1444
  ## `lps project switch`
1372
1445
 
@@ -1383,7 +1456,7 @@ EXAMPLES
1383
1456
  $ lps project switch
1384
1457
  ```
1385
1458
 
1386
- _See code: [src/commands/project/switch.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/project/switch.ts)_
1459
+ _See code: [src/commands/project/switch.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/project/switch.ts)_
1387
1460
 
1388
1461
  ## `lps promote FROM TO`
1389
1462
 
@@ -1411,7 +1484,7 @@ EXAMPLES
1411
1484
  $ lps promote production staging --dry-run
1412
1485
  ```
1413
1486
 
1414
- _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/promote.ts)_
1487
+ _See code: [src/commands/promote.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/promote.ts)_
1415
1488
 
1416
1489
  ## `lps pull`
1417
1490
 
@@ -1438,7 +1511,7 @@ EXAMPLES
1438
1511
  $ lps pull --dry-run
1439
1512
  ```
1440
1513
 
1441
- _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/pull.ts)_
1514
+ _See code: [src/commands/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/pull.ts)_
1442
1515
 
1443
1516
  ## `lps push`
1444
1517
 
@@ -1465,7 +1538,7 @@ EXAMPLES
1465
1538
  $ lps push --dry-run
1466
1539
  ```
1467
1540
 
1468
- _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/push.ts)_
1541
+ _See code: [src/commands/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/push.ts)_
1469
1542
 
1470
1543
  ## `lps seo diff [PATH]`
1471
1544
 
@@ -1497,7 +1570,7 @@ EXAMPLES
1497
1570
  $ lps seo diff --env staging --against production
1498
1571
  ```
1499
1572
 
1500
- _See code: [src/commands/seo/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/seo/diff.ts)_
1573
+ _See code: [src/commands/seo/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/seo/diff.ts)_
1501
1574
 
1502
1575
  ## `lps seo list`
1503
1576
 
@@ -1523,7 +1596,7 @@ EXAMPLES
1523
1596
  $ lps seo list --post-type post
1524
1597
  ```
1525
1598
 
1526
- _See code: [src/commands/seo/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/seo/list.ts)_
1599
+ _See code: [src/commands/seo/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/seo/list.ts)_
1527
1600
 
1528
1601
  ## `lps seo pull [PATH]`
1529
1602
 
@@ -1551,7 +1624,7 @@ EXAMPLES
1551
1624
  $ lps seo pull --post-type post --post-type page
1552
1625
  ```
1553
1626
 
1554
- _See code: [src/commands/seo/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/seo/pull.ts)_
1627
+ _See code: [src/commands/seo/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/seo/pull.ts)_
1555
1628
 
1556
1629
  ## `lps seo push [PATH]`
1557
1630
 
@@ -1559,15 +1632,17 @@ Push SEO settings, post meta, and redirects to WordPress. Local redirect files c
1559
1632
 
1560
1633
  ```
1561
1634
  USAGE
1562
- $ lps seo push [PATH] [--env <value>] [-d] [-y]
1635
+ $ lps seo push [PATH] [--env <value>] [-d] [-y] [--allow-external-redirects]
1563
1636
 
1564
1637
  ARGUMENTS
1565
1638
  [PATH] Path to SEO directory (overrides project config)
1566
1639
 
1567
1640
  FLAGS
1568
- -d, --dry-run Show what would change without making changes
1569
- -y, --yes Answer yes to confirmation prompts
1570
- --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1641
+ -d, --dry-run Show what would change without making changes
1642
+ -y, --yes Answer yes to confirmation prompts
1643
+ --allow-external-redirects Allow pushing a redirect whose target points off this site. Off by default: the server
1644
+ rejects an off-site `urlTo` so a stray push can't 301 traffic away.
1645
+ --env=<value> Target environment by name, overriding the globally active one (lps project switch)
1571
1646
 
1572
1647
  DESCRIPTION
1573
1648
  Push SEO settings, post meta, and redirects to WordPress. Local redirect files created remotely are renamed on disk to
@@ -1575,9 +1650,11 @@ DESCRIPTION
1575
1650
 
1576
1651
  EXAMPLES
1577
1652
  $ lps seo push
1653
+
1654
+ $ lps seo push --allow-external-redirects
1578
1655
  ```
1579
1656
 
1580
- _See code: [src/commands/seo/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/seo/push.ts)_
1657
+ _See code: [src/commands/seo/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/seo/push.ts)_
1581
1658
 
1582
1659
  ## `lps snippet diff [PATH]`
1583
1660
 
@@ -1608,7 +1685,7 @@ EXAMPLES
1608
1685
  $ lps snippet diff --env staging --against production
1609
1686
  ```
1610
1687
 
1611
- _See code: [src/commands/snippet/diff.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/snippet/diff.ts)_
1688
+ _See code: [src/commands/snippet/diff.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/snippet/diff.ts)_
1612
1689
 
1613
1690
  ## `lps snippet list`
1614
1691
 
@@ -1631,7 +1708,7 @@ EXAMPLES
1631
1708
  $ lps snippet list
1632
1709
  ```
1633
1710
 
1634
- _See code: [src/commands/snippet/list.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/snippet/list.ts)_
1711
+ _See code: [src/commands/snippet/list.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/snippet/list.ts)_
1635
1712
 
1636
1713
  ## `lps snippet publish [PATH]`
1637
1714
 
@@ -1654,7 +1731,7 @@ EXAMPLES
1654
1731
  $ lps snippet publish --path ./snippets
1655
1732
  ```
1656
1733
 
1657
- _See code: [src/commands/snippet/publish.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/snippet/publish.ts)_
1734
+ _See code: [src/commands/snippet/publish.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/snippet/publish.ts)_
1658
1735
 
1659
1736
  ## `lps snippet pull [PATH]`
1660
1737
 
@@ -1684,7 +1761,7 @@ EXAMPLES
1684
1761
  $ lps snippet pull --path ./snippets
1685
1762
  ```
1686
1763
 
1687
- _See code: [src/commands/snippet/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/snippet/pull.ts)_
1764
+ _See code: [src/commands/snippet/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/snippet/pull.ts)_
1688
1765
 
1689
1766
  ## `lps snippet push [PATH]`
1690
1767
 
@@ -1715,7 +1792,7 @@ EXAMPLES
1715
1792
  $ lps snippet push --path ./snippets
1716
1793
  ```
1717
1794
 
1718
- _See code: [src/commands/snippet/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/snippet/push.ts)_
1795
+ _See code: [src/commands/snippet/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/snippet/push.ts)_
1719
1796
 
1720
1797
  ## `lps status`
1721
1798
 
@@ -1740,7 +1817,7 @@ EXAMPLES
1740
1817
  $ lps status --env staging
1741
1818
  ```
1742
1819
 
1743
- _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/status.ts)_
1820
+ _See code: [src/commands/status.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/status.ts)_
1744
1821
 
1745
1822
  ## `lps telemetry disable`
1746
1823
 
@@ -1757,7 +1834,7 @@ EXAMPLES
1757
1834
  $ lps telemetry disable
1758
1835
  ```
1759
1836
 
1760
- _See code: [src/commands/telemetry/disable.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/telemetry/disable.ts)_
1837
+ _See code: [src/commands/telemetry/disable.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/telemetry/disable.ts)_
1761
1838
 
1762
1839
  ## `lps telemetry enable`
1763
1840
 
@@ -1774,7 +1851,7 @@ EXAMPLES
1774
1851
  $ lps telemetry enable
1775
1852
  ```
1776
1853
 
1777
- _See code: [src/commands/telemetry/enable.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/telemetry/enable.ts)_
1854
+ _See code: [src/commands/telemetry/enable.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/telemetry/enable.ts)_
1778
1855
 
1779
1856
  ## `lps theme add SLUG`
1780
1857
 
@@ -1801,7 +1878,7 @@ EXAMPLES
1801
1878
  $ lps theme add generatepress --version 3.4.0
1802
1879
  ```
1803
1880
 
1804
- _See code: [src/commands/theme/add.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/theme/add.ts)_
1881
+ _See code: [src/commands/theme/add.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/theme/add.ts)_
1805
1882
 
1806
1883
  ## `lps theme pull`
1807
1884
 
@@ -1825,7 +1902,7 @@ EXAMPLES
1825
1902
  $ lps theme pull
1826
1903
  ```
1827
1904
 
1828
- _See code: [src/commands/theme/pull.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/theme/pull.ts)_
1905
+ _See code: [src/commands/theme/pull.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/theme/pull.ts)_
1829
1906
 
1830
1907
  ## `lps theme push`
1831
1908
 
@@ -1853,7 +1930,7 @@ EXAMPLES
1853
1930
  $ lps theme push --force
1854
1931
  ```
1855
1932
 
1856
- _See code: [src/commands/theme/push.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/theme/push.ts)_
1933
+ _See code: [src/commands/theme/push.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/theme/push.ts)_
1857
1934
 
1858
1935
  ## `lps theme status`
1859
1936
 
@@ -1876,7 +1953,7 @@ EXAMPLES
1876
1953
  $ lps theme status
1877
1954
  ```
1878
1955
 
1879
- _See code: [src/commands/theme/status.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/theme/status.ts)_
1956
+ _See code: [src/commands/theme/status.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/theme/status.ts)_
1880
1957
 
1881
1958
  ## `lps validate`
1882
1959
 
@@ -1896,5 +1973,5 @@ EXAMPLES
1896
1973
  $ lps validate
1897
1974
  ```
1898
1975
 
1899
- _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/v0.24.0/src/commands/validate.ts)_
1976
+ _See code: [src/commands/validate.ts](https://github.com/loopress/loopress/blob/v0.24.1/src/commands/validate.ts)_
1900
1977
  <!-- commandsstop -->