@loopress/cli 0.31.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 +440 -221
- 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 +12 -4
- 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/diff.d.ts +1 -0
- package/dist/commands/diff.js +13 -2
- package/dist/commands/doctor.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/commands/page/push.d.ts +4 -1
- package/dist/commands/page/push.js +40 -8
- package/dist/commands/pattern/push.js +1 -1
- package/dist/commands/pattern/rm.js +1 -1
- package/dist/commands/plugin/audit.js +1 -1
- package/dist/commands/plugin/push.js +1 -1
- package/dist/commands/plugin/status.js +1 -1
- package/dist/commands/pull.d.ts +1 -1
- package/dist/commands/pull.js +22 -10
- package/dist/commands/push.d.ts +2 -0
- package/dist/commands/push.js +29 -9
- package/dist/commands/snippet/list.js +1 -1
- package/dist/commands/snippet/pull.js +1 -1
- package/dist/commands/snippet/push.d.ts +2 -1
- package/dist/commands/snippet/push.js +2 -2
- 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/push.js +1 -1
- 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 +1 -0
- package/dist/lib/diff-command.js +10 -2
- package/dist/lib/php-files-command.d.ts +3 -1
- package/dist/lib/php-files-command.js +34 -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 +17 -0
- package/dist/lib/push-command.js +42 -3
- package/dist/lib/validate-local.js +12 -5
- package/dist/lib/wp-client.d.ts +1 -0
- package/dist/lib/wp-client.js +13 -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 +467 -456
- package/package.json +2 -2
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"
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
"type": "boolean"
|
|
332
332
|
},
|
|
333
333
|
"overwrite": {
|
|
334
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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
335
|
"name": "overwrite",
|
|
336
336
|
"allowNo": false,
|
|
337
337
|
"type": "boolean"
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
"pull": {
|
|
356
356
|
"aliases": [],
|
|
357
357
|
"args": {},
|
|
358
|
-
"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",
|
|
359
359
|
"examples": [
|
|
360
360
|
"$ lps pull",
|
|
361
361
|
"$ lps pull --env staging",
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"push": {
|
|
426
426
|
"aliases": [],
|
|
427
427
|
"args": {},
|
|
428
|
-
"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",
|
|
429
429
|
"examples": [
|
|
430
430
|
"$ lps push",
|
|
431
431
|
"$ lps push --env staging",
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"type": "boolean"
|
|
462
462
|
},
|
|
463
463
|
"overwrite": {
|
|
464
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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
465
|
"name": "overwrite",
|
|
466
466
|
"allowNo": false,
|
|
467
467
|
"type": "boolean"
|
|
@@ -590,7 +590,9 @@
|
|
|
590
590
|
]
|
|
591
591
|
},
|
|
592
592
|
"acf:diff": {
|
|
593
|
-
"aliases": [
|
|
593
|
+
"aliases": [
|
|
594
|
+
"scf:diff"
|
|
595
|
+
],
|
|
594
596
|
"args": {
|
|
595
597
|
"path": {
|
|
596
598
|
"description": "Path to ACF directory (overrides project config)",
|
|
@@ -667,9 +669,11 @@
|
|
|
667
669
|
]
|
|
668
670
|
},
|
|
669
671
|
"acf:list": {
|
|
670
|
-
"aliases": [
|
|
672
|
+
"aliases": [
|
|
673
|
+
"scf:list"
|
|
674
|
+
],
|
|
671
675
|
"args": {},
|
|
672
|
-
"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",
|
|
673
677
|
"examples": [
|
|
674
678
|
"$ lps acf list",
|
|
675
679
|
"$ lps acf list --type field-groups"
|
|
@@ -736,14 +740,16 @@
|
|
|
736
740
|
]
|
|
737
741
|
},
|
|
738
742
|
"acf:pull": {
|
|
739
|
-
"aliases": [
|
|
743
|
+
"aliases": [
|
|
744
|
+
"scf:pull"
|
|
745
|
+
],
|
|
740
746
|
"args": {
|
|
741
747
|
"path": {
|
|
742
748
|
"description": "Path to ACF directory (overrides project config)",
|
|
743
749
|
"name": "path"
|
|
744
750
|
}
|
|
745
751
|
},
|
|
746
|
-
"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",
|
|
747
753
|
"examples": [
|
|
748
754
|
"$ lps acf pull",
|
|
749
755
|
"$ lps acf pull --type field-groups"
|
|
@@ -824,14 +830,16 @@
|
|
|
824
830
|
]
|
|
825
831
|
},
|
|
826
832
|
"acf:push": {
|
|
827
|
-
"aliases": [
|
|
833
|
+
"aliases": [
|
|
834
|
+
"scf:push"
|
|
835
|
+
],
|
|
828
836
|
"args": {
|
|
829
837
|
"path": {
|
|
830
838
|
"description": "Path to ACF directory (overrides project config)",
|
|
831
839
|
"name": "path"
|
|
832
840
|
}
|
|
833
841
|
},
|
|
834
|
-
"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",
|
|
835
843
|
"examples": [
|
|
836
844
|
"$ lps acf push",
|
|
837
845
|
"$ lps acf push --type field-groups"
|
|
@@ -852,7 +860,7 @@
|
|
|
852
860
|
"type": "option"
|
|
853
861
|
},
|
|
854
862
|
"overwrite": {
|
|
855
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
856
864
|
"name": "overwrite",
|
|
857
865
|
"allowNo": false,
|
|
858
866
|
"type": "boolean"
|
|
@@ -924,7 +932,9 @@
|
|
|
924
932
|
]
|
|
925
933
|
},
|
|
926
934
|
"acf:rollback": {
|
|
927
|
-
"aliases": [
|
|
935
|
+
"aliases": [
|
|
936
|
+
"scf:rollback"
|
|
937
|
+
],
|
|
928
938
|
"args": {
|
|
929
939
|
"path": {
|
|
930
940
|
"description": "Path to ACF directory (overrides project config)",
|
|
@@ -1093,7 +1103,7 @@
|
|
|
1093
1103
|
"api:list": {
|
|
1094
1104
|
"aliases": [],
|
|
1095
1105
|
"args": {},
|
|
1096
|
-
"description": "List custom API route files
|
|
1106
|
+
"description": "List custom API route files currently on WordPress",
|
|
1097
1107
|
"examples": [
|
|
1098
1108
|
"$ lps api list"
|
|
1099
1109
|
],
|
|
@@ -1183,7 +1193,7 @@
|
|
|
1183
1193
|
"name": "path"
|
|
1184
1194
|
}
|
|
1185
1195
|
},
|
|
1186
|
-
"description": "Pull custom API route files from WordPress",
|
|
1196
|
+
"description": "Pull custom API route files from WordPress into local files",
|
|
1187
1197
|
"examples": [
|
|
1188
1198
|
"$ lps api pull",
|
|
1189
1199
|
"$ lps api pull --path ./api"
|
|
@@ -1258,7 +1268,7 @@
|
|
|
1258
1268
|
"name": "path"
|
|
1259
1269
|
}
|
|
1260
1270
|
},
|
|
1261
|
-
"description": "Push custom API route files to WordPress",
|
|
1271
|
+
"description": "Push local custom API route files to WordPress",
|
|
1262
1272
|
"examples": [
|
|
1263
1273
|
"$ lps api push",
|
|
1264
1274
|
"$ lps api push --path ./api",
|
|
@@ -1280,7 +1290,7 @@
|
|
|
1280
1290
|
"type": "option"
|
|
1281
1291
|
},
|
|
1282
1292
|
"overwrite": {
|
|
1283
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
1284
1294
|
"name": "overwrite",
|
|
1285
1295
|
"allowNo": false,
|
|
1286
1296
|
"type": "boolean"
|
|
@@ -1355,7 +1365,7 @@
|
|
|
1355
1365
|
"required": true
|
|
1356
1366
|
}
|
|
1357
1367
|
},
|
|
1358
|
-
"description": "Remove
|
|
1368
|
+
"description": "Remove one custom API route file from WordPress",
|
|
1359
1369
|
"examples": [
|
|
1360
1370
|
"$ lps api rm hello",
|
|
1361
1371
|
"$ lps api remove hello --yes"
|
|
@@ -1571,7 +1581,7 @@
|
|
|
1571
1581
|
"composer:pull": {
|
|
1572
1582
|
"aliases": [],
|
|
1573
1583
|
"args": {},
|
|
1574
|
-
"description": "Pull composer.json and composer.lock from WordPress",
|
|
1584
|
+
"description": "Pull composer.json and composer.lock from WordPress into local files",
|
|
1575
1585
|
"examples": [
|
|
1576
1586
|
"$ lps composer pull",
|
|
1577
1587
|
"$ lps composer pull --dry-run"
|
|
@@ -1655,7 +1665,7 @@
|
|
|
1655
1665
|
"type": "option"
|
|
1656
1666
|
},
|
|
1657
1667
|
"overwrite": {
|
|
1658
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
1659
1669
|
"name": "overwrite",
|
|
1660
1670
|
"allowNo": false,
|
|
1661
1671
|
"type": "boolean"
|
|
@@ -1719,6 +1729,82 @@
|
|
|
1719
1729
|
"push.js"
|
|
1720
1730
|
]
|
|
1721
1731
|
},
|
|
1732
|
+
"content:copy": {
|
|
1733
|
+
"aliases": [],
|
|
1734
|
+
"args": {
|
|
1735
|
+
"from": {
|
|
1736
|
+
"description": "Environment to copy the content from",
|
|
1737
|
+
"name": "from",
|
|
1738
|
+
"required": true
|
|
1739
|
+
}
|
|
1740
|
+
},
|
|
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.",
|
|
1742
|
+
"examples": [
|
|
1743
|
+
"$ lps content copy production",
|
|
1744
|
+
"$ lps content copy staging --dry-run"
|
|
1745
|
+
],
|
|
1746
|
+
"flags": {
|
|
1747
|
+
"json": {
|
|
1748
|
+
"description": "Format output as json.",
|
|
1749
|
+
"helpGroup": "GLOBAL",
|
|
1750
|
+
"name": "json",
|
|
1751
|
+
"allowNo": false,
|
|
1752
|
+
"type": "boolean"
|
|
1753
|
+
},
|
|
1754
|
+
"env": {
|
|
1755
|
+
"hidden": true,
|
|
1756
|
+
"name": "env",
|
|
1757
|
+
"hasDynamicHelp": false,
|
|
1758
|
+
"multiple": false,
|
|
1759
|
+
"type": "option"
|
|
1760
|
+
},
|
|
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"
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
"hasDynamicHelp": false,
|
|
1777
|
+
"hiddenAliases": [],
|
|
1778
|
+
"id": "content:copy",
|
|
1779
|
+
"pluginAlias": "@loopress/cli",
|
|
1780
|
+
"pluginName": "@loopress/cli",
|
|
1781
|
+
"pluginType": "core",
|
|
1782
|
+
"strict": true,
|
|
1783
|
+
"enableJsonFlag": true,
|
|
1784
|
+
"dryRunFlag": {
|
|
1785
|
+
"dry-run": {
|
|
1786
|
+
"char": "d",
|
|
1787
|
+
"description": "Show what would change without making changes",
|
|
1788
|
+
"allowNo": false,
|
|
1789
|
+
"type": "boolean"
|
|
1790
|
+
}
|
|
1791
|
+
},
|
|
1792
|
+
"yesFlag": {
|
|
1793
|
+
"yes": {
|
|
1794
|
+
"char": "y",
|
|
1795
|
+
"description": "Answer yes to confirmation prompts",
|
|
1796
|
+
"allowNo": false,
|
|
1797
|
+
"type": "boolean"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
"isESM": true,
|
|
1801
|
+
"relativePath": [
|
|
1802
|
+
"dist",
|
|
1803
|
+
"commands",
|
|
1804
|
+
"content",
|
|
1805
|
+
"copy.js"
|
|
1806
|
+
]
|
|
1807
|
+
},
|
|
1722
1808
|
"app:list": {
|
|
1723
1809
|
"aliases": [],
|
|
1724
1810
|
"args": {},
|
|
@@ -1878,7 +1964,7 @@
|
|
|
1878
1964
|
"type": "option"
|
|
1879
1965
|
},
|
|
1880
1966
|
"overwrite": {
|
|
1881
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
1882
1968
|
"name": "overwrite",
|
|
1883
1969
|
"allowNo": false,
|
|
1884
1970
|
"type": "boolean"
|
|
@@ -2017,82 +2103,6 @@
|
|
|
2017
2103
|
"remove.js"
|
|
2018
2104
|
]
|
|
2019
2105
|
},
|
|
2020
|
-
"content:copy": {
|
|
2021
|
-
"aliases": [],
|
|
2022
|
-
"args": {
|
|
2023
|
-
"from": {
|
|
2024
|
-
"description": "Environment to copy the content from",
|
|
2025
|
-
"name": "from",
|
|
2026
|
-
"required": true
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
"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.",
|
|
2030
|
-
"examples": [
|
|
2031
|
-
"$ lps content copy production",
|
|
2032
|
-
"$ lps content copy staging --dry-run"
|
|
2033
|
-
],
|
|
2034
|
-
"flags": {
|
|
2035
|
-
"json": {
|
|
2036
|
-
"description": "Format output as json.",
|
|
2037
|
-
"helpGroup": "GLOBAL",
|
|
2038
|
-
"name": "json",
|
|
2039
|
-
"allowNo": false,
|
|
2040
|
-
"type": "boolean"
|
|
2041
|
-
},
|
|
2042
|
-
"env": {
|
|
2043
|
-
"hidden": true,
|
|
2044
|
-
"name": "env",
|
|
2045
|
-
"hasDynamicHelp": false,
|
|
2046
|
-
"multiple": false,
|
|
2047
|
-
"type": "option"
|
|
2048
|
-
},
|
|
2049
|
-
"dry-run": {
|
|
2050
|
-
"char": "d",
|
|
2051
|
-
"description": "Show what would change without making changes",
|
|
2052
|
-
"name": "dry-run",
|
|
2053
|
-
"allowNo": false,
|
|
2054
|
-
"type": "boolean"
|
|
2055
|
-
},
|
|
2056
|
-
"yes": {
|
|
2057
|
-
"char": "y",
|
|
2058
|
-
"description": "Answer yes to confirmation prompts",
|
|
2059
|
-
"name": "yes",
|
|
2060
|
-
"allowNo": false,
|
|
2061
|
-
"type": "boolean"
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
"hasDynamicHelp": false,
|
|
2065
|
-
"hiddenAliases": [],
|
|
2066
|
-
"id": "content:copy",
|
|
2067
|
-
"pluginAlias": "@loopress/cli",
|
|
2068
|
-
"pluginName": "@loopress/cli",
|
|
2069
|
-
"pluginType": "core",
|
|
2070
|
-
"strict": true,
|
|
2071
|
-
"enableJsonFlag": true,
|
|
2072
|
-
"dryRunFlag": {
|
|
2073
|
-
"dry-run": {
|
|
2074
|
-
"char": "d",
|
|
2075
|
-
"description": "Show what would change without making changes",
|
|
2076
|
-
"allowNo": false,
|
|
2077
|
-
"type": "boolean"
|
|
2078
|
-
}
|
|
2079
|
-
},
|
|
2080
|
-
"yesFlag": {
|
|
2081
|
-
"yes": {
|
|
2082
|
-
"char": "y",
|
|
2083
|
-
"description": "Answer yes to confirmation prompts",
|
|
2084
|
-
"allowNo": false,
|
|
2085
|
-
"type": "boolean"
|
|
2086
|
-
}
|
|
2087
|
-
},
|
|
2088
|
-
"isESM": true,
|
|
2089
|
-
"relativePath": [
|
|
2090
|
-
"dist",
|
|
2091
|
-
"commands",
|
|
2092
|
-
"content",
|
|
2093
|
-
"copy.js"
|
|
2094
|
-
]
|
|
2095
|
-
},
|
|
2096
2106
|
"cpt:diff": {
|
|
2097
2107
|
"aliases": [],
|
|
2098
2108
|
"args": {
|
|
@@ -2327,7 +2337,7 @@
|
|
|
2327
2337
|
"type": "option"
|
|
2328
2338
|
},
|
|
2329
2339
|
"overwrite": {
|
|
2330
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
2331
2341
|
"name": "overwrite",
|
|
2332
2342
|
"allowNo": false,
|
|
2333
2343
|
"type": "boolean"
|
|
@@ -2633,7 +2643,7 @@
|
|
|
2633
2643
|
"form:list": {
|
|
2634
2644
|
"aliases": [],
|
|
2635
2645
|
"args": {},
|
|
2636
|
-
"description": "List forms
|
|
2646
|
+
"description": "List forms currently on WordPress",
|
|
2637
2647
|
"examples": [
|
|
2638
2648
|
"$ lps form list"
|
|
2639
2649
|
],
|
|
@@ -2693,7 +2703,7 @@
|
|
|
2693
2703
|
"name": "path"
|
|
2694
2704
|
}
|
|
2695
2705
|
},
|
|
2696
|
-
"description": "Pull forms from WordPress",
|
|
2706
|
+
"description": "Pull forms from WordPress into local files",
|
|
2697
2707
|
"examples": [
|
|
2698
2708
|
"$ lps form pull"
|
|
2699
2709
|
],
|
|
@@ -2767,7 +2777,7 @@
|
|
|
2767
2777
|
"name": "path"
|
|
2768
2778
|
}
|
|
2769
2779
|
},
|
|
2770
|
-
"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.",
|
|
2771
2781
|
"examples": [
|
|
2772
2782
|
"$ lps form push",
|
|
2773
2783
|
"$ lps form push --allow-notifications"
|
|
@@ -2788,7 +2798,7 @@
|
|
|
2788
2798
|
"type": "option"
|
|
2789
2799
|
},
|
|
2790
2800
|
"overwrite": {
|
|
2791
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
2792
2802
|
"name": "overwrite",
|
|
2793
2803
|
"allowNo": false,
|
|
2794
2804
|
"type": "boolean"
|
|
@@ -3022,7 +3032,7 @@
|
|
|
3022
3032
|
"hook:list": {
|
|
3023
3033
|
"aliases": [],
|
|
3024
3034
|
"args": {},
|
|
3025
|
-
"description": "List hook files (actions, filters, cron)
|
|
3035
|
+
"description": "List hook files (actions, filters, cron) currently on WordPress",
|
|
3026
3036
|
"examples": [
|
|
3027
3037
|
"$ lps hook list"
|
|
3028
3038
|
],
|
|
@@ -3082,7 +3092,7 @@
|
|
|
3082
3092
|
"name": "path"
|
|
3083
3093
|
}
|
|
3084
3094
|
},
|
|
3085
|
-
"description": "Pull hook files (actions, filters, cron) from WordPress",
|
|
3095
|
+
"description": "Pull hook files (actions, filters, cron) from WordPress into local files",
|
|
3086
3096
|
"examples": [
|
|
3087
3097
|
"$ lps hook pull",
|
|
3088
3098
|
"$ lps hook pull --path ./hooks"
|
|
@@ -3157,7 +3167,7 @@
|
|
|
3157
3167
|
"name": "path"
|
|
3158
3168
|
}
|
|
3159
3169
|
},
|
|
3160
|
-
"description": "Push hook files (actions, filters, cron) to WordPress",
|
|
3170
|
+
"description": "Push local hook files (actions, filters, cron) to WordPress",
|
|
3161
3171
|
"examples": [
|
|
3162
3172
|
"$ lps hook push",
|
|
3163
3173
|
"$ lps hook push --path ./hooks",
|
|
@@ -3179,7 +3189,7 @@
|
|
|
3179
3189
|
"type": "option"
|
|
3180
3190
|
},
|
|
3181
3191
|
"overwrite": {
|
|
3182
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
3183
3193
|
"name": "overwrite",
|
|
3184
3194
|
"allowNo": false,
|
|
3185
3195
|
"type": "boolean"
|
|
@@ -3254,7 +3264,7 @@
|
|
|
3254
3264
|
"required": true
|
|
3255
3265
|
}
|
|
3256
3266
|
},
|
|
3257
|
-
"description": "Remove
|
|
3267
|
+
"description": "Remove one hook file (action, filter, cron) from WordPress",
|
|
3258
3268
|
"examples": [
|
|
3259
3269
|
"$ lps hook rm hello",
|
|
3260
3270
|
"$ lps hook remove hello --yes"
|
|
@@ -3645,7 +3655,7 @@
|
|
|
3645
3655
|
"type": "option"
|
|
3646
3656
|
},
|
|
3647
3657
|
"overwrite": {
|
|
3648
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
3649
3659
|
"name": "overwrite",
|
|
3650
3660
|
"allowNo": false,
|
|
3651
3661
|
"type": "boolean"
|
|
@@ -4027,7 +4037,7 @@
|
|
|
4027
4037
|
"type": "option"
|
|
4028
4038
|
},
|
|
4029
4039
|
"overwrite": {
|
|
4030
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
4031
4041
|
"name": "overwrite",
|
|
4032
4042
|
"allowNo": false,
|
|
4033
4043
|
"type": "boolean"
|
|
@@ -4570,7 +4580,7 @@
|
|
|
4570
4580
|
"type": "option"
|
|
4571
4581
|
},
|
|
4572
4582
|
"overwrite": {
|
|
4573
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
4574
4584
|
"name": "overwrite",
|
|
4575
4585
|
"allowNo": false,
|
|
4576
4586
|
"type": "boolean"
|
|
@@ -4947,11 +4957,12 @@
|
|
|
4947
4957
|
"name": "slug"
|
|
4948
4958
|
}
|
|
4949
4959
|
},
|
|
4950
|
-
"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.",
|
|
4951
4961
|
"examples": [
|
|
4952
4962
|
"$ lps page push",
|
|
4953
4963
|
"$ lps page push legal-notice",
|
|
4954
|
-
"$ lps page push --dry-run"
|
|
4964
|
+
"$ lps page push --dry-run",
|
|
4965
|
+
"$ lps page push about --overwrite"
|
|
4955
4966
|
],
|
|
4956
4967
|
"flags": {
|
|
4957
4968
|
"json": {
|
|
@@ -4969,7 +4980,7 @@
|
|
|
4969
4980
|
"type": "option"
|
|
4970
4981
|
},
|
|
4971
4982
|
"overwrite": {
|
|
4972
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
4973
4984
|
"name": "overwrite",
|
|
4974
4985
|
"allowNo": false,
|
|
4975
4986
|
"type": "boolean"
|
|
@@ -5241,7 +5252,7 @@
|
|
|
5241
5252
|
"name": "path"
|
|
5242
5253
|
}
|
|
5243
5254
|
},
|
|
5244
|
-
"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`).",
|
|
5245
5256
|
"examples": [
|
|
5246
5257
|
"$ lps pattern push"
|
|
5247
5258
|
],
|
|
@@ -5261,7 +5272,7 @@
|
|
|
5261
5272
|
"type": "option"
|
|
5262
5273
|
},
|
|
5263
5274
|
"overwrite": {
|
|
5264
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
5265
5276
|
"name": "overwrite",
|
|
5266
5277
|
"allowNo": false,
|
|
5267
5278
|
"type": "boolean"
|
|
@@ -5330,7 +5341,7 @@
|
|
|
5330
5341
|
"required": true
|
|
5331
5342
|
}
|
|
5332
5343
|
},
|
|
5333
|
-
"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.",
|
|
5334
5345
|
"examples": [
|
|
5335
5346
|
"$ lps pattern rm <slug>",
|
|
5336
5347
|
"$ lps pattern remove <slug> --yes"
|
|
@@ -5567,7 +5578,7 @@
|
|
|
5567
5578
|
"plugin:audit": {
|
|
5568
5579
|
"aliases": [],
|
|
5569
5580
|
"args": {},
|
|
5570
|
-
"description": "Check the plugins in loopress.json for known vulnerabilities and health issues",
|
|
5581
|
+
"description": "Check the plugins in loopress.json for known vulnerabilities (wpvulnerability.net) and health issues",
|
|
5571
5582
|
"examples": [
|
|
5572
5583
|
"$ lps plugin audit"
|
|
5573
5584
|
],
|
|
@@ -5699,7 +5710,7 @@
|
|
|
5699
5710
|
"plugin:push": {
|
|
5700
5711
|
"aliases": [],
|
|
5701
5712
|
"args": {},
|
|
5702
|
-
"description": "Install plugins on WordPress to match loopress.json (or composer.json
|
|
5713
|
+
"description": "Install WordPress.org plugins on WordPress to match loopress.json (active state included) or composer.json, via Composer + WPackagist",
|
|
5703
5714
|
"examples": [
|
|
5704
5715
|
"$ lps plugin push",
|
|
5705
5716
|
"$ lps plugin push --dry-run",
|
|
@@ -5721,7 +5732,7 @@
|
|
|
5721
5732
|
"type": "option"
|
|
5722
5733
|
},
|
|
5723
5734
|
"overwrite": {
|
|
5724
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
5725
5736
|
"name": "overwrite",
|
|
5726
5737
|
"allowNo": false,
|
|
5727
5738
|
"type": "boolean"
|
|
@@ -5800,7 +5811,7 @@
|
|
|
5800
5811
|
"plugin:status": {
|
|
5801
5812
|
"aliases": [],
|
|
5802
5813
|
"args": {},
|
|
5803
|
-
"description": "Compare the plugins on WordPress against loopress.json and report drift",
|
|
5814
|
+
"description": "Compare the plugins on WordPress against loopress.json and report drift (missing, wrong version, inactive, untracked)",
|
|
5804
5815
|
"examples": [
|
|
5805
5816
|
"$ lps plugin status"
|
|
5806
5817
|
],
|
|
@@ -6295,7 +6306,7 @@
|
|
|
6295
6306
|
"type": "option"
|
|
6296
6307
|
},
|
|
6297
6308
|
"overwrite": {
|
|
6298
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
6299
6310
|
"name": "overwrite",
|
|
6300
6311
|
"allowNo": false,
|
|
6301
6312
|
"type": "boolean"
|
|
@@ -6601,7 +6612,7 @@
|
|
|
6601
6612
|
"snippet:list": {
|
|
6602
6613
|
"aliases": [],
|
|
6603
6614
|
"args": {},
|
|
6604
|
-
"description": "List snippets
|
|
6615
|
+
"description": "List snippets currently on WordPress",
|
|
6605
6616
|
"examples": [
|
|
6606
6617
|
"$ lps snippet list"
|
|
6607
6618
|
],
|
|
@@ -6691,7 +6702,7 @@
|
|
|
6691
6702
|
"name": "path"
|
|
6692
6703
|
}
|
|
6693
6704
|
},
|
|
6694
|
-
"description": "Pull snippets from WordPress",
|
|
6705
|
+
"description": "Pull snippets from WordPress into local files",
|
|
6695
6706
|
"examples": [
|
|
6696
6707
|
"$ lps snippet pull",
|
|
6697
6708
|
"$ lps snippet pull ./snippets"
|
|
@@ -6766,7 +6777,7 @@
|
|
|
6766
6777
|
"name": "path"
|
|
6767
6778
|
}
|
|
6768
6779
|
},
|
|
6769
|
-
"description": "Push
|
|
6780
|
+
"description": "Push local snippet files to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
6770
6781
|
"examples": [
|
|
6771
6782
|
"$ lps snippet push",
|
|
6772
6783
|
"$ lps snippet push ./snippets"
|
|
@@ -6787,7 +6798,7 @@
|
|
|
6787
6798
|
"type": "option"
|
|
6788
6799
|
},
|
|
6789
6800
|
"overwrite": {
|
|
6790
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
6791
6802
|
"name": "overwrite",
|
|
6792
6803
|
"allowNo": false,
|
|
6793
6804
|
"type": "boolean"
|
|
@@ -6935,67 +6946,19 @@
|
|
|
6935
6946
|
"rollback.js"
|
|
6936
6947
|
]
|
|
6937
6948
|
},
|
|
6938
|
-
"
|
|
6939
|
-
"aliases": [],
|
|
6940
|
-
"args": {},
|
|
6941
|
-
"description": "Disable error reporting to Sentry",
|
|
6942
|
-
"examples": [
|
|
6943
|
-
"$ lps telemetry disable"
|
|
6944
|
-
],
|
|
6945
|
-
"flags": {},
|
|
6946
|
-
"hasDynamicHelp": false,
|
|
6947
|
-
"hiddenAliases": [],
|
|
6948
|
-
"id": "telemetry:disable",
|
|
6949
|
-
"pluginAlias": "@loopress/cli",
|
|
6950
|
-
"pluginName": "@loopress/cli",
|
|
6951
|
-
"pluginType": "core",
|
|
6952
|
-
"strict": true,
|
|
6953
|
-
"enableJsonFlag": false,
|
|
6954
|
-
"isESM": true,
|
|
6955
|
-
"relativePath": [
|
|
6956
|
-
"dist",
|
|
6957
|
-
"commands",
|
|
6958
|
-
"telemetry",
|
|
6959
|
-
"disable.js"
|
|
6960
|
-
]
|
|
6961
|
-
},
|
|
6962
|
-
"telemetry:enable": {
|
|
6963
|
-
"aliases": [],
|
|
6964
|
-
"args": {},
|
|
6965
|
-
"description": "Enable error reporting to Sentry",
|
|
6966
|
-
"examples": [
|
|
6967
|
-
"$ lps telemetry enable"
|
|
6968
|
-
],
|
|
6969
|
-
"flags": {},
|
|
6970
|
-
"hasDynamicHelp": false,
|
|
6971
|
-
"hiddenAliases": [],
|
|
6972
|
-
"id": "telemetry:enable",
|
|
6973
|
-
"pluginAlias": "@loopress/cli",
|
|
6974
|
-
"pluginName": "@loopress/cli",
|
|
6975
|
-
"pluginType": "core",
|
|
6976
|
-
"strict": true,
|
|
6977
|
-
"enableJsonFlag": false,
|
|
6978
|
-
"isESM": true,
|
|
6979
|
-
"relativePath": [
|
|
6980
|
-
"dist",
|
|
6981
|
-
"commands",
|
|
6982
|
-
"telemetry",
|
|
6983
|
-
"enable.js"
|
|
6984
|
-
]
|
|
6985
|
-
},
|
|
6986
|
-
"theme:add": {
|
|
6949
|
+
"taxonomy:diff": {
|
|
6987
6950
|
"aliases": [],
|
|
6988
6951
|
"args": {
|
|
6989
|
-
"
|
|
6990
|
-
"description": "
|
|
6991
|
-
"name": "
|
|
6992
|
-
"required": true
|
|
6952
|
+
"path": {
|
|
6953
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
6954
|
+
"name": "path"
|
|
6993
6955
|
}
|
|
6994
6956
|
},
|
|
6995
|
-
"description": "
|
|
6957
|
+
"description": "Show what differs in taxonomies between your local taxonomies/ files and a WordPress environment, or between two environments",
|
|
6996
6958
|
"examples": [
|
|
6997
|
-
"$ lps
|
|
6998
|
-
"$ lps
|
|
6959
|
+
"$ lps taxonomy diff",
|
|
6960
|
+
"$ lps taxonomy diff --env staging",
|
|
6961
|
+
"$ lps taxonomy diff --env staging --against production"
|
|
6999
6962
|
],
|
|
7000
6963
|
"flags": {
|
|
7001
6964
|
"json": {
|
|
@@ -7012,16 +6975,9 @@
|
|
|
7012
6975
|
"multiple": false,
|
|
7013
6976
|
"type": "option"
|
|
7014
6977
|
},
|
|
7015
|
-
"
|
|
7016
|
-
"
|
|
7017
|
-
"
|
|
7018
|
-
"name": "dry-run",
|
|
7019
|
-
"allowNo": false,
|
|
7020
|
-
"type": "boolean"
|
|
7021
|
-
},
|
|
7022
|
-
"version": {
|
|
7023
|
-
"description": "Exact version to pin (default: \"latest\")",
|
|
7024
|
-
"name": "version",
|
|
6978
|
+
"against": {
|
|
6979
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
6980
|
+
"name": "against",
|
|
7025
6981
|
"hasDynamicHelp": false,
|
|
7026
6982
|
"multiple": false,
|
|
7027
6983
|
"type": "option"
|
|
@@ -7029,7 +6985,7 @@
|
|
|
7029
6985
|
},
|
|
7030
6986
|
"hasDynamicHelp": false,
|
|
7031
6987
|
"hiddenAliases": [],
|
|
7032
|
-
"id": "
|
|
6988
|
+
"id": "taxonomy:diff",
|
|
7033
6989
|
"pluginAlias": "@loopress/cli",
|
|
7034
6990
|
"pluginName": "@loopress/cli",
|
|
7035
6991
|
"pluginType": "core",
|
|
@@ -7051,22 +7007,28 @@
|
|
|
7051
7007
|
"type": "boolean"
|
|
7052
7008
|
}
|
|
7053
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
|
+
},
|
|
7054
7018
|
"isESM": true,
|
|
7055
7019
|
"relativePath": [
|
|
7056
7020
|
"dist",
|
|
7057
7021
|
"commands",
|
|
7058
|
-
"
|
|
7059
|
-
"
|
|
7022
|
+
"taxonomy",
|
|
7023
|
+
"diff.js"
|
|
7060
7024
|
]
|
|
7061
7025
|
},
|
|
7062
|
-
"
|
|
7026
|
+
"taxonomy:list": {
|
|
7063
7027
|
"aliases": [],
|
|
7064
7028
|
"args": {},
|
|
7065
|
-
"description": "
|
|
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.",
|
|
7066
7030
|
"examples": [
|
|
7067
|
-
"$ lps
|
|
7068
|
-
"$ lps theme pull --env staging",
|
|
7069
|
-
"$ lps theme pull --dry-run"
|
|
7031
|
+
"$ lps taxonomy list"
|
|
7070
7032
|
],
|
|
7071
7033
|
"flags": {
|
|
7072
7034
|
"json": {
|
|
@@ -7082,18 +7044,11 @@
|
|
|
7082
7044
|
"hasDynamicHelp": false,
|
|
7083
7045
|
"multiple": false,
|
|
7084
7046
|
"type": "option"
|
|
7085
|
-
},
|
|
7086
|
-
"dry-run": {
|
|
7087
|
-
"char": "d",
|
|
7088
|
-
"description": "Show what would change without making changes",
|
|
7089
|
-
"name": "dry-run",
|
|
7090
|
-
"allowNo": false,
|
|
7091
|
-
"type": "boolean"
|
|
7092
7047
|
}
|
|
7093
7048
|
},
|
|
7094
7049
|
"hasDynamicHelp": false,
|
|
7095
7050
|
"hiddenAliases": [],
|
|
7096
|
-
"id": "
|
|
7051
|
+
"id": "taxonomy:list",
|
|
7097
7052
|
"pluginAlias": "@loopress/cli",
|
|
7098
7053
|
"pluginName": "@loopress/cli",
|
|
7099
7054
|
"pluginType": "core",
|
|
@@ -7119,18 +7074,21 @@
|
|
|
7119
7074
|
"relativePath": [
|
|
7120
7075
|
"dist",
|
|
7121
7076
|
"commands",
|
|
7122
|
-
"
|
|
7123
|
-
"
|
|
7077
|
+
"taxonomy",
|
|
7078
|
+
"list.js"
|
|
7124
7079
|
]
|
|
7125
7080
|
},
|
|
7126
|
-
"
|
|
7081
|
+
"taxonomy:pull": {
|
|
7127
7082
|
"aliases": [],
|
|
7128
|
-
"args": {
|
|
7129
|
-
|
|
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`.",
|
|
7130
7090
|
"examples": [
|
|
7131
|
-
"$ lps
|
|
7132
|
-
"$ lps theme push --env staging",
|
|
7133
|
-
"$ lps theme push --dry-run"
|
|
7091
|
+
"$ lps taxonomy pull"
|
|
7134
7092
|
],
|
|
7135
7093
|
"flags": {
|
|
7136
7094
|
"json": {
|
|
@@ -7160,17 +7118,11 @@
|
|
|
7160
7118
|
"name": "yes",
|
|
7161
7119
|
"allowNo": false,
|
|
7162
7120
|
"type": "boolean"
|
|
7163
|
-
},
|
|
7164
|
-
"force": {
|
|
7165
|
-
"description": "Passed to `lps theme version push`",
|
|
7166
|
-
"name": "force",
|
|
7167
|
-
"allowNo": false,
|
|
7168
|
-
"type": "boolean"
|
|
7169
7121
|
}
|
|
7170
7122
|
},
|
|
7171
7123
|
"hasDynamicHelp": false,
|
|
7172
7124
|
"hiddenAliases": [],
|
|
7173
|
-
"id": "
|
|
7125
|
+
"id": "taxonomy:pull",
|
|
7174
7126
|
"pluginAlias": "@loopress/cli",
|
|
7175
7127
|
"pluginName": "@loopress/cli",
|
|
7176
7128
|
"pluginType": "core",
|
|
@@ -7196,16 +7148,21 @@
|
|
|
7196
7148
|
"relativePath": [
|
|
7197
7149
|
"dist",
|
|
7198
7150
|
"commands",
|
|
7199
|
-
"
|
|
7200
|
-
"
|
|
7151
|
+
"taxonomy",
|
|
7152
|
+
"pull.js"
|
|
7201
7153
|
]
|
|
7202
7154
|
},
|
|
7203
|
-
"
|
|
7155
|
+
"taxonomy:push": {
|
|
7204
7156
|
"aliases": [],
|
|
7205
|
-
"args": {
|
|
7206
|
-
|
|
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.",
|
|
7207
7164
|
"examples": [
|
|
7208
|
-
"$ lps
|
|
7165
|
+
"$ lps taxonomy push"
|
|
7209
7166
|
],
|
|
7210
7167
|
"flags": {
|
|
7211
7168
|
"json": {
|
|
@@ -7221,11 +7178,37 @@
|
|
|
7221
7178
|
"hasDynamicHelp": false,
|
|
7222
7179
|
"multiple": false,
|
|
7223
7180
|
"type": "option"
|
|
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
|
+
},
|
|
7194
|
+
"dry-run": {
|
|
7195
|
+
"char": "d",
|
|
7196
|
+
"description": "Show what would change without making changes",
|
|
7197
|
+
"name": "dry-run",
|
|
7198
|
+
"allowNo": false,
|
|
7199
|
+
"type": "boolean"
|
|
7200
|
+
},
|
|
7201
|
+
"yes": {
|
|
7202
|
+
"char": "y",
|
|
7203
|
+
"description": "Answer yes to confirmation prompts",
|
|
7204
|
+
"name": "yes",
|
|
7205
|
+
"allowNo": false,
|
|
7206
|
+
"type": "boolean"
|
|
7224
7207
|
}
|
|
7225
7208
|
},
|
|
7226
7209
|
"hasDynamicHelp": false,
|
|
7227
7210
|
"hiddenAliases": [],
|
|
7228
|
-
"id": "
|
|
7211
|
+
"id": "taxonomy:push",
|
|
7229
7212
|
"pluginAlias": "@loopress/cli",
|
|
7230
7213
|
"pluginName": "@loopress/cli",
|
|
7231
7214
|
"pluginType": "core",
|
|
@@ -7251,23 +7234,25 @@
|
|
|
7251
7234
|
"relativePath": [
|
|
7252
7235
|
"dist",
|
|
7253
7236
|
"commands",
|
|
7254
|
-
"
|
|
7255
|
-
"
|
|
7237
|
+
"taxonomy",
|
|
7238
|
+
"push.js"
|
|
7256
7239
|
]
|
|
7257
7240
|
},
|
|
7258
|
-
"taxonomy:
|
|
7259
|
-
"aliases": [
|
|
7241
|
+
"taxonomy:rm": {
|
|
7242
|
+
"aliases": [
|
|
7243
|
+
"taxonomy:remove"
|
|
7244
|
+
],
|
|
7260
7245
|
"args": {
|
|
7261
|
-
"
|
|
7262
|
-
"description": "
|
|
7263
|
-
"name": "
|
|
7246
|
+
"slug": {
|
|
7247
|
+
"description": "The taxonomy slug, its taxonomies/ file name without .json",
|
|
7248
|
+
"name": "slug",
|
|
7249
|
+
"required": true
|
|
7264
7250
|
}
|
|
7265
7251
|
},
|
|
7266
|
-
"description": "
|
|
7252
|
+
"description": "Stop registering a Loopress taxonomy on WordPress. Its terms are kept in the database, hidden until the taxonomy is pushed again.",
|
|
7267
7253
|
"examples": [
|
|
7268
|
-
"$ lps taxonomy
|
|
7269
|
-
"$ lps taxonomy
|
|
7270
|
-
"$ lps taxonomy diff --env staging --against production"
|
|
7254
|
+
"$ lps taxonomy rm <slug>",
|
|
7255
|
+
"$ lps taxonomy remove <slug> --yes"
|
|
7271
7256
|
],
|
|
7272
7257
|
"flags": {
|
|
7273
7258
|
"json": {
|
|
@@ -7284,17 +7269,24 @@
|
|
|
7284
7269
|
"multiple": false,
|
|
7285
7270
|
"type": "option"
|
|
7286
7271
|
},
|
|
7287
|
-
"
|
|
7288
|
-
"
|
|
7289
|
-
"
|
|
7290
|
-
"
|
|
7291
|
-
"
|
|
7292
|
-
"type": "
|
|
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"
|
|
7293
7285
|
}
|
|
7294
7286
|
},
|
|
7295
7287
|
"hasDynamicHelp": false,
|
|
7296
7288
|
"hiddenAliases": [],
|
|
7297
|
-
"id": "taxonomy:
|
|
7289
|
+
"id": "taxonomy:rm",
|
|
7298
7290
|
"pluginAlias": "@loopress/cli",
|
|
7299
7291
|
"pluginName": "@loopress/cli",
|
|
7300
7292
|
"pluginType": "core",
|
|
@@ -7316,28 +7308,28 @@
|
|
|
7316
7308
|
"type": "boolean"
|
|
7317
7309
|
}
|
|
7318
7310
|
},
|
|
7319
|
-
"againstFlag": {
|
|
7320
|
-
"against": {
|
|
7321
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7322
|
-
"input": [],
|
|
7323
|
-
"multiple": false,
|
|
7324
|
-
"type": "option"
|
|
7325
|
-
}
|
|
7326
|
-
},
|
|
7327
7311
|
"isESM": true,
|
|
7328
7312
|
"relativePath": [
|
|
7329
7313
|
"dist",
|
|
7330
7314
|
"commands",
|
|
7331
7315
|
"taxonomy",
|
|
7332
|
-
"
|
|
7316
|
+
"rm.js"
|
|
7333
7317
|
]
|
|
7334
7318
|
},
|
|
7335
|
-
"taxonomy:
|
|
7319
|
+
"taxonomy:rollback": {
|
|
7336
7320
|
"aliases": [],
|
|
7337
|
-
"args": {
|
|
7338
|
-
|
|
7321
|
+
"args": {
|
|
7322
|
+
"path": {
|
|
7323
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
7324
|
+
"name": "path"
|
|
7325
|
+
}
|
|
7326
|
+
},
|
|
7327
|
+
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7339
7328
|
"examples": [
|
|
7340
|
-
"$ lps taxonomy
|
|
7329
|
+
"$ lps taxonomy rollback",
|
|
7330
|
+
"$ lps taxonomy rollback --list",
|
|
7331
|
+
"$ lps taxonomy rollback --to 1732000000000",
|
|
7332
|
+
"$ lps taxonomy rollback --dry-run"
|
|
7341
7333
|
],
|
|
7342
7334
|
"flags": {
|
|
7343
7335
|
"json": {
|
|
@@ -7353,11 +7345,38 @@
|
|
|
7353
7345
|
"hasDynamicHelp": false,
|
|
7354
7346
|
"multiple": false,
|
|
7355
7347
|
"type": "option"
|
|
7348
|
+
},
|
|
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",
|
|
7372
|
+
"hasDynamicHelp": false,
|
|
7373
|
+
"multiple": false,
|
|
7374
|
+
"type": "option"
|
|
7356
7375
|
}
|
|
7357
7376
|
},
|
|
7358
7377
|
"hasDynamicHelp": false,
|
|
7359
7378
|
"hiddenAliases": [],
|
|
7360
|
-
"id": "taxonomy:
|
|
7379
|
+
"id": "taxonomy:rollback",
|
|
7361
7380
|
"pluginAlias": "@loopress/cli",
|
|
7362
7381
|
"pluginName": "@loopress/cli",
|
|
7363
7382
|
"pluginType": "core",
|
|
@@ -7384,20 +7403,70 @@
|
|
|
7384
7403
|
"dist",
|
|
7385
7404
|
"commands",
|
|
7386
7405
|
"taxonomy",
|
|
7387
|
-
"
|
|
7406
|
+
"rollback.js"
|
|
7388
7407
|
]
|
|
7389
7408
|
},
|
|
7390
|
-
"
|
|
7409
|
+
"telemetry:disable": {
|
|
7410
|
+
"aliases": [],
|
|
7411
|
+
"args": {},
|
|
7412
|
+
"description": "Disable error reporting to Sentry",
|
|
7413
|
+
"examples": [
|
|
7414
|
+
"$ lps telemetry disable"
|
|
7415
|
+
],
|
|
7416
|
+
"flags": {},
|
|
7417
|
+
"hasDynamicHelp": false,
|
|
7418
|
+
"hiddenAliases": [],
|
|
7419
|
+
"id": "telemetry:disable",
|
|
7420
|
+
"pluginAlias": "@loopress/cli",
|
|
7421
|
+
"pluginName": "@loopress/cli",
|
|
7422
|
+
"pluginType": "core",
|
|
7423
|
+
"strict": true,
|
|
7424
|
+
"enableJsonFlag": false,
|
|
7425
|
+
"isESM": true,
|
|
7426
|
+
"relativePath": [
|
|
7427
|
+
"dist",
|
|
7428
|
+
"commands",
|
|
7429
|
+
"telemetry",
|
|
7430
|
+
"disable.js"
|
|
7431
|
+
]
|
|
7432
|
+
},
|
|
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": {
|
|
7391
7458
|
"aliases": [],
|
|
7392
7459
|
"args": {
|
|
7393
|
-
"
|
|
7394
|
-
"description": "
|
|
7395
|
-
"name": "
|
|
7460
|
+
"slug": {
|
|
7461
|
+
"description": "Theme slug on WordPress.org",
|
|
7462
|
+
"name": "slug",
|
|
7463
|
+
"required": true
|
|
7396
7464
|
}
|
|
7397
7465
|
},
|
|
7398
|
-
"description": "
|
|
7466
|
+
"description": "Add a WordPress.org theme to loopress.json",
|
|
7399
7467
|
"examples": [
|
|
7400
|
-
"$ lps
|
|
7468
|
+
"$ lps theme add generatepress",
|
|
7469
|
+
"$ lps theme add generatepress --version 3.4.0"
|
|
7401
7470
|
],
|
|
7402
7471
|
"flags": {
|
|
7403
7472
|
"json": {
|
|
@@ -7421,17 +7490,17 @@
|
|
|
7421
7490
|
"allowNo": false,
|
|
7422
7491
|
"type": "boolean"
|
|
7423
7492
|
},
|
|
7424
|
-
"
|
|
7425
|
-
"
|
|
7426
|
-
"
|
|
7427
|
-
"
|
|
7428
|
-
"
|
|
7429
|
-
"type": "
|
|
7493
|
+
"version": {
|
|
7494
|
+
"description": "Exact version to pin (default: \"latest\")",
|
|
7495
|
+
"name": "version",
|
|
7496
|
+
"hasDynamicHelp": false,
|
|
7497
|
+
"multiple": false,
|
|
7498
|
+
"type": "option"
|
|
7430
7499
|
}
|
|
7431
7500
|
},
|
|
7432
7501
|
"hasDynamicHelp": false,
|
|
7433
7502
|
"hiddenAliases": [],
|
|
7434
|
-
"id": "
|
|
7503
|
+
"id": "theme:add",
|
|
7435
7504
|
"pluginAlias": "@loopress/cli",
|
|
7436
7505
|
"pluginName": "@loopress/cli",
|
|
7437
7506
|
"pluginType": "core",
|
|
@@ -7457,21 +7526,18 @@
|
|
|
7457
7526
|
"relativePath": [
|
|
7458
7527
|
"dist",
|
|
7459
7528
|
"commands",
|
|
7460
|
-
"
|
|
7461
|
-
"
|
|
7529
|
+
"theme",
|
|
7530
|
+
"add.js"
|
|
7462
7531
|
]
|
|
7463
7532
|
},
|
|
7464
|
-
"
|
|
7533
|
+
"theme:pull": {
|
|
7465
7534
|
"aliases": [],
|
|
7466
|
-
"args": {
|
|
7467
|
-
|
|
7468
|
-
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7469
|
-
"name": "path"
|
|
7470
|
-
}
|
|
7471
|
-
},
|
|
7472
|
-
"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.",
|
|
7535
|
+
"args": {},
|
|
7536
|
+
"description": "Pull everything theme related from WordPress: theme versions into loopress.json, then Global Styles into a local file",
|
|
7473
7537
|
"examples": [
|
|
7474
|
-
"$ lps
|
|
7538
|
+
"$ lps theme pull",
|
|
7539
|
+
"$ lps theme pull --env staging",
|
|
7540
|
+
"$ lps theme pull --dry-run"
|
|
7475
7541
|
],
|
|
7476
7542
|
"flags": {
|
|
7477
7543
|
"json": {
|
|
@@ -7488,36 +7554,17 @@
|
|
|
7488
7554
|
"multiple": false,
|
|
7489
7555
|
"type": "option"
|
|
7490
7556
|
},
|
|
7491
|
-
"overwrite": {
|
|
7492
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
7493
|
-
"name": "overwrite",
|
|
7494
|
-
"allowNo": false,
|
|
7495
|
-
"type": "boolean"
|
|
7496
|
-
},
|
|
7497
|
-
"production-confirmed": {
|
|
7498
|
-
"hidden": true,
|
|
7499
|
-
"name": "production-confirmed",
|
|
7500
|
-
"allowNo": false,
|
|
7501
|
-
"type": "boolean"
|
|
7502
|
-
},
|
|
7503
7557
|
"dry-run": {
|
|
7504
7558
|
"char": "d",
|
|
7505
7559
|
"description": "Show what would change without making changes",
|
|
7506
7560
|
"name": "dry-run",
|
|
7507
7561
|
"allowNo": false,
|
|
7508
7562
|
"type": "boolean"
|
|
7509
|
-
},
|
|
7510
|
-
"yes": {
|
|
7511
|
-
"char": "y",
|
|
7512
|
-
"description": "Answer yes to confirmation prompts",
|
|
7513
|
-
"name": "yes",
|
|
7514
|
-
"allowNo": false,
|
|
7515
|
-
"type": "boolean"
|
|
7516
7563
|
}
|
|
7517
7564
|
},
|
|
7518
7565
|
"hasDynamicHelp": false,
|
|
7519
7566
|
"hiddenAliases": [],
|
|
7520
|
-
"id": "
|
|
7567
|
+
"id": "theme:pull",
|
|
7521
7568
|
"pluginAlias": "@loopress/cli",
|
|
7522
7569
|
"pluginName": "@loopress/cli",
|
|
7523
7570
|
"pluginType": "core",
|
|
@@ -7543,25 +7590,18 @@
|
|
|
7543
7590
|
"relativePath": [
|
|
7544
7591
|
"dist",
|
|
7545
7592
|
"commands",
|
|
7546
|
-
"
|
|
7547
|
-
"
|
|
7593
|
+
"theme",
|
|
7594
|
+
"pull.js"
|
|
7548
7595
|
]
|
|
7549
7596
|
},
|
|
7550
|
-
"
|
|
7551
|
-
"aliases": [
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
"args": {
|
|
7555
|
-
"slug": {
|
|
7556
|
-
"description": "The taxonomy slug, its taxonomies/ file name without .json",
|
|
7557
|
-
"name": "slug",
|
|
7558
|
-
"required": true
|
|
7559
|
-
}
|
|
7560
|
-
},
|
|
7561
|
-
"description": "Stop registering a Loopress taxonomy on WordPress. Its terms are kept in the database, hidden until the taxonomy 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.",
|
|
7562
7601
|
"examples": [
|
|
7563
|
-
"$ lps
|
|
7564
|
-
"$ lps
|
|
7602
|
+
"$ lps theme push",
|
|
7603
|
+
"$ lps theme push --env staging",
|
|
7604
|
+
"$ lps theme push --dry-run"
|
|
7565
7605
|
],
|
|
7566
7606
|
"flags": {
|
|
7567
7607
|
"json": {
|
|
@@ -7591,11 +7631,17 @@
|
|
|
7591
7631
|
"name": "yes",
|
|
7592
7632
|
"allowNo": false,
|
|
7593
7633
|
"type": "boolean"
|
|
7634
|
+
},
|
|
7635
|
+
"force": {
|
|
7636
|
+
"description": "Passed to `lps theme version push`",
|
|
7637
|
+
"name": "force",
|
|
7638
|
+
"allowNo": false,
|
|
7639
|
+
"type": "boolean"
|
|
7594
7640
|
}
|
|
7595
7641
|
},
|
|
7596
7642
|
"hasDynamicHelp": false,
|
|
7597
7643
|
"hiddenAliases": [],
|
|
7598
|
-
"id": "
|
|
7644
|
+
"id": "theme:push",
|
|
7599
7645
|
"pluginAlias": "@loopress/cli",
|
|
7600
7646
|
"pluginName": "@loopress/cli",
|
|
7601
7647
|
"pluginType": "core",
|
|
@@ -7621,24 +7667,16 @@
|
|
|
7621
7667
|
"relativePath": [
|
|
7622
7668
|
"dist",
|
|
7623
7669
|
"commands",
|
|
7624
|
-
"
|
|
7625
|
-
"
|
|
7670
|
+
"theme",
|
|
7671
|
+
"push.js"
|
|
7626
7672
|
]
|
|
7627
7673
|
},
|
|
7628
|
-
"
|
|
7674
|
+
"theme:status": {
|
|
7629
7675
|
"aliases": [],
|
|
7630
|
-
"args": {
|
|
7631
|
-
|
|
7632
|
-
"description": "Path to taxonomies directory (overrides project config)",
|
|
7633
|
-
"name": "path"
|
|
7634
|
-
}
|
|
7635
|
-
},
|
|
7636
|
-
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7676
|
+
"args": {},
|
|
7677
|
+
"description": "Compare the themes on WordPress against loopress.json and report version drift",
|
|
7637
7678
|
"examples": [
|
|
7638
|
-
"$ lps
|
|
7639
|
-
"$ lps taxonomy rollback --list",
|
|
7640
|
-
"$ lps taxonomy rollback --to 1732000000000",
|
|
7641
|
-
"$ lps taxonomy rollback --dry-run"
|
|
7679
|
+
"$ lps theme status"
|
|
7642
7680
|
],
|
|
7643
7681
|
"flags": {
|
|
7644
7682
|
"json": {
|
|
@@ -7654,38 +7692,11 @@
|
|
|
7654
7692
|
"hasDynamicHelp": false,
|
|
7655
7693
|
"multiple": false,
|
|
7656
7694
|
"type": "option"
|
|
7657
|
-
},
|
|
7658
|
-
"dry-run": {
|
|
7659
|
-
"char": "d",
|
|
7660
|
-
"description": "Show what would change without making changes",
|
|
7661
|
-
"name": "dry-run",
|
|
7662
|
-
"allowNo": false,
|
|
7663
|
-
"type": "boolean"
|
|
7664
|
-
},
|
|
7665
|
-
"yes": {
|
|
7666
|
-
"char": "y",
|
|
7667
|
-
"description": "Answer yes to confirmation prompts",
|
|
7668
|
-
"name": "yes",
|
|
7669
|
-
"allowNo": false,
|
|
7670
|
-
"type": "boolean"
|
|
7671
|
-
},
|
|
7672
|
-
"list": {
|
|
7673
|
-
"description": "List available snapshots instead of rolling back",
|
|
7674
|
-
"name": "list",
|
|
7675
|
-
"allowNo": false,
|
|
7676
|
-
"type": "boolean"
|
|
7677
|
-
},
|
|
7678
|
-
"to": {
|
|
7679
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
7680
|
-
"name": "to",
|
|
7681
|
-
"hasDynamicHelp": false,
|
|
7682
|
-
"multiple": false,
|
|
7683
|
-
"type": "option"
|
|
7684
7695
|
}
|
|
7685
7696
|
},
|
|
7686
7697
|
"hasDynamicHelp": false,
|
|
7687
7698
|
"hiddenAliases": [],
|
|
7688
|
-
"id": "
|
|
7699
|
+
"id": "theme:status",
|
|
7689
7700
|
"pluginAlias": "@loopress/cli",
|
|
7690
7701
|
"pluginName": "@loopress/cli",
|
|
7691
7702
|
"pluginType": "core",
|
|
@@ -7711,8 +7722,8 @@
|
|
|
7711
7722
|
"relativePath": [
|
|
7712
7723
|
"dist",
|
|
7713
7724
|
"commands",
|
|
7714
|
-
"
|
|
7715
|
-
"
|
|
7725
|
+
"theme",
|
|
7726
|
+
"status.js"
|
|
7716
7727
|
]
|
|
7717
7728
|
},
|
|
7718
7729
|
"theme:style:diff": {
|
|
@@ -7889,7 +7900,7 @@
|
|
|
7889
7900
|
"type": "option"
|
|
7890
7901
|
},
|
|
7891
7902
|
"overwrite": {
|
|
7892
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
7893
7904
|
"name": "overwrite",
|
|
7894
7905
|
"allowNo": false,
|
|
7895
7906
|
"type": "boolean"
|
|
@@ -8039,12 +8050,14 @@
|
|
|
8039
8050
|
"rollback.js"
|
|
8040
8051
|
]
|
|
8041
8052
|
},
|
|
8042
|
-
"theme:
|
|
8053
|
+
"theme:template:diff": {
|
|
8043
8054
|
"aliases": [],
|
|
8044
8055
|
"args": {},
|
|
8045
|
-
"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.",
|
|
8046
8057
|
"examples": [
|
|
8047
|
-
"$ lps theme
|
|
8058
|
+
"$ lps theme template diff",
|
|
8059
|
+
"$ lps theme template diff --env staging",
|
|
8060
|
+
"$ lps theme template diff --env staging --against production"
|
|
8048
8061
|
],
|
|
8049
8062
|
"flags": {
|
|
8050
8063
|
"json": {
|
|
@@ -8061,17 +8074,17 @@
|
|
|
8061
8074
|
"multiple": false,
|
|
8062
8075
|
"type": "option"
|
|
8063
8076
|
},
|
|
8064
|
-
"
|
|
8065
|
-
"
|
|
8066
|
-
"
|
|
8067
|
-
"
|
|
8068
|
-
"
|
|
8069
|
-
"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"
|
|
8070
8083
|
}
|
|
8071
8084
|
},
|
|
8072
8085
|
"hasDynamicHelp": false,
|
|
8073
8086
|
"hiddenAliases": [],
|
|
8074
|
-
"id": "theme:
|
|
8087
|
+
"id": "theme:template:diff",
|
|
8075
8088
|
"pluginAlias": "@loopress/cli",
|
|
8076
8089
|
"pluginName": "@loopress/cli",
|
|
8077
8090
|
"pluginType": "core",
|
|
@@ -8093,22 +8106,29 @@
|
|
|
8093
8106
|
"type": "boolean"
|
|
8094
8107
|
}
|
|
8095
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
|
+
},
|
|
8096
8117
|
"isESM": true,
|
|
8097
8118
|
"relativePath": [
|
|
8098
8119
|
"dist",
|
|
8099
8120
|
"commands",
|
|
8100
8121
|
"theme",
|
|
8101
|
-
"
|
|
8102
|
-
"
|
|
8122
|
+
"template",
|
|
8123
|
+
"diff.js"
|
|
8103
8124
|
]
|
|
8104
8125
|
},
|
|
8105
|
-
"theme:
|
|
8126
|
+
"theme:template:list": {
|
|
8106
8127
|
"aliases": [],
|
|
8107
8128
|
"args": {},
|
|
8108
|
-
"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",
|
|
8109
8130
|
"examples": [
|
|
8110
|
-
"$ lps theme
|
|
8111
|
-
"$ lps theme version push --force"
|
|
8131
|
+
"$ lps theme template list"
|
|
8112
8132
|
],
|
|
8113
8133
|
"flags": {
|
|
8114
8134
|
"json": {
|
|
@@ -8124,43 +8144,11 @@
|
|
|
8124
8144
|
"hasDynamicHelp": false,
|
|
8125
8145
|
"multiple": false,
|
|
8126
8146
|
"type": "option"
|
|
8127
|
-
},
|
|
8128
|
-
"overwrite": {
|
|
8129
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
8130
|
-
"name": "overwrite",
|
|
8131
|
-
"allowNo": false,
|
|
8132
|
-
"type": "boolean"
|
|
8133
|
-
},
|
|
8134
|
-
"production-confirmed": {
|
|
8135
|
-
"hidden": true,
|
|
8136
|
-
"name": "production-confirmed",
|
|
8137
|
-
"allowNo": false,
|
|
8138
|
-
"type": "boolean"
|
|
8139
|
-
},
|
|
8140
|
-
"dry-run": {
|
|
8141
|
-
"char": "d",
|
|
8142
|
-
"description": "Show what would change without making changes",
|
|
8143
|
-
"name": "dry-run",
|
|
8144
|
-
"allowNo": false,
|
|
8145
|
-
"type": "boolean"
|
|
8146
|
-
},
|
|
8147
|
-
"yes": {
|
|
8148
|
-
"char": "y",
|
|
8149
|
-
"description": "Answer yes to confirmation prompts",
|
|
8150
|
-
"name": "yes",
|
|
8151
|
-
"allowNo": false,
|
|
8152
|
-
"type": "boolean"
|
|
8153
|
-
},
|
|
8154
|
-
"force": {
|
|
8155
|
-
"description": "Allow downgrades and take over themes installed outside Loopress",
|
|
8156
|
-
"name": "force",
|
|
8157
|
-
"allowNo": false,
|
|
8158
|
-
"type": "boolean"
|
|
8159
8147
|
}
|
|
8160
8148
|
},
|
|
8161
8149
|
"hasDynamicHelp": false,
|
|
8162
8150
|
"hiddenAliases": [],
|
|
8163
|
-
"id": "theme:
|
|
8151
|
+
"id": "theme:template:list",
|
|
8164
8152
|
"pluginAlias": "@loopress/cli",
|
|
8165
8153
|
"pluginName": "@loopress/cli",
|
|
8166
8154
|
"pluginType": "core",
|
|
@@ -8187,18 +8175,17 @@
|
|
|
8187
8175
|
"dist",
|
|
8188
8176
|
"commands",
|
|
8189
8177
|
"theme",
|
|
8190
|
-
"
|
|
8191
|
-
"
|
|
8178
|
+
"template",
|
|
8179
|
+
"list.js"
|
|
8192
8180
|
]
|
|
8193
8181
|
},
|
|
8194
|
-
"theme:template:
|
|
8182
|
+
"theme:template:push": {
|
|
8195
8183
|
"aliases": [],
|
|
8196
8184
|
"args": {},
|
|
8197
|
-
"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.",
|
|
8198
8186
|
"examples": [
|
|
8199
|
-
"$ lps theme template
|
|
8200
|
-
"$ lps theme template
|
|
8201
|
-
"$ lps theme template diff --env staging --against production"
|
|
8187
|
+
"$ lps theme template push",
|
|
8188
|
+
"$ lps theme template push --dry-run"
|
|
8202
8189
|
],
|
|
8203
8190
|
"flags": {
|
|
8204
8191
|
"json": {
|
|
@@ -8215,17 +8202,36 @@
|
|
|
8215
8202
|
"multiple": false,
|
|
8216
8203
|
"type": "option"
|
|
8217
8204
|
},
|
|
8218
|
-
"
|
|
8219
|
-
"description": "
|
|
8220
|
-
"name": "
|
|
8221
|
-
"
|
|
8222
|
-
"
|
|
8223
|
-
|
|
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"
|
|
8224
8230
|
}
|
|
8225
8231
|
},
|
|
8226
8232
|
"hasDynamicHelp": false,
|
|
8227
8233
|
"hiddenAliases": [],
|
|
8228
|
-
"id": "theme:template:
|
|
8234
|
+
"id": "theme:template:push",
|
|
8229
8235
|
"pluginAlias": "@loopress/cli",
|
|
8230
8236
|
"pluginName": "@loopress/cli",
|
|
8231
8237
|
"pluginType": "core",
|
|
@@ -8247,29 +8253,21 @@
|
|
|
8247
8253
|
"type": "boolean"
|
|
8248
8254
|
}
|
|
8249
8255
|
},
|
|
8250
|
-
"againstFlag": {
|
|
8251
|
-
"against": {
|
|
8252
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
8253
|
-
"input": [],
|
|
8254
|
-
"multiple": false,
|
|
8255
|
-
"type": "option"
|
|
8256
|
-
}
|
|
8257
|
-
},
|
|
8258
8256
|
"isESM": true,
|
|
8259
8257
|
"relativePath": [
|
|
8260
8258
|
"dist",
|
|
8261
8259
|
"commands",
|
|
8262
8260
|
"theme",
|
|
8263
8261
|
"template",
|
|
8264
|
-
"
|
|
8262
|
+
"push.js"
|
|
8265
8263
|
]
|
|
8266
8264
|
},
|
|
8267
|
-
"theme:
|
|
8265
|
+
"theme:version:pull": {
|
|
8268
8266
|
"aliases": [],
|
|
8269
8267
|
"args": {},
|
|
8270
|
-
"description": "
|
|
8268
|
+
"description": "Pull installed themes from WordPress into loopress.json, pinned to their live versions",
|
|
8271
8269
|
"examples": [
|
|
8272
|
-
"$ lps theme
|
|
8270
|
+
"$ lps theme version pull"
|
|
8273
8271
|
],
|
|
8274
8272
|
"flags": {
|
|
8275
8273
|
"json": {
|
|
@@ -8285,11 +8283,18 @@
|
|
|
8285
8283
|
"hasDynamicHelp": false,
|
|
8286
8284
|
"multiple": false,
|
|
8287
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"
|
|
8288
8293
|
}
|
|
8289
8294
|
},
|
|
8290
8295
|
"hasDynamicHelp": false,
|
|
8291
8296
|
"hiddenAliases": [],
|
|
8292
|
-
"id": "theme:
|
|
8297
|
+
"id": "theme:version:pull",
|
|
8293
8298
|
"pluginAlias": "@loopress/cli",
|
|
8294
8299
|
"pluginName": "@loopress/cli",
|
|
8295
8300
|
"pluginType": "core",
|
|
@@ -8316,17 +8321,17 @@
|
|
|
8316
8321
|
"dist",
|
|
8317
8322
|
"commands",
|
|
8318
8323
|
"theme",
|
|
8319
|
-
"
|
|
8320
|
-
"
|
|
8324
|
+
"version",
|
|
8325
|
+
"pull.js"
|
|
8321
8326
|
]
|
|
8322
8327
|
},
|
|
8323
|
-
"theme:
|
|
8328
|
+
"theme:version:push": {
|
|
8324
8329
|
"aliases": [],
|
|
8325
8330
|
"args": {},
|
|
8326
|
-
"description": "
|
|
8331
|
+
"description": "Install WordPress.org themes on WordPress to match loopress.json, via Composer + WPackagist (versions only, never switches the active theme)",
|
|
8327
8332
|
"examples": [
|
|
8328
|
-
"$ lps theme
|
|
8329
|
-
"$ lps theme
|
|
8333
|
+
"$ lps theme version push",
|
|
8334
|
+
"$ lps theme version push --force"
|
|
8330
8335
|
],
|
|
8331
8336
|
"flags": {
|
|
8332
8337
|
"json": {
|
|
@@ -8344,7 +8349,7 @@
|
|
|
8344
8349
|
"type": "option"
|
|
8345
8350
|
},
|
|
8346
8351
|
"overwrite": {
|
|
8347
|
-
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
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",
|
|
8348
8353
|
"name": "overwrite",
|
|
8349
8354
|
"allowNo": false,
|
|
8350
8355
|
"type": "boolean"
|
|
@@ -8368,11 +8373,17 @@
|
|
|
8368
8373
|
"name": "yes",
|
|
8369
8374
|
"allowNo": false,
|
|
8370
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"
|
|
8371
8382
|
}
|
|
8372
8383
|
},
|
|
8373
8384
|
"hasDynamicHelp": false,
|
|
8374
8385
|
"hiddenAliases": [],
|
|
8375
|
-
"id": "theme:
|
|
8386
|
+
"id": "theme:version:push",
|
|
8376
8387
|
"pluginAlias": "@loopress/cli",
|
|
8377
8388
|
"pluginName": "@loopress/cli",
|
|
8378
8389
|
"pluginType": "core",
|
|
@@ -8399,10 +8410,10 @@
|
|
|
8399
8410
|
"dist",
|
|
8400
8411
|
"commands",
|
|
8401
8412
|
"theme",
|
|
8402
|
-
"
|
|
8413
|
+
"version",
|
|
8403
8414
|
"push.js"
|
|
8404
8415
|
]
|
|
8405
8416
|
}
|
|
8406
8417
|
},
|
|
8407
|
-
"version": "0.
|
|
8418
|
+
"version": "0.32.0"
|
|
8408
8419
|
}
|