@loopress/cli 0.30.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +494 -222
- package/dist/commands/acf/diff.d.ts +2 -2
- package/dist/commands/acf/diff.js +3 -1
- package/dist/commands/acf/list.d.ts +1 -0
- package/dist/commands/acf/list.js +2 -1
- package/dist/commands/acf/pull.d.ts +1 -0
- package/dist/commands/acf/pull.js +2 -1
- package/dist/commands/acf/push.d.ts +7 -2
- package/dist/commands/acf/push.js +14 -5
- package/dist/commands/acf/rollback.d.ts +2 -2
- package/dist/commands/acf/rollback.js +3 -1
- package/dist/commands/composer/pull.js +1 -1
- package/dist/commands/composer/push.d.ts +1 -0
- package/dist/commands/composer/push.js +13 -0
- package/dist/commands/content/copy.d.ts +28 -0
- package/dist/commands/content/copy.js +97 -0
- package/dist/commands/diff.d.ts +1 -0
- package/dist/commands/diff.js +13 -2
- package/dist/commands/doctor.d.ts +1 -0
- package/dist/commands/doctor.js +29 -2
- package/dist/commands/form/list.js +1 -1
- package/dist/commands/form/pull.js +1 -1
- package/dist/commands/form/push.d.ts +2 -1
- package/dist/commands/form/push.js +6 -3
- package/dist/commands/init.js +0 -23
- package/dist/commands/menu/push.d.ts +2 -1
- package/dist/commands/menu/push.js +1 -1
- package/dist/commands/option/push.d.ts +2 -1
- package/dist/commands/option/push.js +5 -3
- package/dist/commands/page/push.d.ts +4 -1
- package/dist/commands/page/push.js +43 -10
- package/dist/commands/pattern/push.js +1 -1
- package/dist/commands/pattern/rm.js +1 -1
- package/dist/commands/plugin/audit.js +42 -25
- package/dist/commands/plugin/push.js +1 -1
- package/dist/commands/plugin/status.js +1 -1
- package/dist/commands/promote.d.ts +1 -0
- package/dist/commands/promote.js +7 -3
- package/dist/commands/pull.d.ts +2 -1
- package/dist/commands/pull.js +37 -5
- package/dist/commands/push.d.ts +6 -2
- package/dist/commands/push.js +64 -19
- package/dist/commands/snippet/list.js +1 -1
- package/dist/commands/snippet/pull.js +1 -1
- package/dist/commands/snippet/push.d.ts +3 -1
- package/dist/commands/snippet/push.js +26 -5
- package/dist/commands/theme/pull.js +1 -1
- package/dist/commands/theme/push.d.ts +1 -0
- package/dist/commands/theme/push.js +3 -3
- package/dist/commands/theme/style/push.d.ts +2 -1
- package/dist/commands/theme/style/push.js +4 -5
- package/dist/commands/theme/template/list.js +1 -1
- package/dist/commands/theme/template/push.d.ts +11 -1
- package/dist/commands/theme/template/push.js +34 -5
- package/dist/commands/theme/version/pull.js +6 -1
- package/dist/commands/theme/version/push.js +1 -1
- package/dist/lib/base.d.ts +1 -0
- package/dist/lib/base.js +3 -0
- package/dist/lib/declared-type-command.d.ts +2 -1
- package/dist/lib/declared-type-command.js +1 -1
- package/dist/lib/diff-command.d.ts +3 -0
- package/dist/lib/diff-command.js +34 -5
- package/dist/lib/load-snippets.js +4 -0
- package/dist/lib/php-files-command.d.ts +11 -1
- package/dist/lib/php-files-command.js +39 -19
- package/dist/lib/plugin-detection.d.ts +1 -0
- package/dist/lib/plugin-detection.js +4 -0
- package/dist/lib/push-command.d.ts +21 -2
- package/dist/lib/push-command.js +105 -6
- package/dist/lib/resource-state.js +5 -5
- package/dist/lib/rollback-command.js +9 -2
- package/dist/lib/validate-local.js +21 -8
- package/dist/lib/wp-client.d.ts +1 -0
- package/dist/lib/wp-client.js +27 -1
- package/dist/types/snippet.d.ts +1 -0
- package/dist/utils/acf-format.d.ts +5 -0
- package/dist/utils/acf-format.js +29 -0
- package/dist/utils/php-top-level.d.ts +2 -0
- package/dist/utils/php-top-level.js +148 -0
- package/dist/utils/resource-dirs.d.ts +1 -0
- package/dist/utils/resource-dirs.js +7 -1
- package/dist/utils/template-format.d.ts +1 -0
- package/dist/utils/theme-styles-format.d.ts +2 -0
- package/dist/utils/theme-styles-format.js +32 -4
- package/oclif.manifest.json +1132 -919
- package/package.json +6 -3
package/oclif.manifest.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"diff": {
|
|
44
44
|
"aliases": [],
|
|
45
45
|
"args": {},
|
|
46
|
-
"description": "Show what differs between your local tracked files and a WordPress environment, or between two environments. Covers snippets, forms, ACF, API routes,
|
|
46
|
+
"description": "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, menus, custom post types, taxonomies, post meta, roles, block patterns, options, 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.",
|
|
47
47
|
"examples": [
|
|
48
48
|
"$ lps diff",
|
|
49
49
|
"$ lps diff --env staging",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"doctor": {
|
|
169
169
|
"aliases": [],
|
|
170
170
|
"args": {},
|
|
171
|
-
"description": "Diagnose connectivity, plugin and
|
|
171
|
+
"description": "Diagnose connectivity, plugin, credential and hook problems for the targeted environment",
|
|
172
172
|
"examples": [
|
|
173
173
|
"$ lps doctor",
|
|
174
174
|
"$ lps doctor --env production"
|
|
@@ -329,6 +329,12 @@
|
|
|
329
329
|
"name": "yes",
|
|
330
330
|
"allowNo": false,
|
|
331
331
|
"type": "boolean"
|
|
332
|
+
},
|
|
333
|
+
"overwrite": {
|
|
334
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
335
|
+
"name": "overwrite",
|
|
336
|
+
"allowNo": false,
|
|
337
|
+
"type": "boolean"
|
|
332
338
|
}
|
|
333
339
|
},
|
|
334
340
|
"hasDynamicHelp": false,
|
|
@@ -349,7 +355,7 @@
|
|
|
349
355
|
"pull": {
|
|
350
356
|
"aliases": [],
|
|
351
357
|
"args": {},
|
|
352
|
-
"description": "Pull
|
|
358
|
+
"description": "Pull every tracked resource from WordPress into local files in one run: composer dependencies, plugins, post types, taxonomies, post meta, roles, ACF, API routes, hooks, forms, patterns, Global Styles, menus, options, and snippets",
|
|
353
359
|
"examples": [
|
|
354
360
|
"$ lps pull",
|
|
355
361
|
"$ lps pull --env staging",
|
|
@@ -419,7 +425,7 @@
|
|
|
419
425
|
"push": {
|
|
420
426
|
"aliases": [],
|
|
421
427
|
"args": {},
|
|
422
|
-
"description": "Push
|
|
428
|
+
"description": "Push every local resource to WordPress in one run: plugins, composer dependencies, post types, taxonomies, post meta, roles, ACF, API routes, hooks, forms, patterns, templates and parts, Global Styles, pages, menus, options, and snippets",
|
|
423
429
|
"examples": [
|
|
424
430
|
"$ lps push",
|
|
425
431
|
"$ lps push --env staging",
|
|
@@ -453,6 +459,12 @@
|
|
|
453
459
|
"name": "yes",
|
|
454
460
|
"allowNo": false,
|
|
455
461
|
"type": "boolean"
|
|
462
|
+
},
|
|
463
|
+
"overwrite": {
|
|
464
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
465
|
+
"name": "overwrite",
|
|
466
|
+
"allowNo": false,
|
|
467
|
+
"type": "boolean"
|
|
456
468
|
}
|
|
457
469
|
},
|
|
458
470
|
"hasDynamicHelp": false,
|
|
@@ -578,7 +590,9 @@
|
|
|
578
590
|
]
|
|
579
591
|
},
|
|
580
592
|
"acf:diff": {
|
|
581
|
-
"aliases": [
|
|
593
|
+
"aliases": [
|
|
594
|
+
"scf:diff"
|
|
595
|
+
],
|
|
582
596
|
"args": {
|
|
583
597
|
"path": {
|
|
584
598
|
"description": "Path to ACF directory (overrides project config)",
|
|
@@ -655,9 +669,11 @@
|
|
|
655
669
|
]
|
|
656
670
|
},
|
|
657
671
|
"acf:list": {
|
|
658
|
-
"aliases": [
|
|
672
|
+
"aliases": [
|
|
673
|
+
"scf:list"
|
|
674
|
+
],
|
|
659
675
|
"args": {},
|
|
660
|
-
"description": "List ACF field groups, post types, taxonomies, and options pages
|
|
676
|
+
"description": "List ACF field groups, post types, taxonomies, and options pages currently on WordPress",
|
|
661
677
|
"examples": [
|
|
662
678
|
"$ lps acf list",
|
|
663
679
|
"$ lps acf list --type field-groups"
|
|
@@ -724,14 +740,16 @@
|
|
|
724
740
|
]
|
|
725
741
|
},
|
|
726
742
|
"acf:pull": {
|
|
727
|
-
"aliases": [
|
|
743
|
+
"aliases": [
|
|
744
|
+
"scf:pull"
|
|
745
|
+
],
|
|
728
746
|
"args": {
|
|
729
747
|
"path": {
|
|
730
748
|
"description": "Path to ACF directory (overrides project config)",
|
|
731
749
|
"name": "path"
|
|
732
750
|
}
|
|
733
751
|
},
|
|
734
|
-
"description": "Pull ACF field groups, post types, taxonomies, and options pages from WordPress",
|
|
752
|
+
"description": "Pull ACF field groups, post types, taxonomies, and options pages from WordPress into local files",
|
|
735
753
|
"examples": [
|
|
736
754
|
"$ lps acf pull",
|
|
737
755
|
"$ lps acf pull --type field-groups"
|
|
@@ -812,14 +830,16 @@
|
|
|
812
830
|
]
|
|
813
831
|
},
|
|
814
832
|
"acf:push": {
|
|
815
|
-
"aliases": [
|
|
833
|
+
"aliases": [
|
|
834
|
+
"scf:push"
|
|
835
|
+
],
|
|
816
836
|
"args": {
|
|
817
837
|
"path": {
|
|
818
838
|
"description": "Path to ACF directory (overrides project config)",
|
|
819
839
|
"name": "path"
|
|
820
840
|
}
|
|
821
841
|
},
|
|
822
|
-
"description": "Push ACF field groups, post types, taxonomies, and options pages to WordPress",
|
|
842
|
+
"description": "Push local ACF field groups, post types, taxonomies, and options pages to WordPress",
|
|
823
843
|
"examples": [
|
|
824
844
|
"$ lps acf push",
|
|
825
845
|
"$ lps acf push --type field-groups"
|
|
@@ -839,6 +859,12 @@
|
|
|
839
859
|
"multiple": false,
|
|
840
860
|
"type": "option"
|
|
841
861
|
},
|
|
862
|
+
"overwrite": {
|
|
863
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
864
|
+
"name": "overwrite",
|
|
865
|
+
"allowNo": false,
|
|
866
|
+
"type": "boolean"
|
|
867
|
+
},
|
|
842
868
|
"production-confirmed": {
|
|
843
869
|
"hidden": true,
|
|
844
870
|
"name": "production-confirmed",
|
|
@@ -906,7 +932,9 @@
|
|
|
906
932
|
]
|
|
907
933
|
},
|
|
908
934
|
"acf:rollback": {
|
|
909
|
-
"aliases": [
|
|
935
|
+
"aliases": [
|
|
936
|
+
"scf:rollback"
|
|
937
|
+
],
|
|
910
938
|
"args": {
|
|
911
939
|
"path": {
|
|
912
940
|
"description": "Path to ACF directory (overrides project config)",
|
|
@@ -1075,7 +1103,7 @@
|
|
|
1075
1103
|
"api:list": {
|
|
1076
1104
|
"aliases": [],
|
|
1077
1105
|
"args": {},
|
|
1078
|
-
"description": "List custom API route files
|
|
1106
|
+
"description": "List custom API route files currently on WordPress",
|
|
1079
1107
|
"examples": [
|
|
1080
1108
|
"$ lps api list"
|
|
1081
1109
|
],
|
|
@@ -1165,7 +1193,7 @@
|
|
|
1165
1193
|
"name": "path"
|
|
1166
1194
|
}
|
|
1167
1195
|
},
|
|
1168
|
-
"description": "Pull custom API route files from WordPress",
|
|
1196
|
+
"description": "Pull custom API route files from WordPress into local files",
|
|
1169
1197
|
"examples": [
|
|
1170
1198
|
"$ lps api pull",
|
|
1171
1199
|
"$ lps api pull --path ./api"
|
|
@@ -1240,7 +1268,7 @@
|
|
|
1240
1268
|
"name": "path"
|
|
1241
1269
|
}
|
|
1242
1270
|
},
|
|
1243
|
-
"description": "Push custom API route files to WordPress",
|
|
1271
|
+
"description": "Push local custom API route files to WordPress",
|
|
1244
1272
|
"examples": [
|
|
1245
1273
|
"$ lps api push",
|
|
1246
1274
|
"$ lps api push --path ./api",
|
|
@@ -1261,6 +1289,12 @@
|
|
|
1261
1289
|
"multiple": false,
|
|
1262
1290
|
"type": "option"
|
|
1263
1291
|
},
|
|
1292
|
+
"overwrite": {
|
|
1293
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
1294
|
+
"name": "overwrite",
|
|
1295
|
+
"allowNo": false,
|
|
1296
|
+
"type": "boolean"
|
|
1297
|
+
},
|
|
1264
1298
|
"production-confirmed": {
|
|
1265
1299
|
"hidden": true,
|
|
1266
1300
|
"name": "production-confirmed",
|
|
@@ -1331,7 +1365,7 @@
|
|
|
1331
1365
|
"required": true
|
|
1332
1366
|
}
|
|
1333
1367
|
},
|
|
1334
|
-
"description": "Remove
|
|
1368
|
+
"description": "Remove one custom API route file from WordPress",
|
|
1335
1369
|
"examples": [
|
|
1336
1370
|
"$ lps api rm hello",
|
|
1337
1371
|
"$ lps api remove hello --yes"
|
|
@@ -1547,7 +1581,7 @@
|
|
|
1547
1581
|
"composer:pull": {
|
|
1548
1582
|
"aliases": [],
|
|
1549
1583
|
"args": {},
|
|
1550
|
-
"description": "Pull composer.json and composer.lock from WordPress",
|
|
1584
|
+
"description": "Pull composer.json and composer.lock from WordPress into local files",
|
|
1551
1585
|
"examples": [
|
|
1552
1586
|
"$ lps composer pull",
|
|
1553
1587
|
"$ lps composer pull --dry-run"
|
|
@@ -1630,6 +1664,12 @@
|
|
|
1630
1664
|
"multiple": false,
|
|
1631
1665
|
"type": "option"
|
|
1632
1666
|
},
|
|
1667
|
+
"overwrite": {
|
|
1668
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
1669
|
+
"name": "overwrite",
|
|
1670
|
+
"allowNo": false,
|
|
1671
|
+
"type": "boolean"
|
|
1672
|
+
},
|
|
1633
1673
|
"production-confirmed": {
|
|
1634
1674
|
"hidden": true,
|
|
1635
1675
|
"name": "production-confirmed",
|
|
@@ -1689,19 +1729,19 @@
|
|
|
1689
1729
|
"push.js"
|
|
1690
1730
|
]
|
|
1691
1731
|
},
|
|
1692
|
-
"
|
|
1732
|
+
"content:copy": {
|
|
1693
1733
|
"aliases": [],
|
|
1694
1734
|
"args": {
|
|
1695
|
-
"
|
|
1696
|
-
"description": "
|
|
1697
|
-
"name": "
|
|
1735
|
+
"from": {
|
|
1736
|
+
"description": "Environment to copy the content from",
|
|
1737
|
+
"name": "from",
|
|
1738
|
+
"required": true
|
|
1698
1739
|
}
|
|
1699
1740
|
},
|
|
1700
|
-
"description": "
|
|
1741
|
+
"description": "Replace the local site's content (posts, pages, public custom post types, terms) with the content of <from>, then push the project to the local site so tracked configuration wins. Media stay served by <from>, users, comments and orders are never copied.",
|
|
1701
1742
|
"examples": [
|
|
1702
|
-
"$ lps
|
|
1703
|
-
"$ lps
|
|
1704
|
-
"$ lps cpt diff --env staging --against production"
|
|
1743
|
+
"$ lps content copy production",
|
|
1744
|
+
"$ lps content copy staging --dry-run"
|
|
1705
1745
|
],
|
|
1706
1746
|
"flags": {
|
|
1707
1747
|
"json": {
|
|
@@ -1712,23 +1752,30 @@
|
|
|
1712
1752
|
"type": "boolean"
|
|
1713
1753
|
},
|
|
1714
1754
|
"env": {
|
|
1715
|
-
"
|
|
1755
|
+
"hidden": true,
|
|
1716
1756
|
"name": "env",
|
|
1717
1757
|
"hasDynamicHelp": false,
|
|
1718
1758
|
"multiple": false,
|
|
1719
1759
|
"type": "option"
|
|
1720
1760
|
},
|
|
1721
|
-
"
|
|
1722
|
-
"
|
|
1723
|
-
"
|
|
1724
|
-
"
|
|
1725
|
-
"
|
|
1726
|
-
"type": "
|
|
1761
|
+
"dry-run": {
|
|
1762
|
+
"char": "d",
|
|
1763
|
+
"description": "Show what would change without making changes",
|
|
1764
|
+
"name": "dry-run",
|
|
1765
|
+
"allowNo": false,
|
|
1766
|
+
"type": "boolean"
|
|
1767
|
+
},
|
|
1768
|
+
"yes": {
|
|
1769
|
+
"char": "y",
|
|
1770
|
+
"description": "Answer yes to confirmation prompts",
|
|
1771
|
+
"name": "yes",
|
|
1772
|
+
"allowNo": false,
|
|
1773
|
+
"type": "boolean"
|
|
1727
1774
|
}
|
|
1728
1775
|
},
|
|
1729
1776
|
"hasDynamicHelp": false,
|
|
1730
1777
|
"hiddenAliases": [],
|
|
1731
|
-
"id": "
|
|
1778
|
+
"id": "content:copy",
|
|
1732
1779
|
"pluginAlias": "@loopress/cli",
|
|
1733
1780
|
"pluginName": "@loopress/cli",
|
|
1734
1781
|
"pluginType": "core",
|
|
@@ -1750,28 +1797,20 @@
|
|
|
1750
1797
|
"type": "boolean"
|
|
1751
1798
|
}
|
|
1752
1799
|
},
|
|
1753
|
-
"againstFlag": {
|
|
1754
|
-
"against": {
|
|
1755
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
1756
|
-
"input": [],
|
|
1757
|
-
"multiple": false,
|
|
1758
|
-
"type": "option"
|
|
1759
|
-
}
|
|
1760
|
-
},
|
|
1761
1800
|
"isESM": true,
|
|
1762
1801
|
"relativePath": [
|
|
1763
1802
|
"dist",
|
|
1764
1803
|
"commands",
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1804
|
+
"content",
|
|
1805
|
+
"copy.js"
|
|
1767
1806
|
]
|
|
1768
1807
|
},
|
|
1769
|
-
"
|
|
1808
|
+
"app:list": {
|
|
1770
1809
|
"aliases": [],
|
|
1771
1810
|
"args": {},
|
|
1772
|
-
"description": "List
|
|
1811
|
+
"description": "List single-page apps deployed to WordPress",
|
|
1773
1812
|
"examples": [
|
|
1774
|
-
"$ lps
|
|
1813
|
+
"$ lps app list"
|
|
1775
1814
|
],
|
|
1776
1815
|
"flags": {
|
|
1777
1816
|
"json": {
|
|
@@ -1791,7 +1830,7 @@
|
|
|
1791
1830
|
},
|
|
1792
1831
|
"hasDynamicHelp": false,
|
|
1793
1832
|
"hiddenAliases": [],
|
|
1794
|
-
"id": "
|
|
1833
|
+
"id": "app:list",
|
|
1795
1834
|
"pluginAlias": "@loopress/cli",
|
|
1796
1835
|
"pluginName": "@loopress/cli",
|
|
1797
1836
|
"pluginType": "core",
|
|
@@ -1817,21 +1856,21 @@
|
|
|
1817
1856
|
"relativePath": [
|
|
1818
1857
|
"dist",
|
|
1819
1858
|
"commands",
|
|
1820
|
-
"
|
|
1859
|
+
"app",
|
|
1821
1860
|
"list.js"
|
|
1822
1861
|
]
|
|
1823
1862
|
},
|
|
1824
|
-
"
|
|
1863
|
+
"app:pull": {
|
|
1825
1864
|
"aliases": [],
|
|
1826
1865
|
"args": {
|
|
1827
1866
|
"path": {
|
|
1828
|
-
"description": "Path to
|
|
1867
|
+
"description": "Path to apps directory (overrides project config)",
|
|
1829
1868
|
"name": "path"
|
|
1830
1869
|
}
|
|
1831
1870
|
},
|
|
1832
|
-
"description": "Pull
|
|
1871
|
+
"description": "Pull single-page app bundles from WordPress into local files",
|
|
1833
1872
|
"examples": [
|
|
1834
|
-
"$ lps
|
|
1873
|
+
"$ lps app pull"
|
|
1835
1874
|
],
|
|
1836
1875
|
"flags": {
|
|
1837
1876
|
"json": {
|
|
@@ -1865,7 +1904,7 @@
|
|
|
1865
1904
|
},
|
|
1866
1905
|
"hasDynamicHelp": false,
|
|
1867
1906
|
"hiddenAliases": [],
|
|
1868
|
-
"id": "
|
|
1907
|
+
"id": "app:pull",
|
|
1869
1908
|
"pluginAlias": "@loopress/cli",
|
|
1870
1909
|
"pluginName": "@loopress/cli",
|
|
1871
1910
|
"pluginType": "core",
|
|
@@ -1891,21 +1930,23 @@
|
|
|
1891
1930
|
"relativePath": [
|
|
1892
1931
|
"dist",
|
|
1893
1932
|
"commands",
|
|
1894
|
-
"
|
|
1933
|
+
"app",
|
|
1895
1934
|
"pull.js"
|
|
1896
1935
|
]
|
|
1897
1936
|
},
|
|
1898
|
-
"
|
|
1937
|
+
"app:push": {
|
|
1899
1938
|
"aliases": [],
|
|
1900
1939
|
"args": {
|
|
1901
|
-
"
|
|
1902
|
-
"description": "
|
|
1903
|
-
"name": "
|
|
1940
|
+
"name": {
|
|
1941
|
+
"description": "Push only this app (defaults to every app in the directory)",
|
|
1942
|
+
"name": "name"
|
|
1904
1943
|
}
|
|
1905
1944
|
},
|
|
1906
|
-
"description": "
|
|
1945
|
+
"description": "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.",
|
|
1907
1946
|
"examples": [
|
|
1908
|
-
"$ lps
|
|
1947
|
+
"$ lps app push",
|
|
1948
|
+
"$ lps app push search",
|
|
1949
|
+
"$ lps app push --no-build"
|
|
1909
1950
|
],
|
|
1910
1951
|
"flags": {
|
|
1911
1952
|
"json": {
|
|
@@ -1922,12 +1963,24 @@
|
|
|
1922
1963
|
"multiple": false,
|
|
1923
1964
|
"type": "option"
|
|
1924
1965
|
},
|
|
1966
|
+
"overwrite": {
|
|
1967
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
1968
|
+
"name": "overwrite",
|
|
1969
|
+
"allowNo": false,
|
|
1970
|
+
"type": "boolean"
|
|
1971
|
+
},
|
|
1925
1972
|
"production-confirmed": {
|
|
1926
1973
|
"hidden": true,
|
|
1927
1974
|
"name": "production-confirmed",
|
|
1928
1975
|
"allowNo": false,
|
|
1929
1976
|
"type": "boolean"
|
|
1930
1977
|
},
|
|
1978
|
+
"build": {
|
|
1979
|
+
"description": "Run the app's package.json build script before pushing",
|
|
1980
|
+
"name": "build",
|
|
1981
|
+
"allowNo": true,
|
|
1982
|
+
"type": "boolean"
|
|
1983
|
+
},
|
|
1931
1984
|
"dry-run": {
|
|
1932
1985
|
"char": "d",
|
|
1933
1986
|
"description": "Show what would change without making changes",
|
|
@@ -1945,7 +1998,7 @@
|
|
|
1945
1998
|
},
|
|
1946
1999
|
"hasDynamicHelp": false,
|
|
1947
2000
|
"hiddenAliases": [],
|
|
1948
|
-
"id": "
|
|
2001
|
+
"id": "app:push",
|
|
1949
2002
|
"pluginAlias": "@loopress/cli",
|
|
1950
2003
|
"pluginName": "@loopress/cli",
|
|
1951
2004
|
"pluginType": "core",
|
|
@@ -1971,25 +2024,22 @@
|
|
|
1971
2024
|
"relativePath": [
|
|
1972
2025
|
"dist",
|
|
1973
2026
|
"commands",
|
|
1974
|
-
"
|
|
2027
|
+
"app",
|
|
1975
2028
|
"push.js"
|
|
1976
2029
|
]
|
|
1977
2030
|
},
|
|
1978
|
-
"
|
|
1979
|
-
"aliases": [
|
|
1980
|
-
"cpt:remove"
|
|
1981
|
-
],
|
|
2031
|
+
"app:remove": {
|
|
2032
|
+
"aliases": [],
|
|
1982
2033
|
"args": {
|
|
1983
|
-
"
|
|
1984
|
-
"description": "
|
|
1985
|
-
"name": "
|
|
2034
|
+
"name": {
|
|
2035
|
+
"description": "App to remove from WordPress",
|
|
2036
|
+
"name": "name",
|
|
1986
2037
|
"required": true
|
|
1987
2038
|
}
|
|
1988
2039
|
},
|
|
1989
|
-
"description": "
|
|
2040
|
+
"description": "Remove a single-page app from WordPress: deletes its bundle from wp-content/loopress/apps/ and unregisters the shortcode. Local files are left untouched.",
|
|
1990
2041
|
"examples": [
|
|
1991
|
-
"$ lps
|
|
1992
|
-
"$ lps cpt remove <slug> --yes"
|
|
2042
|
+
"$ lps app remove search"
|
|
1993
2043
|
],
|
|
1994
2044
|
"flags": {
|
|
1995
2045
|
"json": {
|
|
@@ -2023,7 +2073,7 @@
|
|
|
2023
2073
|
},
|
|
2024
2074
|
"hasDynamicHelp": false,
|
|
2025
2075
|
"hiddenAliases": [],
|
|
2026
|
-
"id": "
|
|
2076
|
+
"id": "app:remove",
|
|
2027
2077
|
"pluginAlias": "@loopress/cli",
|
|
2028
2078
|
"pluginName": "@loopress/cli",
|
|
2029
2079
|
"pluginType": "core",
|
|
@@ -2049,11 +2099,11 @@
|
|
|
2049
2099
|
"relativePath": [
|
|
2050
2100
|
"dist",
|
|
2051
2101
|
"commands",
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2102
|
+
"app",
|
|
2103
|
+
"remove.js"
|
|
2054
2104
|
]
|
|
2055
2105
|
},
|
|
2056
|
-
"cpt:
|
|
2106
|
+
"cpt:diff": {
|
|
2057
2107
|
"aliases": [],
|
|
2058
2108
|
"args": {
|
|
2059
2109
|
"path": {
|
|
@@ -2061,12 +2111,11 @@
|
|
|
2061
2111
|
"name": "path"
|
|
2062
2112
|
}
|
|
2063
2113
|
},
|
|
2064
|
-
"description": "
|
|
2114
|
+
"description": "Show what differs in custom post types between your local cpt/ files and a WordPress environment, or between two environments",
|
|
2065
2115
|
"examples": [
|
|
2066
|
-
"$ lps cpt
|
|
2067
|
-
"$ lps cpt
|
|
2068
|
-
"$ lps cpt
|
|
2069
|
-
"$ lps cpt rollback --dry-run"
|
|
2116
|
+
"$ lps cpt diff",
|
|
2117
|
+
"$ lps cpt diff --env staging",
|
|
2118
|
+
"$ lps cpt diff --env staging --against production"
|
|
2070
2119
|
],
|
|
2071
2120
|
"flags": {
|
|
2072
2121
|
"json": {
|
|
@@ -2083,29 +2132,9 @@
|
|
|
2083
2132
|
"multiple": false,
|
|
2084
2133
|
"type": "option"
|
|
2085
2134
|
},
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
2088
|
-
"
|
|
2089
|
-
"name": "dry-run",
|
|
2090
|
-
"allowNo": false,
|
|
2091
|
-
"type": "boolean"
|
|
2092
|
-
},
|
|
2093
|
-
"yes": {
|
|
2094
|
-
"char": "y",
|
|
2095
|
-
"description": "Answer yes to confirmation prompts",
|
|
2096
|
-
"name": "yes",
|
|
2097
|
-
"allowNo": false,
|
|
2098
|
-
"type": "boolean"
|
|
2099
|
-
},
|
|
2100
|
-
"list": {
|
|
2101
|
-
"description": "List available snapshots instead of rolling back",
|
|
2102
|
-
"name": "list",
|
|
2103
|
-
"allowNo": false,
|
|
2104
|
-
"type": "boolean"
|
|
2105
|
-
},
|
|
2106
|
-
"to": {
|
|
2107
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2108
|
-
"name": "to",
|
|
2135
|
+
"against": {
|
|
2136
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2137
|
+
"name": "against",
|
|
2109
2138
|
"hasDynamicHelp": false,
|
|
2110
2139
|
"multiple": false,
|
|
2111
2140
|
"type": "option"
|
|
@@ -2113,7 +2142,7 @@
|
|
|
2113
2142
|
},
|
|
2114
2143
|
"hasDynamicHelp": false,
|
|
2115
2144
|
"hiddenAliases": [],
|
|
2116
|
-
"id": "cpt:
|
|
2145
|
+
"id": "cpt:diff",
|
|
2117
2146
|
"pluginAlias": "@loopress/cli",
|
|
2118
2147
|
"pluginName": "@loopress/cli",
|
|
2119
2148
|
"pluginType": "core",
|
|
@@ -2135,20 +2164,28 @@
|
|
|
2135
2164
|
"type": "boolean"
|
|
2136
2165
|
}
|
|
2137
2166
|
},
|
|
2167
|
+
"againstFlag": {
|
|
2168
|
+
"against": {
|
|
2169
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2170
|
+
"input": [],
|
|
2171
|
+
"multiple": false,
|
|
2172
|
+
"type": "option"
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2138
2175
|
"isESM": true,
|
|
2139
2176
|
"relativePath": [
|
|
2140
2177
|
"dist",
|
|
2141
2178
|
"commands",
|
|
2142
2179
|
"cpt",
|
|
2143
|
-
"
|
|
2180
|
+
"diff.js"
|
|
2144
2181
|
]
|
|
2145
2182
|
},
|
|
2146
|
-
"
|
|
2183
|
+
"cpt:list": {
|
|
2147
2184
|
"aliases": [],
|
|
2148
2185
|
"args": {},
|
|
2149
|
-
"description": "List
|
|
2186
|
+
"description": "List the post types registered on WordPress and where each comes from (Loopress, WordPress, ACF, CPT UI, a theme or plugin). Only Loopress ones are pulled and pushed.",
|
|
2150
2187
|
"examples": [
|
|
2151
|
-
"$ lps
|
|
2188
|
+
"$ lps cpt list"
|
|
2152
2189
|
],
|
|
2153
2190
|
"flags": {
|
|
2154
2191
|
"json": {
|
|
@@ -2168,7 +2205,7 @@
|
|
|
2168
2205
|
},
|
|
2169
2206
|
"hasDynamicHelp": false,
|
|
2170
2207
|
"hiddenAliases": [],
|
|
2171
|
-
"id": "
|
|
2208
|
+
"id": "cpt:list",
|
|
2172
2209
|
"pluginAlias": "@loopress/cli",
|
|
2173
2210
|
"pluginName": "@loopress/cli",
|
|
2174
2211
|
"pluginType": "core",
|
|
@@ -2194,21 +2231,21 @@
|
|
|
2194
2231
|
"relativePath": [
|
|
2195
2232
|
"dist",
|
|
2196
2233
|
"commands",
|
|
2197
|
-
"
|
|
2234
|
+
"cpt",
|
|
2198
2235
|
"list.js"
|
|
2199
2236
|
]
|
|
2200
2237
|
},
|
|
2201
|
-
"
|
|
2238
|
+
"cpt:pull": {
|
|
2202
2239
|
"aliases": [],
|
|
2203
2240
|
"args": {
|
|
2204
2241
|
"path": {
|
|
2205
|
-
"description": "Path to
|
|
2242
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2206
2243
|
"name": "path"
|
|
2207
2244
|
}
|
|
2208
2245
|
},
|
|
2209
|
-
"description": "Pull
|
|
2246
|
+
"description": "Pull the custom post types Loopress manages on WordPress into cpt/<slug>.json files. Post types registered by a theme or another plugin are never pulled, see `lps cpt list`.",
|
|
2210
2247
|
"examples": [
|
|
2211
|
-
"$ lps
|
|
2248
|
+
"$ lps cpt pull"
|
|
2212
2249
|
],
|
|
2213
2250
|
"flags": {
|
|
2214
2251
|
"json": {
|
|
@@ -2242,7 +2279,7 @@
|
|
|
2242
2279
|
},
|
|
2243
2280
|
"hasDynamicHelp": false,
|
|
2244
2281
|
"hiddenAliases": [],
|
|
2245
|
-
"id": "
|
|
2282
|
+
"id": "cpt:pull",
|
|
2246
2283
|
"pluginAlias": "@loopress/cli",
|
|
2247
2284
|
"pluginName": "@loopress/cli",
|
|
2248
2285
|
"pluginType": "core",
|
|
@@ -2268,23 +2305,21 @@
|
|
|
2268
2305
|
"relativePath": [
|
|
2269
2306
|
"dist",
|
|
2270
2307
|
"commands",
|
|
2271
|
-
"
|
|
2308
|
+
"cpt",
|
|
2272
2309
|
"pull.js"
|
|
2273
2310
|
]
|
|
2274
2311
|
},
|
|
2275
|
-
"
|
|
2312
|
+
"cpt:push": {
|
|
2276
2313
|
"aliases": [],
|
|
2277
2314
|
"args": {
|
|
2278
|
-
"
|
|
2279
|
-
"description": "
|
|
2280
|
-
"name": "
|
|
2315
|
+
"path": {
|
|
2316
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2317
|
+
"name": "path"
|
|
2281
2318
|
}
|
|
2282
2319
|
},
|
|
2283
|
-
"description": "
|
|
2320
|
+
"description": "Push local custom post types (cpt/<slug>.json, register_post_type() arguments) to WordPress. Create or update only, never deletes a post type: use `lps cpt rm` for that.",
|
|
2284
2321
|
"examples": [
|
|
2285
|
-
"$ lps
|
|
2286
|
-
"$ lps app push search",
|
|
2287
|
-
"$ lps app push --no-build"
|
|
2322
|
+
"$ lps cpt push"
|
|
2288
2323
|
],
|
|
2289
2324
|
"flags": {
|
|
2290
2325
|
"json": {
|
|
@@ -2301,18 +2336,18 @@
|
|
|
2301
2336
|
"multiple": false,
|
|
2302
2337
|
"type": "option"
|
|
2303
2338
|
},
|
|
2339
|
+
"overwrite": {
|
|
2340
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
2341
|
+
"name": "overwrite",
|
|
2342
|
+
"allowNo": false,
|
|
2343
|
+
"type": "boolean"
|
|
2344
|
+
},
|
|
2304
2345
|
"production-confirmed": {
|
|
2305
2346
|
"hidden": true,
|
|
2306
2347
|
"name": "production-confirmed",
|
|
2307
2348
|
"allowNo": false,
|
|
2308
2349
|
"type": "boolean"
|
|
2309
2350
|
},
|
|
2310
|
-
"build": {
|
|
2311
|
-
"description": "Run the app's package.json build script before pushing",
|
|
2312
|
-
"name": "build",
|
|
2313
|
-
"allowNo": true,
|
|
2314
|
-
"type": "boolean"
|
|
2315
|
-
},
|
|
2316
2351
|
"dry-run": {
|
|
2317
2352
|
"char": "d",
|
|
2318
2353
|
"description": "Show what would change without making changes",
|
|
@@ -2330,7 +2365,7 @@
|
|
|
2330
2365
|
},
|
|
2331
2366
|
"hasDynamicHelp": false,
|
|
2332
2367
|
"hiddenAliases": [],
|
|
2333
|
-
"id": "
|
|
2368
|
+
"id": "cpt:push",
|
|
2334
2369
|
"pluginAlias": "@loopress/cli",
|
|
2335
2370
|
"pluginName": "@loopress/cli",
|
|
2336
2371
|
"pluginType": "core",
|
|
@@ -2356,22 +2391,25 @@
|
|
|
2356
2391
|
"relativePath": [
|
|
2357
2392
|
"dist",
|
|
2358
2393
|
"commands",
|
|
2359
|
-
"
|
|
2394
|
+
"cpt",
|
|
2360
2395
|
"push.js"
|
|
2361
2396
|
]
|
|
2362
2397
|
},
|
|
2363
|
-
"
|
|
2364
|
-
"aliases": [
|
|
2398
|
+
"cpt:rm": {
|
|
2399
|
+
"aliases": [
|
|
2400
|
+
"cpt:remove"
|
|
2401
|
+
],
|
|
2365
2402
|
"args": {
|
|
2366
|
-
"
|
|
2367
|
-
"description": "
|
|
2368
|
-
"name": "
|
|
2403
|
+
"slug": {
|
|
2404
|
+
"description": "The post type slug, its cpt/ file name without .json",
|
|
2405
|
+
"name": "slug",
|
|
2369
2406
|
"required": true
|
|
2370
2407
|
}
|
|
2371
2408
|
},
|
|
2372
|
-
"description": "
|
|
2409
|
+
"description": "Stop registering a Loopress custom post type on WordPress. Its posts are kept in the database, hidden until the post type is pushed again.",
|
|
2373
2410
|
"examples": [
|
|
2374
|
-
"$ lps
|
|
2411
|
+
"$ lps cpt rm <slug>",
|
|
2412
|
+
"$ lps cpt remove <slug> --yes"
|
|
2375
2413
|
],
|
|
2376
2414
|
"flags": {
|
|
2377
2415
|
"json": {
|
|
@@ -2405,7 +2443,7 @@
|
|
|
2405
2443
|
},
|
|
2406
2444
|
"hasDynamicHelp": false,
|
|
2407
2445
|
"hiddenAliases": [],
|
|
2408
|
-
"id": "
|
|
2446
|
+
"id": "cpt:rm",
|
|
2409
2447
|
"pluginAlias": "@loopress/cli",
|
|
2410
2448
|
"pluginName": "@loopress/cli",
|
|
2411
2449
|
"pluginType": "core",
|
|
@@ -2431,8 +2469,98 @@
|
|
|
2431
2469
|
"relativePath": [
|
|
2432
2470
|
"dist",
|
|
2433
2471
|
"commands",
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2472
|
+
"cpt",
|
|
2473
|
+
"rm.js"
|
|
2474
|
+
]
|
|
2475
|
+
},
|
|
2476
|
+
"cpt:rollback": {
|
|
2477
|
+
"aliases": [],
|
|
2478
|
+
"args": {
|
|
2479
|
+
"path": {
|
|
2480
|
+
"description": "Path to cpt directory (overrides project config)",
|
|
2481
|
+
"name": "path"
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2484
|
+
"description": "Restore custom post types to a snapshot taken automatically before an earlier `lps cpt push`",
|
|
2485
|
+
"examples": [
|
|
2486
|
+
"$ lps cpt rollback",
|
|
2487
|
+
"$ lps cpt rollback --list",
|
|
2488
|
+
"$ lps cpt rollback --to 1732000000000",
|
|
2489
|
+
"$ lps cpt rollback --dry-run"
|
|
2490
|
+
],
|
|
2491
|
+
"flags": {
|
|
2492
|
+
"json": {
|
|
2493
|
+
"description": "Format output as json.",
|
|
2494
|
+
"helpGroup": "GLOBAL",
|
|
2495
|
+
"name": "json",
|
|
2496
|
+
"allowNo": false,
|
|
2497
|
+
"type": "boolean"
|
|
2498
|
+
},
|
|
2499
|
+
"env": {
|
|
2500
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
2501
|
+
"name": "env",
|
|
2502
|
+
"hasDynamicHelp": false,
|
|
2503
|
+
"multiple": false,
|
|
2504
|
+
"type": "option"
|
|
2505
|
+
},
|
|
2506
|
+
"dry-run": {
|
|
2507
|
+
"char": "d",
|
|
2508
|
+
"description": "Show what would change without making changes",
|
|
2509
|
+
"name": "dry-run",
|
|
2510
|
+
"allowNo": false,
|
|
2511
|
+
"type": "boolean"
|
|
2512
|
+
},
|
|
2513
|
+
"yes": {
|
|
2514
|
+
"char": "y",
|
|
2515
|
+
"description": "Answer yes to confirmation prompts",
|
|
2516
|
+
"name": "yes",
|
|
2517
|
+
"allowNo": false,
|
|
2518
|
+
"type": "boolean"
|
|
2519
|
+
},
|
|
2520
|
+
"list": {
|
|
2521
|
+
"description": "List available snapshots instead of rolling back",
|
|
2522
|
+
"name": "list",
|
|
2523
|
+
"allowNo": false,
|
|
2524
|
+
"type": "boolean"
|
|
2525
|
+
},
|
|
2526
|
+
"to": {
|
|
2527
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2528
|
+
"name": "to",
|
|
2529
|
+
"hasDynamicHelp": false,
|
|
2530
|
+
"multiple": false,
|
|
2531
|
+
"type": "option"
|
|
2532
|
+
}
|
|
2533
|
+
},
|
|
2534
|
+
"hasDynamicHelp": false,
|
|
2535
|
+
"hiddenAliases": [],
|
|
2536
|
+
"id": "cpt:rollback",
|
|
2537
|
+
"pluginAlias": "@loopress/cli",
|
|
2538
|
+
"pluginName": "@loopress/cli",
|
|
2539
|
+
"pluginType": "core",
|
|
2540
|
+
"strict": true,
|
|
2541
|
+
"enableJsonFlag": true,
|
|
2542
|
+
"dryRunFlag": {
|
|
2543
|
+
"dry-run": {
|
|
2544
|
+
"char": "d",
|
|
2545
|
+
"description": "Show what would change without making changes",
|
|
2546
|
+
"allowNo": false,
|
|
2547
|
+
"type": "boolean"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
"yesFlag": {
|
|
2551
|
+
"yes": {
|
|
2552
|
+
"char": "y",
|
|
2553
|
+
"description": "Answer yes to confirmation prompts",
|
|
2554
|
+
"allowNo": false,
|
|
2555
|
+
"type": "boolean"
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
"isESM": true,
|
|
2559
|
+
"relativePath": [
|
|
2560
|
+
"dist",
|
|
2561
|
+
"commands",
|
|
2562
|
+
"cpt",
|
|
2563
|
+
"rollback.js"
|
|
2436
2564
|
]
|
|
2437
2565
|
},
|
|
2438
2566
|
"form:diff": {
|
|
@@ -2515,7 +2643,7 @@
|
|
|
2515
2643
|
"form:list": {
|
|
2516
2644
|
"aliases": [],
|
|
2517
2645
|
"args": {},
|
|
2518
|
-
"description": "List forms
|
|
2646
|
+
"description": "List forms currently on WordPress",
|
|
2519
2647
|
"examples": [
|
|
2520
2648
|
"$ lps form list"
|
|
2521
2649
|
],
|
|
@@ -2575,7 +2703,7 @@
|
|
|
2575
2703
|
"name": "path"
|
|
2576
2704
|
}
|
|
2577
2705
|
},
|
|
2578
|
-
"description": "Pull forms from WordPress",
|
|
2706
|
+
"description": "Pull forms from WordPress into local files",
|
|
2579
2707
|
"examples": [
|
|
2580
2708
|
"$ lps form pull"
|
|
2581
2709
|
],
|
|
@@ -2649,7 +2777,7 @@
|
|
|
2649
2777
|
"name": "path"
|
|
2650
2778
|
}
|
|
2651
2779
|
},
|
|
2652
|
-
"description": "Push
|
|
2780
|
+
"description": "Push local form files to WordPress. Local files created or updated remotely are renamed on disk to the `<id>-<slug>.json` convention.",
|
|
2653
2781
|
"examples": [
|
|
2654
2782
|
"$ lps form push",
|
|
2655
2783
|
"$ lps form push --allow-notifications"
|
|
@@ -2669,6 +2797,12 @@
|
|
|
2669
2797
|
"multiple": false,
|
|
2670
2798
|
"type": "option"
|
|
2671
2799
|
},
|
|
2800
|
+
"overwrite": {
|
|
2801
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
2802
|
+
"name": "overwrite",
|
|
2803
|
+
"allowNo": false,
|
|
2804
|
+
"type": "boolean"
|
|
2805
|
+
},
|
|
2672
2806
|
"production-confirmed": {
|
|
2673
2807
|
"hidden": true,
|
|
2674
2808
|
"name": "production-confirmed",
|
|
@@ -2898,7 +3032,7 @@
|
|
|
2898
3032
|
"hook:list": {
|
|
2899
3033
|
"aliases": [],
|
|
2900
3034
|
"args": {},
|
|
2901
|
-
"description": "List hook files (actions, filters, cron)
|
|
3035
|
+
"description": "List hook files (actions, filters, cron) currently on WordPress",
|
|
2902
3036
|
"examples": [
|
|
2903
3037
|
"$ lps hook list"
|
|
2904
3038
|
],
|
|
@@ -2958,7 +3092,7 @@
|
|
|
2958
3092
|
"name": "path"
|
|
2959
3093
|
}
|
|
2960
3094
|
},
|
|
2961
|
-
"description": "Pull hook files (actions, filters, cron) from WordPress",
|
|
3095
|
+
"description": "Pull hook files (actions, filters, cron) from WordPress into local files",
|
|
2962
3096
|
"examples": [
|
|
2963
3097
|
"$ lps hook pull",
|
|
2964
3098
|
"$ lps hook pull --path ./hooks"
|
|
@@ -3033,7 +3167,7 @@
|
|
|
3033
3167
|
"name": "path"
|
|
3034
3168
|
}
|
|
3035
3169
|
},
|
|
3036
|
-
"description": "Push hook files (actions, filters, cron) to WordPress",
|
|
3170
|
+
"description": "Push local hook files (actions, filters, cron) to WordPress",
|
|
3037
3171
|
"examples": [
|
|
3038
3172
|
"$ lps hook push",
|
|
3039
3173
|
"$ lps hook push --path ./hooks",
|
|
@@ -3054,6 +3188,12 @@
|
|
|
3054
3188
|
"multiple": false,
|
|
3055
3189
|
"type": "option"
|
|
3056
3190
|
},
|
|
3191
|
+
"overwrite": {
|
|
3192
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
3193
|
+
"name": "overwrite",
|
|
3194
|
+
"allowNo": false,
|
|
3195
|
+
"type": "boolean"
|
|
3196
|
+
},
|
|
3057
3197
|
"production-confirmed": {
|
|
3058
3198
|
"hidden": true,
|
|
3059
3199
|
"name": "production-confirmed",
|
|
@@ -3124,7 +3264,7 @@
|
|
|
3124
3264
|
"required": true
|
|
3125
3265
|
}
|
|
3126
3266
|
},
|
|
3127
|
-
"description": "Remove
|
|
3267
|
+
"description": "Remove one hook file (action, filter, cron) from WordPress",
|
|
3128
3268
|
"examples": [
|
|
3129
3269
|
"$ lps hook rm hello",
|
|
3130
3270
|
"$ lps hook remove hello --yes"
|
|
@@ -3514,6 +3654,12 @@
|
|
|
3514
3654
|
"multiple": false,
|
|
3515
3655
|
"type": "option"
|
|
3516
3656
|
},
|
|
3657
|
+
"overwrite": {
|
|
3658
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
3659
|
+
"name": "overwrite",
|
|
3660
|
+
"allowNo": false,
|
|
3661
|
+
"type": "boolean"
|
|
3662
|
+
},
|
|
3517
3663
|
"production-confirmed": {
|
|
3518
3664
|
"hidden": true,
|
|
3519
3665
|
"name": "production-confirmed",
|
|
@@ -3890,6 +4036,12 @@
|
|
|
3890
4036
|
"multiple": false,
|
|
3891
4037
|
"type": "option"
|
|
3892
4038
|
},
|
|
4039
|
+
"overwrite": {
|
|
4040
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
4041
|
+
"name": "overwrite",
|
|
4042
|
+
"allowNo": false,
|
|
4043
|
+
"type": "boolean"
|
|
4044
|
+
},
|
|
3893
4045
|
"production-confirmed": {
|
|
3894
4046
|
"hidden": true,
|
|
3895
4047
|
"name": "production-confirmed",
|
|
@@ -4427,6 +4579,12 @@
|
|
|
4427
4579
|
"multiple": false,
|
|
4428
4580
|
"type": "option"
|
|
4429
4581
|
},
|
|
4582
|
+
"overwrite": {
|
|
4583
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
4584
|
+
"name": "overwrite",
|
|
4585
|
+
"allowNo": false,
|
|
4586
|
+
"type": "boolean"
|
|
4587
|
+
},
|
|
4430
4588
|
"production-confirmed": {
|
|
4431
4589
|
"hidden": true,
|
|
4432
4590
|
"name": "production-confirmed",
|
|
@@ -4799,11 +4957,12 @@
|
|
|
4799
4957
|
"name": "slug"
|
|
4800
4958
|
}
|
|
4801
4959
|
},
|
|
4802
|
-
"description": "Push static HTML pages (pages/<slug>.html) to WordPress. The `status` header (draft or publish, draft by default) is applied on every push.",
|
|
4960
|
+
"description": "Push local static HTML pages (pages/<slug>.html) to WordPress, or only one when a slug is given. The `status` header (draft or publish, draft by default) is applied on every push.",
|
|
4803
4961
|
"examples": [
|
|
4804
4962
|
"$ lps page push",
|
|
4805
4963
|
"$ lps page push legal-notice",
|
|
4806
|
-
"$ lps page push --dry-run"
|
|
4964
|
+
"$ lps page push --dry-run",
|
|
4965
|
+
"$ lps page push about --overwrite"
|
|
4807
4966
|
],
|
|
4808
4967
|
"flags": {
|
|
4809
4968
|
"json": {
|
|
@@ -4820,6 +4979,12 @@
|
|
|
4820
4979
|
"multiple": false,
|
|
4821
4980
|
"type": "option"
|
|
4822
4981
|
},
|
|
4982
|
+
"overwrite": {
|
|
4983
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
4984
|
+
"name": "overwrite",
|
|
4985
|
+
"allowNo": false,
|
|
4986
|
+
"type": "boolean"
|
|
4987
|
+
},
|
|
4823
4988
|
"production-confirmed": {
|
|
4824
4989
|
"hidden": true,
|
|
4825
4990
|
"name": "production-confirmed",
|
|
@@ -5087,7 +5252,7 @@
|
|
|
5087
5252
|
"name": "path"
|
|
5088
5253
|
}
|
|
5089
5254
|
},
|
|
5090
|
-
"description": "Push local block patterns (patterns/<slug>.html, block markup under a title/categories header) to WordPress, registered as loopress/<slug
|
|
5255
|
+
"description": "Push local block patterns (patterns/<slug>.html, block markup under a title/categories header) to WordPress, registered as loopress/<slug> and referenced with <!-- wp:pattern {\"slug\":\"loopress/<slug>\"} /-->. Create or update only, never deletes a pattern (use `lps pattern rm`).",
|
|
5091
5256
|
"examples": [
|
|
5092
5257
|
"$ lps pattern push"
|
|
5093
5258
|
],
|
|
@@ -5106,6 +5271,12 @@
|
|
|
5106
5271
|
"multiple": false,
|
|
5107
5272
|
"type": "option"
|
|
5108
5273
|
},
|
|
5274
|
+
"overwrite": {
|
|
5275
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
5276
|
+
"name": "overwrite",
|
|
5277
|
+
"allowNo": false,
|
|
5278
|
+
"type": "boolean"
|
|
5279
|
+
},
|
|
5109
5280
|
"production-confirmed": {
|
|
5110
5281
|
"hidden": true,
|
|
5111
5282
|
"name": "production-confirmed",
|
|
@@ -5170,7 +5341,7 @@
|
|
|
5170
5341
|
"required": true
|
|
5171
5342
|
}
|
|
5172
5343
|
},
|
|
5173
|
-
"description": "Stop registering a Loopress block pattern on WordPress. A wp:pattern reference to it renders nothing, copies already inserted in posts stay.",
|
|
5344
|
+
"description": "Stop registering a Loopress block pattern on WordPress. A wp:pattern reference to it renders nothing until it is pushed again, copies already inserted in posts stay.",
|
|
5174
5345
|
"examples": [
|
|
5175
5346
|
"$ lps pattern rm <slug>",
|
|
5176
5347
|
"$ lps pattern remove <slug> --yes"
|
|
@@ -5327,36 +5498,89 @@
|
|
|
5327
5498
|
"rollback.js"
|
|
5328
5499
|
]
|
|
5329
5500
|
},
|
|
5330
|
-
"
|
|
5501
|
+
"plugin:add": {
|
|
5331
5502
|
"aliases": [],
|
|
5332
|
-
"args": {
|
|
5333
|
-
|
|
5503
|
+
"args": {
|
|
5504
|
+
"slug": {
|
|
5505
|
+
"description": "Plugin slug on WordPress.org",
|
|
5506
|
+
"name": "slug",
|
|
5507
|
+
"required": true
|
|
5508
|
+
}
|
|
5509
|
+
},
|
|
5510
|
+
"description": "Add a WordPress.org plugin to loopress.json",
|
|
5334
5511
|
"examples": [
|
|
5335
|
-
"$ lps
|
|
5512
|
+
"$ lps plugin add woocommerce",
|
|
5513
|
+
"$ lps plugin add woocommerce --version 9.4.2",
|
|
5514
|
+
"$ lps plugin add contact-form-7 --dry-run"
|
|
5336
5515
|
],
|
|
5337
|
-
"flags": {
|
|
5516
|
+
"flags": {
|
|
5517
|
+
"json": {
|
|
5518
|
+
"description": "Format output as json.",
|
|
5519
|
+
"helpGroup": "GLOBAL",
|
|
5520
|
+
"name": "json",
|
|
5521
|
+
"allowNo": false,
|
|
5522
|
+
"type": "boolean"
|
|
5523
|
+
},
|
|
5524
|
+
"env": {
|
|
5525
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5526
|
+
"name": "env",
|
|
5527
|
+
"hasDynamicHelp": false,
|
|
5528
|
+
"multiple": false,
|
|
5529
|
+
"type": "option"
|
|
5530
|
+
},
|
|
5531
|
+
"dry-run": {
|
|
5532
|
+
"char": "d",
|
|
5533
|
+
"description": "Show what would change without making changes",
|
|
5534
|
+
"name": "dry-run",
|
|
5535
|
+
"allowNo": false,
|
|
5536
|
+
"type": "boolean"
|
|
5537
|
+
},
|
|
5538
|
+
"version": {
|
|
5539
|
+
"description": "Exact version to pin (default: \"latest\", tracked on every push)",
|
|
5540
|
+
"name": "version",
|
|
5541
|
+
"hasDynamicHelp": false,
|
|
5542
|
+
"multiple": false,
|
|
5543
|
+
"type": "option"
|
|
5544
|
+
}
|
|
5545
|
+
},
|
|
5338
5546
|
"hasDynamicHelp": false,
|
|
5339
5547
|
"hiddenAliases": [],
|
|
5340
|
-
"id": "
|
|
5548
|
+
"id": "plugin:add",
|
|
5341
5549
|
"pluginAlias": "@loopress/cli",
|
|
5342
5550
|
"pluginName": "@loopress/cli",
|
|
5343
5551
|
"pluginType": "core",
|
|
5344
5552
|
"strict": true,
|
|
5345
|
-
"enableJsonFlag":
|
|
5553
|
+
"enableJsonFlag": true,
|
|
5554
|
+
"dryRunFlag": {
|
|
5555
|
+
"dry-run": {
|
|
5556
|
+
"char": "d",
|
|
5557
|
+
"description": "Show what would change without making changes",
|
|
5558
|
+
"allowNo": false,
|
|
5559
|
+
"type": "boolean"
|
|
5560
|
+
}
|
|
5561
|
+
},
|
|
5562
|
+
"yesFlag": {
|
|
5563
|
+
"yes": {
|
|
5564
|
+
"char": "y",
|
|
5565
|
+
"description": "Answer yes to confirmation prompts",
|
|
5566
|
+
"allowNo": false,
|
|
5567
|
+
"type": "boolean"
|
|
5568
|
+
}
|
|
5569
|
+
},
|
|
5346
5570
|
"isESM": true,
|
|
5347
5571
|
"relativePath": [
|
|
5348
5572
|
"dist",
|
|
5349
5573
|
"commands",
|
|
5350
|
-
"
|
|
5351
|
-
"
|
|
5574
|
+
"plugin",
|
|
5575
|
+
"add.js"
|
|
5352
5576
|
]
|
|
5353
5577
|
},
|
|
5354
|
-
"
|
|
5578
|
+
"plugin:audit": {
|
|
5355
5579
|
"aliases": [],
|
|
5356
5580
|
"args": {},
|
|
5357
|
-
"description": "
|
|
5581
|
+
"description": "Check the plugins in loopress.json for known vulnerabilities (wpvulnerability.net) and health issues",
|
|
5358
5582
|
"examples": [
|
|
5359
|
-
"$ lps
|
|
5583
|
+
"$ lps plugin audit"
|
|
5360
5584
|
],
|
|
5361
5585
|
"flags": {
|
|
5362
5586
|
"json": {
|
|
@@ -5365,129 +5589,100 @@
|
|
|
5365
5589
|
"name": "json",
|
|
5366
5590
|
"allowNo": false,
|
|
5367
5591
|
"type": "boolean"
|
|
5592
|
+
},
|
|
5593
|
+
"env": {
|
|
5594
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5595
|
+
"name": "env",
|
|
5596
|
+
"hasDynamicHelp": false,
|
|
5597
|
+
"multiple": false,
|
|
5598
|
+
"type": "option"
|
|
5368
5599
|
}
|
|
5369
5600
|
},
|
|
5370
5601
|
"hasDynamicHelp": false,
|
|
5371
5602
|
"hiddenAliases": [],
|
|
5372
|
-
"id": "
|
|
5603
|
+
"id": "plugin:audit",
|
|
5373
5604
|
"pluginAlias": "@loopress/cli",
|
|
5374
5605
|
"pluginName": "@loopress/cli",
|
|
5375
5606
|
"pluginType": "core",
|
|
5376
5607
|
"strict": true,
|
|
5377
5608
|
"enableJsonFlag": true,
|
|
5609
|
+
"dryRunFlag": {
|
|
5610
|
+
"dry-run": {
|
|
5611
|
+
"char": "d",
|
|
5612
|
+
"description": "Show what would change without making changes",
|
|
5613
|
+
"allowNo": false,
|
|
5614
|
+
"type": "boolean"
|
|
5615
|
+
}
|
|
5616
|
+
},
|
|
5617
|
+
"yesFlag": {
|
|
5618
|
+
"yes": {
|
|
5619
|
+
"char": "y",
|
|
5620
|
+
"description": "Answer yes to confirmation prompts",
|
|
5621
|
+
"allowNo": false,
|
|
5622
|
+
"type": "boolean"
|
|
5623
|
+
}
|
|
5624
|
+
},
|
|
5378
5625
|
"isESM": true,
|
|
5379
5626
|
"relativePath": [
|
|
5380
5627
|
"dist",
|
|
5381
5628
|
"commands",
|
|
5382
|
-
"
|
|
5383
|
-
"
|
|
5629
|
+
"plugin",
|
|
5630
|
+
"audit.js"
|
|
5384
5631
|
]
|
|
5385
5632
|
},
|
|
5386
|
-
"
|
|
5633
|
+
"plugin:pull": {
|
|
5387
5634
|
"aliases": [],
|
|
5388
5635
|
"args": {},
|
|
5389
|
-
"description": "Pull
|
|
5636
|
+
"description": "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.",
|
|
5390
5637
|
"examples": [
|
|
5391
|
-
"$ lps
|
|
5392
|
-
|
|
5393
|
-
"flags": {},
|
|
5394
|
-
"hasDynamicHelp": false,
|
|
5395
|
-
"hiddenAliases": [],
|
|
5396
|
-
"id": "project:pull",
|
|
5397
|
-
"pluginAlias": "@loopress/cli",
|
|
5398
|
-
"pluginName": "@loopress/cli",
|
|
5399
|
-
"pluginType": "core",
|
|
5400
|
-
"strict": true,
|
|
5401
|
-
"enableJsonFlag": false,
|
|
5402
|
-
"isESM": true,
|
|
5403
|
-
"relativePath": [
|
|
5404
|
-
"dist",
|
|
5405
|
-
"commands",
|
|
5406
|
-
"project",
|
|
5407
|
-
"pull.js"
|
|
5408
|
-
]
|
|
5409
|
-
},
|
|
5410
|
-
"project:push": {
|
|
5411
|
-
"aliases": [],
|
|
5412
|
-
"args": {},
|
|
5413
|
-
"description": "Push locally configured projects, environments and credentials to your Loopress account",
|
|
5414
|
-
"examples": [
|
|
5415
|
-
"$ lps project push"
|
|
5638
|
+
"$ lps plugin pull",
|
|
5639
|
+
"$ lps plugin pull --env production --plugin query-monitor"
|
|
5416
5640
|
],
|
|
5417
5641
|
"flags": {
|
|
5418
|
-
"
|
|
5419
|
-
"
|
|
5420
|
-
"
|
|
5421
|
-
"name": "
|
|
5642
|
+
"json": {
|
|
5643
|
+
"description": "Format output as json.",
|
|
5644
|
+
"helpGroup": "GLOBAL",
|
|
5645
|
+
"name": "json",
|
|
5422
5646
|
"allowNo": false,
|
|
5423
5647
|
"type": "boolean"
|
|
5424
|
-
}
|
|
5425
|
-
},
|
|
5426
|
-
"hasDynamicHelp": false,
|
|
5427
|
-
"hiddenAliases": [],
|
|
5428
|
-
"id": "project:push",
|
|
5429
|
-
"pluginAlias": "@loopress/cli",
|
|
5430
|
-
"pluginName": "@loopress/cli",
|
|
5431
|
-
"pluginType": "core",
|
|
5432
|
-
"strict": true,
|
|
5433
|
-
"enableJsonFlag": false,
|
|
5434
|
-
"isESM": true,
|
|
5435
|
-
"relativePath": [
|
|
5436
|
-
"dist",
|
|
5437
|
-
"commands",
|
|
5438
|
-
"project",
|
|
5439
|
-
"push.js"
|
|
5440
|
-
]
|
|
5441
|
-
},
|
|
5442
|
-
"project:remove": {
|
|
5443
|
-
"aliases": [],
|
|
5444
|
-
"args": {},
|
|
5445
|
-
"description": "Remove one or more WordPress projects or environments",
|
|
5446
|
-
"examples": [
|
|
5447
|
-
"$ lps project remove"
|
|
5448
|
-
],
|
|
5449
|
-
"flags": {},
|
|
5450
|
-
"hasDynamicHelp": false,
|
|
5451
|
-
"hiddenAliases": [],
|
|
5452
|
-
"id": "project:remove",
|
|
5453
|
-
"pluginAlias": "@loopress/cli",
|
|
5454
|
-
"pluginName": "@loopress/cli",
|
|
5455
|
-
"pluginType": "core",
|
|
5456
|
-
"strict": true,
|
|
5457
|
-
"enableJsonFlag": false,
|
|
5458
|
-
"isESM": true,
|
|
5459
|
-
"relativePath": [
|
|
5460
|
-
"dist",
|
|
5461
|
-
"commands",
|
|
5462
|
-
"project",
|
|
5463
|
-
"remove.js"
|
|
5464
|
-
]
|
|
5465
|
-
},
|
|
5466
|
-
"project:rotate": {
|
|
5467
|
-
"aliases": [],
|
|
5468
|
-
"args": {},
|
|
5469
|
-
"description": "Rotate the WordPress application password for the current (or --env) environment",
|
|
5470
|
-
"examples": [
|
|
5471
|
-
"$ lps project rotate",
|
|
5472
|
-
"$ lps project rotate --env staging"
|
|
5473
|
-
],
|
|
5474
|
-
"flags": {
|
|
5648
|
+
},
|
|
5475
5649
|
"env": {
|
|
5476
5650
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5477
5651
|
"name": "env",
|
|
5478
5652
|
"hasDynamicHelp": false,
|
|
5479
5653
|
"multiple": false,
|
|
5480
5654
|
"type": "option"
|
|
5655
|
+
},
|
|
5656
|
+
"dry-run": {
|
|
5657
|
+
"char": "d",
|
|
5658
|
+
"description": "Show what would change without making changes",
|
|
5659
|
+
"name": "dry-run",
|
|
5660
|
+
"allowNo": false,
|
|
5661
|
+
"type": "boolean"
|
|
5662
|
+
},
|
|
5663
|
+
"yes": {
|
|
5664
|
+
"char": "y",
|
|
5665
|
+
"description": "Answer yes to confirmation prompts",
|
|
5666
|
+
"name": "yes",
|
|
5667
|
+
"allowNo": false,
|
|
5668
|
+
"type": "boolean"
|
|
5669
|
+
},
|
|
5670
|
+
"plugin": {
|
|
5671
|
+
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
5672
|
+
"name": "plugin",
|
|
5673
|
+
"hasDynamicHelp": false,
|
|
5674
|
+
"multiple": true,
|
|
5675
|
+
"type": "option"
|
|
5481
5676
|
}
|
|
5482
5677
|
},
|
|
5483
5678
|
"hasDynamicHelp": false,
|
|
5484
5679
|
"hiddenAliases": [],
|
|
5485
|
-
"id": "
|
|
5680
|
+
"id": "plugin:pull",
|
|
5486
5681
|
"pluginAlias": "@loopress/cli",
|
|
5487
5682
|
"pluginName": "@loopress/cli",
|
|
5488
5683
|
"pluginType": "core",
|
|
5489
5684
|
"strict": true,
|
|
5490
|
-
"enableJsonFlag":
|
|
5685
|
+
"enableJsonFlag": true,
|
|
5491
5686
|
"dryRunFlag": {
|
|
5492
5687
|
"dry-run": {
|
|
5493
5688
|
"char": "d",
|
|
@@ -5508,48 +5703,18 @@
|
|
|
5508
5703
|
"relativePath": [
|
|
5509
5704
|
"dist",
|
|
5510
5705
|
"commands",
|
|
5511
|
-
"
|
|
5512
|
-
"
|
|
5706
|
+
"plugin",
|
|
5707
|
+
"pull.js"
|
|
5513
5708
|
]
|
|
5514
5709
|
},
|
|
5515
|
-
"
|
|
5710
|
+
"plugin:push": {
|
|
5516
5711
|
"aliases": [],
|
|
5517
5712
|
"args": {},
|
|
5518
|
-
"description": "
|
|
5713
|
+
"description": "Install WordPress.org plugins on WordPress to match loopress.json (active state included) or composer.json, via Composer + WPackagist",
|
|
5519
5714
|
"examples": [
|
|
5520
|
-
"$ lps
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
"hasDynamicHelp": false,
|
|
5524
|
-
"hiddenAliases": [],
|
|
5525
|
-
"id": "project:switch",
|
|
5526
|
-
"pluginAlias": "@loopress/cli",
|
|
5527
|
-
"pluginName": "@loopress/cli",
|
|
5528
|
-
"pluginType": "core",
|
|
5529
|
-
"strict": true,
|
|
5530
|
-
"enableJsonFlag": false,
|
|
5531
|
-
"isESM": true,
|
|
5532
|
-
"relativePath": [
|
|
5533
|
-
"dist",
|
|
5534
|
-
"commands",
|
|
5535
|
-
"project",
|
|
5536
|
-
"switch.js"
|
|
5537
|
-
]
|
|
5538
|
-
},
|
|
5539
|
-
"plugin:add": {
|
|
5540
|
-
"aliases": [],
|
|
5541
|
-
"args": {
|
|
5542
|
-
"slug": {
|
|
5543
|
-
"description": "Plugin slug on WordPress.org",
|
|
5544
|
-
"name": "slug",
|
|
5545
|
-
"required": true
|
|
5546
|
-
}
|
|
5547
|
-
},
|
|
5548
|
-
"description": "Add a WordPress.org plugin to loopress.json",
|
|
5549
|
-
"examples": [
|
|
5550
|
-
"$ lps plugin add woocommerce",
|
|
5551
|
-
"$ lps plugin add woocommerce --version 9.4.2",
|
|
5552
|
-
"$ lps plugin add contact-form-7 --dry-run"
|
|
5715
|
+
"$ lps plugin push",
|
|
5716
|
+
"$ lps plugin push --dry-run",
|
|
5717
|
+
"$ lps plugin push --force --prune"
|
|
5553
5718
|
],
|
|
5554
5719
|
"flags": {
|
|
5555
5720
|
"json": {
|
|
@@ -5566,6 +5731,18 @@
|
|
|
5566
5731
|
"multiple": false,
|
|
5567
5732
|
"type": "option"
|
|
5568
5733
|
},
|
|
5734
|
+
"overwrite": {
|
|
5735
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
5736
|
+
"name": "overwrite",
|
|
5737
|
+
"allowNo": false,
|
|
5738
|
+
"type": "boolean"
|
|
5739
|
+
},
|
|
5740
|
+
"production-confirmed": {
|
|
5741
|
+
"hidden": true,
|
|
5742
|
+
"name": "production-confirmed",
|
|
5743
|
+
"allowNo": false,
|
|
5744
|
+
"type": "boolean"
|
|
5745
|
+
},
|
|
5569
5746
|
"dry-run": {
|
|
5570
5747
|
"char": "d",
|
|
5571
5748
|
"description": "Show what would change without making changes",
|
|
@@ -5573,17 +5750,35 @@
|
|
|
5573
5750
|
"allowNo": false,
|
|
5574
5751
|
"type": "boolean"
|
|
5575
5752
|
},
|
|
5576
|
-
"
|
|
5577
|
-
"
|
|
5578
|
-
"
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5581
|
-
"type": "
|
|
5753
|
+
"yes": {
|
|
5754
|
+
"char": "y",
|
|
5755
|
+
"description": "Answer yes to confirmation prompts",
|
|
5756
|
+
"name": "yes",
|
|
5757
|
+
"allowNo": false,
|
|
5758
|
+
"type": "boolean"
|
|
5759
|
+
},
|
|
5760
|
+
"activate": {
|
|
5761
|
+
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
5762
|
+
"name": "activate",
|
|
5763
|
+
"allowNo": false,
|
|
5764
|
+
"type": "boolean"
|
|
5765
|
+
},
|
|
5766
|
+
"force": {
|
|
5767
|
+
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
5768
|
+
"name": "force",
|
|
5769
|
+
"allowNo": false,
|
|
5770
|
+
"type": "boolean"
|
|
5771
|
+
},
|
|
5772
|
+
"prune": {
|
|
5773
|
+
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
5774
|
+
"name": "prune",
|
|
5775
|
+
"allowNo": false,
|
|
5776
|
+
"type": "boolean"
|
|
5582
5777
|
}
|
|
5583
5778
|
},
|
|
5584
5779
|
"hasDynamicHelp": false,
|
|
5585
5780
|
"hiddenAliases": [],
|
|
5586
|
-
"id": "plugin:
|
|
5781
|
+
"id": "plugin:push",
|
|
5587
5782
|
"pluginAlias": "@loopress/cli",
|
|
5588
5783
|
"pluginName": "@loopress/cli",
|
|
5589
5784
|
"pluginType": "core",
|
|
@@ -5610,15 +5805,15 @@
|
|
|
5610
5805
|
"dist",
|
|
5611
5806
|
"commands",
|
|
5612
5807
|
"plugin",
|
|
5613
|
-
"
|
|
5808
|
+
"push.js"
|
|
5614
5809
|
]
|
|
5615
5810
|
},
|
|
5616
|
-
"plugin:
|
|
5811
|
+
"plugin:status": {
|
|
5617
5812
|
"aliases": [],
|
|
5618
5813
|
"args": {},
|
|
5619
|
-
"description": "
|
|
5814
|
+
"description": "Compare the plugins on WordPress against loopress.json and report drift (missing, wrong version, inactive, untracked)",
|
|
5620
5815
|
"examples": [
|
|
5621
|
-
"$ lps plugin
|
|
5816
|
+
"$ lps plugin status"
|
|
5622
5817
|
],
|
|
5623
5818
|
"flags": {
|
|
5624
5819
|
"json": {
|
|
@@ -5638,7 +5833,7 @@
|
|
|
5638
5833
|
},
|
|
5639
5834
|
"hasDynamicHelp": false,
|
|
5640
5835
|
"hiddenAliases": [],
|
|
5641
|
-
"id": "plugin:
|
|
5836
|
+
"id": "plugin:status",
|
|
5642
5837
|
"pluginAlias": "@loopress/cli",
|
|
5643
5838
|
"pluginName": "@loopress/cli",
|
|
5644
5839
|
"pluginType": "core",
|
|
@@ -5665,16 +5860,39 @@
|
|
|
5665
5860
|
"dist",
|
|
5666
5861
|
"commands",
|
|
5667
5862
|
"plugin",
|
|
5668
|
-
"
|
|
5863
|
+
"status.js"
|
|
5669
5864
|
]
|
|
5670
5865
|
},
|
|
5671
|
-
"
|
|
5866
|
+
"project:config": {
|
|
5672
5867
|
"aliases": [],
|
|
5673
5868
|
"args": {},
|
|
5674
|
-
"description": "
|
|
5869
|
+
"description": "Add or update a WordPress project environment. By default, authorizes via WordPress in your browser; manual username/Application Password entry is available as a fallback.",
|
|
5675
5870
|
"examples": [
|
|
5676
|
-
"$ lps
|
|
5677
|
-
|
|
5871
|
+
"$ lps project config"
|
|
5872
|
+
],
|
|
5873
|
+
"flags": {},
|
|
5874
|
+
"hasDynamicHelp": false,
|
|
5875
|
+
"hiddenAliases": [],
|
|
5876
|
+
"id": "project:config",
|
|
5877
|
+
"pluginAlias": "@loopress/cli",
|
|
5878
|
+
"pluginName": "@loopress/cli",
|
|
5879
|
+
"pluginType": "core",
|
|
5880
|
+
"strict": true,
|
|
5881
|
+
"enableJsonFlag": false,
|
|
5882
|
+
"isESM": true,
|
|
5883
|
+
"relativePath": [
|
|
5884
|
+
"dist",
|
|
5885
|
+
"commands",
|
|
5886
|
+
"project",
|
|
5887
|
+
"config.js"
|
|
5888
|
+
]
|
|
5889
|
+
},
|
|
5890
|
+
"project:list": {
|
|
5891
|
+
"aliases": [],
|
|
5892
|
+
"args": {},
|
|
5893
|
+
"description": "List configured WordPress projects",
|
|
5894
|
+
"examples": [
|
|
5895
|
+
"$ lps project list"
|
|
5678
5896
|
],
|
|
5679
5897
|
"flags": {
|
|
5680
5898
|
"json": {
|
|
@@ -5683,178 +5901,113 @@
|
|
|
5683
5901
|
"name": "json",
|
|
5684
5902
|
"allowNo": false,
|
|
5685
5903
|
"type": "boolean"
|
|
5686
|
-
},
|
|
5687
|
-
"env": {
|
|
5688
|
-
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5689
|
-
"name": "env",
|
|
5690
|
-
"hasDynamicHelp": false,
|
|
5691
|
-
"multiple": false,
|
|
5692
|
-
"type": "option"
|
|
5693
|
-
},
|
|
5694
|
-
"dry-run": {
|
|
5695
|
-
"char": "d",
|
|
5696
|
-
"description": "Show what would change without making changes",
|
|
5697
|
-
"name": "dry-run",
|
|
5698
|
-
"allowNo": false,
|
|
5699
|
-
"type": "boolean"
|
|
5700
|
-
},
|
|
5701
|
-
"yes": {
|
|
5702
|
-
"char": "y",
|
|
5703
|
-
"description": "Answer yes to confirmation prompts",
|
|
5704
|
-
"name": "yes",
|
|
5705
|
-
"allowNo": false,
|
|
5706
|
-
"type": "boolean"
|
|
5707
|
-
},
|
|
5708
|
-
"plugin": {
|
|
5709
|
-
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
5710
|
-
"name": "plugin",
|
|
5711
|
-
"hasDynamicHelp": false,
|
|
5712
|
-
"multiple": true,
|
|
5713
|
-
"type": "option"
|
|
5714
5904
|
}
|
|
5715
5905
|
},
|
|
5716
5906
|
"hasDynamicHelp": false,
|
|
5717
5907
|
"hiddenAliases": [],
|
|
5718
|
-
"id": "
|
|
5908
|
+
"id": "project:list",
|
|
5719
5909
|
"pluginAlias": "@loopress/cli",
|
|
5720
5910
|
"pluginName": "@loopress/cli",
|
|
5721
5911
|
"pluginType": "core",
|
|
5722
5912
|
"strict": true,
|
|
5723
5913
|
"enableJsonFlag": true,
|
|
5724
|
-
"dryRunFlag": {
|
|
5725
|
-
"dry-run": {
|
|
5726
|
-
"char": "d",
|
|
5727
|
-
"description": "Show what would change without making changes",
|
|
5728
|
-
"allowNo": false,
|
|
5729
|
-
"type": "boolean"
|
|
5730
|
-
}
|
|
5731
|
-
},
|
|
5732
|
-
"yesFlag": {
|
|
5733
|
-
"yes": {
|
|
5734
|
-
"char": "y",
|
|
5735
|
-
"description": "Answer yes to confirmation prompts",
|
|
5736
|
-
"allowNo": false,
|
|
5737
|
-
"type": "boolean"
|
|
5738
|
-
}
|
|
5739
|
-
},
|
|
5740
5914
|
"isESM": true,
|
|
5741
5915
|
"relativePath": [
|
|
5742
5916
|
"dist",
|
|
5743
5917
|
"commands",
|
|
5744
|
-
"
|
|
5918
|
+
"project",
|
|
5919
|
+
"list.js"
|
|
5920
|
+
]
|
|
5921
|
+
},
|
|
5922
|
+
"project:pull": {
|
|
5923
|
+
"aliases": [],
|
|
5924
|
+
"args": {},
|
|
5925
|
+
"description": "Pull projects and environments from your Loopress account that are not configured locally yet",
|
|
5926
|
+
"examples": [
|
|
5927
|
+
"$ lps project pull"
|
|
5928
|
+
],
|
|
5929
|
+
"flags": {},
|
|
5930
|
+
"hasDynamicHelp": false,
|
|
5931
|
+
"hiddenAliases": [],
|
|
5932
|
+
"id": "project:pull",
|
|
5933
|
+
"pluginAlias": "@loopress/cli",
|
|
5934
|
+
"pluginName": "@loopress/cli",
|
|
5935
|
+
"pluginType": "core",
|
|
5936
|
+
"strict": true,
|
|
5937
|
+
"enableJsonFlag": false,
|
|
5938
|
+
"isESM": true,
|
|
5939
|
+
"relativePath": [
|
|
5940
|
+
"dist",
|
|
5941
|
+
"commands",
|
|
5942
|
+
"project",
|
|
5745
5943
|
"pull.js"
|
|
5746
5944
|
]
|
|
5747
5945
|
},
|
|
5748
|
-
"
|
|
5946
|
+
"project:push": {
|
|
5749
5947
|
"aliases": [],
|
|
5750
5948
|
"args": {},
|
|
5751
|
-
"description": "
|
|
5949
|
+
"description": "Push locally configured projects, environments and credentials to your Loopress account",
|
|
5752
5950
|
"examples": [
|
|
5753
|
-
"$ lps
|
|
5754
|
-
"$ lps plugin push --dry-run",
|
|
5755
|
-
"$ lps plugin push --force --prune"
|
|
5951
|
+
"$ lps project push"
|
|
5756
5952
|
],
|
|
5757
5953
|
"flags": {
|
|
5758
|
-
"json": {
|
|
5759
|
-
"description": "Format output as json.",
|
|
5760
|
-
"helpGroup": "GLOBAL",
|
|
5761
|
-
"name": "json",
|
|
5762
|
-
"allowNo": false,
|
|
5763
|
-
"type": "boolean"
|
|
5764
|
-
},
|
|
5765
|
-
"env": {
|
|
5766
|
-
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5767
|
-
"name": "env",
|
|
5768
|
-
"hasDynamicHelp": false,
|
|
5769
|
-
"multiple": false,
|
|
5770
|
-
"type": "option"
|
|
5771
|
-
},
|
|
5772
|
-
"production-confirmed": {
|
|
5773
|
-
"hidden": true,
|
|
5774
|
-
"name": "production-confirmed",
|
|
5775
|
-
"allowNo": false,
|
|
5776
|
-
"type": "boolean"
|
|
5777
|
-
},
|
|
5778
|
-
"dry-run": {
|
|
5779
|
-
"char": "d",
|
|
5780
|
-
"description": "Show what would change without making changes",
|
|
5781
|
-
"name": "dry-run",
|
|
5782
|
-
"allowNo": false,
|
|
5783
|
-
"type": "boolean"
|
|
5784
|
-
},
|
|
5785
5954
|
"yes": {
|
|
5786
5955
|
"char": "y",
|
|
5787
5956
|
"description": "Answer yes to confirmation prompts",
|
|
5788
5957
|
"name": "yes",
|
|
5789
5958
|
"allowNo": false,
|
|
5790
5959
|
"type": "boolean"
|
|
5791
|
-
},
|
|
5792
|
-
"activate": {
|
|
5793
|
-
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
5794
|
-
"name": "activate",
|
|
5795
|
-
"allowNo": false,
|
|
5796
|
-
"type": "boolean"
|
|
5797
|
-
},
|
|
5798
|
-
"force": {
|
|
5799
|
-
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
5800
|
-
"name": "force",
|
|
5801
|
-
"allowNo": false,
|
|
5802
|
-
"type": "boolean"
|
|
5803
|
-
},
|
|
5804
|
-
"prune": {
|
|
5805
|
-
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
5806
|
-
"name": "prune",
|
|
5807
|
-
"allowNo": false,
|
|
5808
|
-
"type": "boolean"
|
|
5809
5960
|
}
|
|
5810
5961
|
},
|
|
5811
5962
|
"hasDynamicHelp": false,
|
|
5812
5963
|
"hiddenAliases": [],
|
|
5813
|
-
"id": "
|
|
5964
|
+
"id": "project:push",
|
|
5814
5965
|
"pluginAlias": "@loopress/cli",
|
|
5815
5966
|
"pluginName": "@loopress/cli",
|
|
5816
5967
|
"pluginType": "core",
|
|
5817
5968
|
"strict": true,
|
|
5818
|
-
"enableJsonFlag":
|
|
5819
|
-
"
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
},
|
|
5969
|
+
"enableJsonFlag": false,
|
|
5970
|
+
"isESM": true,
|
|
5971
|
+
"relativePath": [
|
|
5972
|
+
"dist",
|
|
5973
|
+
"commands",
|
|
5974
|
+
"project",
|
|
5975
|
+
"push.js"
|
|
5976
|
+
]
|
|
5977
|
+
},
|
|
5978
|
+
"project:remove": {
|
|
5979
|
+
"aliases": [],
|
|
5980
|
+
"args": {},
|
|
5981
|
+
"description": "Remove one or more WordPress projects or environments",
|
|
5982
|
+
"examples": [
|
|
5983
|
+
"$ lps project remove"
|
|
5984
|
+
],
|
|
5985
|
+
"flags": {},
|
|
5986
|
+
"hasDynamicHelp": false,
|
|
5987
|
+
"hiddenAliases": [],
|
|
5988
|
+
"id": "project:remove",
|
|
5989
|
+
"pluginAlias": "@loopress/cli",
|
|
5990
|
+
"pluginName": "@loopress/cli",
|
|
5991
|
+
"pluginType": "core",
|
|
5992
|
+
"strict": true,
|
|
5993
|
+
"enableJsonFlag": false,
|
|
5835
5994
|
"isESM": true,
|
|
5836
5995
|
"relativePath": [
|
|
5837
5996
|
"dist",
|
|
5838
5997
|
"commands",
|
|
5839
|
-
"
|
|
5840
|
-
"
|
|
5998
|
+
"project",
|
|
5999
|
+
"remove.js"
|
|
5841
6000
|
]
|
|
5842
6001
|
},
|
|
5843
|
-
"
|
|
6002
|
+
"project:rotate": {
|
|
5844
6003
|
"aliases": [],
|
|
5845
6004
|
"args": {},
|
|
5846
|
-
"description": "
|
|
6005
|
+
"description": "Rotate the WordPress application password for the current (or --env) environment",
|
|
5847
6006
|
"examples": [
|
|
5848
|
-
"$ lps
|
|
6007
|
+
"$ lps project rotate",
|
|
6008
|
+
"$ lps project rotate --env staging"
|
|
5849
6009
|
],
|
|
5850
6010
|
"flags": {
|
|
5851
|
-
"json": {
|
|
5852
|
-
"description": "Format output as json.",
|
|
5853
|
-
"helpGroup": "GLOBAL",
|
|
5854
|
-
"name": "json",
|
|
5855
|
-
"allowNo": false,
|
|
5856
|
-
"type": "boolean"
|
|
5857
|
-
},
|
|
5858
6011
|
"env": {
|
|
5859
6012
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5860
6013
|
"name": "env",
|
|
@@ -5865,12 +6018,12 @@
|
|
|
5865
6018
|
},
|
|
5866
6019
|
"hasDynamicHelp": false,
|
|
5867
6020
|
"hiddenAliases": [],
|
|
5868
|
-
"id": "
|
|
6021
|
+
"id": "project:rotate",
|
|
5869
6022
|
"pluginAlias": "@loopress/cli",
|
|
5870
6023
|
"pluginName": "@loopress/cli",
|
|
5871
6024
|
"pluginType": "core",
|
|
5872
6025
|
"strict": true,
|
|
5873
|
-
"enableJsonFlag":
|
|
6026
|
+
"enableJsonFlag": false,
|
|
5874
6027
|
"dryRunFlag": {
|
|
5875
6028
|
"dry-run": {
|
|
5876
6029
|
"char": "d",
|
|
@@ -5891,23 +6044,47 @@
|
|
|
5891
6044
|
"relativePath": [
|
|
5892
6045
|
"dist",
|
|
5893
6046
|
"commands",
|
|
5894
|
-
"
|
|
5895
|
-
"
|
|
6047
|
+
"project",
|
|
6048
|
+
"rotate.js"
|
|
5896
6049
|
]
|
|
5897
6050
|
},
|
|
5898
|
-
"
|
|
6051
|
+
"project:switch": {
|
|
6052
|
+
"aliases": [],
|
|
6053
|
+
"args": {},
|
|
6054
|
+
"description": "Switch the active project (pass --env to target a non-local environment)",
|
|
6055
|
+
"examples": [
|
|
6056
|
+
"$ lps project switch"
|
|
6057
|
+
],
|
|
6058
|
+
"flags": {},
|
|
6059
|
+
"hasDynamicHelp": false,
|
|
6060
|
+
"hiddenAliases": [],
|
|
6061
|
+
"id": "project:switch",
|
|
6062
|
+
"pluginAlias": "@loopress/cli",
|
|
6063
|
+
"pluginName": "@loopress/cli",
|
|
6064
|
+
"pluginType": "core",
|
|
6065
|
+
"strict": true,
|
|
6066
|
+
"enableJsonFlag": false,
|
|
6067
|
+
"isESM": true,
|
|
6068
|
+
"relativePath": [
|
|
6069
|
+
"dist",
|
|
6070
|
+
"commands",
|
|
6071
|
+
"project",
|
|
6072
|
+
"switch.js"
|
|
6073
|
+
]
|
|
6074
|
+
},
|
|
6075
|
+
"role:diff": {
|
|
5899
6076
|
"aliases": [],
|
|
5900
6077
|
"args": {
|
|
5901
6078
|
"path": {
|
|
5902
|
-
"description": "Path to
|
|
6079
|
+
"description": "Path to roles directory (overrides project config)",
|
|
5903
6080
|
"name": "path"
|
|
5904
6081
|
}
|
|
5905
6082
|
},
|
|
5906
|
-
"description": "Show what differs in
|
|
6083
|
+
"description": "Show what differs in roles between your local roles/ files and a WordPress environment, or between two environments",
|
|
5907
6084
|
"examples": [
|
|
5908
|
-
"$ lps
|
|
5909
|
-
"$ lps
|
|
5910
|
-
"$ lps
|
|
6085
|
+
"$ lps role diff",
|
|
6086
|
+
"$ lps role diff --env staging",
|
|
6087
|
+
"$ lps role diff --env staging --against production"
|
|
5911
6088
|
],
|
|
5912
6089
|
"flags": {
|
|
5913
6090
|
"json": {
|
|
@@ -5934,7 +6111,7 @@
|
|
|
5934
6111
|
},
|
|
5935
6112
|
"hasDynamicHelp": false,
|
|
5936
6113
|
"hiddenAliases": [],
|
|
5937
|
-
"id": "
|
|
6114
|
+
"id": "role:diff",
|
|
5938
6115
|
"pluginAlias": "@loopress/cli",
|
|
5939
6116
|
"pluginName": "@loopress/cli",
|
|
5940
6117
|
"pluginType": "core",
|
|
@@ -5968,16 +6145,16 @@
|
|
|
5968
6145
|
"relativePath": [
|
|
5969
6146
|
"dist",
|
|
5970
6147
|
"commands",
|
|
5971
|
-
"
|
|
6148
|
+
"role",
|
|
5972
6149
|
"diff.js"
|
|
5973
6150
|
]
|
|
5974
6151
|
},
|
|
5975
|
-
"
|
|
6152
|
+
"role:list": {
|
|
5976
6153
|
"aliases": [],
|
|
5977
6154
|
"args": {},
|
|
5978
|
-
"description": "List
|
|
6155
|
+
"description": "List the user roles on WordPress, where each comes from (Loopress, WordPress, a plugin) and how many users have it. Only Loopress ones are pulled and pushed.",
|
|
5979
6156
|
"examples": [
|
|
5980
|
-
"$ lps
|
|
6157
|
+
"$ lps role list"
|
|
5981
6158
|
],
|
|
5982
6159
|
"flags": {
|
|
5983
6160
|
"json": {
|
|
@@ -5997,7 +6174,7 @@
|
|
|
5997
6174
|
},
|
|
5998
6175
|
"hasDynamicHelp": false,
|
|
5999
6176
|
"hiddenAliases": [],
|
|
6000
|
-
"id": "
|
|
6177
|
+
"id": "role:list",
|
|
6001
6178
|
"pluginAlias": "@loopress/cli",
|
|
6002
6179
|
"pluginName": "@loopress/cli",
|
|
6003
6180
|
"pluginType": "core",
|
|
@@ -6023,52 +6200,21 @@
|
|
|
6023
6200
|
"relativePath": [
|
|
6024
6201
|
"dist",
|
|
6025
6202
|
"commands",
|
|
6026
|
-
"
|
|
6203
|
+
"role",
|
|
6027
6204
|
"list.js"
|
|
6028
6205
|
]
|
|
6029
6206
|
},
|
|
6030
|
-
"
|
|
6031
|
-
"aliases": [],
|
|
6032
|
-
"args": {
|
|
6033
|
-
"path": {
|
|
6034
|
-
"description": "Path to snippets directory (overrides project config)",
|
|
6035
|
-
"name": "path"
|
|
6036
|
-
}
|
|
6037
|
-
},
|
|
6038
|
-
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
6039
|
-
"examples": [
|
|
6040
|
-
"$ lps snippet publish",
|
|
6041
|
-
"$ lps snippet publish ./snippets"
|
|
6042
|
-
],
|
|
6043
|
-
"flags": {},
|
|
6044
|
-
"hasDynamicHelp": false,
|
|
6045
|
-
"hiddenAliases": [],
|
|
6046
|
-
"id": "snippet:publish",
|
|
6047
|
-
"pluginAlias": "@loopress/cli",
|
|
6048
|
-
"pluginName": "@loopress/cli",
|
|
6049
|
-
"pluginType": "core",
|
|
6050
|
-
"strict": true,
|
|
6051
|
-
"enableJsonFlag": false,
|
|
6052
|
-
"isESM": true,
|
|
6053
|
-
"relativePath": [
|
|
6054
|
-
"dist",
|
|
6055
|
-
"commands",
|
|
6056
|
-
"snippet",
|
|
6057
|
-
"publish.js"
|
|
6058
|
-
]
|
|
6059
|
-
},
|
|
6060
|
-
"snippet:pull": {
|
|
6207
|
+
"role:pull": {
|
|
6061
6208
|
"aliases": [],
|
|
6062
6209
|
"args": {
|
|
6063
6210
|
"path": {
|
|
6064
|
-
"description": "Path to
|
|
6211
|
+
"description": "Path to the roles directory (overrides project config)",
|
|
6065
6212
|
"name": "path"
|
|
6066
6213
|
}
|
|
6067
6214
|
},
|
|
6068
|
-
"description": "Pull
|
|
6215
|
+
"description": "Pull the roles Loopress manages on WordPress into roles/<slug>.json files. Built-in roles and roles created by a plugin are never pulled, see `lps role list`.",
|
|
6069
6216
|
"examples": [
|
|
6070
|
-
"$ lps
|
|
6071
|
-
"$ lps snippet pull ./snippets"
|
|
6217
|
+
"$ lps role pull"
|
|
6072
6218
|
],
|
|
6073
6219
|
"flags": {
|
|
6074
6220
|
"json": {
|
|
@@ -6102,7 +6248,7 @@
|
|
|
6102
6248
|
},
|
|
6103
6249
|
"hasDynamicHelp": false,
|
|
6104
6250
|
"hiddenAliases": [],
|
|
6105
|
-
"id": "
|
|
6251
|
+
"id": "role:pull",
|
|
6106
6252
|
"pluginAlias": "@loopress/cli",
|
|
6107
6253
|
"pluginName": "@loopress/cli",
|
|
6108
6254
|
"pluginType": "core",
|
|
@@ -6128,22 +6274,21 @@
|
|
|
6128
6274
|
"relativePath": [
|
|
6129
6275
|
"dist",
|
|
6130
6276
|
"commands",
|
|
6131
|
-
"
|
|
6277
|
+
"role",
|
|
6132
6278
|
"pull.js"
|
|
6133
6279
|
]
|
|
6134
6280
|
},
|
|
6135
|
-
"
|
|
6281
|
+
"role:push": {
|
|
6136
6282
|
"aliases": [],
|
|
6137
6283
|
"args": {
|
|
6138
6284
|
"path": {
|
|
6139
|
-
"description": "Path to
|
|
6285
|
+
"description": "Path to the roles directory (overrides project config)",
|
|
6140
6286
|
"name": "path"
|
|
6141
6287
|
}
|
|
6142
6288
|
},
|
|
6143
|
-
"description": "Push
|
|
6289
|
+
"description": "Push local roles (roles/<slug>.json, a \"name\" and its \"capabilities\") to WordPress. Create or update only, never deletes a role (use `lps role rm`), never changes which users have it.",
|
|
6144
6290
|
"examples": [
|
|
6145
|
-
"$ lps
|
|
6146
|
-
"$ lps snippet push ./snippets"
|
|
6291
|
+
"$ lps role push"
|
|
6147
6292
|
],
|
|
6148
6293
|
"flags": {
|
|
6149
6294
|
"json": {
|
|
@@ -6160,6 +6305,12 @@
|
|
|
6160
6305
|
"multiple": false,
|
|
6161
6306
|
"type": "option"
|
|
6162
6307
|
},
|
|
6308
|
+
"overwrite": {
|
|
6309
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
6310
|
+
"name": "overwrite",
|
|
6311
|
+
"allowNo": false,
|
|
6312
|
+
"type": "boolean"
|
|
6313
|
+
},
|
|
6163
6314
|
"production-confirmed": {
|
|
6164
6315
|
"hidden": true,
|
|
6165
6316
|
"name": "production-confirmed",
|
|
@@ -6183,7 +6334,7 @@
|
|
|
6183
6334
|
},
|
|
6184
6335
|
"hasDynamicHelp": false,
|
|
6185
6336
|
"hiddenAliases": [],
|
|
6186
|
-
"id": "
|
|
6337
|
+
"id": "role:push",
|
|
6187
6338
|
"pluginAlias": "@loopress/cli",
|
|
6188
6339
|
"pluginName": "@loopress/cli",
|
|
6189
6340
|
"pluginType": "core",
|
|
@@ -6209,24 +6360,25 @@
|
|
|
6209
6360
|
"relativePath": [
|
|
6210
6361
|
"dist",
|
|
6211
6362
|
"commands",
|
|
6212
|
-
"
|
|
6363
|
+
"role",
|
|
6213
6364
|
"push.js"
|
|
6214
6365
|
]
|
|
6215
6366
|
},
|
|
6216
|
-
"
|
|
6217
|
-
"aliases": [
|
|
6367
|
+
"role:rm": {
|
|
6368
|
+
"aliases": [
|
|
6369
|
+
"role:remove"
|
|
6370
|
+
],
|
|
6218
6371
|
"args": {
|
|
6219
|
-
"
|
|
6220
|
-
"description": "
|
|
6221
|
-
"name": "
|
|
6372
|
+
"slug": {
|
|
6373
|
+
"description": "The role slug, its roles/ file name without .json",
|
|
6374
|
+
"name": "slug",
|
|
6375
|
+
"required": true
|
|
6222
6376
|
}
|
|
6223
6377
|
},
|
|
6224
|
-
"description": "
|
|
6378
|
+
"description": "Stop registering a Loopress role on WordPress. Its users keep it in their profile, with no capability until the role is pushed again.",
|
|
6225
6379
|
"examples": [
|
|
6226
|
-
"$ lps
|
|
6227
|
-
"$ lps
|
|
6228
|
-
"$ lps snippet rollback --to 1732000000000",
|
|
6229
|
-
"$ lps snippet rollback --dry-run"
|
|
6380
|
+
"$ lps role rm <slug>",
|
|
6381
|
+
"$ lps role remove <slug> --yes"
|
|
6230
6382
|
],
|
|
6231
6383
|
"flags": {
|
|
6232
6384
|
"json": {
|
|
@@ -6256,24 +6408,11 @@
|
|
|
6256
6408
|
"name": "yes",
|
|
6257
6409
|
"allowNo": false,
|
|
6258
6410
|
"type": "boolean"
|
|
6259
|
-
},
|
|
6260
|
-
"list": {
|
|
6261
|
-
"description": "List available snapshots instead of rolling back",
|
|
6262
|
-
"name": "list",
|
|
6263
|
-
"allowNo": false,
|
|
6264
|
-
"type": "boolean"
|
|
6265
|
-
},
|
|
6266
|
-
"to": {
|
|
6267
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6268
|
-
"name": "to",
|
|
6269
|
-
"hasDynamicHelp": false,
|
|
6270
|
-
"multiple": false,
|
|
6271
|
-
"type": "option"
|
|
6272
6411
|
}
|
|
6273
6412
|
},
|
|
6274
6413
|
"hasDynamicHelp": false,
|
|
6275
6414
|
"hiddenAliases": [],
|
|
6276
|
-
"id": "
|
|
6415
|
+
"id": "role:rm",
|
|
6277
6416
|
"pluginAlias": "@loopress/cli",
|
|
6278
6417
|
"pluginName": "@loopress/cli",
|
|
6279
6418
|
"pluginType": "core",
|
|
@@ -6299,71 +6438,113 @@
|
|
|
6299
6438
|
"relativePath": [
|
|
6300
6439
|
"dist",
|
|
6301
6440
|
"commands",
|
|
6302
|
-
"
|
|
6303
|
-
"
|
|
6304
|
-
]
|
|
6305
|
-
},
|
|
6306
|
-
"telemetry:disable": {
|
|
6307
|
-
"aliases": [],
|
|
6308
|
-
"args": {},
|
|
6309
|
-
"description": "Disable error reporting to Sentry",
|
|
6310
|
-
"examples": [
|
|
6311
|
-
"$ lps telemetry disable"
|
|
6312
|
-
],
|
|
6313
|
-
"flags": {},
|
|
6314
|
-
"hasDynamicHelp": false,
|
|
6315
|
-
"hiddenAliases": [],
|
|
6316
|
-
"id": "telemetry:disable",
|
|
6317
|
-
"pluginAlias": "@loopress/cli",
|
|
6318
|
-
"pluginName": "@loopress/cli",
|
|
6319
|
-
"pluginType": "core",
|
|
6320
|
-
"strict": true,
|
|
6321
|
-
"enableJsonFlag": false,
|
|
6322
|
-
"isESM": true,
|
|
6323
|
-
"relativePath": [
|
|
6324
|
-
"dist",
|
|
6325
|
-
"commands",
|
|
6326
|
-
"telemetry",
|
|
6327
|
-
"disable.js"
|
|
6441
|
+
"role",
|
|
6442
|
+
"rm.js"
|
|
6328
6443
|
]
|
|
6329
6444
|
},
|
|
6330
|
-
"
|
|
6445
|
+
"role:rollback": {
|
|
6331
6446
|
"aliases": [],
|
|
6332
|
-
"args": {
|
|
6333
|
-
|
|
6447
|
+
"args": {
|
|
6448
|
+
"path": {
|
|
6449
|
+
"description": "Path to roles directory (overrides project config)",
|
|
6450
|
+
"name": "path"
|
|
6451
|
+
}
|
|
6452
|
+
},
|
|
6453
|
+
"description": "Restore roles to a snapshot taken automatically before an earlier `lps role push`",
|
|
6334
6454
|
"examples": [
|
|
6335
|
-
"$ lps
|
|
6455
|
+
"$ lps role rollback",
|
|
6456
|
+
"$ lps role rollback --list",
|
|
6457
|
+
"$ lps role rollback --to 1732000000000",
|
|
6458
|
+
"$ lps role rollback --dry-run"
|
|
6336
6459
|
],
|
|
6337
|
-
"flags": {
|
|
6460
|
+
"flags": {
|
|
6461
|
+
"json": {
|
|
6462
|
+
"description": "Format output as json.",
|
|
6463
|
+
"helpGroup": "GLOBAL",
|
|
6464
|
+
"name": "json",
|
|
6465
|
+
"allowNo": false,
|
|
6466
|
+
"type": "boolean"
|
|
6467
|
+
},
|
|
6468
|
+
"env": {
|
|
6469
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6470
|
+
"name": "env",
|
|
6471
|
+
"hasDynamicHelp": false,
|
|
6472
|
+
"multiple": false,
|
|
6473
|
+
"type": "option"
|
|
6474
|
+
},
|
|
6475
|
+
"dry-run": {
|
|
6476
|
+
"char": "d",
|
|
6477
|
+
"description": "Show what would change without making changes",
|
|
6478
|
+
"name": "dry-run",
|
|
6479
|
+
"allowNo": false,
|
|
6480
|
+
"type": "boolean"
|
|
6481
|
+
},
|
|
6482
|
+
"yes": {
|
|
6483
|
+
"char": "y",
|
|
6484
|
+
"description": "Answer yes to confirmation prompts",
|
|
6485
|
+
"name": "yes",
|
|
6486
|
+
"allowNo": false,
|
|
6487
|
+
"type": "boolean"
|
|
6488
|
+
},
|
|
6489
|
+
"list": {
|
|
6490
|
+
"description": "List available snapshots instead of rolling back",
|
|
6491
|
+
"name": "list",
|
|
6492
|
+
"allowNo": false,
|
|
6493
|
+
"type": "boolean"
|
|
6494
|
+
},
|
|
6495
|
+
"to": {
|
|
6496
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6497
|
+
"name": "to",
|
|
6498
|
+
"hasDynamicHelp": false,
|
|
6499
|
+
"multiple": false,
|
|
6500
|
+
"type": "option"
|
|
6501
|
+
}
|
|
6502
|
+
},
|
|
6338
6503
|
"hasDynamicHelp": false,
|
|
6339
6504
|
"hiddenAliases": [],
|
|
6340
|
-
"id": "
|
|
6505
|
+
"id": "role:rollback",
|
|
6341
6506
|
"pluginAlias": "@loopress/cli",
|
|
6342
6507
|
"pluginName": "@loopress/cli",
|
|
6343
6508
|
"pluginType": "core",
|
|
6344
6509
|
"strict": true,
|
|
6345
|
-
"enableJsonFlag":
|
|
6510
|
+
"enableJsonFlag": true,
|
|
6511
|
+
"dryRunFlag": {
|
|
6512
|
+
"dry-run": {
|
|
6513
|
+
"char": "d",
|
|
6514
|
+
"description": "Show what would change without making changes",
|
|
6515
|
+
"allowNo": false,
|
|
6516
|
+
"type": "boolean"
|
|
6517
|
+
}
|
|
6518
|
+
},
|
|
6519
|
+
"yesFlag": {
|
|
6520
|
+
"yes": {
|
|
6521
|
+
"char": "y",
|
|
6522
|
+
"description": "Answer yes to confirmation prompts",
|
|
6523
|
+
"allowNo": false,
|
|
6524
|
+
"type": "boolean"
|
|
6525
|
+
}
|
|
6526
|
+
},
|
|
6346
6527
|
"isESM": true,
|
|
6347
6528
|
"relativePath": [
|
|
6348
6529
|
"dist",
|
|
6349
6530
|
"commands",
|
|
6350
|
-
"
|
|
6351
|
-
"
|
|
6531
|
+
"role",
|
|
6532
|
+
"rollback.js"
|
|
6352
6533
|
]
|
|
6353
6534
|
},
|
|
6354
|
-
"
|
|
6535
|
+
"snippet:diff": {
|
|
6355
6536
|
"aliases": [],
|
|
6356
6537
|
"args": {
|
|
6357
6538
|
"path": {
|
|
6358
|
-
"description": "Path to
|
|
6539
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6359
6540
|
"name": "path"
|
|
6360
6541
|
}
|
|
6361
6542
|
},
|
|
6362
|
-
"description": "Show what differs in
|
|
6543
|
+
"description": "Show what differs in snippets between your local files and a WordPress environment, or between two environments",
|
|
6363
6544
|
"examples": [
|
|
6364
|
-
"$ lps
|
|
6365
|
-
"$ lps
|
|
6366
|
-
"$ lps
|
|
6545
|
+
"$ lps snippet diff",
|
|
6546
|
+
"$ lps snippet diff --env staging",
|
|
6547
|
+
"$ lps snippet diff --env staging --against production"
|
|
6367
6548
|
],
|
|
6368
6549
|
"flags": {
|
|
6369
6550
|
"json": {
|
|
@@ -6390,7 +6571,7 @@
|
|
|
6390
6571
|
},
|
|
6391
6572
|
"hasDynamicHelp": false,
|
|
6392
6573
|
"hiddenAliases": [],
|
|
6393
|
-
"id": "
|
|
6574
|
+
"id": "snippet:diff",
|
|
6394
6575
|
"pluginAlias": "@loopress/cli",
|
|
6395
6576
|
"pluginName": "@loopress/cli",
|
|
6396
6577
|
"pluginType": "core",
|
|
@@ -6424,16 +6605,16 @@
|
|
|
6424
6605
|
"relativePath": [
|
|
6425
6606
|
"dist",
|
|
6426
6607
|
"commands",
|
|
6427
|
-
"
|
|
6608
|
+
"snippet",
|
|
6428
6609
|
"diff.js"
|
|
6429
6610
|
]
|
|
6430
6611
|
},
|
|
6431
|
-
"
|
|
6612
|
+
"snippet:list": {
|
|
6432
6613
|
"aliases": [],
|
|
6433
6614
|
"args": {},
|
|
6434
|
-
"description": "List
|
|
6615
|
+
"description": "List snippets currently on WordPress",
|
|
6435
6616
|
"examples": [
|
|
6436
|
-
"$ lps
|
|
6617
|
+
"$ lps snippet list"
|
|
6437
6618
|
],
|
|
6438
6619
|
"flags": {
|
|
6439
6620
|
"json": {
|
|
@@ -6453,7 +6634,7 @@
|
|
|
6453
6634
|
},
|
|
6454
6635
|
"hasDynamicHelp": false,
|
|
6455
6636
|
"hiddenAliases": [],
|
|
6456
|
-
"id": "
|
|
6637
|
+
"id": "snippet:list",
|
|
6457
6638
|
"pluginAlias": "@loopress/cli",
|
|
6458
6639
|
"pluginName": "@loopress/cli",
|
|
6459
6640
|
"pluginType": "core",
|
|
@@ -6479,21 +6660,52 @@
|
|
|
6479
6660
|
"relativePath": [
|
|
6480
6661
|
"dist",
|
|
6481
6662
|
"commands",
|
|
6482
|
-
"
|
|
6663
|
+
"snippet",
|
|
6483
6664
|
"list.js"
|
|
6484
6665
|
]
|
|
6485
6666
|
},
|
|
6486
|
-
"
|
|
6667
|
+
"snippet:publish": {
|
|
6487
6668
|
"aliases": [],
|
|
6488
6669
|
"args": {
|
|
6489
6670
|
"path": {
|
|
6490
|
-
"description": "Path to
|
|
6671
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6491
6672
|
"name": "path"
|
|
6492
6673
|
}
|
|
6493
6674
|
},
|
|
6494
|
-
"description": "
|
|
6675
|
+
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
6495
6676
|
"examples": [
|
|
6496
|
-
"$ lps
|
|
6677
|
+
"$ lps snippet publish",
|
|
6678
|
+
"$ lps snippet publish ./snippets"
|
|
6679
|
+
],
|
|
6680
|
+
"flags": {},
|
|
6681
|
+
"hasDynamicHelp": false,
|
|
6682
|
+
"hiddenAliases": [],
|
|
6683
|
+
"id": "snippet:publish",
|
|
6684
|
+
"pluginAlias": "@loopress/cli",
|
|
6685
|
+
"pluginName": "@loopress/cli",
|
|
6686
|
+
"pluginType": "core",
|
|
6687
|
+
"strict": true,
|
|
6688
|
+
"enableJsonFlag": false,
|
|
6689
|
+
"isESM": true,
|
|
6690
|
+
"relativePath": [
|
|
6691
|
+
"dist",
|
|
6692
|
+
"commands",
|
|
6693
|
+
"snippet",
|
|
6694
|
+
"publish.js"
|
|
6695
|
+
]
|
|
6696
|
+
},
|
|
6697
|
+
"snippet:pull": {
|
|
6698
|
+
"aliases": [],
|
|
6699
|
+
"args": {
|
|
6700
|
+
"path": {
|
|
6701
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6702
|
+
"name": "path"
|
|
6703
|
+
}
|
|
6704
|
+
},
|
|
6705
|
+
"description": "Pull snippets from WordPress into local files",
|
|
6706
|
+
"examples": [
|
|
6707
|
+
"$ lps snippet pull",
|
|
6708
|
+
"$ lps snippet pull ./snippets"
|
|
6497
6709
|
],
|
|
6498
6710
|
"flags": {
|
|
6499
6711
|
"json": {
|
|
@@ -6527,7 +6739,7 @@
|
|
|
6527
6739
|
},
|
|
6528
6740
|
"hasDynamicHelp": false,
|
|
6529
6741
|
"hiddenAliases": [],
|
|
6530
|
-
"id": "
|
|
6742
|
+
"id": "snippet:pull",
|
|
6531
6743
|
"pluginAlias": "@loopress/cli",
|
|
6532
6744
|
"pluginName": "@loopress/cli",
|
|
6533
6745
|
"pluginType": "core",
|
|
@@ -6553,21 +6765,22 @@
|
|
|
6553
6765
|
"relativePath": [
|
|
6554
6766
|
"dist",
|
|
6555
6767
|
"commands",
|
|
6556
|
-
"
|
|
6768
|
+
"snippet",
|
|
6557
6769
|
"pull.js"
|
|
6558
6770
|
]
|
|
6559
6771
|
},
|
|
6560
|
-
"
|
|
6772
|
+
"snippet:push": {
|
|
6561
6773
|
"aliases": [],
|
|
6562
6774
|
"args": {
|
|
6563
6775
|
"path": {
|
|
6564
|
-
"description": "Path to
|
|
6776
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6565
6777
|
"name": "path"
|
|
6566
6778
|
}
|
|
6567
6779
|
},
|
|
6568
|
-
"description": "Push local
|
|
6780
|
+
"description": "Push local snippet files to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
6569
6781
|
"examples": [
|
|
6570
|
-
"$ lps
|
|
6782
|
+
"$ lps snippet push",
|
|
6783
|
+
"$ lps snippet push ./snippets"
|
|
6571
6784
|
],
|
|
6572
6785
|
"flags": {
|
|
6573
6786
|
"json": {
|
|
@@ -6584,6 +6797,12 @@
|
|
|
6584
6797
|
"multiple": false,
|
|
6585
6798
|
"type": "option"
|
|
6586
6799
|
},
|
|
6800
|
+
"overwrite": {
|
|
6801
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
6802
|
+
"name": "overwrite",
|
|
6803
|
+
"allowNo": false,
|
|
6804
|
+
"type": "boolean"
|
|
6805
|
+
},
|
|
6587
6806
|
"production-confirmed": {
|
|
6588
6807
|
"hidden": true,
|
|
6589
6808
|
"name": "production-confirmed",
|
|
@@ -6607,7 +6826,7 @@
|
|
|
6607
6826
|
},
|
|
6608
6827
|
"hasDynamicHelp": false,
|
|
6609
6828
|
"hiddenAliases": [],
|
|
6610
|
-
"id": "
|
|
6829
|
+
"id": "snippet:push",
|
|
6611
6830
|
"pluginAlias": "@loopress/cli",
|
|
6612
6831
|
"pluginName": "@loopress/cli",
|
|
6613
6832
|
"pluginType": "core",
|
|
@@ -6633,25 +6852,24 @@
|
|
|
6633
6852
|
"relativePath": [
|
|
6634
6853
|
"dist",
|
|
6635
6854
|
"commands",
|
|
6636
|
-
"
|
|
6855
|
+
"snippet",
|
|
6637
6856
|
"push.js"
|
|
6638
6857
|
]
|
|
6639
6858
|
},
|
|
6640
|
-
"
|
|
6641
|
-
"aliases": [
|
|
6642
|
-
"taxonomy:remove"
|
|
6643
|
-
],
|
|
6859
|
+
"snippet:rollback": {
|
|
6860
|
+
"aliases": [],
|
|
6644
6861
|
"args": {
|
|
6645
|
-
"
|
|
6646
|
-
"description": "
|
|
6647
|
-
"name": "
|
|
6648
|
-
"required": true
|
|
6862
|
+
"path": {
|
|
6863
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6864
|
+
"name": "path"
|
|
6649
6865
|
}
|
|
6650
6866
|
},
|
|
6651
|
-
"description": "
|
|
6867
|
+
"description": "Restore snippets to a snapshot taken automatically before an earlier `lps snippet push`",
|
|
6652
6868
|
"examples": [
|
|
6653
|
-
"$ lps
|
|
6654
|
-
"$ lps
|
|
6869
|
+
"$ lps snippet rollback",
|
|
6870
|
+
"$ lps snippet rollback --list",
|
|
6871
|
+
"$ lps snippet rollback --to 1732000000000",
|
|
6872
|
+
"$ lps snippet rollback --dry-run"
|
|
6655
6873
|
],
|
|
6656
6874
|
"flags": {
|
|
6657
6875
|
"json": {
|
|
@@ -6681,11 +6899,24 @@
|
|
|
6681
6899
|
"name": "yes",
|
|
6682
6900
|
"allowNo": false,
|
|
6683
6901
|
"type": "boolean"
|
|
6902
|
+
},
|
|
6903
|
+
"list": {
|
|
6904
|
+
"description": "List available snapshots instead of rolling back",
|
|
6905
|
+
"name": "list",
|
|
6906
|
+
"allowNo": false,
|
|
6907
|
+
"type": "boolean"
|
|
6908
|
+
},
|
|
6909
|
+
"to": {
|
|
6910
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6911
|
+
"name": "to",
|
|
6912
|
+
"hasDynamicHelp": false,
|
|
6913
|
+
"multiple": false,
|
|
6914
|
+
"type": "option"
|
|
6684
6915
|
}
|
|
6685
6916
|
},
|
|
6686
6917
|
"hasDynamicHelp": false,
|
|
6687
6918
|
"hiddenAliases": [],
|
|
6688
|
-
"id": "
|
|
6919
|
+
"id": "snippet:rollback",
|
|
6689
6920
|
"pluginAlias": "@loopress/cli",
|
|
6690
6921
|
"pluginName": "@loopress/cli",
|
|
6691
6922
|
"pluginType": "core",
|
|
@@ -6711,11 +6942,11 @@
|
|
|
6711
6942
|
"relativePath": [
|
|
6712
6943
|
"dist",
|
|
6713
6944
|
"commands",
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6945
|
+
"snippet",
|
|
6946
|
+
"rollback.js"
|
|
6716
6947
|
]
|
|
6717
6948
|
},
|
|
6718
|
-
"taxonomy:
|
|
6949
|
+
"taxonomy:diff": {
|
|
6719
6950
|
"aliases": [],
|
|
6720
6951
|
"args": {
|
|
6721
6952
|
"path": {
|
|
@@ -6723,12 +6954,11 @@
|
|
|
6723
6954
|
"name": "path"
|
|
6724
6955
|
}
|
|
6725
6956
|
},
|
|
6726
|
-
"description": "
|
|
6957
|
+
"description": "Show what differs in taxonomies between your local taxonomies/ files and a WordPress environment, or between two environments",
|
|
6727
6958
|
"examples": [
|
|
6728
|
-
"$ lps taxonomy
|
|
6729
|
-
"$ lps taxonomy
|
|
6730
|
-
"$ lps taxonomy
|
|
6731
|
-
"$ lps taxonomy rollback --dry-run"
|
|
6959
|
+
"$ lps taxonomy diff",
|
|
6960
|
+
"$ lps taxonomy diff --env staging",
|
|
6961
|
+
"$ lps taxonomy diff --env staging --against production"
|
|
6732
6962
|
],
|
|
6733
6963
|
"flags": {
|
|
6734
6964
|
"json": {
|
|
@@ -6745,29 +6975,9 @@
|
|
|
6745
6975
|
"multiple": false,
|
|
6746
6976
|
"type": "option"
|
|
6747
6977
|
},
|
|
6748
|
-
"
|
|
6749
|
-
"
|
|
6750
|
-
"
|
|
6751
|
-
"name": "dry-run",
|
|
6752
|
-
"allowNo": false,
|
|
6753
|
-
"type": "boolean"
|
|
6754
|
-
},
|
|
6755
|
-
"yes": {
|
|
6756
|
-
"char": "y",
|
|
6757
|
-
"description": "Answer yes to confirmation prompts",
|
|
6758
|
-
"name": "yes",
|
|
6759
|
-
"allowNo": false,
|
|
6760
|
-
"type": "boolean"
|
|
6761
|
-
},
|
|
6762
|
-
"list": {
|
|
6763
|
-
"description": "List available snapshots instead of rolling back",
|
|
6764
|
-
"name": "list",
|
|
6765
|
-
"allowNo": false,
|
|
6766
|
-
"type": "boolean"
|
|
6767
|
-
},
|
|
6768
|
-
"to": {
|
|
6769
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6770
|
-
"name": "to",
|
|
6978
|
+
"against": {
|
|
6979
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
6980
|
+
"name": "against",
|
|
6771
6981
|
"hasDynamicHelp": false,
|
|
6772
6982
|
"multiple": false,
|
|
6773
6983
|
"type": "option"
|
|
@@ -6775,7 +6985,7 @@
|
|
|
6775
6985
|
},
|
|
6776
6986
|
"hasDynamicHelp": false,
|
|
6777
6987
|
"hiddenAliases": [],
|
|
6778
|
-
"id": "taxonomy:
|
|
6988
|
+
"id": "taxonomy:diff",
|
|
6779
6989
|
"pluginAlias": "@loopress/cli",
|
|
6780
6990
|
"pluginName": "@loopress/cli",
|
|
6781
6991
|
"pluginType": "core",
|
|
@@ -6797,27 +7007,28 @@
|
|
|
6797
7007
|
"type": "boolean"
|
|
6798
7008
|
}
|
|
6799
7009
|
},
|
|
7010
|
+
"againstFlag": {
|
|
7011
|
+
"against": {
|
|
7012
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7013
|
+
"input": [],
|
|
7014
|
+
"multiple": false,
|
|
7015
|
+
"type": "option"
|
|
7016
|
+
}
|
|
7017
|
+
},
|
|
6800
7018
|
"isESM": true,
|
|
6801
7019
|
"relativePath": [
|
|
6802
7020
|
"dist",
|
|
6803
7021
|
"commands",
|
|
6804
7022
|
"taxonomy",
|
|
6805
|
-
"
|
|
7023
|
+
"diff.js"
|
|
6806
7024
|
]
|
|
6807
7025
|
},
|
|
6808
|
-
"
|
|
7026
|
+
"taxonomy:list": {
|
|
6809
7027
|
"aliases": [],
|
|
6810
|
-
"args": {
|
|
6811
|
-
|
|
6812
|
-
"description": "Theme slug on WordPress.org",
|
|
6813
|
-
"name": "slug",
|
|
6814
|
-
"required": true
|
|
6815
|
-
}
|
|
6816
|
-
},
|
|
6817
|
-
"description": "Add a WordPress.org theme to loopress.json",
|
|
7028
|
+
"args": {},
|
|
7029
|
+
"description": "List the taxonomies registered on WordPress, where each comes from (Loopress, WordPress, ACF, CPT UI, a theme or plugin) and the post types it attaches to. Only Loopress ones are pulled and pushed.",
|
|
6818
7030
|
"examples": [
|
|
6819
|
-
"$ lps
|
|
6820
|
-
"$ lps theme add generatepress --version 3.4.0"
|
|
7031
|
+
"$ lps taxonomy list"
|
|
6821
7032
|
],
|
|
6822
7033
|
"flags": {
|
|
6823
7034
|
"json": {
|
|
@@ -6833,25 +7044,11 @@
|
|
|
6833
7044
|
"hasDynamicHelp": false,
|
|
6834
7045
|
"multiple": false,
|
|
6835
7046
|
"type": "option"
|
|
6836
|
-
},
|
|
6837
|
-
"dry-run": {
|
|
6838
|
-
"char": "d",
|
|
6839
|
-
"description": "Show what would change without making changes",
|
|
6840
|
-
"name": "dry-run",
|
|
6841
|
-
"allowNo": false,
|
|
6842
|
-
"type": "boolean"
|
|
6843
|
-
},
|
|
6844
|
-
"version": {
|
|
6845
|
-
"description": "Exact version to pin (default: \"latest\")",
|
|
6846
|
-
"name": "version",
|
|
6847
|
-
"hasDynamicHelp": false,
|
|
6848
|
-
"multiple": false,
|
|
6849
|
-
"type": "option"
|
|
6850
7047
|
}
|
|
6851
7048
|
},
|
|
6852
7049
|
"hasDynamicHelp": false,
|
|
6853
7050
|
"hiddenAliases": [],
|
|
6854
|
-
"id": "
|
|
7051
|
+
"id": "taxonomy:list",
|
|
6855
7052
|
"pluginAlias": "@loopress/cli",
|
|
6856
7053
|
"pluginName": "@loopress/cli",
|
|
6857
7054
|
"pluginType": "core",
|
|
@@ -6877,18 +7074,21 @@
|
|
|
6877
7074
|
"relativePath": [
|
|
6878
7075
|
"dist",
|
|
6879
7076
|
"commands",
|
|
6880
|
-
"
|
|
6881
|
-
"
|
|
7077
|
+
"taxonomy",
|
|
7078
|
+
"list.js"
|
|
6882
7079
|
]
|
|
6883
7080
|
},
|
|
6884
|
-
"
|
|
7081
|
+
"taxonomy:pull": {
|
|
6885
7082
|
"aliases": [],
|
|
6886
|
-
"args": {
|
|
6887
|
-
|
|
7083
|
+
"args": {
|
|
7084
|
+
"path": {
|
|
7085
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7086
|
+
"name": "path"
|
|
7087
|
+
}
|
|
7088
|
+
},
|
|
7089
|
+
"description": "Pull the taxonomies Loopress manages on WordPress into taxonomies/<slug>.json files, never their terms. Taxonomies registered by a theme or another plugin are never pulled, see `lps taxonomy list`.",
|
|
6888
7090
|
"examples": [
|
|
6889
|
-
"$ lps
|
|
6890
|
-
"$ lps theme pull --env staging",
|
|
6891
|
-
"$ lps theme pull --dry-run"
|
|
7091
|
+
"$ lps taxonomy pull"
|
|
6892
7092
|
],
|
|
6893
7093
|
"flags": {
|
|
6894
7094
|
"json": {
|
|
@@ -6911,11 +7111,18 @@
|
|
|
6911
7111
|
"name": "dry-run",
|
|
6912
7112
|
"allowNo": false,
|
|
6913
7113
|
"type": "boolean"
|
|
7114
|
+
},
|
|
7115
|
+
"yes": {
|
|
7116
|
+
"char": "y",
|
|
7117
|
+
"description": "Answer yes to confirmation prompts",
|
|
7118
|
+
"name": "yes",
|
|
7119
|
+
"allowNo": false,
|
|
7120
|
+
"type": "boolean"
|
|
6914
7121
|
}
|
|
6915
7122
|
},
|
|
6916
7123
|
"hasDynamicHelp": false,
|
|
6917
7124
|
"hiddenAliases": [],
|
|
6918
|
-
"id": "
|
|
7125
|
+
"id": "taxonomy:pull",
|
|
6919
7126
|
"pluginAlias": "@loopress/cli",
|
|
6920
7127
|
"pluginName": "@loopress/cli",
|
|
6921
7128
|
"pluginType": "core",
|
|
@@ -6941,18 +7148,21 @@
|
|
|
6941
7148
|
"relativePath": [
|
|
6942
7149
|
"dist",
|
|
6943
7150
|
"commands",
|
|
6944
|
-
"
|
|
7151
|
+
"taxonomy",
|
|
6945
7152
|
"pull.js"
|
|
6946
7153
|
]
|
|
6947
7154
|
},
|
|
6948
|
-
"
|
|
7155
|
+
"taxonomy:push": {
|
|
6949
7156
|
"aliases": [],
|
|
6950
|
-
"args": {
|
|
6951
|
-
|
|
7157
|
+
"args": {
|
|
7158
|
+
"path": {
|
|
7159
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7160
|
+
"name": "path"
|
|
7161
|
+
}
|
|
7162
|
+
},
|
|
7163
|
+
"description": "Push local taxonomies (taxonomies/<slug>.json, register_taxonomy() arguments plus \"object_type\") to WordPress. Create or update only, never deletes a taxonomy (use `lps taxonomy rm`), never touches its terms.",
|
|
6952
7164
|
"examples": [
|
|
6953
|
-
"$ lps
|
|
6954
|
-
"$ lps theme push --env staging",
|
|
6955
|
-
"$ lps theme push --dry-run"
|
|
7165
|
+
"$ lps taxonomy push"
|
|
6956
7166
|
],
|
|
6957
7167
|
"flags": {
|
|
6958
7168
|
"json": {
|
|
@@ -6969,6 +7179,18 @@
|
|
|
6969
7179
|
"multiple": false,
|
|
6970
7180
|
"type": "option"
|
|
6971
7181
|
},
|
|
7182
|
+
"overwrite": {
|
|
7183
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
7184
|
+
"name": "overwrite",
|
|
7185
|
+
"allowNo": false,
|
|
7186
|
+
"type": "boolean"
|
|
7187
|
+
},
|
|
7188
|
+
"production-confirmed": {
|
|
7189
|
+
"hidden": true,
|
|
7190
|
+
"name": "production-confirmed",
|
|
7191
|
+
"allowNo": false,
|
|
7192
|
+
"type": "boolean"
|
|
7193
|
+
},
|
|
6972
7194
|
"dry-run": {
|
|
6973
7195
|
"char": "d",
|
|
6974
7196
|
"description": "Show what would change without making changes",
|
|
@@ -6982,17 +7204,11 @@
|
|
|
6982
7204
|
"name": "yes",
|
|
6983
7205
|
"allowNo": false,
|
|
6984
7206
|
"type": "boolean"
|
|
6985
|
-
},
|
|
6986
|
-
"force": {
|
|
6987
|
-
"description": "Passed to `lps theme version push`",
|
|
6988
|
-
"name": "force",
|
|
6989
|
-
"allowNo": false,
|
|
6990
|
-
"type": "boolean"
|
|
6991
7207
|
}
|
|
6992
7208
|
},
|
|
6993
7209
|
"hasDynamicHelp": false,
|
|
6994
7210
|
"hiddenAliases": [],
|
|
6995
|
-
"id": "
|
|
7211
|
+
"id": "taxonomy:push",
|
|
6996
7212
|
"pluginAlias": "@loopress/cli",
|
|
6997
7213
|
"pluginName": "@loopress/cli",
|
|
6998
7214
|
"pluginType": "core",
|
|
@@ -7018,16 +7234,25 @@
|
|
|
7018
7234
|
"relativePath": [
|
|
7019
7235
|
"dist",
|
|
7020
7236
|
"commands",
|
|
7021
|
-
"
|
|
7237
|
+
"taxonomy",
|
|
7022
7238
|
"push.js"
|
|
7023
7239
|
]
|
|
7024
7240
|
},
|
|
7025
|
-
"
|
|
7026
|
-
"aliases": [
|
|
7027
|
-
|
|
7028
|
-
|
|
7241
|
+
"taxonomy:rm": {
|
|
7242
|
+
"aliases": [
|
|
7243
|
+
"taxonomy:remove"
|
|
7244
|
+
],
|
|
7245
|
+
"args": {
|
|
7246
|
+
"slug": {
|
|
7247
|
+
"description": "The taxonomy slug, its taxonomies/ file name without .json",
|
|
7248
|
+
"name": "slug",
|
|
7249
|
+
"required": true
|
|
7250
|
+
}
|
|
7251
|
+
},
|
|
7252
|
+
"description": "Stop registering a Loopress taxonomy on WordPress. Its terms are kept in the database, hidden until the taxonomy is pushed again.",
|
|
7029
7253
|
"examples": [
|
|
7030
|
-
"$ lps
|
|
7254
|
+
"$ lps taxonomy rm <slug>",
|
|
7255
|
+
"$ lps taxonomy remove <slug> --yes"
|
|
7031
7256
|
],
|
|
7032
7257
|
"flags": {
|
|
7033
7258
|
"json": {
|
|
@@ -7043,11 +7268,25 @@
|
|
|
7043
7268
|
"hasDynamicHelp": false,
|
|
7044
7269
|
"multiple": false,
|
|
7045
7270
|
"type": "option"
|
|
7271
|
+
},
|
|
7272
|
+
"dry-run": {
|
|
7273
|
+
"char": "d",
|
|
7274
|
+
"description": "Show what would change without making changes",
|
|
7275
|
+
"name": "dry-run",
|
|
7276
|
+
"allowNo": false,
|
|
7277
|
+
"type": "boolean"
|
|
7278
|
+
},
|
|
7279
|
+
"yes": {
|
|
7280
|
+
"char": "y",
|
|
7281
|
+
"description": "Answer yes to confirmation prompts",
|
|
7282
|
+
"name": "yes",
|
|
7283
|
+
"allowNo": false,
|
|
7284
|
+
"type": "boolean"
|
|
7046
7285
|
}
|
|
7047
7286
|
},
|
|
7048
7287
|
"hasDynamicHelp": false,
|
|
7049
7288
|
"hiddenAliases": [],
|
|
7050
|
-
"id": "
|
|
7289
|
+
"id": "taxonomy:rm",
|
|
7051
7290
|
"pluginAlias": "@loopress/cli",
|
|
7052
7291
|
"pluginName": "@loopress/cli",
|
|
7053
7292
|
"pluginType": "core",
|
|
@@ -7073,23 +7312,24 @@
|
|
|
7073
7312
|
"relativePath": [
|
|
7074
7313
|
"dist",
|
|
7075
7314
|
"commands",
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7315
|
+
"taxonomy",
|
|
7316
|
+
"rm.js"
|
|
7078
7317
|
]
|
|
7079
7318
|
},
|
|
7080
|
-
"
|
|
7319
|
+
"taxonomy:rollback": {
|
|
7081
7320
|
"aliases": [],
|
|
7082
7321
|
"args": {
|
|
7083
7322
|
"path": {
|
|
7084
|
-
"description": "Path to
|
|
7323
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
7085
7324
|
"name": "path"
|
|
7086
7325
|
}
|
|
7087
7326
|
},
|
|
7088
|
-
"description": "
|
|
7327
|
+
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7089
7328
|
"examples": [
|
|
7090
|
-
"$ lps
|
|
7091
|
-
"$ lps
|
|
7092
|
-
"$ lps
|
|
7329
|
+
"$ lps taxonomy rollback",
|
|
7330
|
+
"$ lps taxonomy rollback --list",
|
|
7331
|
+
"$ lps taxonomy rollback --to 1732000000000",
|
|
7332
|
+
"$ lps taxonomy rollback --dry-run"
|
|
7093
7333
|
],
|
|
7094
7334
|
"flags": {
|
|
7095
7335
|
"json": {
|
|
@@ -7106,9 +7346,29 @@
|
|
|
7106
7346
|
"multiple": false,
|
|
7107
7347
|
"type": "option"
|
|
7108
7348
|
},
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7349
|
+
"dry-run": {
|
|
7350
|
+
"char": "d",
|
|
7351
|
+
"description": "Show what would change without making changes",
|
|
7352
|
+
"name": "dry-run",
|
|
7353
|
+
"allowNo": false,
|
|
7354
|
+
"type": "boolean"
|
|
7355
|
+
},
|
|
7356
|
+
"yes": {
|
|
7357
|
+
"char": "y",
|
|
7358
|
+
"description": "Answer yes to confirmation prompts",
|
|
7359
|
+
"name": "yes",
|
|
7360
|
+
"allowNo": false,
|
|
7361
|
+
"type": "boolean"
|
|
7362
|
+
},
|
|
7363
|
+
"list": {
|
|
7364
|
+
"description": "List available snapshots instead of rolling back",
|
|
7365
|
+
"name": "list",
|
|
7366
|
+
"allowNo": false,
|
|
7367
|
+
"type": "boolean"
|
|
7368
|
+
},
|
|
7369
|
+
"to": {
|
|
7370
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
7371
|
+
"name": "to",
|
|
7112
7372
|
"hasDynamicHelp": false,
|
|
7113
7373
|
"multiple": false,
|
|
7114
7374
|
"type": "option"
|
|
@@ -7116,7 +7376,7 @@
|
|
|
7116
7376
|
},
|
|
7117
7377
|
"hasDynamicHelp": false,
|
|
7118
7378
|
"hiddenAliases": [],
|
|
7119
|
-
"id": "
|
|
7379
|
+
"id": "taxonomy:rollback",
|
|
7120
7380
|
"pluginAlias": "@loopress/cli",
|
|
7121
7381
|
"pluginName": "@loopress/cli",
|
|
7122
7382
|
"pluginType": "core",
|
|
@@ -7138,88 +7398,75 @@
|
|
|
7138
7398
|
"type": "boolean"
|
|
7139
7399
|
}
|
|
7140
7400
|
},
|
|
7141
|
-
"againstFlag": {
|
|
7142
|
-
"against": {
|
|
7143
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7144
|
-
"input": [],
|
|
7145
|
-
"multiple": false,
|
|
7146
|
-
"type": "option"
|
|
7147
|
-
}
|
|
7148
|
-
},
|
|
7149
7401
|
"isESM": true,
|
|
7150
7402
|
"relativePath": [
|
|
7151
7403
|
"dist",
|
|
7152
7404
|
"commands",
|
|
7153
|
-
"
|
|
7154
|
-
"
|
|
7405
|
+
"taxonomy",
|
|
7406
|
+
"rollback.js"
|
|
7155
7407
|
]
|
|
7156
7408
|
},
|
|
7157
|
-
"
|
|
7409
|
+
"telemetry:disable": {
|
|
7158
7410
|
"aliases": [],
|
|
7159
7411
|
"args": {},
|
|
7160
|
-
"description": "
|
|
7412
|
+
"description": "Disable error reporting to Sentry",
|
|
7161
7413
|
"examples": [
|
|
7162
|
-
"$ lps
|
|
7414
|
+
"$ lps telemetry disable"
|
|
7163
7415
|
],
|
|
7164
|
-
"flags": {
|
|
7165
|
-
"json": {
|
|
7166
|
-
"description": "Format output as json.",
|
|
7167
|
-
"helpGroup": "GLOBAL",
|
|
7168
|
-
"name": "json",
|
|
7169
|
-
"allowNo": false,
|
|
7170
|
-
"type": "boolean"
|
|
7171
|
-
},
|
|
7172
|
-
"env": {
|
|
7173
|
-
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
7174
|
-
"name": "env",
|
|
7175
|
-
"hasDynamicHelp": false,
|
|
7176
|
-
"multiple": false,
|
|
7177
|
-
"type": "option"
|
|
7178
|
-
}
|
|
7179
|
-
},
|
|
7416
|
+
"flags": {},
|
|
7180
7417
|
"hasDynamicHelp": false,
|
|
7181
7418
|
"hiddenAliases": [],
|
|
7182
|
-
"id": "
|
|
7419
|
+
"id": "telemetry:disable",
|
|
7183
7420
|
"pluginAlias": "@loopress/cli",
|
|
7184
7421
|
"pluginName": "@loopress/cli",
|
|
7185
7422
|
"pluginType": "core",
|
|
7186
7423
|
"strict": true,
|
|
7187
|
-
"enableJsonFlag":
|
|
7188
|
-
"dryRunFlag": {
|
|
7189
|
-
"dry-run": {
|
|
7190
|
-
"char": "d",
|
|
7191
|
-
"description": "Show what would change without making changes",
|
|
7192
|
-
"allowNo": false,
|
|
7193
|
-
"type": "boolean"
|
|
7194
|
-
}
|
|
7195
|
-
},
|
|
7196
|
-
"yesFlag": {
|
|
7197
|
-
"yes": {
|
|
7198
|
-
"char": "y",
|
|
7199
|
-
"description": "Answer yes to confirmation prompts",
|
|
7200
|
-
"allowNo": false,
|
|
7201
|
-
"type": "boolean"
|
|
7202
|
-
}
|
|
7203
|
-
},
|
|
7424
|
+
"enableJsonFlag": false,
|
|
7204
7425
|
"isESM": true,
|
|
7205
7426
|
"relativePath": [
|
|
7206
7427
|
"dist",
|
|
7207
7428
|
"commands",
|
|
7208
|
-
"
|
|
7209
|
-
"
|
|
7429
|
+
"telemetry",
|
|
7430
|
+
"disable.js"
|
|
7210
7431
|
]
|
|
7211
7432
|
},
|
|
7212
|
-
"
|
|
7433
|
+
"telemetry:enable": {
|
|
7434
|
+
"aliases": [],
|
|
7435
|
+
"args": {},
|
|
7436
|
+
"description": "Enable error reporting to Sentry",
|
|
7437
|
+
"examples": [
|
|
7438
|
+
"$ lps telemetry enable"
|
|
7439
|
+
],
|
|
7440
|
+
"flags": {},
|
|
7441
|
+
"hasDynamicHelp": false,
|
|
7442
|
+
"hiddenAliases": [],
|
|
7443
|
+
"id": "telemetry:enable",
|
|
7444
|
+
"pluginAlias": "@loopress/cli",
|
|
7445
|
+
"pluginName": "@loopress/cli",
|
|
7446
|
+
"pluginType": "core",
|
|
7447
|
+
"strict": true,
|
|
7448
|
+
"enableJsonFlag": false,
|
|
7449
|
+
"isESM": true,
|
|
7450
|
+
"relativePath": [
|
|
7451
|
+
"dist",
|
|
7452
|
+
"commands",
|
|
7453
|
+
"telemetry",
|
|
7454
|
+
"enable.js"
|
|
7455
|
+
]
|
|
7456
|
+
},
|
|
7457
|
+
"theme:add": {
|
|
7213
7458
|
"aliases": [],
|
|
7214
7459
|
"args": {
|
|
7215
|
-
"
|
|
7216
|
-
"description": "
|
|
7217
|
-
"name": "
|
|
7460
|
+
"slug": {
|
|
7461
|
+
"description": "Theme slug on WordPress.org",
|
|
7462
|
+
"name": "slug",
|
|
7463
|
+
"required": true
|
|
7218
7464
|
}
|
|
7219
7465
|
},
|
|
7220
|
-
"description": "
|
|
7466
|
+
"description": "Add a WordPress.org theme to loopress.json",
|
|
7221
7467
|
"examples": [
|
|
7222
|
-
"$ lps
|
|
7468
|
+
"$ lps theme add generatepress",
|
|
7469
|
+
"$ lps theme add generatepress --version 3.4.0"
|
|
7223
7470
|
],
|
|
7224
7471
|
"flags": {
|
|
7225
7472
|
"json": {
|
|
@@ -7243,17 +7490,17 @@
|
|
|
7243
7490
|
"allowNo": false,
|
|
7244
7491
|
"type": "boolean"
|
|
7245
7492
|
},
|
|
7246
|
-
"
|
|
7247
|
-
"
|
|
7248
|
-
"
|
|
7249
|
-
"
|
|
7250
|
-
"
|
|
7251
|
-
"type": "
|
|
7493
|
+
"version": {
|
|
7494
|
+
"description": "Exact version to pin (default: \"latest\")",
|
|
7495
|
+
"name": "version",
|
|
7496
|
+
"hasDynamicHelp": false,
|
|
7497
|
+
"multiple": false,
|
|
7498
|
+
"type": "option"
|
|
7252
7499
|
}
|
|
7253
7500
|
},
|
|
7254
7501
|
"hasDynamicHelp": false,
|
|
7255
7502
|
"hiddenAliases": [],
|
|
7256
|
-
"id": "
|
|
7503
|
+
"id": "theme:add",
|
|
7257
7504
|
"pluginAlias": "@loopress/cli",
|
|
7258
7505
|
"pluginName": "@loopress/cli",
|
|
7259
7506
|
"pluginType": "core",
|
|
@@ -7279,21 +7526,18 @@
|
|
|
7279
7526
|
"relativePath": [
|
|
7280
7527
|
"dist",
|
|
7281
7528
|
"commands",
|
|
7282
|
-
"
|
|
7283
|
-
"
|
|
7529
|
+
"theme",
|
|
7530
|
+
"add.js"
|
|
7284
7531
|
]
|
|
7285
7532
|
},
|
|
7286
|
-
"
|
|
7533
|
+
"theme:pull": {
|
|
7287
7534
|
"aliases": [],
|
|
7288
|
-
"args": {
|
|
7289
|
-
|
|
7290
|
-
"description": "Path to the roles directory (overrides project config)",
|
|
7291
|
-
"name": "path"
|
|
7292
|
-
}
|
|
7293
|
-
},
|
|
7294
|
-
"description": "Push local roles (roles/<slug>.json, a \"name\" and its \"capabilities\") to WordPress. Create or update only, never deletes a role (use `lps role rm`), never changes which users have it.",
|
|
7535
|
+
"args": {},
|
|
7536
|
+
"description": "Pull everything theme related from WordPress: theme versions into loopress.json, then Global Styles into a local file",
|
|
7295
7537
|
"examples": [
|
|
7296
|
-
"$ lps
|
|
7538
|
+
"$ lps theme pull",
|
|
7539
|
+
"$ lps theme pull --env staging",
|
|
7540
|
+
"$ lps theme pull --dry-run"
|
|
7297
7541
|
],
|
|
7298
7542
|
"flags": {
|
|
7299
7543
|
"json": {
|
|
@@ -7308,13 +7552,7 @@
|
|
|
7308
7552
|
"name": "env",
|
|
7309
7553
|
"hasDynamicHelp": false,
|
|
7310
7554
|
"multiple": false,
|
|
7311
|
-
"type": "option"
|
|
7312
|
-
},
|
|
7313
|
-
"production-confirmed": {
|
|
7314
|
-
"hidden": true,
|
|
7315
|
-
"name": "production-confirmed",
|
|
7316
|
-
"allowNo": false,
|
|
7317
|
-
"type": "boolean"
|
|
7555
|
+
"type": "option"
|
|
7318
7556
|
},
|
|
7319
7557
|
"dry-run": {
|
|
7320
7558
|
"char": "d",
|
|
@@ -7322,18 +7560,11 @@
|
|
|
7322
7560
|
"name": "dry-run",
|
|
7323
7561
|
"allowNo": false,
|
|
7324
7562
|
"type": "boolean"
|
|
7325
|
-
},
|
|
7326
|
-
"yes": {
|
|
7327
|
-
"char": "y",
|
|
7328
|
-
"description": "Answer yes to confirmation prompts",
|
|
7329
|
-
"name": "yes",
|
|
7330
|
-
"allowNo": false,
|
|
7331
|
-
"type": "boolean"
|
|
7332
7563
|
}
|
|
7333
7564
|
},
|
|
7334
7565
|
"hasDynamicHelp": false,
|
|
7335
7566
|
"hiddenAliases": [],
|
|
7336
|
-
"id": "
|
|
7567
|
+
"id": "theme:pull",
|
|
7337
7568
|
"pluginAlias": "@loopress/cli",
|
|
7338
7569
|
"pluginName": "@loopress/cli",
|
|
7339
7570
|
"pluginType": "core",
|
|
@@ -7359,25 +7590,18 @@
|
|
|
7359
7590
|
"relativePath": [
|
|
7360
7591
|
"dist",
|
|
7361
7592
|
"commands",
|
|
7362
|
-
"
|
|
7363
|
-
"
|
|
7593
|
+
"theme",
|
|
7594
|
+
"pull.js"
|
|
7364
7595
|
]
|
|
7365
7596
|
},
|
|
7366
|
-
"
|
|
7367
|
-
"aliases": [
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
"args": {
|
|
7371
|
-
"slug": {
|
|
7372
|
-
"description": "The role slug, its roles/ file name without .json",
|
|
7373
|
-
"name": "slug",
|
|
7374
|
-
"required": true
|
|
7375
|
-
}
|
|
7376
|
-
},
|
|
7377
|
-
"description": "Stop registering a Loopress role on WordPress. Its users keep it in their profile, with no capability until the role is pushed again.",
|
|
7597
|
+
"theme:push": {
|
|
7598
|
+
"aliases": [],
|
|
7599
|
+
"args": {},
|
|
7600
|
+
"description": "Push everything theme related to WordPress: theme versions from loopress.json, then block templates and parts, then Global Styles. Never switches the active theme.",
|
|
7378
7601
|
"examples": [
|
|
7379
|
-
"$ lps
|
|
7380
|
-
"$ lps
|
|
7602
|
+
"$ lps theme push",
|
|
7603
|
+
"$ lps theme push --env staging",
|
|
7604
|
+
"$ lps theme push --dry-run"
|
|
7381
7605
|
],
|
|
7382
7606
|
"flags": {
|
|
7383
7607
|
"json": {
|
|
@@ -7407,11 +7631,17 @@
|
|
|
7407
7631
|
"name": "yes",
|
|
7408
7632
|
"allowNo": false,
|
|
7409
7633
|
"type": "boolean"
|
|
7634
|
+
},
|
|
7635
|
+
"force": {
|
|
7636
|
+
"description": "Passed to `lps theme version push`",
|
|
7637
|
+
"name": "force",
|
|
7638
|
+
"allowNo": false,
|
|
7639
|
+
"type": "boolean"
|
|
7410
7640
|
}
|
|
7411
7641
|
},
|
|
7412
7642
|
"hasDynamicHelp": false,
|
|
7413
7643
|
"hiddenAliases": [],
|
|
7414
|
-
"id": "
|
|
7644
|
+
"id": "theme:push",
|
|
7415
7645
|
"pluginAlias": "@loopress/cli",
|
|
7416
7646
|
"pluginName": "@loopress/cli",
|
|
7417
7647
|
"pluginType": "core",
|
|
@@ -7437,24 +7667,16 @@
|
|
|
7437
7667
|
"relativePath": [
|
|
7438
7668
|
"dist",
|
|
7439
7669
|
"commands",
|
|
7440
|
-
"
|
|
7441
|
-
"
|
|
7670
|
+
"theme",
|
|
7671
|
+
"push.js"
|
|
7442
7672
|
]
|
|
7443
7673
|
},
|
|
7444
|
-
"
|
|
7674
|
+
"theme:status": {
|
|
7445
7675
|
"aliases": [],
|
|
7446
|
-
"args": {
|
|
7447
|
-
|
|
7448
|
-
"description": "Path to roles directory (overrides project config)",
|
|
7449
|
-
"name": "path"
|
|
7450
|
-
}
|
|
7451
|
-
},
|
|
7452
|
-
"description": "Restore roles to a snapshot taken automatically before an earlier `lps role push`",
|
|
7676
|
+
"args": {},
|
|
7677
|
+
"description": "Compare the themes on WordPress against loopress.json and report version drift",
|
|
7453
7678
|
"examples": [
|
|
7454
|
-
"$ lps
|
|
7455
|
-
"$ lps role rollback --list",
|
|
7456
|
-
"$ lps role rollback --to 1732000000000",
|
|
7457
|
-
"$ lps role rollback --dry-run"
|
|
7679
|
+
"$ lps theme status"
|
|
7458
7680
|
],
|
|
7459
7681
|
"flags": {
|
|
7460
7682
|
"json": {
|
|
@@ -7470,38 +7692,11 @@
|
|
|
7470
7692
|
"hasDynamicHelp": false,
|
|
7471
7693
|
"multiple": false,
|
|
7472
7694
|
"type": "option"
|
|
7473
|
-
},
|
|
7474
|
-
"dry-run": {
|
|
7475
|
-
"char": "d",
|
|
7476
|
-
"description": "Show what would change without making changes",
|
|
7477
|
-
"name": "dry-run",
|
|
7478
|
-
"allowNo": false,
|
|
7479
|
-
"type": "boolean"
|
|
7480
|
-
},
|
|
7481
|
-
"yes": {
|
|
7482
|
-
"char": "y",
|
|
7483
|
-
"description": "Answer yes to confirmation prompts",
|
|
7484
|
-
"name": "yes",
|
|
7485
|
-
"allowNo": false,
|
|
7486
|
-
"type": "boolean"
|
|
7487
|
-
},
|
|
7488
|
-
"list": {
|
|
7489
|
-
"description": "List available snapshots instead of rolling back",
|
|
7490
|
-
"name": "list",
|
|
7491
|
-
"allowNo": false,
|
|
7492
|
-
"type": "boolean"
|
|
7493
|
-
},
|
|
7494
|
-
"to": {
|
|
7495
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
7496
|
-
"name": "to",
|
|
7497
|
-
"hasDynamicHelp": false,
|
|
7498
|
-
"multiple": false,
|
|
7499
|
-
"type": "option"
|
|
7500
7695
|
}
|
|
7501
7696
|
},
|
|
7502
7697
|
"hasDynamicHelp": false,
|
|
7503
7698
|
"hiddenAliases": [],
|
|
7504
|
-
"id": "
|
|
7699
|
+
"id": "theme:status",
|
|
7505
7700
|
"pluginAlias": "@loopress/cli",
|
|
7506
7701
|
"pluginName": "@loopress/cli",
|
|
7507
7702
|
"pluginType": "core",
|
|
@@ -7527,8 +7722,8 @@
|
|
|
7527
7722
|
"relativePath": [
|
|
7528
7723
|
"dist",
|
|
7529
7724
|
"commands",
|
|
7530
|
-
"
|
|
7531
|
-
"
|
|
7725
|
+
"theme",
|
|
7726
|
+
"status.js"
|
|
7532
7727
|
]
|
|
7533
7728
|
},
|
|
7534
7729
|
"theme:style:diff": {
|
|
@@ -7704,6 +7899,12 @@
|
|
|
7704
7899
|
"multiple": false,
|
|
7705
7900
|
"type": "option"
|
|
7706
7901
|
},
|
|
7902
|
+
"overwrite": {
|
|
7903
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
7904
|
+
"name": "overwrite",
|
|
7905
|
+
"allowNo": false,
|
|
7906
|
+
"type": "boolean"
|
|
7907
|
+
},
|
|
7707
7908
|
"production-confirmed": {
|
|
7708
7909
|
"hidden": true,
|
|
7709
7910
|
"name": "production-confirmed",
|
|
@@ -7849,12 +8050,14 @@
|
|
|
7849
8050
|
"rollback.js"
|
|
7850
8051
|
]
|
|
7851
8052
|
},
|
|
7852
|
-
"theme:
|
|
8053
|
+
"theme:template:diff": {
|
|
7853
8054
|
"aliases": [],
|
|
7854
8055
|
"args": {},
|
|
7855
|
-
"description": "
|
|
8056
|
+
"description": "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.",
|
|
7856
8057
|
"examples": [
|
|
7857
|
-
"$ lps theme
|
|
8058
|
+
"$ lps theme template diff",
|
|
8059
|
+
"$ lps theme template diff --env staging",
|
|
8060
|
+
"$ lps theme template diff --env staging --against production"
|
|
7858
8061
|
],
|
|
7859
8062
|
"flags": {
|
|
7860
8063
|
"json": {
|
|
@@ -7871,17 +8074,17 @@
|
|
|
7871
8074
|
"multiple": false,
|
|
7872
8075
|
"type": "option"
|
|
7873
8076
|
},
|
|
7874
|
-
"
|
|
7875
|
-
"
|
|
7876
|
-
"
|
|
7877
|
-
"
|
|
7878
|
-
"
|
|
7879
|
-
"type": "
|
|
8077
|
+
"against": {
|
|
8078
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
8079
|
+
"name": "against",
|
|
8080
|
+
"hasDynamicHelp": false,
|
|
8081
|
+
"multiple": false,
|
|
8082
|
+
"type": "option"
|
|
7880
8083
|
}
|
|
7881
8084
|
},
|
|
7882
8085
|
"hasDynamicHelp": false,
|
|
7883
8086
|
"hiddenAliases": [],
|
|
7884
|
-
"id": "theme:
|
|
8087
|
+
"id": "theme:template:diff",
|
|
7885
8088
|
"pluginAlias": "@loopress/cli",
|
|
7886
8089
|
"pluginName": "@loopress/cli",
|
|
7887
8090
|
"pluginType": "core",
|
|
@@ -7903,22 +8106,29 @@
|
|
|
7903
8106
|
"type": "boolean"
|
|
7904
8107
|
}
|
|
7905
8108
|
},
|
|
8109
|
+
"againstFlag": {
|
|
8110
|
+
"against": {
|
|
8111
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
8112
|
+
"input": [],
|
|
8113
|
+
"multiple": false,
|
|
8114
|
+
"type": "option"
|
|
8115
|
+
}
|
|
8116
|
+
},
|
|
7906
8117
|
"isESM": true,
|
|
7907
8118
|
"relativePath": [
|
|
7908
8119
|
"dist",
|
|
7909
8120
|
"commands",
|
|
7910
8121
|
"theme",
|
|
7911
|
-
"
|
|
7912
|
-
"
|
|
8122
|
+
"template",
|
|
8123
|
+
"diff.js"
|
|
7913
8124
|
]
|
|
7914
8125
|
},
|
|
7915
|
-
"theme:
|
|
8126
|
+
"theme:template:list": {
|
|
7916
8127
|
"aliases": [],
|
|
7917
8128
|
"args": {},
|
|
7918
|
-
"description": "
|
|
8129
|
+
"description": "Show the Loopress child theme of the active block theme: whether it is active, its templates and parts, and those edited in the Site Editor",
|
|
7919
8130
|
"examples": [
|
|
7920
|
-
"$ lps theme
|
|
7921
|
-
"$ lps theme version push --force"
|
|
8131
|
+
"$ lps theme template list"
|
|
7922
8132
|
],
|
|
7923
8133
|
"flags": {
|
|
7924
8134
|
"json": {
|
|
@@ -7934,37 +8144,11 @@
|
|
|
7934
8144
|
"hasDynamicHelp": false,
|
|
7935
8145
|
"multiple": false,
|
|
7936
8146
|
"type": "option"
|
|
7937
|
-
},
|
|
7938
|
-
"production-confirmed": {
|
|
7939
|
-
"hidden": true,
|
|
7940
|
-
"name": "production-confirmed",
|
|
7941
|
-
"allowNo": false,
|
|
7942
|
-
"type": "boolean"
|
|
7943
|
-
},
|
|
7944
|
-
"dry-run": {
|
|
7945
|
-
"char": "d",
|
|
7946
|
-
"description": "Show what would change without making changes",
|
|
7947
|
-
"name": "dry-run",
|
|
7948
|
-
"allowNo": false,
|
|
7949
|
-
"type": "boolean"
|
|
7950
|
-
},
|
|
7951
|
-
"yes": {
|
|
7952
|
-
"char": "y",
|
|
7953
|
-
"description": "Answer yes to confirmation prompts",
|
|
7954
|
-
"name": "yes",
|
|
7955
|
-
"allowNo": false,
|
|
7956
|
-
"type": "boolean"
|
|
7957
|
-
},
|
|
7958
|
-
"force": {
|
|
7959
|
-
"description": "Allow downgrades and take over themes installed outside Loopress",
|
|
7960
|
-
"name": "force",
|
|
7961
|
-
"allowNo": false,
|
|
7962
|
-
"type": "boolean"
|
|
7963
8147
|
}
|
|
7964
8148
|
},
|
|
7965
8149
|
"hasDynamicHelp": false,
|
|
7966
8150
|
"hiddenAliases": [],
|
|
7967
|
-
"id": "theme:
|
|
8151
|
+
"id": "theme:template:list",
|
|
7968
8152
|
"pluginAlias": "@loopress/cli",
|
|
7969
8153
|
"pluginName": "@loopress/cli",
|
|
7970
8154
|
"pluginType": "core",
|
|
@@ -7991,18 +8175,17 @@
|
|
|
7991
8175
|
"dist",
|
|
7992
8176
|
"commands",
|
|
7993
8177
|
"theme",
|
|
7994
|
-
"
|
|
7995
|
-
"
|
|
8178
|
+
"template",
|
|
8179
|
+
"list.js"
|
|
7996
8180
|
]
|
|
7997
8181
|
},
|
|
7998
|
-
"theme:template:
|
|
8182
|
+
"theme:template:push": {
|
|
7999
8183
|
"aliases": [],
|
|
8000
8184
|
"args": {},
|
|
8001
|
-
"description": "
|
|
8185
|
+
"description": "Push block templates (theme/templates/<slug>.html), template parts (theme/parts/<slug>.html) and the theme CSS (theme/css/style.css, theme/blocks/<namespace>/<block>.css, bundled with esbuild) 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.",
|
|
8002
8186
|
"examples": [
|
|
8003
|
-
"$ lps theme template
|
|
8004
|
-
"$ lps theme template
|
|
8005
|
-
"$ lps theme template diff --env staging --against production"
|
|
8187
|
+
"$ lps theme template push",
|
|
8188
|
+
"$ lps theme template push --dry-run"
|
|
8006
8189
|
],
|
|
8007
8190
|
"flags": {
|
|
8008
8191
|
"json": {
|
|
@@ -8019,17 +8202,36 @@
|
|
|
8019
8202
|
"multiple": false,
|
|
8020
8203
|
"type": "option"
|
|
8021
8204
|
},
|
|
8022
|
-
"
|
|
8023
|
-
"description": "
|
|
8024
|
-
"name": "
|
|
8025
|
-
"
|
|
8026
|
-
"
|
|
8027
|
-
|
|
8205
|
+
"overwrite": {
|
|
8206
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
8207
|
+
"name": "overwrite",
|
|
8208
|
+
"allowNo": false,
|
|
8209
|
+
"type": "boolean"
|
|
8210
|
+
},
|
|
8211
|
+
"production-confirmed": {
|
|
8212
|
+
"hidden": true,
|
|
8213
|
+
"name": "production-confirmed",
|
|
8214
|
+
"allowNo": false,
|
|
8215
|
+
"type": "boolean"
|
|
8216
|
+
},
|
|
8217
|
+
"dry-run": {
|
|
8218
|
+
"char": "d",
|
|
8219
|
+
"description": "Show what would change without making changes",
|
|
8220
|
+
"name": "dry-run",
|
|
8221
|
+
"allowNo": false,
|
|
8222
|
+
"type": "boolean"
|
|
8223
|
+
},
|
|
8224
|
+
"yes": {
|
|
8225
|
+
"char": "y",
|
|
8226
|
+
"description": "Answer yes to confirmation prompts",
|
|
8227
|
+
"name": "yes",
|
|
8228
|
+
"allowNo": false,
|
|
8229
|
+
"type": "boolean"
|
|
8028
8230
|
}
|
|
8029
8231
|
},
|
|
8030
8232
|
"hasDynamicHelp": false,
|
|
8031
8233
|
"hiddenAliases": [],
|
|
8032
|
-
"id": "theme:template:
|
|
8234
|
+
"id": "theme:template:push",
|
|
8033
8235
|
"pluginAlias": "@loopress/cli",
|
|
8034
8236
|
"pluginName": "@loopress/cli",
|
|
8035
8237
|
"pluginType": "core",
|
|
@@ -8051,29 +8253,21 @@
|
|
|
8051
8253
|
"type": "boolean"
|
|
8052
8254
|
}
|
|
8053
8255
|
},
|
|
8054
|
-
"againstFlag": {
|
|
8055
|
-
"against": {
|
|
8056
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
8057
|
-
"input": [],
|
|
8058
|
-
"multiple": false,
|
|
8059
|
-
"type": "option"
|
|
8060
|
-
}
|
|
8061
|
-
},
|
|
8062
8256
|
"isESM": true,
|
|
8063
8257
|
"relativePath": [
|
|
8064
8258
|
"dist",
|
|
8065
8259
|
"commands",
|
|
8066
8260
|
"theme",
|
|
8067
8261
|
"template",
|
|
8068
|
-
"
|
|
8262
|
+
"push.js"
|
|
8069
8263
|
]
|
|
8070
8264
|
},
|
|
8071
|
-
"theme:
|
|
8265
|
+
"theme:version:pull": {
|
|
8072
8266
|
"aliases": [],
|
|
8073
8267
|
"args": {},
|
|
8074
|
-
"description": "
|
|
8268
|
+
"description": "Pull installed themes from WordPress into loopress.json, pinned to their live versions",
|
|
8075
8269
|
"examples": [
|
|
8076
|
-
"$ lps theme
|
|
8270
|
+
"$ lps theme version pull"
|
|
8077
8271
|
],
|
|
8078
8272
|
"flags": {
|
|
8079
8273
|
"json": {
|
|
@@ -8089,11 +8283,18 @@
|
|
|
8089
8283
|
"hasDynamicHelp": false,
|
|
8090
8284
|
"multiple": false,
|
|
8091
8285
|
"type": "option"
|
|
8286
|
+
},
|
|
8287
|
+
"dry-run": {
|
|
8288
|
+
"char": "d",
|
|
8289
|
+
"description": "Show what would change without making changes",
|
|
8290
|
+
"name": "dry-run",
|
|
8291
|
+
"allowNo": false,
|
|
8292
|
+
"type": "boolean"
|
|
8092
8293
|
}
|
|
8093
8294
|
},
|
|
8094
8295
|
"hasDynamicHelp": false,
|
|
8095
8296
|
"hiddenAliases": [],
|
|
8096
|
-
"id": "theme:
|
|
8297
|
+
"id": "theme:version:pull",
|
|
8097
8298
|
"pluginAlias": "@loopress/cli",
|
|
8098
8299
|
"pluginName": "@loopress/cli",
|
|
8099
8300
|
"pluginType": "core",
|
|
@@ -8120,17 +8321,17 @@
|
|
|
8120
8321
|
"dist",
|
|
8121
8322
|
"commands",
|
|
8122
8323
|
"theme",
|
|
8123
|
-
"
|
|
8124
|
-
"
|
|
8324
|
+
"version",
|
|
8325
|
+
"pull.js"
|
|
8125
8326
|
]
|
|
8126
8327
|
},
|
|
8127
|
-
"theme:
|
|
8328
|
+
"theme:version:push": {
|
|
8128
8329
|
"aliases": [],
|
|
8129
8330
|
"args": {},
|
|
8130
|
-
"description": "
|
|
8331
|
+
"description": "Install WordPress.org themes on WordPress to match loopress.json, via Composer + WPackagist (versions only, never switches the active theme)",
|
|
8131
8332
|
"examples": [
|
|
8132
|
-
"$ lps theme
|
|
8133
|
-
"$ lps theme
|
|
8333
|
+
"$ lps theme version push",
|
|
8334
|
+
"$ lps theme version push --force"
|
|
8134
8335
|
],
|
|
8135
8336
|
"flags": {
|
|
8136
8337
|
"json": {
|
|
@@ -8147,6 +8348,12 @@
|
|
|
8147
8348
|
"multiple": false,
|
|
8148
8349
|
"type": "option"
|
|
8149
8350
|
},
|
|
8351
|
+
"overwrite": {
|
|
8352
|
+
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
8353
|
+
"name": "overwrite",
|
|
8354
|
+
"allowNo": false,
|
|
8355
|
+
"type": "boolean"
|
|
8356
|
+
},
|
|
8150
8357
|
"production-confirmed": {
|
|
8151
8358
|
"hidden": true,
|
|
8152
8359
|
"name": "production-confirmed",
|
|
@@ -8166,11 +8373,17 @@
|
|
|
8166
8373
|
"name": "yes",
|
|
8167
8374
|
"allowNo": false,
|
|
8168
8375
|
"type": "boolean"
|
|
8376
|
+
},
|
|
8377
|
+
"force": {
|
|
8378
|
+
"description": "Allow downgrades and take over themes installed outside Loopress",
|
|
8379
|
+
"name": "force",
|
|
8380
|
+
"allowNo": false,
|
|
8381
|
+
"type": "boolean"
|
|
8169
8382
|
}
|
|
8170
8383
|
},
|
|
8171
8384
|
"hasDynamicHelp": false,
|
|
8172
8385
|
"hiddenAliases": [],
|
|
8173
|
-
"id": "theme:
|
|
8386
|
+
"id": "theme:version:push",
|
|
8174
8387
|
"pluginAlias": "@loopress/cli",
|
|
8175
8388
|
"pluginName": "@loopress/cli",
|
|
8176
8389
|
"pluginType": "core",
|
|
@@ -8197,10 +8410,10 @@
|
|
|
8197
8410
|
"dist",
|
|
8198
8411
|
"commands",
|
|
8199
8412
|
"theme",
|
|
8200
|
-
"
|
|
8413
|
+
"version",
|
|
8201
8414
|
"push.js"
|
|
8202
8415
|
]
|
|
8203
8416
|
}
|
|
8204
8417
|
},
|
|
8205
|
-
"version": "0.
|
|
8418
|
+
"version": "0.32.0"
|
|
8206
8419
|
}
|