@loopress/cli 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +448 -189
- package/bin/dev.js +0 -0
- package/dist/commands/acf/pull.d.ts +9 -1
- package/dist/commands/acf/pull.js +2 -0
- package/dist/commands/acf/push.d.ts +9 -1
- package/dist/commands/acf/push.js +3 -1
- package/dist/commands/api/publish.js +1 -1
- package/dist/commands/app/pull.js +17 -4
- package/dist/commands/app/push.d.ts +3 -0
- package/dist/commands/app/push.js +30 -6
- package/dist/commands/composer/push.js +3 -21
- package/dist/commands/diff.js +1 -1
- package/dist/commands/form/pull.d.ts +9 -1
- package/dist/commands/form/pull.js +3 -1
- package/dist/commands/form/push.d.ts +7 -1
- package/dist/commands/form/push.js +3 -1
- package/dist/commands/init.js +6 -36
- package/dist/commands/menu/pull.d.ts +7 -1
- package/dist/commands/menu/pull.js +2 -0
- package/dist/commands/menu/push.d.ts +7 -1
- package/dist/commands/menu/push.js +3 -1
- package/dist/commands/option/pull.js +4 -4
- package/dist/commands/option/push.js +2 -0
- package/dist/commands/page/push.js +3 -0
- package/dist/commands/plugin/add.js +6 -3
- package/dist/commands/plugin/audit.js +4 -5
- package/dist/commands/plugin/pull.d.ts +7 -1
- package/dist/commands/plugin/pull.js +68 -14
- package/dist/commands/plugin/push.d.ts +5 -1
- package/dist/commands/plugin/push.js +92 -38
- package/dist/commands/plugin/status.d.ts +1 -0
- package/dist/commands/plugin/status.js +21 -2
- package/dist/commands/project/config.js +12 -8
- package/dist/commands/promote.d.ts +2 -0
- package/dist/commands/promote.js +69 -8
- package/dist/commands/pull.js +2 -2
- package/dist/commands/push.d.ts +1 -0
- package/dist/commands/push.js +40 -5
- package/dist/commands/seo/pull.d.ts +8 -1
- package/dist/commands/seo/pull.js +2 -0
- package/dist/commands/seo/push.d.ts +7 -1
- package/dist/commands/seo/push.js +3 -1
- package/dist/commands/snippet/publish.js +1 -1
- package/dist/commands/snippet/pull.js +1 -1
- package/dist/commands/snippet/push.js +1 -1
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +4 -4
- package/dist/commands/theme/pull.d.ts +6 -8
- package/dist/commands/theme/pull.js +30 -26
- package/dist/commands/theme/push.d.ts +8 -9
- package/dist/commands/theme/push.js +54 -111
- package/dist/commands/theme/style/diff.d.ts +2 -0
- package/dist/commands/{theme-styles → theme/style}/diff.js +2 -1
- package/dist/commands/{theme-styles → theme/style}/pull.d.ts +8 -2
- package/dist/commands/{theme-styles → theme/style}/pull.js +6 -4
- package/dist/commands/{theme-styles → theme/style}/push.d.ts +9 -2
- package/dist/commands/{theme-styles → theme/style}/push.js +9 -6
- package/dist/commands/theme/style/rollback.d.ts +2 -0
- package/dist/commands/theme/style/rollback.js +6 -0
- package/dist/commands/theme/template/diff.d.ts +10 -0
- package/dist/commands/theme/template/diff.js +13 -0
- package/dist/commands/theme/template/list.d.ts +13 -0
- package/dist/commands/theme/template/list.js +23 -0
- package/dist/commands/theme/template/push.d.ts +20 -0
- package/dist/commands/theme/template/push.js +44 -0
- package/dist/commands/theme/version/pull.d.ts +23 -0
- package/dist/commands/theme/version/pull.js +43 -0
- package/dist/commands/theme/version/push.d.ts +22 -0
- package/dist/commands/theme/version/push.js +123 -0
- package/dist/hooks/finally.d.ts +2 -1
- package/dist/hooks/finally.js +27 -4
- package/dist/lib/api-client.js +3 -1
- package/dist/lib/app-build.d.ts +5 -0
- package/dist/lib/app-build.js +69 -0
- package/dist/lib/app-manifest.d.ts +4 -0
- package/dist/lib/app-manifest.js +10 -2
- package/dist/lib/base.d.ts +1 -0
- package/dist/lib/base.js +14 -2
- package/dist/lib/bootstrap-full-install.js +45 -14
- package/dist/lib/dev-watch.d.ts +1 -1
- package/dist/lib/dev-watch.js +3 -1
- package/dist/lib/diff-command.d.ts +1 -0
- package/dist/lib/diff-command.js +6 -4
- package/dist/lib/diff-state.js +1 -0
- package/dist/lib/github-release.js +0 -1
- package/dist/lib/local-callback-server.d.ts +12 -6
- package/dist/lib/local-callback-server.js +21 -22
- package/dist/lib/php-files-command.js +3 -1
- package/dist/lib/push-command.d.ts +5 -0
- package/dist/lib/push-command.js +30 -8
- package/dist/lib/resource-state.js +47 -4
- package/dist/lib/rollback-command.d.ts +1 -0
- package/dist/lib/rollback-command.js +8 -6
- package/dist/lib/rotate-app-password.js +2 -2
- package/dist/lib/snapshot-store.js +2 -2
- package/dist/lib/validate-local.js +6 -0
- package/dist/lib/wp-authorize-flow.d.ts +10 -17
- package/dist/lib/wp-authorize-flow.js +24 -28
- package/dist/lib/wp-client.d.ts +4 -1
- package/dist/lib/wp-client.js +25 -1
- package/dist/lib/wp-site-diagnostic.js +37 -0
- package/dist/types/plugin.d.ts +8 -1
- package/dist/types/plugin.js +4 -1
- package/dist/types/project-config.generated.d.ts +19 -2
- package/dist/utils/composer.d.ts +16 -0
- package/dist/utils/composer.js +144 -0
- package/dist/utils/option-format.d.ts +3 -1
- package/dist/utils/option-format.js +14 -3
- package/dist/utils/page-format.d.ts +12 -0
- package/dist/utils/page-format.js +40 -28
- package/dist/utils/plugin-sync.js +1 -1
- package/dist/utils/plugins.d.ts +9 -4
- package/dist/utils/plugins.js +16 -7
- package/dist/utils/resource-dirs.d.ts +2 -0
- package/dist/utils/resource-dirs.js +6 -2
- package/dist/utils/seo-format.d.ts +2 -2
- package/dist/utils/template-format.d.ts +31 -0
- package/dist/utils/template-format.js +43 -0
- package/oclif.manifest.json +841 -63
- package/package.json +24 -17
- package/schemas/project-config.schema.json +25 -4
- package/dist/commands/theme-styles/diff.d.ts +0 -2
- package/dist/commands/theme-styles/rollback.d.ts +0 -2
- package/dist/commands/theme-styles/rollback.js +0 -5
package/oclif.manifest.json
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
],
|
|
12
12
|
"flags": {
|
|
13
13
|
"only": {
|
|
14
|
-
"description": "Only watch these resource types (comma-separated): snippets, pages, api, hooks, plugins",
|
|
14
|
+
"description": "Only watch these resource types (comma-separated): snippets, templates, parts, pages, api, hooks, plugins",
|
|
15
15
|
"name": "only",
|
|
16
16
|
"hasDynamicHelp": false,
|
|
17
17
|
"multiple": false,
|
|
18
18
|
"type": "option"
|
|
19
19
|
},
|
|
20
20
|
"skip": {
|
|
21
|
-
"description": "Skip these resource types (comma-separated): snippets, pages, api, hooks, plugins",
|
|
21
|
+
"description": "Skip these resource types (comma-separated): snippets, templates, parts, pages, api, hooks, plugins",
|
|
22
22
|
"name": "skip",
|
|
23
23
|
"hasDynamicHelp": false,
|
|
24
24
|
"multiple": false,
|
|
@@ -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, Hooks, pages, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not be compared, so it doubles as a CI drift gate.",
|
|
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, SEO, Options, Menus, Theme styles, and Composer. Plugins and themes have their own `lps plugin status` / `lps theme status`. Exit code: 0 in sync, 1 on drift, 2 when a resource could not be compared, so it doubles as a CI drift gate.",
|
|
47
47
|
"examples": [
|
|
48
48
|
"$ lps diff",
|
|
49
49
|
"$ lps diff --env staging",
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
"acf",
|
|
85
85
|
"api",
|
|
86
86
|
"hook",
|
|
87
|
+
"template",
|
|
88
|
+
"part",
|
|
87
89
|
"page",
|
|
88
90
|
"seo",
|
|
89
91
|
"menu",
|
|
@@ -104,6 +106,8 @@
|
|
|
104
106
|
"acf",
|
|
105
107
|
"api",
|
|
106
108
|
"hook",
|
|
109
|
+
"template",
|
|
110
|
+
"part",
|
|
107
111
|
"page",
|
|
108
112
|
"seo",
|
|
109
113
|
"menu",
|
|
@@ -291,7 +295,7 @@
|
|
|
291
295
|
"required": true
|
|
292
296
|
}
|
|
293
297
|
},
|
|
294
|
-
"description": "Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked files are overwritten with <from> in the process.",
|
|
298
|
+
"description": "Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked files are overwritten with <from> in the process. With --dry-run, <from> is pulled into a throwaway copy of the project instead, and the push is only previewed.",
|
|
295
299
|
"examples": [
|
|
296
300
|
"$ lps promote staging production",
|
|
297
301
|
"$ lps promote production staging --dry-run"
|
|
@@ -407,7 +411,7 @@
|
|
|
407
411
|
"push": {
|
|
408
412
|
"aliases": [],
|
|
409
413
|
"args": {},
|
|
410
|
-
"description": "Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, pages, SEO, menus, options, and snippets, to WordPress",
|
|
414
|
+
"description": "Push all local content, plugins, composer dependencies, ACF, API routes, hooks, forms, templates, pages, SEO, menus, options, and snippets, to WordPress",
|
|
411
415
|
"examples": [
|
|
412
416
|
"$ lps push",
|
|
413
417
|
"$ lps push --env staging",
|
|
@@ -725,6 +729,13 @@
|
|
|
725
729
|
"$ lps acf pull --type field-groups"
|
|
726
730
|
],
|
|
727
731
|
"flags": {
|
|
732
|
+
"json": {
|
|
733
|
+
"description": "Format output as json.",
|
|
734
|
+
"helpGroup": "GLOBAL",
|
|
735
|
+
"name": "json",
|
|
736
|
+
"allowNo": false,
|
|
737
|
+
"type": "boolean"
|
|
738
|
+
},
|
|
728
739
|
"env": {
|
|
729
740
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
730
741
|
"name": "env",
|
|
@@ -767,7 +778,7 @@
|
|
|
767
778
|
"pluginName": "@loopress/cli",
|
|
768
779
|
"pluginType": "core",
|
|
769
780
|
"strict": true,
|
|
770
|
-
"enableJsonFlag":
|
|
781
|
+
"enableJsonFlag": true,
|
|
771
782
|
"dryRunFlag": {
|
|
772
783
|
"dry-run": {
|
|
773
784
|
"char": "d",
|
|
@@ -806,6 +817,13 @@
|
|
|
806
817
|
"$ lps acf push --type field-groups"
|
|
807
818
|
],
|
|
808
819
|
"flags": {
|
|
820
|
+
"json": {
|
|
821
|
+
"description": "Format output as json.",
|
|
822
|
+
"helpGroup": "GLOBAL",
|
|
823
|
+
"name": "json",
|
|
824
|
+
"allowNo": false,
|
|
825
|
+
"type": "boolean"
|
|
826
|
+
},
|
|
809
827
|
"env": {
|
|
810
828
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
811
829
|
"name": "env",
|
|
@@ -813,6 +831,12 @@
|
|
|
813
831
|
"multiple": false,
|
|
814
832
|
"type": "option"
|
|
815
833
|
},
|
|
834
|
+
"production-confirmed": {
|
|
835
|
+
"hidden": true,
|
|
836
|
+
"name": "production-confirmed",
|
|
837
|
+
"allowNo": false,
|
|
838
|
+
"type": "boolean"
|
|
839
|
+
},
|
|
816
840
|
"dry-run": {
|
|
817
841
|
"char": "d",
|
|
818
842
|
"description": "Show what would change without making changes",
|
|
@@ -848,6 +872,23 @@
|
|
|
848
872
|
"pluginName": "@loopress/cli",
|
|
849
873
|
"pluginType": "core",
|
|
850
874
|
"strict": true,
|
|
875
|
+
"enableJsonFlag": true,
|
|
876
|
+
"dryRunFlag": {
|
|
877
|
+
"dry-run": {
|
|
878
|
+
"char": "d",
|
|
879
|
+
"description": "Show what would change without making changes",
|
|
880
|
+
"allowNo": false,
|
|
881
|
+
"type": "boolean"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"yesFlag": {
|
|
885
|
+
"yes": {
|
|
886
|
+
"char": "y",
|
|
887
|
+
"description": "Answer yes to confirmation prompts",
|
|
888
|
+
"allowNo": false,
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
851
892
|
"isESM": true,
|
|
852
893
|
"relativePath": [
|
|
853
894
|
"dist",
|
|
@@ -1089,7 +1130,7 @@
|
|
|
1089
1130
|
"description": "Publish custom API routes to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
1090
1131
|
"examples": [
|
|
1091
1132
|
"$ lps api publish",
|
|
1092
|
-
"$ lps api publish
|
|
1133
|
+
"$ lps api publish ./api"
|
|
1093
1134
|
],
|
|
1094
1135
|
"flags": {},
|
|
1095
1136
|
"hasDynamicHelp": false,
|
|
@@ -1212,6 +1253,12 @@
|
|
|
1212
1253
|
"multiple": false,
|
|
1213
1254
|
"type": "option"
|
|
1214
1255
|
},
|
|
1256
|
+
"production-confirmed": {
|
|
1257
|
+
"hidden": true,
|
|
1258
|
+
"name": "production-confirmed",
|
|
1259
|
+
"allowNo": false,
|
|
1260
|
+
"type": "boolean"
|
|
1261
|
+
},
|
|
1215
1262
|
"dry-run": {
|
|
1216
1263
|
"char": "d",
|
|
1217
1264
|
"description": "Show what would change without making changes",
|
|
@@ -1241,6 +1288,22 @@
|
|
|
1241
1288
|
"pluginType": "core",
|
|
1242
1289
|
"strict": true,
|
|
1243
1290
|
"enableJsonFlag": true,
|
|
1291
|
+
"dryRunFlag": {
|
|
1292
|
+
"dry-run": {
|
|
1293
|
+
"char": "d",
|
|
1294
|
+
"description": "Show what would change without making changes",
|
|
1295
|
+
"allowNo": false,
|
|
1296
|
+
"type": "boolean"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
"yesFlag": {
|
|
1300
|
+
"yes": {
|
|
1301
|
+
"char": "y",
|
|
1302
|
+
"description": "Answer yes to confirmation prompts",
|
|
1303
|
+
"allowNo": false,
|
|
1304
|
+
"type": "boolean"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1244
1307
|
"isESM": true,
|
|
1245
1308
|
"relativePath": [
|
|
1246
1309
|
"dist",
|
|
@@ -1250,7 +1313,9 @@
|
|
|
1250
1313
|
]
|
|
1251
1314
|
},
|
|
1252
1315
|
"api:rm": {
|
|
1253
|
-
"aliases": [
|
|
1316
|
+
"aliases": [
|
|
1317
|
+
"api:remove"
|
|
1318
|
+
],
|
|
1254
1319
|
"args": {
|
|
1255
1320
|
"filename": {
|
|
1256
1321
|
"description": "The route file to remove, its slug without the .php extension (e.g. \"hello\" or \"invoice-pdf/[order_id]\")",
|
|
@@ -1261,7 +1326,7 @@
|
|
|
1261
1326
|
"description": "Remove a custom API route file from WordPress",
|
|
1262
1327
|
"examples": [
|
|
1263
1328
|
"$ lps api rm hello",
|
|
1264
|
-
"$ lps api
|
|
1329
|
+
"$ lps api remove hello --yes"
|
|
1265
1330
|
],
|
|
1266
1331
|
"flags": {
|
|
1267
1332
|
"json": {
|
|
@@ -1557,6 +1622,12 @@
|
|
|
1557
1622
|
"multiple": false,
|
|
1558
1623
|
"type": "option"
|
|
1559
1624
|
},
|
|
1625
|
+
"production-confirmed": {
|
|
1626
|
+
"hidden": true,
|
|
1627
|
+
"name": "production-confirmed",
|
|
1628
|
+
"allowNo": false,
|
|
1629
|
+
"type": "boolean"
|
|
1630
|
+
},
|
|
1560
1631
|
"dry-run": {
|
|
1561
1632
|
"char": "d",
|
|
1562
1633
|
"description": "Show what would change without making changes",
|
|
@@ -1586,6 +1657,22 @@
|
|
|
1586
1657
|
"pluginType": "core",
|
|
1587
1658
|
"strict": true,
|
|
1588
1659
|
"enableJsonFlag": true,
|
|
1660
|
+
"dryRunFlag": {
|
|
1661
|
+
"dry-run": {
|
|
1662
|
+
"char": "d",
|
|
1663
|
+
"description": "Show what would change without making changes",
|
|
1664
|
+
"allowNo": false,
|
|
1665
|
+
"type": "boolean"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"yesFlag": {
|
|
1669
|
+
"yes": {
|
|
1670
|
+
"char": "y",
|
|
1671
|
+
"description": "Answer yes to confirmation prompts",
|
|
1672
|
+
"allowNo": false,
|
|
1673
|
+
"type": "boolean"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1589
1676
|
"isESM": true,
|
|
1590
1677
|
"relativePath": [
|
|
1591
1678
|
"dist",
|
|
@@ -1731,10 +1818,11 @@
|
|
|
1731
1818
|
"name": "name"
|
|
1732
1819
|
}
|
|
1733
1820
|
},
|
|
1734
|
-
"description": "
|
|
1821
|
+
"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.",
|
|
1735
1822
|
"examples": [
|
|
1736
1823
|
"$ lps app push",
|
|
1737
|
-
"$ lps app push search"
|
|
1824
|
+
"$ lps app push search",
|
|
1825
|
+
"$ lps app push --no-build"
|
|
1738
1826
|
],
|
|
1739
1827
|
"flags": {
|
|
1740
1828
|
"json": {
|
|
@@ -1751,6 +1839,18 @@
|
|
|
1751
1839
|
"multiple": false,
|
|
1752
1840
|
"type": "option"
|
|
1753
1841
|
},
|
|
1842
|
+
"production-confirmed": {
|
|
1843
|
+
"hidden": true,
|
|
1844
|
+
"name": "production-confirmed",
|
|
1845
|
+
"allowNo": false,
|
|
1846
|
+
"type": "boolean"
|
|
1847
|
+
},
|
|
1848
|
+
"build": {
|
|
1849
|
+
"description": "Run the app's package.json build script before pushing",
|
|
1850
|
+
"name": "build",
|
|
1851
|
+
"allowNo": true,
|
|
1852
|
+
"type": "boolean"
|
|
1853
|
+
},
|
|
1754
1854
|
"dry-run": {
|
|
1755
1855
|
"char": "d",
|
|
1756
1856
|
"description": "Show what would change without making changes",
|
|
@@ -1774,6 +1874,22 @@
|
|
|
1774
1874
|
"pluginType": "core",
|
|
1775
1875
|
"strict": true,
|
|
1776
1876
|
"enableJsonFlag": true,
|
|
1877
|
+
"dryRunFlag": {
|
|
1878
|
+
"dry-run": {
|
|
1879
|
+
"char": "d",
|
|
1880
|
+
"description": "Show what would change without making changes",
|
|
1881
|
+
"allowNo": false,
|
|
1882
|
+
"type": "boolean"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
"yesFlag": {
|
|
1886
|
+
"yes": {
|
|
1887
|
+
"char": "y",
|
|
1888
|
+
"description": "Answer yes to confirmation prompts",
|
|
1889
|
+
"allowNo": false,
|
|
1890
|
+
"type": "boolean"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1777
1893
|
"isESM": true,
|
|
1778
1894
|
"relativePath": [
|
|
1779
1895
|
"dist",
|
|
@@ -2002,6 +2118,13 @@
|
|
|
2002
2118
|
"$ lps form pull"
|
|
2003
2119
|
],
|
|
2004
2120
|
"flags": {
|
|
2121
|
+
"json": {
|
|
2122
|
+
"description": "Format output as json.",
|
|
2123
|
+
"helpGroup": "GLOBAL",
|
|
2124
|
+
"name": "json",
|
|
2125
|
+
"allowNo": false,
|
|
2126
|
+
"type": "boolean"
|
|
2127
|
+
},
|
|
2005
2128
|
"env": {
|
|
2006
2129
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2007
2130
|
"name": "env",
|
|
@@ -2031,7 +2154,7 @@
|
|
|
2031
2154
|
"pluginName": "@loopress/cli",
|
|
2032
2155
|
"pluginType": "core",
|
|
2033
2156
|
"strict": true,
|
|
2034
|
-
"enableJsonFlag":
|
|
2157
|
+
"enableJsonFlag": true,
|
|
2035
2158
|
"dryRunFlag": {
|
|
2036
2159
|
"dry-run": {
|
|
2037
2160
|
"char": "d",
|
|
@@ -2070,6 +2193,13 @@
|
|
|
2070
2193
|
"$ lps form push --allow-notifications"
|
|
2071
2194
|
],
|
|
2072
2195
|
"flags": {
|
|
2196
|
+
"json": {
|
|
2197
|
+
"description": "Format output as json.",
|
|
2198
|
+
"helpGroup": "GLOBAL",
|
|
2199
|
+
"name": "json",
|
|
2200
|
+
"allowNo": false,
|
|
2201
|
+
"type": "boolean"
|
|
2202
|
+
},
|
|
2073
2203
|
"env": {
|
|
2074
2204
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2075
2205
|
"name": "env",
|
|
@@ -2077,6 +2207,12 @@
|
|
|
2077
2207
|
"multiple": false,
|
|
2078
2208
|
"type": "option"
|
|
2079
2209
|
},
|
|
2210
|
+
"production-confirmed": {
|
|
2211
|
+
"hidden": true,
|
|
2212
|
+
"name": "production-confirmed",
|
|
2213
|
+
"allowNo": false,
|
|
2214
|
+
"type": "boolean"
|
|
2215
|
+
},
|
|
2080
2216
|
"dry-run": {
|
|
2081
2217
|
"char": "d",
|
|
2082
2218
|
"description": "Show what would change without making changes",
|
|
@@ -2105,6 +2241,23 @@
|
|
|
2105
2241
|
"pluginName": "@loopress/cli",
|
|
2106
2242
|
"pluginType": "core",
|
|
2107
2243
|
"strict": true,
|
|
2244
|
+
"enableJsonFlag": true,
|
|
2245
|
+
"dryRunFlag": {
|
|
2246
|
+
"dry-run": {
|
|
2247
|
+
"char": "d",
|
|
2248
|
+
"description": "Show what would change without making changes",
|
|
2249
|
+
"allowNo": false,
|
|
2250
|
+
"type": "boolean"
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"yesFlag": {
|
|
2254
|
+
"yes": {
|
|
2255
|
+
"char": "y",
|
|
2256
|
+
"description": "Answer yes to confirmation prompts",
|
|
2257
|
+
"allowNo": false,
|
|
2258
|
+
"type": "boolean"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2108
2261
|
"isESM": true,
|
|
2109
2262
|
"relativePath": [
|
|
2110
2263
|
"dist",
|
|
@@ -2439,6 +2592,12 @@
|
|
|
2439
2592
|
"multiple": false,
|
|
2440
2593
|
"type": "option"
|
|
2441
2594
|
},
|
|
2595
|
+
"production-confirmed": {
|
|
2596
|
+
"hidden": true,
|
|
2597
|
+
"name": "production-confirmed",
|
|
2598
|
+
"allowNo": false,
|
|
2599
|
+
"type": "boolean"
|
|
2600
|
+
},
|
|
2442
2601
|
"dry-run": {
|
|
2443
2602
|
"char": "d",
|
|
2444
2603
|
"description": "Show what would change without making changes",
|
|
@@ -2468,6 +2627,22 @@
|
|
|
2468
2627
|
"pluginType": "core",
|
|
2469
2628
|
"strict": true,
|
|
2470
2629
|
"enableJsonFlag": true,
|
|
2630
|
+
"dryRunFlag": {
|
|
2631
|
+
"dry-run": {
|
|
2632
|
+
"char": "d",
|
|
2633
|
+
"description": "Show what would change without making changes",
|
|
2634
|
+
"allowNo": false,
|
|
2635
|
+
"type": "boolean"
|
|
2636
|
+
}
|
|
2637
|
+
},
|
|
2638
|
+
"yesFlag": {
|
|
2639
|
+
"yes": {
|
|
2640
|
+
"char": "y",
|
|
2641
|
+
"description": "Answer yes to confirmation prompts",
|
|
2642
|
+
"allowNo": false,
|
|
2643
|
+
"type": "boolean"
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2471
2646
|
"isESM": true,
|
|
2472
2647
|
"relativePath": [
|
|
2473
2648
|
"dist",
|
|
@@ -2477,7 +2652,9 @@
|
|
|
2477
2652
|
]
|
|
2478
2653
|
},
|
|
2479
2654
|
"hook:rm": {
|
|
2480
|
-
"aliases": [
|
|
2655
|
+
"aliases": [
|
|
2656
|
+
"hook:remove"
|
|
2657
|
+
],
|
|
2481
2658
|
"args": {
|
|
2482
2659
|
"filename": {
|
|
2483
2660
|
"description": "The hook file to remove, its slug without the .php extension (e.g. \"hello\" or \"invoice-pdf/[order_id]\")",
|
|
@@ -2488,7 +2665,7 @@
|
|
|
2488
2665
|
"description": "Remove a hook file (action, filter, cron) from WordPress",
|
|
2489
2666
|
"examples": [
|
|
2490
2667
|
"$ lps hook rm hello",
|
|
2491
|
-
"$ lps hook
|
|
2668
|
+
"$ lps hook remove hello --yes"
|
|
2492
2669
|
],
|
|
2493
2670
|
"flags": {
|
|
2494
2671
|
"json": {
|
|
@@ -2787,6 +2964,13 @@
|
|
|
2787
2964
|
"$ lps menu pull"
|
|
2788
2965
|
],
|
|
2789
2966
|
"flags": {
|
|
2967
|
+
"json": {
|
|
2968
|
+
"description": "Format output as json.",
|
|
2969
|
+
"helpGroup": "GLOBAL",
|
|
2970
|
+
"name": "json",
|
|
2971
|
+
"allowNo": false,
|
|
2972
|
+
"type": "boolean"
|
|
2973
|
+
},
|
|
2790
2974
|
"env": {
|
|
2791
2975
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2792
2976
|
"name": "env",
|
|
@@ -2816,7 +3000,7 @@
|
|
|
2816
3000
|
"pluginName": "@loopress/cli",
|
|
2817
3001
|
"pluginType": "core",
|
|
2818
3002
|
"strict": true,
|
|
2819
|
-
"enableJsonFlag":
|
|
3003
|
+
"enableJsonFlag": true,
|
|
2820
3004
|
"dryRunFlag": {
|
|
2821
3005
|
"dry-run": {
|
|
2822
3006
|
"char": "d",
|
|
@@ -2854,6 +3038,13 @@
|
|
|
2854
3038
|
"$ lps menu push"
|
|
2855
3039
|
],
|
|
2856
3040
|
"flags": {
|
|
3041
|
+
"json": {
|
|
3042
|
+
"description": "Format output as json.",
|
|
3043
|
+
"helpGroup": "GLOBAL",
|
|
3044
|
+
"name": "json",
|
|
3045
|
+
"allowNo": false,
|
|
3046
|
+
"type": "boolean"
|
|
3047
|
+
},
|
|
2857
3048
|
"env": {
|
|
2858
3049
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2859
3050
|
"name": "env",
|
|
@@ -2861,6 +3052,12 @@
|
|
|
2861
3052
|
"multiple": false,
|
|
2862
3053
|
"type": "option"
|
|
2863
3054
|
},
|
|
3055
|
+
"production-confirmed": {
|
|
3056
|
+
"hidden": true,
|
|
3057
|
+
"name": "production-confirmed",
|
|
3058
|
+
"allowNo": false,
|
|
3059
|
+
"type": "boolean"
|
|
3060
|
+
},
|
|
2864
3061
|
"dry-run": {
|
|
2865
3062
|
"char": "d",
|
|
2866
3063
|
"description": "Show what would change without making changes",
|
|
@@ -2883,6 +3080,23 @@
|
|
|
2883
3080
|
"pluginName": "@loopress/cli",
|
|
2884
3081
|
"pluginType": "core",
|
|
2885
3082
|
"strict": true,
|
|
3083
|
+
"enableJsonFlag": true,
|
|
3084
|
+
"dryRunFlag": {
|
|
3085
|
+
"dry-run": {
|
|
3086
|
+
"char": "d",
|
|
3087
|
+
"description": "Show what would change without making changes",
|
|
3088
|
+
"allowNo": false,
|
|
3089
|
+
"type": "boolean"
|
|
3090
|
+
}
|
|
3091
|
+
},
|
|
3092
|
+
"yesFlag": {
|
|
3093
|
+
"yes": {
|
|
3094
|
+
"char": "y",
|
|
3095
|
+
"description": "Answer yes to confirmation prompts",
|
|
3096
|
+
"allowNo": false,
|
|
3097
|
+
"type": "boolean"
|
|
3098
|
+
}
|
|
3099
|
+
},
|
|
2886
3100
|
"isESM": true,
|
|
2887
3101
|
"relativePath": [
|
|
2888
3102
|
"dist",
|
|
@@ -3297,6 +3511,12 @@
|
|
|
3297
3511
|
"multiple": false,
|
|
3298
3512
|
"type": "option"
|
|
3299
3513
|
},
|
|
3514
|
+
"production-confirmed": {
|
|
3515
|
+
"hidden": true,
|
|
3516
|
+
"name": "production-confirmed",
|
|
3517
|
+
"allowNo": false,
|
|
3518
|
+
"type": "boolean"
|
|
3519
|
+
},
|
|
3300
3520
|
"dry-run": {
|
|
3301
3521
|
"char": "d",
|
|
3302
3522
|
"description": "Show what would change without making changes",
|
|
@@ -3320,6 +3540,22 @@
|
|
|
3320
3540
|
"pluginType": "core",
|
|
3321
3541
|
"strict": true,
|
|
3322
3542
|
"enableJsonFlag": true,
|
|
3543
|
+
"dryRunFlag": {
|
|
3544
|
+
"dry-run": {
|
|
3545
|
+
"char": "d",
|
|
3546
|
+
"description": "Show what would change without making changes",
|
|
3547
|
+
"allowNo": false,
|
|
3548
|
+
"type": "boolean"
|
|
3549
|
+
}
|
|
3550
|
+
},
|
|
3551
|
+
"yesFlag": {
|
|
3552
|
+
"yes": {
|
|
3553
|
+
"char": "y",
|
|
3554
|
+
"description": "Answer yes to confirmation prompts",
|
|
3555
|
+
"allowNo": false,
|
|
3556
|
+
"type": "boolean"
|
|
3557
|
+
}
|
|
3558
|
+
},
|
|
3323
3559
|
"isESM": true,
|
|
3324
3560
|
"relativePath": [
|
|
3325
3561
|
"dist",
|
|
@@ -3668,6 +3904,12 @@
|
|
|
3668
3904
|
"multiple": false,
|
|
3669
3905
|
"type": "option"
|
|
3670
3906
|
},
|
|
3907
|
+
"production-confirmed": {
|
|
3908
|
+
"hidden": true,
|
|
3909
|
+
"name": "production-confirmed",
|
|
3910
|
+
"allowNo": false,
|
|
3911
|
+
"type": "boolean"
|
|
3912
|
+
},
|
|
3671
3913
|
"dry-run": {
|
|
3672
3914
|
"char": "d",
|
|
3673
3915
|
"description": "Show what would change without making changes",
|
|
@@ -3691,6 +3933,22 @@
|
|
|
3691
3933
|
"pluginType": "core",
|
|
3692
3934
|
"strict": true,
|
|
3693
3935
|
"enableJsonFlag": true,
|
|
3936
|
+
"dryRunFlag": {
|
|
3937
|
+
"dry-run": {
|
|
3938
|
+
"char": "d",
|
|
3939
|
+
"description": "Show what would change without making changes",
|
|
3940
|
+
"allowNo": false,
|
|
3941
|
+
"type": "boolean"
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
"yesFlag": {
|
|
3945
|
+
"yes": {
|
|
3946
|
+
"char": "y",
|
|
3947
|
+
"description": "Answer yes to confirmation prompts",
|
|
3948
|
+
"allowNo": false,
|
|
3949
|
+
"type": "boolean"
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3694
3952
|
"isESM": true,
|
|
3695
3953
|
"relativePath": [
|
|
3696
3954
|
"dist",
|
|
@@ -3834,10 +4092,10 @@
|
|
|
3834
4092
|
"plugin:pull": {
|
|
3835
4093
|
"aliases": [],
|
|
3836
4094
|
"args": {},
|
|
3837
|
-
"description": "Pull installed plugins from WordPress into loopress.json, pinned to their live versions",
|
|
4095
|
+
"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.",
|
|
3838
4096
|
"examples": [
|
|
3839
4097
|
"$ lps plugin pull",
|
|
3840
|
-
"$ lps plugin pull --
|
|
4098
|
+
"$ lps plugin pull --env production --plugin query-monitor"
|
|
3841
4099
|
],
|
|
3842
4100
|
"flags": {
|
|
3843
4101
|
"json": {
|
|
@@ -3860,6 +4118,20 @@
|
|
|
3860
4118
|
"name": "dry-run",
|
|
3861
4119
|
"allowNo": false,
|
|
3862
4120
|
"type": "boolean"
|
|
4121
|
+
},
|
|
4122
|
+
"yes": {
|
|
4123
|
+
"char": "y",
|
|
4124
|
+
"description": "Answer yes to confirmation prompts",
|
|
4125
|
+
"name": "yes",
|
|
4126
|
+
"allowNo": false,
|
|
4127
|
+
"type": "boolean"
|
|
4128
|
+
},
|
|
4129
|
+
"plugin": {
|
|
4130
|
+
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
4131
|
+
"name": "plugin",
|
|
4132
|
+
"hasDynamicHelp": false,
|
|
4133
|
+
"multiple": true,
|
|
4134
|
+
"type": "option"
|
|
3863
4135
|
}
|
|
3864
4136
|
},
|
|
3865
4137
|
"hasDynamicHelp": false,
|
|
@@ -3897,7 +4169,7 @@
|
|
|
3897
4169
|
"plugin:push": {
|
|
3898
4170
|
"aliases": [],
|
|
3899
4171
|
"args": {},
|
|
3900
|
-
"description": "Install plugins on WordPress to match loopress.json,
|
|
4172
|
+
"description": "Install plugins on WordPress to match loopress.json (or composer.json), via Composer + WPackagist",
|
|
3901
4173
|
"examples": [
|
|
3902
4174
|
"$ lps plugin push",
|
|
3903
4175
|
"$ lps plugin push --dry-run",
|
|
@@ -3918,6 +4190,12 @@
|
|
|
3918
4190
|
"multiple": false,
|
|
3919
4191
|
"type": "option"
|
|
3920
4192
|
},
|
|
4193
|
+
"production-confirmed": {
|
|
4194
|
+
"hidden": true,
|
|
4195
|
+
"name": "production-confirmed",
|
|
4196
|
+
"allowNo": false,
|
|
4197
|
+
"type": "boolean"
|
|
4198
|
+
},
|
|
3921
4199
|
"dry-run": {
|
|
3922
4200
|
"char": "d",
|
|
3923
4201
|
"description": "Show what would change without making changes",
|
|
@@ -3932,6 +4210,12 @@
|
|
|
3932
4210
|
"allowNo": false,
|
|
3933
4211
|
"type": "boolean"
|
|
3934
4212
|
},
|
|
4213
|
+
"activate": {
|
|
4214
|
+
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
4215
|
+
"name": "activate",
|
|
4216
|
+
"allowNo": false,
|
|
4217
|
+
"type": "boolean"
|
|
4218
|
+
},
|
|
3935
4219
|
"force": {
|
|
3936
4220
|
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
3937
4221
|
"name": "force",
|
|
@@ -3939,7 +4223,7 @@
|
|
|
3939
4223
|
"type": "boolean"
|
|
3940
4224
|
},
|
|
3941
4225
|
"prune": {
|
|
3942
|
-
"description": "Deactivate plugins that are active on the site but absent from loopress.json",
|
|
4226
|
+
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
3943
4227
|
"name": "prune",
|
|
3944
4228
|
"allowNo": false,
|
|
3945
4229
|
"type": "boolean"
|
|
@@ -3953,17 +4237,33 @@
|
|
|
3953
4237
|
"pluginType": "core",
|
|
3954
4238
|
"strict": true,
|
|
3955
4239
|
"enableJsonFlag": true,
|
|
3956
|
-
"
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
4240
|
+
"dryRunFlag": {
|
|
4241
|
+
"dry-run": {
|
|
4242
|
+
"char": "d",
|
|
4243
|
+
"description": "Show what would change without making changes",
|
|
4244
|
+
"allowNo": false,
|
|
4245
|
+
"type": "boolean"
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
"yesFlag": {
|
|
4249
|
+
"yes": {
|
|
4250
|
+
"char": "y",
|
|
4251
|
+
"description": "Answer yes to confirmation prompts",
|
|
4252
|
+
"allowNo": false,
|
|
4253
|
+
"type": "boolean"
|
|
4254
|
+
}
|
|
4255
|
+
},
|
|
4256
|
+
"isESM": true,
|
|
4257
|
+
"relativePath": [
|
|
4258
|
+
"dist",
|
|
4259
|
+
"commands",
|
|
4260
|
+
"plugin",
|
|
4261
|
+
"push.js"
|
|
4262
|
+
]
|
|
4263
|
+
},
|
|
4264
|
+
"plugin:status": {
|
|
4265
|
+
"aliases": [],
|
|
4266
|
+
"args": {},
|
|
3967
4267
|
"description": "Compare the plugins on WordPress against loopress.json and report drift",
|
|
3968
4268
|
"examples": [
|
|
3969
4269
|
"$ lps plugin status"
|
|
@@ -4379,6 +4679,13 @@
|
|
|
4379
4679
|
"$ lps seo pull --post-type post --post-type page"
|
|
4380
4680
|
],
|
|
4381
4681
|
"flags": {
|
|
4682
|
+
"json": {
|
|
4683
|
+
"description": "Format output as json.",
|
|
4684
|
+
"helpGroup": "GLOBAL",
|
|
4685
|
+
"name": "json",
|
|
4686
|
+
"allowNo": false,
|
|
4687
|
+
"type": "boolean"
|
|
4688
|
+
},
|
|
4382
4689
|
"env": {
|
|
4383
4690
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
4384
4691
|
"name": "env",
|
|
@@ -4415,7 +4722,7 @@
|
|
|
4415
4722
|
"pluginName": "@loopress/cli",
|
|
4416
4723
|
"pluginType": "core",
|
|
4417
4724
|
"strict": true,
|
|
4418
|
-
"enableJsonFlag":
|
|
4725
|
+
"enableJsonFlag": true,
|
|
4419
4726
|
"dryRunFlag": {
|
|
4420
4727
|
"dry-run": {
|
|
4421
4728
|
"char": "d",
|
|
@@ -4454,6 +4761,13 @@
|
|
|
4454
4761
|
"$ lps seo push --allow-external-redirects"
|
|
4455
4762
|
],
|
|
4456
4763
|
"flags": {
|
|
4764
|
+
"json": {
|
|
4765
|
+
"description": "Format output as json.",
|
|
4766
|
+
"helpGroup": "GLOBAL",
|
|
4767
|
+
"name": "json",
|
|
4768
|
+
"allowNo": false,
|
|
4769
|
+
"type": "boolean"
|
|
4770
|
+
},
|
|
4457
4771
|
"env": {
|
|
4458
4772
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
4459
4773
|
"name": "env",
|
|
@@ -4461,6 +4775,12 @@
|
|
|
4461
4775
|
"multiple": false,
|
|
4462
4776
|
"type": "option"
|
|
4463
4777
|
},
|
|
4778
|
+
"production-confirmed": {
|
|
4779
|
+
"hidden": true,
|
|
4780
|
+
"name": "production-confirmed",
|
|
4781
|
+
"allowNo": false,
|
|
4782
|
+
"type": "boolean"
|
|
4783
|
+
},
|
|
4464
4784
|
"dry-run": {
|
|
4465
4785
|
"char": "d",
|
|
4466
4786
|
"description": "Show what would change without making changes",
|
|
@@ -4489,6 +4809,23 @@
|
|
|
4489
4809
|
"pluginName": "@loopress/cli",
|
|
4490
4810
|
"pluginType": "core",
|
|
4491
4811
|
"strict": true,
|
|
4812
|
+
"enableJsonFlag": true,
|
|
4813
|
+
"dryRunFlag": {
|
|
4814
|
+
"dry-run": {
|
|
4815
|
+
"char": "d",
|
|
4816
|
+
"description": "Show what would change without making changes",
|
|
4817
|
+
"allowNo": false,
|
|
4818
|
+
"type": "boolean"
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
"yesFlag": {
|
|
4822
|
+
"yes": {
|
|
4823
|
+
"char": "y",
|
|
4824
|
+
"description": "Answer yes to confirmation prompts",
|
|
4825
|
+
"allowNo": false,
|
|
4826
|
+
"type": "boolean"
|
|
4827
|
+
}
|
|
4828
|
+
},
|
|
4492
4829
|
"isESM": true,
|
|
4493
4830
|
"relativePath": [
|
|
4494
4831
|
"dist",
|
|
@@ -4730,7 +5067,7 @@
|
|
|
4730
5067
|
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
4731
5068
|
"examples": [
|
|
4732
5069
|
"$ lps snippet publish",
|
|
4733
|
-
"$ lps snippet publish
|
|
5070
|
+
"$ lps snippet publish ./snippets"
|
|
4734
5071
|
],
|
|
4735
5072
|
"flags": {},
|
|
4736
5073
|
"hasDynamicHelp": false,
|
|
@@ -4760,7 +5097,7 @@
|
|
|
4760
5097
|
"description": "Pull snippets from WordPress",
|
|
4761
5098
|
"examples": [
|
|
4762
5099
|
"$ lps snippet pull",
|
|
4763
|
-
"$ lps snippet pull
|
|
5100
|
+
"$ lps snippet pull ./snippets"
|
|
4764
5101
|
],
|
|
4765
5102
|
"flags": {
|
|
4766
5103
|
"json": {
|
|
@@ -4835,7 +5172,7 @@
|
|
|
4835
5172
|
"description": "Push snippets to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
4836
5173
|
"examples": [
|
|
4837
5174
|
"$ lps snippet push",
|
|
4838
|
-
"$ lps snippet push
|
|
5175
|
+
"$ lps snippet push ./snippets"
|
|
4839
5176
|
],
|
|
4840
5177
|
"flags": {
|
|
4841
5178
|
"json": {
|
|
@@ -4852,6 +5189,12 @@
|
|
|
4852
5189
|
"multiple": false,
|
|
4853
5190
|
"type": "option"
|
|
4854
5191
|
},
|
|
5192
|
+
"production-confirmed": {
|
|
5193
|
+
"hidden": true,
|
|
5194
|
+
"name": "production-confirmed",
|
|
5195
|
+
"allowNo": false,
|
|
5196
|
+
"type": "boolean"
|
|
5197
|
+
},
|
|
4855
5198
|
"dry-run": {
|
|
4856
5199
|
"char": "d",
|
|
4857
5200
|
"description": "Show what would change without making changes",
|
|
@@ -4875,6 +5218,22 @@
|
|
|
4875
5218
|
"pluginType": "core",
|
|
4876
5219
|
"strict": true,
|
|
4877
5220
|
"enableJsonFlag": true,
|
|
5221
|
+
"dryRunFlag": {
|
|
5222
|
+
"dry-run": {
|
|
5223
|
+
"char": "d",
|
|
5224
|
+
"description": "Show what would change without making changes",
|
|
5225
|
+
"allowNo": false,
|
|
5226
|
+
"type": "boolean"
|
|
5227
|
+
}
|
|
5228
|
+
},
|
|
5229
|
+
"yesFlag": {
|
|
5230
|
+
"yes": {
|
|
5231
|
+
"char": "y",
|
|
5232
|
+
"description": "Answer yes to confirmation prompts",
|
|
5233
|
+
"allowNo": false,
|
|
5234
|
+
"type": "boolean"
|
|
5235
|
+
}
|
|
5236
|
+
},
|
|
4878
5237
|
"isESM": true,
|
|
4879
5238
|
"relativePath": [
|
|
4880
5239
|
"dist",
|
|
@@ -5100,9 +5459,11 @@
|
|
|
5100
5459
|
"theme:pull": {
|
|
5101
5460
|
"aliases": [],
|
|
5102
5461
|
"args": {},
|
|
5103
|
-
"description": "Pull
|
|
5462
|
+
"description": "Pull everything theme related from WordPress: theme versions and Global Styles",
|
|
5104
5463
|
"examples": [
|
|
5105
|
-
"$ lps theme pull"
|
|
5464
|
+
"$ lps theme pull",
|
|
5465
|
+
"$ lps theme pull --env staging",
|
|
5466
|
+
"$ lps theme pull --dry-run"
|
|
5106
5467
|
],
|
|
5107
5468
|
"flags": {
|
|
5108
5469
|
"json": {
|
|
@@ -5162,10 +5523,11 @@
|
|
|
5162
5523
|
"theme:push": {
|
|
5163
5524
|
"aliases": [],
|
|
5164
5525
|
"args": {},
|
|
5165
|
-
"description": "
|
|
5526
|
+
"description": "Push everything theme related to WordPress: theme versions, templates and parts, then Global Styles",
|
|
5166
5527
|
"examples": [
|
|
5167
5528
|
"$ lps theme push",
|
|
5168
|
-
"$ lps theme push --
|
|
5529
|
+
"$ lps theme push --env staging",
|
|
5530
|
+
"$ lps theme push --dry-run"
|
|
5169
5531
|
],
|
|
5170
5532
|
"flags": {
|
|
5171
5533
|
"json": {
|
|
@@ -5197,7 +5559,7 @@
|
|
|
5197
5559
|
"type": "boolean"
|
|
5198
5560
|
},
|
|
5199
5561
|
"force": {
|
|
5200
|
-
"description": "
|
|
5562
|
+
"description": "Passed to `lps theme version push`",
|
|
5201
5563
|
"name": "force",
|
|
5202
5564
|
"allowNo": false,
|
|
5203
5565
|
"type": "boolean"
|
|
@@ -5211,6 +5573,22 @@
|
|
|
5211
5573
|
"pluginType": "core",
|
|
5212
5574
|
"strict": true,
|
|
5213
5575
|
"enableJsonFlag": true,
|
|
5576
|
+
"dryRunFlag": {
|
|
5577
|
+
"dry-run": {
|
|
5578
|
+
"char": "d",
|
|
5579
|
+
"description": "Show what would change without making changes",
|
|
5580
|
+
"allowNo": false,
|
|
5581
|
+
"type": "boolean"
|
|
5582
|
+
}
|
|
5583
|
+
},
|
|
5584
|
+
"yesFlag": {
|
|
5585
|
+
"yes": {
|
|
5586
|
+
"char": "y",
|
|
5587
|
+
"description": "Answer yes to confirmation prompts",
|
|
5588
|
+
"allowNo": false,
|
|
5589
|
+
"type": "boolean"
|
|
5590
|
+
}
|
|
5591
|
+
},
|
|
5214
5592
|
"isESM": true,
|
|
5215
5593
|
"relativePath": [
|
|
5216
5594
|
"dist",
|
|
@@ -5274,7 +5652,359 @@
|
|
|
5274
5652
|
"status.js"
|
|
5275
5653
|
]
|
|
5276
5654
|
},
|
|
5277
|
-
"theme
|
|
5655
|
+
"theme:template:diff": {
|
|
5656
|
+
"aliases": [],
|
|
5657
|
+
"args": {},
|
|
5658
|
+
"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.",
|
|
5659
|
+
"examples": [
|
|
5660
|
+
"$ lps theme template diff",
|
|
5661
|
+
"$ lps theme template diff --env staging",
|
|
5662
|
+
"$ lps theme template diff --env staging --against production"
|
|
5663
|
+
],
|
|
5664
|
+
"flags": {
|
|
5665
|
+
"json": {
|
|
5666
|
+
"description": "Format output as json.",
|
|
5667
|
+
"helpGroup": "GLOBAL",
|
|
5668
|
+
"name": "json",
|
|
5669
|
+
"allowNo": false,
|
|
5670
|
+
"type": "boolean"
|
|
5671
|
+
},
|
|
5672
|
+
"env": {
|
|
5673
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5674
|
+
"name": "env",
|
|
5675
|
+
"hasDynamicHelp": false,
|
|
5676
|
+
"multiple": false,
|
|
5677
|
+
"type": "option"
|
|
5678
|
+
},
|
|
5679
|
+
"against": {
|
|
5680
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5681
|
+
"name": "against",
|
|
5682
|
+
"hasDynamicHelp": false,
|
|
5683
|
+
"multiple": false,
|
|
5684
|
+
"type": "option"
|
|
5685
|
+
}
|
|
5686
|
+
},
|
|
5687
|
+
"hasDynamicHelp": false,
|
|
5688
|
+
"hiddenAliases": [],
|
|
5689
|
+
"id": "theme:template:diff",
|
|
5690
|
+
"pluginAlias": "@loopress/cli",
|
|
5691
|
+
"pluginName": "@loopress/cli",
|
|
5692
|
+
"pluginType": "core",
|
|
5693
|
+
"strict": true,
|
|
5694
|
+
"enableJsonFlag": true,
|
|
5695
|
+
"dryRunFlag": {
|
|
5696
|
+
"dry-run": {
|
|
5697
|
+
"char": "d",
|
|
5698
|
+
"description": "Show what would change without making changes",
|
|
5699
|
+
"allowNo": false,
|
|
5700
|
+
"type": "boolean"
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"yesFlag": {
|
|
5704
|
+
"yes": {
|
|
5705
|
+
"char": "y",
|
|
5706
|
+
"description": "Answer yes to confirmation prompts",
|
|
5707
|
+
"allowNo": false,
|
|
5708
|
+
"type": "boolean"
|
|
5709
|
+
}
|
|
5710
|
+
},
|
|
5711
|
+
"againstFlag": {
|
|
5712
|
+
"against": {
|
|
5713
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5714
|
+
"input": [],
|
|
5715
|
+
"multiple": false,
|
|
5716
|
+
"type": "option"
|
|
5717
|
+
}
|
|
5718
|
+
},
|
|
5719
|
+
"isESM": true,
|
|
5720
|
+
"relativePath": [
|
|
5721
|
+
"dist",
|
|
5722
|
+
"commands",
|
|
5723
|
+
"theme",
|
|
5724
|
+
"template",
|
|
5725
|
+
"diff.js"
|
|
5726
|
+
]
|
|
5727
|
+
},
|
|
5728
|
+
"theme:template:list": {
|
|
5729
|
+
"aliases": [],
|
|
5730
|
+
"args": {},
|
|
5731
|
+
"description": "Show the Loopress child theme of the active block theme: its templates, parts, and those edited in the Site Editor",
|
|
5732
|
+
"examples": [
|
|
5733
|
+
"$ lps theme template list"
|
|
5734
|
+
],
|
|
5735
|
+
"flags": {
|
|
5736
|
+
"json": {
|
|
5737
|
+
"description": "Format output as json.",
|
|
5738
|
+
"helpGroup": "GLOBAL",
|
|
5739
|
+
"name": "json",
|
|
5740
|
+
"allowNo": false,
|
|
5741
|
+
"type": "boolean"
|
|
5742
|
+
},
|
|
5743
|
+
"env": {
|
|
5744
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5745
|
+
"name": "env",
|
|
5746
|
+
"hasDynamicHelp": false,
|
|
5747
|
+
"multiple": false,
|
|
5748
|
+
"type": "option"
|
|
5749
|
+
}
|
|
5750
|
+
},
|
|
5751
|
+
"hasDynamicHelp": false,
|
|
5752
|
+
"hiddenAliases": [],
|
|
5753
|
+
"id": "theme:template:list",
|
|
5754
|
+
"pluginAlias": "@loopress/cli",
|
|
5755
|
+
"pluginName": "@loopress/cli",
|
|
5756
|
+
"pluginType": "core",
|
|
5757
|
+
"strict": true,
|
|
5758
|
+
"enableJsonFlag": true,
|
|
5759
|
+
"dryRunFlag": {
|
|
5760
|
+
"dry-run": {
|
|
5761
|
+
"char": "d",
|
|
5762
|
+
"description": "Show what would change without making changes",
|
|
5763
|
+
"allowNo": false,
|
|
5764
|
+
"type": "boolean"
|
|
5765
|
+
}
|
|
5766
|
+
},
|
|
5767
|
+
"yesFlag": {
|
|
5768
|
+
"yes": {
|
|
5769
|
+
"char": "y",
|
|
5770
|
+
"description": "Answer yes to confirmation prompts",
|
|
5771
|
+
"allowNo": false,
|
|
5772
|
+
"type": "boolean"
|
|
5773
|
+
}
|
|
5774
|
+
},
|
|
5775
|
+
"isESM": true,
|
|
5776
|
+
"relativePath": [
|
|
5777
|
+
"dist",
|
|
5778
|
+
"commands",
|
|
5779
|
+
"theme",
|
|
5780
|
+
"template",
|
|
5781
|
+
"list.js"
|
|
5782
|
+
]
|
|
5783
|
+
},
|
|
5784
|
+
"theme:template:push": {
|
|
5785
|
+
"aliases": [],
|
|
5786
|
+
"args": {},
|
|
5787
|
+
"description": "Push block templates (templates/<slug>.html) and template parts (parts/<slug>.html) as the files of a child theme of the active block theme, <parent>-loopress. The child mirrors the project: files removed locally are removed from it. It is never activated for you.",
|
|
5788
|
+
"examples": [
|
|
5789
|
+
"$ lps theme template push",
|
|
5790
|
+
"$ lps theme template push --dry-run"
|
|
5791
|
+
],
|
|
5792
|
+
"flags": {
|
|
5793
|
+
"json": {
|
|
5794
|
+
"description": "Format output as json.",
|
|
5795
|
+
"helpGroup": "GLOBAL",
|
|
5796
|
+
"name": "json",
|
|
5797
|
+
"allowNo": false,
|
|
5798
|
+
"type": "boolean"
|
|
5799
|
+
},
|
|
5800
|
+
"env": {
|
|
5801
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5802
|
+
"name": "env",
|
|
5803
|
+
"hasDynamicHelp": false,
|
|
5804
|
+
"multiple": false,
|
|
5805
|
+
"type": "option"
|
|
5806
|
+
},
|
|
5807
|
+
"production-confirmed": {
|
|
5808
|
+
"hidden": true,
|
|
5809
|
+
"name": "production-confirmed",
|
|
5810
|
+
"allowNo": false,
|
|
5811
|
+
"type": "boolean"
|
|
5812
|
+
},
|
|
5813
|
+
"dry-run": {
|
|
5814
|
+
"char": "d",
|
|
5815
|
+
"description": "Show what would change without making changes",
|
|
5816
|
+
"name": "dry-run",
|
|
5817
|
+
"allowNo": false,
|
|
5818
|
+
"type": "boolean"
|
|
5819
|
+
},
|
|
5820
|
+
"yes": {
|
|
5821
|
+
"char": "y",
|
|
5822
|
+
"description": "Answer yes to confirmation prompts",
|
|
5823
|
+
"name": "yes",
|
|
5824
|
+
"allowNo": false,
|
|
5825
|
+
"type": "boolean"
|
|
5826
|
+
}
|
|
5827
|
+
},
|
|
5828
|
+
"hasDynamicHelp": false,
|
|
5829
|
+
"hiddenAliases": [],
|
|
5830
|
+
"id": "theme:template:push",
|
|
5831
|
+
"pluginAlias": "@loopress/cli",
|
|
5832
|
+
"pluginName": "@loopress/cli",
|
|
5833
|
+
"pluginType": "core",
|
|
5834
|
+
"strict": true,
|
|
5835
|
+
"enableJsonFlag": true,
|
|
5836
|
+
"dryRunFlag": {
|
|
5837
|
+
"dry-run": {
|
|
5838
|
+
"char": "d",
|
|
5839
|
+
"description": "Show what would change without making changes",
|
|
5840
|
+
"allowNo": false,
|
|
5841
|
+
"type": "boolean"
|
|
5842
|
+
}
|
|
5843
|
+
},
|
|
5844
|
+
"yesFlag": {
|
|
5845
|
+
"yes": {
|
|
5846
|
+
"char": "y",
|
|
5847
|
+
"description": "Answer yes to confirmation prompts",
|
|
5848
|
+
"allowNo": false,
|
|
5849
|
+
"type": "boolean"
|
|
5850
|
+
}
|
|
5851
|
+
},
|
|
5852
|
+
"isESM": true,
|
|
5853
|
+
"relativePath": [
|
|
5854
|
+
"dist",
|
|
5855
|
+
"commands",
|
|
5856
|
+
"theme",
|
|
5857
|
+
"template",
|
|
5858
|
+
"push.js"
|
|
5859
|
+
]
|
|
5860
|
+
},
|
|
5861
|
+
"theme:version:pull": {
|
|
5862
|
+
"aliases": [],
|
|
5863
|
+
"args": {},
|
|
5864
|
+
"description": "Pull installed themes from WordPress into loopress.json, pinned to their live versions",
|
|
5865
|
+
"examples": [
|
|
5866
|
+
"$ lps theme version pull"
|
|
5867
|
+
],
|
|
5868
|
+
"flags": {
|
|
5869
|
+
"json": {
|
|
5870
|
+
"description": "Format output as json.",
|
|
5871
|
+
"helpGroup": "GLOBAL",
|
|
5872
|
+
"name": "json",
|
|
5873
|
+
"allowNo": false,
|
|
5874
|
+
"type": "boolean"
|
|
5875
|
+
},
|
|
5876
|
+
"env": {
|
|
5877
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5878
|
+
"name": "env",
|
|
5879
|
+
"hasDynamicHelp": false,
|
|
5880
|
+
"multiple": false,
|
|
5881
|
+
"type": "option"
|
|
5882
|
+
},
|
|
5883
|
+
"dry-run": {
|
|
5884
|
+
"char": "d",
|
|
5885
|
+
"description": "Show what would change without making changes",
|
|
5886
|
+
"name": "dry-run",
|
|
5887
|
+
"allowNo": false,
|
|
5888
|
+
"type": "boolean"
|
|
5889
|
+
}
|
|
5890
|
+
},
|
|
5891
|
+
"hasDynamicHelp": false,
|
|
5892
|
+
"hiddenAliases": [],
|
|
5893
|
+
"id": "theme:version:pull",
|
|
5894
|
+
"pluginAlias": "@loopress/cli",
|
|
5895
|
+
"pluginName": "@loopress/cli",
|
|
5896
|
+
"pluginType": "core",
|
|
5897
|
+
"strict": true,
|
|
5898
|
+
"enableJsonFlag": true,
|
|
5899
|
+
"dryRunFlag": {
|
|
5900
|
+
"dry-run": {
|
|
5901
|
+
"char": "d",
|
|
5902
|
+
"description": "Show what would change without making changes",
|
|
5903
|
+
"allowNo": false,
|
|
5904
|
+
"type": "boolean"
|
|
5905
|
+
}
|
|
5906
|
+
},
|
|
5907
|
+
"yesFlag": {
|
|
5908
|
+
"yes": {
|
|
5909
|
+
"char": "y",
|
|
5910
|
+
"description": "Answer yes to confirmation prompts",
|
|
5911
|
+
"allowNo": false,
|
|
5912
|
+
"type": "boolean"
|
|
5913
|
+
}
|
|
5914
|
+
},
|
|
5915
|
+
"isESM": true,
|
|
5916
|
+
"relativePath": [
|
|
5917
|
+
"dist",
|
|
5918
|
+
"commands",
|
|
5919
|
+
"theme",
|
|
5920
|
+
"version",
|
|
5921
|
+
"pull.js"
|
|
5922
|
+
]
|
|
5923
|
+
},
|
|
5924
|
+
"theme:version:push": {
|
|
5925
|
+
"aliases": [],
|
|
5926
|
+
"args": {},
|
|
5927
|
+
"description": "Install themes on WordPress to match loopress.json (versions only, never switches the active theme)",
|
|
5928
|
+
"examples": [
|
|
5929
|
+
"$ lps theme version push",
|
|
5930
|
+
"$ lps theme version push --force"
|
|
5931
|
+
],
|
|
5932
|
+
"flags": {
|
|
5933
|
+
"json": {
|
|
5934
|
+
"description": "Format output as json.",
|
|
5935
|
+
"helpGroup": "GLOBAL",
|
|
5936
|
+
"name": "json",
|
|
5937
|
+
"allowNo": false,
|
|
5938
|
+
"type": "boolean"
|
|
5939
|
+
},
|
|
5940
|
+
"env": {
|
|
5941
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5942
|
+
"name": "env",
|
|
5943
|
+
"hasDynamicHelp": false,
|
|
5944
|
+
"multiple": false,
|
|
5945
|
+
"type": "option"
|
|
5946
|
+
},
|
|
5947
|
+
"production-confirmed": {
|
|
5948
|
+
"hidden": true,
|
|
5949
|
+
"name": "production-confirmed",
|
|
5950
|
+
"allowNo": false,
|
|
5951
|
+
"type": "boolean"
|
|
5952
|
+
},
|
|
5953
|
+
"dry-run": {
|
|
5954
|
+
"char": "d",
|
|
5955
|
+
"description": "Show what would change without making changes",
|
|
5956
|
+
"name": "dry-run",
|
|
5957
|
+
"allowNo": false,
|
|
5958
|
+
"type": "boolean"
|
|
5959
|
+
},
|
|
5960
|
+
"yes": {
|
|
5961
|
+
"char": "y",
|
|
5962
|
+
"description": "Answer yes to confirmation prompts",
|
|
5963
|
+
"name": "yes",
|
|
5964
|
+
"allowNo": false,
|
|
5965
|
+
"type": "boolean"
|
|
5966
|
+
},
|
|
5967
|
+
"force": {
|
|
5968
|
+
"description": "Allow downgrades and take over themes installed outside Loopress",
|
|
5969
|
+
"name": "force",
|
|
5970
|
+
"allowNo": false,
|
|
5971
|
+
"type": "boolean"
|
|
5972
|
+
}
|
|
5973
|
+
},
|
|
5974
|
+
"hasDynamicHelp": false,
|
|
5975
|
+
"hiddenAliases": [],
|
|
5976
|
+
"id": "theme:version:push",
|
|
5977
|
+
"pluginAlias": "@loopress/cli",
|
|
5978
|
+
"pluginName": "@loopress/cli",
|
|
5979
|
+
"pluginType": "core",
|
|
5980
|
+
"strict": true,
|
|
5981
|
+
"enableJsonFlag": true,
|
|
5982
|
+
"dryRunFlag": {
|
|
5983
|
+
"dry-run": {
|
|
5984
|
+
"char": "d",
|
|
5985
|
+
"description": "Show what would change without making changes",
|
|
5986
|
+
"allowNo": false,
|
|
5987
|
+
"type": "boolean"
|
|
5988
|
+
}
|
|
5989
|
+
},
|
|
5990
|
+
"yesFlag": {
|
|
5991
|
+
"yes": {
|
|
5992
|
+
"char": "y",
|
|
5993
|
+
"description": "Answer yes to confirmation prompts",
|
|
5994
|
+
"allowNo": false,
|
|
5995
|
+
"type": "boolean"
|
|
5996
|
+
}
|
|
5997
|
+
},
|
|
5998
|
+
"isESM": true,
|
|
5999
|
+
"relativePath": [
|
|
6000
|
+
"dist",
|
|
6001
|
+
"commands",
|
|
6002
|
+
"theme",
|
|
6003
|
+
"version",
|
|
6004
|
+
"push.js"
|
|
6005
|
+
]
|
|
6006
|
+
},
|
|
6007
|
+
"theme:style:diff": {
|
|
5278
6008
|
"aliases": [],
|
|
5279
6009
|
"args": {
|
|
5280
6010
|
"path": {
|
|
@@ -5284,9 +6014,9 @@
|
|
|
5284
6014
|
},
|
|
5285
6015
|
"description": "Show what differs in the active block theme's Global Styles (Site Editor > Styles) between your local file and a WordPress environment, or between two environments",
|
|
5286
6016
|
"examples": [
|
|
5287
|
-
"$ lps theme
|
|
5288
|
-
"$ lps theme
|
|
5289
|
-
"$ lps theme
|
|
6017
|
+
"$ lps theme style diff",
|
|
6018
|
+
"$ lps theme style diff --env staging",
|
|
6019
|
+
"$ lps theme style diff --env staging --against production"
|
|
5290
6020
|
],
|
|
5291
6021
|
"flags": {
|
|
5292
6022
|
"json": {
|
|
@@ -5313,7 +6043,7 @@
|
|
|
5313
6043
|
},
|
|
5314
6044
|
"hasDynamicHelp": false,
|
|
5315
6045
|
"hiddenAliases": [],
|
|
5316
|
-
"id": "theme
|
|
6046
|
+
"id": "theme:style:diff",
|
|
5317
6047
|
"pluginAlias": "@loopress/cli",
|
|
5318
6048
|
"pluginName": "@loopress/cli",
|
|
5319
6049
|
"pluginType": "core",
|
|
@@ -5347,11 +6077,12 @@
|
|
|
5347
6077
|
"relativePath": [
|
|
5348
6078
|
"dist",
|
|
5349
6079
|
"commands",
|
|
5350
|
-
"theme
|
|
6080
|
+
"theme",
|
|
6081
|
+
"style",
|
|
5351
6082
|
"diff.js"
|
|
5352
6083
|
]
|
|
5353
6084
|
},
|
|
5354
|
-
"theme
|
|
6085
|
+
"theme:style:pull": {
|
|
5355
6086
|
"aliases": [],
|
|
5356
6087
|
"args": {
|
|
5357
6088
|
"path": {
|
|
@@ -5361,9 +6092,16 @@
|
|
|
5361
6092
|
},
|
|
5362
6093
|
"description": "Pull the active block theme's Global Styles customizations (Site Editor > Styles) from WordPress into a local file",
|
|
5363
6094
|
"examples": [
|
|
5364
|
-
"$ lps theme
|
|
6095
|
+
"$ lps theme style pull"
|
|
5365
6096
|
],
|
|
5366
6097
|
"flags": {
|
|
6098
|
+
"json": {
|
|
6099
|
+
"description": "Format output as json.",
|
|
6100
|
+
"helpGroup": "GLOBAL",
|
|
6101
|
+
"name": "json",
|
|
6102
|
+
"allowNo": false,
|
|
6103
|
+
"type": "boolean"
|
|
6104
|
+
},
|
|
5367
6105
|
"env": {
|
|
5368
6106
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5369
6107
|
"name": "env",
|
|
@@ -5381,12 +6119,12 @@
|
|
|
5381
6119
|
},
|
|
5382
6120
|
"hasDynamicHelp": false,
|
|
5383
6121
|
"hiddenAliases": [],
|
|
5384
|
-
"id": "theme
|
|
6122
|
+
"id": "theme:style:pull",
|
|
5385
6123
|
"pluginAlias": "@loopress/cli",
|
|
5386
6124
|
"pluginName": "@loopress/cli",
|
|
5387
6125
|
"pluginType": "core",
|
|
5388
6126
|
"strict": true,
|
|
5389
|
-
"enableJsonFlag":
|
|
6127
|
+
"enableJsonFlag": true,
|
|
5390
6128
|
"dryRunFlag": {
|
|
5391
6129
|
"dry-run": {
|
|
5392
6130
|
"char": "d",
|
|
@@ -5407,11 +6145,12 @@
|
|
|
5407
6145
|
"relativePath": [
|
|
5408
6146
|
"dist",
|
|
5409
6147
|
"commands",
|
|
5410
|
-
"theme
|
|
6148
|
+
"theme",
|
|
6149
|
+
"style",
|
|
5411
6150
|
"pull.js"
|
|
5412
6151
|
]
|
|
5413
6152
|
},
|
|
5414
|
-
"theme
|
|
6153
|
+
"theme:style:push": {
|
|
5415
6154
|
"aliases": [],
|
|
5416
6155
|
"args": {
|
|
5417
6156
|
"path": {
|
|
@@ -5421,9 +6160,16 @@
|
|
|
5421
6160
|
},
|
|
5422
6161
|
"description": "Push the local Global Styles file to the active block theme's Site Editor > Styles on WordPress",
|
|
5423
6162
|
"examples": [
|
|
5424
|
-
"$ lps theme
|
|
6163
|
+
"$ lps theme style push"
|
|
5425
6164
|
],
|
|
5426
6165
|
"flags": {
|
|
6166
|
+
"json": {
|
|
6167
|
+
"description": "Format output as json.",
|
|
6168
|
+
"helpGroup": "GLOBAL",
|
|
6169
|
+
"name": "json",
|
|
6170
|
+
"allowNo": false,
|
|
6171
|
+
"type": "boolean"
|
|
6172
|
+
},
|
|
5427
6173
|
"env": {
|
|
5428
6174
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5429
6175
|
"name": "env",
|
|
@@ -5431,30 +6177,61 @@
|
|
|
5431
6177
|
"multiple": false,
|
|
5432
6178
|
"type": "option"
|
|
5433
6179
|
},
|
|
6180
|
+
"production-confirmed": {
|
|
6181
|
+
"hidden": true,
|
|
6182
|
+
"name": "production-confirmed",
|
|
6183
|
+
"allowNo": false,
|
|
6184
|
+
"type": "boolean"
|
|
6185
|
+
},
|
|
5434
6186
|
"dry-run": {
|
|
5435
6187
|
"char": "d",
|
|
5436
6188
|
"description": "Show what would change without making changes",
|
|
5437
6189
|
"name": "dry-run",
|
|
5438
6190
|
"allowNo": false,
|
|
5439
6191
|
"type": "boolean"
|
|
6192
|
+
},
|
|
6193
|
+
"yes": {
|
|
6194
|
+
"char": "y",
|
|
6195
|
+
"description": "Answer yes to confirmation prompts",
|
|
6196
|
+
"name": "yes",
|
|
6197
|
+
"allowNo": false,
|
|
6198
|
+
"type": "boolean"
|
|
5440
6199
|
}
|
|
5441
6200
|
},
|
|
5442
6201
|
"hasDynamicHelp": false,
|
|
5443
6202
|
"hiddenAliases": [],
|
|
5444
|
-
"id": "theme
|
|
6203
|
+
"id": "theme:style:push",
|
|
5445
6204
|
"pluginAlias": "@loopress/cli",
|
|
5446
6205
|
"pluginName": "@loopress/cli",
|
|
5447
6206
|
"pluginType": "core",
|
|
5448
6207
|
"strict": true,
|
|
6208
|
+
"enableJsonFlag": true,
|
|
6209
|
+
"dryRunFlag": {
|
|
6210
|
+
"dry-run": {
|
|
6211
|
+
"char": "d",
|
|
6212
|
+
"description": "Show what would change without making changes",
|
|
6213
|
+
"allowNo": false,
|
|
6214
|
+
"type": "boolean"
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
6217
|
+
"yesFlag": {
|
|
6218
|
+
"yes": {
|
|
6219
|
+
"char": "y",
|
|
6220
|
+
"description": "Answer yes to confirmation prompts",
|
|
6221
|
+
"allowNo": false,
|
|
6222
|
+
"type": "boolean"
|
|
6223
|
+
}
|
|
6224
|
+
},
|
|
5449
6225
|
"isESM": true,
|
|
5450
6226
|
"relativePath": [
|
|
5451
6227
|
"dist",
|
|
5452
6228
|
"commands",
|
|
5453
|
-
"theme
|
|
6229
|
+
"theme",
|
|
6230
|
+
"style",
|
|
5454
6231
|
"push.js"
|
|
5455
6232
|
]
|
|
5456
6233
|
},
|
|
5457
|
-
"theme
|
|
6234
|
+
"theme:style:rollback": {
|
|
5458
6235
|
"aliases": [],
|
|
5459
6236
|
"args": {
|
|
5460
6237
|
"path": {
|
|
@@ -5462,12 +6239,12 @@
|
|
|
5462
6239
|
"name": "path"
|
|
5463
6240
|
}
|
|
5464
6241
|
},
|
|
5465
|
-
"description": "Restore the active theme
|
|
6242
|
+
"description": "Restore the active theme's Global Styles to a snapshot taken automatically before an earlier `lps theme style push`",
|
|
5466
6243
|
"examples": [
|
|
5467
|
-
"$ lps theme
|
|
5468
|
-
"$ lps theme
|
|
5469
|
-
"$ lps theme
|
|
5470
|
-
"$ lps theme
|
|
6244
|
+
"$ lps theme style rollback",
|
|
6245
|
+
"$ lps theme style rollback --list",
|
|
6246
|
+
"$ lps theme style rollback --to 1732000000000",
|
|
6247
|
+
"$ lps theme style rollback --dry-run"
|
|
5471
6248
|
],
|
|
5472
6249
|
"flags": {
|
|
5473
6250
|
"json": {
|
|
@@ -5514,7 +6291,7 @@
|
|
|
5514
6291
|
},
|
|
5515
6292
|
"hasDynamicHelp": false,
|
|
5516
6293
|
"hiddenAliases": [],
|
|
5517
|
-
"id": "theme
|
|
6294
|
+
"id": "theme:style:rollback",
|
|
5518
6295
|
"pluginAlias": "@loopress/cli",
|
|
5519
6296
|
"pluginName": "@loopress/cli",
|
|
5520
6297
|
"pluginType": "core",
|
|
@@ -5540,10 +6317,11 @@
|
|
|
5540
6317
|
"relativePath": [
|
|
5541
6318
|
"dist",
|
|
5542
6319
|
"commands",
|
|
5543
|
-
"theme
|
|
6320
|
+
"theme",
|
|
6321
|
+
"style",
|
|
5544
6322
|
"rollback.js"
|
|
5545
6323
|
]
|
|
5546
6324
|
}
|
|
5547
6325
|
},
|
|
5548
|
-
"version": "0.
|
|
6326
|
+
"version": "0.29.0"
|
|
5549
6327
|
}
|