@loopress/cli 0.32.1 → 0.33.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 +511 -154
- package/dist/commands/acf/list.d.ts +1 -1
- package/dist/commands/acf/list.js +3 -4
- package/dist/commands/acf/pull.d.ts +1 -1
- package/dist/commands/acf/pull.js +9 -6
- package/dist/commands/acf/push.d.ts +1 -1
- package/dist/commands/acf/push.js +5 -4
- package/dist/commands/api/publish.js +2 -1
- package/dist/commands/app/pull.js +2 -1
- package/dist/commands/app/push.js +5 -4
- package/dist/commands/app/{remove.d.ts → rm.d.ts} +1 -0
- package/dist/commands/app/{remove.js → rm.js} +2 -1
- package/dist/commands/block/diff.d.ts +2 -0
- package/dist/commands/block/diff.js +5 -0
- package/dist/commands/block/list.d.ts +8 -0
- package/dist/commands/block/list.js +23 -0
- package/dist/commands/block/pull.d.ts +21 -0
- package/dist/commands/block/pull.js +67 -0
- package/dist/commands/block/push.d.ts +20 -0
- package/dist/commands/block/push.js +48 -0
- package/dist/commands/block/rm.d.ts +23 -0
- package/dist/commands/block/rm.js +69 -0
- package/dist/commands/block/rollback.d.ts +2 -0
- package/dist/commands/block/rollback.js +5 -0
- package/dist/commands/composer/init.js +1 -0
- package/dist/commands/composer/push.js +5 -4
- package/dist/commands/content/copy.d.ts +3 -0
- package/dist/commands/content/copy.js +79 -2
- package/dist/commands/dev.js +4 -3
- package/dist/commands/diff.d.ts +1 -0
- package/dist/commands/diff.js +33 -3
- package/dist/commands/doctor.d.ts +4 -2
- package/dist/commands/doctor.js +37 -23
- package/dist/commands/form/pull.js +7 -5
- package/dist/commands/form/push.js +4 -3
- package/dist/commands/init.js +4 -3
- package/dist/commands/menu/push.js +8 -8
- package/dist/commands/option/list.js +5 -2
- package/dist/commands/option/push.js +2 -1
- package/dist/commands/option/{remove.d.ts → rm.d.ts} +1 -0
- package/dist/commands/option/{remove.js → rm.js} +2 -1
- package/dist/commands/page/push.js +2 -1
- package/dist/commands/plugin/audit.d.ts +4 -4
- package/dist/commands/plugin/audit.js +35 -15
- package/dist/commands/plugin/pull.js +3 -2
- package/dist/commands/plugin/push.js +2 -2
- package/dist/commands/plugin/status.js +3 -1
- package/dist/commands/project/config.js +7 -6
- package/dist/commands/project/pull.js +3 -1
- package/dist/commands/project/push.js +6 -4
- package/dist/commands/project/{remove.d.ts → rm.d.ts} +1 -0
- package/dist/commands/project/{remove.js → rm.js} +3 -2
- package/dist/commands/project/switch.js +6 -4
- package/dist/commands/promote.js +7 -2
- package/dist/commands/pull.d.ts +2 -0
- package/dist/commands/pull.js +42 -18
- package/dist/commands/push.d.ts +2 -1
- package/dist/commands/push.js +69 -25
- package/dist/commands/snippet/publish.js +9 -5
- package/dist/commands/snippet/push.d.ts +1 -1
- package/dist/commands/snippet/push.js +15 -12
- package/dist/commands/status.js +1 -0
- package/dist/commands/theme/activate.d.ts +21 -0
- package/dist/commands/theme/activate.js +44 -0
- package/dist/commands/theme/pull.js +2 -1
- package/dist/commands/theme/push.js +7 -3
- package/dist/commands/theme/style/push.js +7 -2
- package/dist/commands/theme/template/push.js +25 -6
- package/dist/config/auth.manager.d.ts +10 -7
- package/dist/config/auth.manager.js +5 -1
- package/dist/config/json-file.d.ts +1 -1
- package/dist/config/project-config.manager.d.ts +2 -2
- package/dist/config/project-config.manager.js +13 -21
- package/dist/lib/api-client.js +16 -21
- package/dist/lib/app-build.js +6 -2
- package/dist/lib/app-manifest.js +6 -6
- package/dist/lib/base.d.ts +2 -1
- package/dist/lib/base.js +10 -8
- package/dist/lib/bootstrap-full-install.js +8 -6
- package/dist/lib/capabilities.d.ts +44 -0
- package/dist/lib/capabilities.js +85 -0
- package/dist/lib/declared-type-command.js +4 -2
- package/dist/lib/dev-watch.js +5 -5
- package/dist/lib/diff-command.d.ts +2 -3
- package/dist/lib/diff-command.js +9 -7
- package/dist/lib/diff-state.js +2 -3
- package/dist/lib/load-files.js +2 -1
- package/dist/lib/load-snippets.js +37 -42
- package/dist/lib/local-callback-server.js +7 -1
- package/dist/lib/narrow.d.ts +5 -0
- package/dist/lib/narrow.js +26 -0
- package/dist/lib/php-files-command.js +8 -5
- package/dist/lib/plugin-detection.d.ts +0 -1
- package/dist/lib/plugin-detection.js +2 -4
- package/dist/lib/push-command.d.ts +1 -1
- package/dist/lib/push-command.js +19 -7
- package/dist/lib/put-or-create.d.ts +2 -2
- package/dist/lib/readdir-tolerant.js +3 -1
- package/dist/lib/resource-state.d.ts +1 -1
- package/dist/lib/resource-state.js +58 -19
- package/dist/lib/rollback-command.d.ts +1 -1
- package/dist/lib/rollback-command.js +3 -2
- package/dist/lib/rollback-materialize.js +28 -8
- package/dist/lib/rotate-app-password.js +1 -0
- package/dist/lib/sentry.js +2 -2
- package/dist/lib/snapshot-store.d.ts +10 -7
- package/dist/lib/snapshot-store.js +21 -5
- package/dist/lib/spinner.js +4 -0
- package/dist/lib/validate-local.js +35 -20
- package/dist/lib/wp-client.d.ts +6 -1
- package/dist/lib/wp-client.js +54 -69
- package/dist/lib/wp-site-diagnostic.js +3 -5
- package/dist/types/global-config.generated.d.ts +1 -1
- package/dist/types/plugin.d.ts +7 -5
- package/dist/types/plugin.js +6 -1
- package/dist/types/project-config.generated.d.ts +9 -1
- package/dist/types/snippet.d.ts +2 -2
- package/dist/types/snippet.js +1 -1
- package/dist/utils/acf-format.d.ts +1 -0
- package/dist/utils/acf-format.js +11 -3
- package/dist/utils/block-format.d.ts +27 -0
- package/dist/utils/block-format.js +93 -0
- package/dist/utils/composer.d.ts +7 -15
- package/dist/utils/composer.js +43 -16
- package/dist/utils/declared-type-format.js +26 -19
- package/dist/utils/form-format.js +2 -2
- package/dist/utils/loopress-config.js +9 -1
- package/dist/utils/menu-format.d.ts +3 -1
- package/dist/utils/menu-format.js +5 -0
- package/dist/utils/option-format.d.ts +2 -2
- package/dist/utils/option-format.js +15 -25
- package/dist/utils/page-format.js +7 -6
- package/dist/utils/php-top-level.js +15 -4
- package/dist/utils/plugin-sync.d.ts +7 -7
- package/dist/utils/plugin-sync.js +11 -11
- package/dist/utils/plugins.js +9 -6
- package/dist/utils/resource-dirs.d.ts +2 -0
- package/dist/utils/resource-dirs.js +9 -1
- package/dist/utils/snippet-format.d.ts +1 -1
- package/dist/utils/snippet-format.js +5 -3
- package/dist/utils/template-format.js +2 -2
- package/dist/utils/theme-css.js +14 -6
- package/dist/utils/theme-styles-format.d.ts +3 -0
- package/dist/utils/theme-styles-format.js +44 -6
- package/dist/utils/version.js +1 -1
- package/oclif.manifest.json +1588 -1043
- package/package.json +42 -17
- package/schemas/global-config.schema.json +1 -1
- package/schemas/project-config.schema.json +11 -1
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, 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.",
|
|
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, dynamic blocks, 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",
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
"acf",
|
|
85
85
|
"api",
|
|
86
86
|
"hook",
|
|
87
|
+
"block",
|
|
87
88
|
"template",
|
|
88
89
|
"part",
|
|
89
90
|
"page",
|
|
@@ -110,6 +111,7 @@
|
|
|
110
111
|
"acf",
|
|
111
112
|
"api",
|
|
112
113
|
"hook",
|
|
114
|
+
"block",
|
|
113
115
|
"template",
|
|
114
116
|
"part",
|
|
115
117
|
"page",
|
|
@@ -355,7 +357,7 @@
|
|
|
355
357
|
"pull": {
|
|
356
358
|
"aliases": [],
|
|
357
359
|
"args": {},
|
|
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",
|
|
360
|
+
"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, dynamic blocks, forms, patterns, Global Styles, menus, options, and snippets",
|
|
359
361
|
"examples": [
|
|
360
362
|
"$ lps pull",
|
|
361
363
|
"$ lps pull --env staging",
|
|
@@ -425,7 +427,7 @@
|
|
|
425
427
|
"push": {
|
|
426
428
|
"aliases": [],
|
|
427
429
|
"args": {},
|
|
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",
|
|
430
|
+
"description": "Push every local resource to WordPress in one run: plugins, composer dependencies, post types, taxonomies, post meta, roles, ACF, API routes, hooks, dynamic blocks, forms, patterns, templates and parts, Global Styles, pages, menus, options, and snippets",
|
|
429
431
|
"examples": [
|
|
430
432
|
"$ lps push",
|
|
431
433
|
"$ lps push --env staging",
|
|
@@ -1196,7 +1198,7 @@
|
|
|
1196
1198
|
"description": "Pull custom API route files from WordPress into local files",
|
|
1197
1199
|
"examples": [
|
|
1198
1200
|
"$ lps api pull",
|
|
1199
|
-
"$ lps api pull
|
|
1201
|
+
"$ lps api pull ./api"
|
|
1200
1202
|
],
|
|
1201
1203
|
"flags": {
|
|
1202
1204
|
"json": {
|
|
@@ -1271,7 +1273,7 @@
|
|
|
1271
1273
|
"description": "Push local custom API route files to WordPress",
|
|
1272
1274
|
"examples": [
|
|
1273
1275
|
"$ lps api push",
|
|
1274
|
-
"$ lps api push
|
|
1276
|
+
"$ lps api push ./api",
|
|
1275
1277
|
"$ lps api push --prune"
|
|
1276
1278
|
],
|
|
1277
1279
|
"flags": {
|
|
@@ -1522,38 +1524,37 @@
|
|
|
1522
1524
|
"rollback.js"
|
|
1523
1525
|
]
|
|
1524
1526
|
},
|
|
1525
|
-
"
|
|
1527
|
+
"app:list": {
|
|
1526
1528
|
"aliases": [],
|
|
1527
1529
|
"args": {},
|
|
1528
|
-
"description": "
|
|
1530
|
+
"description": "List single-page apps deployed to WordPress",
|
|
1529
1531
|
"examples": [
|
|
1530
|
-
"$ lps
|
|
1531
|
-
"$ lps composer init --dry-run"
|
|
1532
|
+
"$ lps app list"
|
|
1532
1533
|
],
|
|
1533
1534
|
"flags": {
|
|
1535
|
+
"json": {
|
|
1536
|
+
"description": "Format output as json.",
|
|
1537
|
+
"helpGroup": "GLOBAL",
|
|
1538
|
+
"name": "json",
|
|
1539
|
+
"allowNo": false,
|
|
1540
|
+
"type": "boolean"
|
|
1541
|
+
},
|
|
1534
1542
|
"env": {
|
|
1535
1543
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
1536
1544
|
"name": "env",
|
|
1537
1545
|
"hasDynamicHelp": false,
|
|
1538
1546
|
"multiple": false,
|
|
1539
1547
|
"type": "option"
|
|
1540
|
-
},
|
|
1541
|
-
"dry-run": {
|
|
1542
|
-
"char": "d",
|
|
1543
|
-
"description": "Show what would change without making changes",
|
|
1544
|
-
"name": "dry-run",
|
|
1545
|
-
"allowNo": false,
|
|
1546
|
-
"type": "boolean"
|
|
1547
1548
|
}
|
|
1548
1549
|
},
|
|
1549
1550
|
"hasDynamicHelp": false,
|
|
1550
1551
|
"hiddenAliases": [],
|
|
1551
|
-
"id": "
|
|
1552
|
+
"id": "app:list",
|
|
1552
1553
|
"pluginAlias": "@loopress/cli",
|
|
1553
1554
|
"pluginName": "@loopress/cli",
|
|
1554
1555
|
"pluginType": "core",
|
|
1555
1556
|
"strict": true,
|
|
1556
|
-
"enableJsonFlag":
|
|
1557
|
+
"enableJsonFlag": true,
|
|
1557
1558
|
"dryRunFlag": {
|
|
1558
1559
|
"dry-run": {
|
|
1559
1560
|
"char": "d",
|
|
@@ -1574,17 +1575,21 @@
|
|
|
1574
1575
|
"relativePath": [
|
|
1575
1576
|
"dist",
|
|
1576
1577
|
"commands",
|
|
1577
|
-
"
|
|
1578
|
-
"
|
|
1578
|
+
"app",
|
|
1579
|
+
"list.js"
|
|
1579
1580
|
]
|
|
1580
1581
|
},
|
|
1581
|
-
"
|
|
1582
|
+
"app:pull": {
|
|
1582
1583
|
"aliases": [],
|
|
1583
|
-
"args": {
|
|
1584
|
-
|
|
1584
|
+
"args": {
|
|
1585
|
+
"path": {
|
|
1586
|
+
"description": "Path to apps directory (overrides project config)",
|
|
1587
|
+
"name": "path"
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
"description": "Pull single-page app bundles from WordPress into local files",
|
|
1585
1591
|
"examples": [
|
|
1586
|
-
"$ lps
|
|
1587
|
-
"$ lps composer pull --dry-run"
|
|
1592
|
+
"$ lps app pull"
|
|
1588
1593
|
],
|
|
1589
1594
|
"flags": {
|
|
1590
1595
|
"json": {
|
|
@@ -1607,11 +1612,18 @@
|
|
|
1607
1612
|
"name": "dry-run",
|
|
1608
1613
|
"allowNo": false,
|
|
1609
1614
|
"type": "boolean"
|
|
1615
|
+
},
|
|
1616
|
+
"yes": {
|
|
1617
|
+
"char": "y",
|
|
1618
|
+
"description": "Answer yes to confirmation prompts",
|
|
1619
|
+
"name": "yes",
|
|
1620
|
+
"allowNo": false,
|
|
1621
|
+
"type": "boolean"
|
|
1610
1622
|
}
|
|
1611
1623
|
},
|
|
1612
1624
|
"hasDynamicHelp": false,
|
|
1613
1625
|
"hiddenAliases": [],
|
|
1614
|
-
"id": "
|
|
1626
|
+
"id": "app:pull",
|
|
1615
1627
|
"pluginAlias": "@loopress/cli",
|
|
1616
1628
|
"pluginName": "@loopress/cli",
|
|
1617
1629
|
"pluginType": "core",
|
|
@@ -1637,17 +1649,23 @@
|
|
|
1637
1649
|
"relativePath": [
|
|
1638
1650
|
"dist",
|
|
1639
1651
|
"commands",
|
|
1640
|
-
"
|
|
1652
|
+
"app",
|
|
1641
1653
|
"pull.js"
|
|
1642
1654
|
]
|
|
1643
1655
|
},
|
|
1644
|
-
"
|
|
1656
|
+
"app:push": {
|
|
1645
1657
|
"aliases": [],
|
|
1646
|
-
"args": {
|
|
1647
|
-
|
|
1658
|
+
"args": {
|
|
1659
|
+
"name": {
|
|
1660
|
+
"description": "Push only this app (defaults to every app in the directory)",
|
|
1661
|
+
"name": "name"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"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.",
|
|
1648
1665
|
"examples": [
|
|
1649
|
-
"$ lps
|
|
1650
|
-
"$ lps
|
|
1666
|
+
"$ lps app push",
|
|
1667
|
+
"$ lps app push search",
|
|
1668
|
+
"$ lps app push --no-build"
|
|
1651
1669
|
],
|
|
1652
1670
|
"flags": {
|
|
1653
1671
|
"json": {
|
|
@@ -1676,6 +1694,12 @@
|
|
|
1676
1694
|
"allowNo": false,
|
|
1677
1695
|
"type": "boolean"
|
|
1678
1696
|
},
|
|
1697
|
+
"build": {
|
|
1698
|
+
"description": "Run the app's package.json build script before pushing",
|
|
1699
|
+
"name": "build",
|
|
1700
|
+
"allowNo": true,
|
|
1701
|
+
"type": "boolean"
|
|
1702
|
+
},
|
|
1679
1703
|
"dry-run": {
|
|
1680
1704
|
"char": "d",
|
|
1681
1705
|
"description": "Show what would change without making changes",
|
|
@@ -1689,17 +1713,11 @@
|
|
|
1689
1713
|
"name": "yes",
|
|
1690
1714
|
"allowNo": false,
|
|
1691
1715
|
"type": "boolean"
|
|
1692
|
-
},
|
|
1693
|
-
"force": {
|
|
1694
|
-
"description": "Allow downgrades and take over plugins/themes installed outside Loopress",
|
|
1695
|
-
"name": "force",
|
|
1696
|
-
"allowNo": false,
|
|
1697
|
-
"type": "boolean"
|
|
1698
1716
|
}
|
|
1699
1717
|
},
|
|
1700
1718
|
"hasDynamicHelp": false,
|
|
1701
1719
|
"hiddenAliases": [],
|
|
1702
|
-
"id": "
|
|
1720
|
+
"id": "app:push",
|
|
1703
1721
|
"pluginAlias": "@loopress/cli",
|
|
1704
1722
|
"pluginName": "@loopress/cli",
|
|
1705
1723
|
"pluginType": "core",
|
|
@@ -1725,16 +1743,24 @@
|
|
|
1725
1743
|
"relativePath": [
|
|
1726
1744
|
"dist",
|
|
1727
1745
|
"commands",
|
|
1728
|
-
"
|
|
1746
|
+
"app",
|
|
1729
1747
|
"push.js"
|
|
1730
1748
|
]
|
|
1731
1749
|
},
|
|
1732
|
-
"app:
|
|
1733
|
-
"aliases": [
|
|
1734
|
-
|
|
1735
|
-
|
|
1750
|
+
"app:rm": {
|
|
1751
|
+
"aliases": [
|
|
1752
|
+
"app:remove"
|
|
1753
|
+
],
|
|
1754
|
+
"args": {
|
|
1755
|
+
"name": {
|
|
1756
|
+
"description": "App to remove from WordPress",
|
|
1757
|
+
"name": "name",
|
|
1758
|
+
"required": true
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
"description": "Remove a single-page app from WordPress: deletes its bundle from wp-content/loopress/apps/ and unregisters the shortcode. Local files are left untouched.",
|
|
1736
1762
|
"examples": [
|
|
1737
|
-
"$ lps app
|
|
1763
|
+
"$ lps app rm search"
|
|
1738
1764
|
],
|
|
1739
1765
|
"flags": {
|
|
1740
1766
|
"json": {
|
|
@@ -1750,11 +1776,25 @@
|
|
|
1750
1776
|
"hasDynamicHelp": false,
|
|
1751
1777
|
"multiple": false,
|
|
1752
1778
|
"type": "option"
|
|
1779
|
+
},
|
|
1780
|
+
"dry-run": {
|
|
1781
|
+
"char": "d",
|
|
1782
|
+
"description": "Show what would change without making changes",
|
|
1783
|
+
"name": "dry-run",
|
|
1784
|
+
"allowNo": false,
|
|
1785
|
+
"type": "boolean"
|
|
1786
|
+
},
|
|
1787
|
+
"yes": {
|
|
1788
|
+
"char": "y",
|
|
1789
|
+
"description": "Answer yes to confirmation prompts",
|
|
1790
|
+
"name": "yes",
|
|
1791
|
+
"allowNo": false,
|
|
1792
|
+
"type": "boolean"
|
|
1753
1793
|
}
|
|
1754
1794
|
},
|
|
1755
1795
|
"hasDynamicHelp": false,
|
|
1756
1796
|
"hiddenAliases": [],
|
|
1757
|
-
"id": "app:
|
|
1797
|
+
"id": "app:rm",
|
|
1758
1798
|
"pluginAlias": "@loopress/cli",
|
|
1759
1799
|
"pluginName": "@loopress/cli",
|
|
1760
1800
|
"pluginType": "core",
|
|
@@ -1781,20 +1821,22 @@
|
|
|
1781
1821
|
"dist",
|
|
1782
1822
|
"commands",
|
|
1783
1823
|
"app",
|
|
1784
|
-
"
|
|
1824
|
+
"rm.js"
|
|
1785
1825
|
]
|
|
1786
1826
|
},
|
|
1787
|
-
"
|
|
1827
|
+
"block:diff": {
|
|
1788
1828
|
"aliases": [],
|
|
1789
1829
|
"args": {
|
|
1790
1830
|
"path": {
|
|
1791
|
-
"description": "Path to
|
|
1831
|
+
"description": "Path to blocks directory (overrides project config)",
|
|
1792
1832
|
"name": "path"
|
|
1793
1833
|
}
|
|
1794
1834
|
},
|
|
1795
|
-
"description": "
|
|
1835
|
+
"description": "Show what differs in dynamic blocks between your local blocks/ folders and a WordPress environment, or between two environments",
|
|
1796
1836
|
"examples": [
|
|
1797
|
-
"$ lps
|
|
1837
|
+
"$ lps block diff",
|
|
1838
|
+
"$ lps block diff --env staging",
|
|
1839
|
+
"$ lps block diff --env staging --against production"
|
|
1798
1840
|
],
|
|
1799
1841
|
"flags": {
|
|
1800
1842
|
"json": {
|
|
@@ -1811,24 +1853,80 @@
|
|
|
1811
1853
|
"multiple": false,
|
|
1812
1854
|
"type": "option"
|
|
1813
1855
|
},
|
|
1856
|
+
"against": {
|
|
1857
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
1858
|
+
"name": "against",
|
|
1859
|
+
"hasDynamicHelp": false,
|
|
1860
|
+
"multiple": false,
|
|
1861
|
+
"type": "option"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
"hasDynamicHelp": false,
|
|
1865
|
+
"hiddenAliases": [],
|
|
1866
|
+
"id": "block:diff",
|
|
1867
|
+
"pluginAlias": "@loopress/cli",
|
|
1868
|
+
"pluginName": "@loopress/cli",
|
|
1869
|
+
"pluginType": "core",
|
|
1870
|
+
"strict": true,
|
|
1871
|
+
"enableJsonFlag": true,
|
|
1872
|
+
"dryRunFlag": {
|
|
1814
1873
|
"dry-run": {
|
|
1815
1874
|
"char": "d",
|
|
1816
1875
|
"description": "Show what would change without making changes",
|
|
1817
|
-
"name": "dry-run",
|
|
1818
1876
|
"allowNo": false,
|
|
1819
1877
|
"type": "boolean"
|
|
1820
|
-
}
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
"yesFlag": {
|
|
1821
1881
|
"yes": {
|
|
1822
1882
|
"char": "y",
|
|
1823
1883
|
"description": "Answer yes to confirmation prompts",
|
|
1824
|
-
"name": "yes",
|
|
1825
1884
|
"allowNo": false,
|
|
1826
1885
|
"type": "boolean"
|
|
1827
1886
|
}
|
|
1828
1887
|
},
|
|
1888
|
+
"againstFlag": {
|
|
1889
|
+
"against": {
|
|
1890
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
1891
|
+
"input": [],
|
|
1892
|
+
"multiple": false,
|
|
1893
|
+
"type": "option"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"isESM": true,
|
|
1897
|
+
"relativePath": [
|
|
1898
|
+
"dist",
|
|
1899
|
+
"commands",
|
|
1900
|
+
"block",
|
|
1901
|
+
"diff.js"
|
|
1902
|
+
]
|
|
1903
|
+
},
|
|
1904
|
+
"block:list": {
|
|
1905
|
+
"aliases": [],
|
|
1906
|
+
"args": {},
|
|
1907
|
+
"description": "List the dynamic blocks Loopress registers on WordPress (loopress/<slug>), with their load and render errors",
|
|
1908
|
+
"examples": [
|
|
1909
|
+
"$ lps block list"
|
|
1910
|
+
],
|
|
1911
|
+
"flags": {
|
|
1912
|
+
"json": {
|
|
1913
|
+
"description": "Format output as json.",
|
|
1914
|
+
"helpGroup": "GLOBAL",
|
|
1915
|
+
"name": "json",
|
|
1916
|
+
"allowNo": false,
|
|
1917
|
+
"type": "boolean"
|
|
1918
|
+
},
|
|
1919
|
+
"env": {
|
|
1920
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
1921
|
+
"name": "env",
|
|
1922
|
+
"hasDynamicHelp": false,
|
|
1923
|
+
"multiple": false,
|
|
1924
|
+
"type": "option"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1829
1927
|
"hasDynamicHelp": false,
|
|
1830
1928
|
"hiddenAliases": [],
|
|
1831
|
-
"id": "
|
|
1929
|
+
"id": "block:list",
|
|
1832
1930
|
"pluginAlias": "@loopress/cli",
|
|
1833
1931
|
"pluginName": "@loopress/cli",
|
|
1834
1932
|
"pluginType": "core",
|
|
@@ -1854,23 +1952,21 @@
|
|
|
1854
1952
|
"relativePath": [
|
|
1855
1953
|
"dist",
|
|
1856
1954
|
"commands",
|
|
1857
|
-
"
|
|
1858
|
-
"
|
|
1955
|
+
"block",
|
|
1956
|
+
"list.js"
|
|
1859
1957
|
]
|
|
1860
1958
|
},
|
|
1861
|
-
"
|
|
1959
|
+
"block:pull": {
|
|
1862
1960
|
"aliases": [],
|
|
1863
1961
|
"args": {
|
|
1864
|
-
"
|
|
1865
|
-
"description": "
|
|
1866
|
-
"name": "
|
|
1962
|
+
"path": {
|
|
1963
|
+
"description": "Path to blocks directory (overrides project config)",
|
|
1964
|
+
"name": "path"
|
|
1867
1965
|
}
|
|
1868
1966
|
},
|
|
1869
|
-
"description": "
|
|
1967
|
+
"description": "Pull the dynamic blocks Loopress registers on WordPress into blocks/<slug>/ folders",
|
|
1870
1968
|
"examples": [
|
|
1871
|
-
"$ lps
|
|
1872
|
-
"$ lps app push search",
|
|
1873
|
-
"$ lps app push --no-build"
|
|
1969
|
+
"$ lps block pull"
|
|
1874
1970
|
],
|
|
1875
1971
|
"flags": {
|
|
1876
1972
|
"json": {
|
|
@@ -1887,24 +1983,6 @@
|
|
|
1887
1983
|
"multiple": false,
|
|
1888
1984
|
"type": "option"
|
|
1889
1985
|
},
|
|
1890
|
-
"overwrite": {
|
|
1891
|
-
"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",
|
|
1892
|
-
"name": "overwrite",
|
|
1893
|
-
"allowNo": false,
|
|
1894
|
-
"type": "boolean"
|
|
1895
|
-
},
|
|
1896
|
-
"production-confirmed": {
|
|
1897
|
-
"hidden": true,
|
|
1898
|
-
"name": "production-confirmed",
|
|
1899
|
-
"allowNo": false,
|
|
1900
|
-
"type": "boolean"
|
|
1901
|
-
},
|
|
1902
|
-
"build": {
|
|
1903
|
-
"description": "Run the app's package.json build script before pushing",
|
|
1904
|
-
"name": "build",
|
|
1905
|
-
"allowNo": true,
|
|
1906
|
-
"type": "boolean"
|
|
1907
|
-
},
|
|
1908
1986
|
"dry-run": {
|
|
1909
1987
|
"char": "d",
|
|
1910
1988
|
"description": "Show what would change without making changes",
|
|
@@ -1922,7 +2000,7 @@
|
|
|
1922
2000
|
},
|
|
1923
2001
|
"hasDynamicHelp": false,
|
|
1924
2002
|
"hiddenAliases": [],
|
|
1925
|
-
"id": "
|
|
2003
|
+
"id": "block:pull",
|
|
1926
2004
|
"pluginAlias": "@loopress/cli",
|
|
1927
2005
|
"pluginName": "@loopress/cli",
|
|
1928
2006
|
"pluginType": "core",
|
|
@@ -1948,22 +2026,22 @@
|
|
|
1948
2026
|
"relativePath": [
|
|
1949
2027
|
"dist",
|
|
1950
2028
|
"commands",
|
|
1951
|
-
"
|
|
1952
|
-
"
|
|
2029
|
+
"block",
|
|
2030
|
+
"pull.js"
|
|
1953
2031
|
]
|
|
1954
2032
|
},
|
|
1955
|
-
"
|
|
2033
|
+
"block:push": {
|
|
1956
2034
|
"aliases": [],
|
|
1957
2035
|
"args": {
|
|
1958
|
-
"
|
|
1959
|
-
"description": "
|
|
1960
|
-
"name": "
|
|
1961
|
-
"required": true
|
|
2036
|
+
"path": {
|
|
2037
|
+
"description": "Path to blocks directory (overrides project config)",
|
|
2038
|
+
"name": "path"
|
|
1962
2039
|
}
|
|
1963
2040
|
},
|
|
1964
|
-
"description": "
|
|
2041
|
+
"description": "Push local dynamic blocks (blocks/<slug>/ holding block.json, render.php, and optionally style.css and view.js) to WordPress, registered as loopress/<slug> and placed with <!-- wp:loopress/<slug> /-->. Each block is replaced as a whole. Create or update only, never deletes a block (use `lps block rm`).",
|
|
1965
2042
|
"examples": [
|
|
1966
|
-
"$ lps
|
|
2043
|
+
"$ lps block push",
|
|
2044
|
+
"$ lps block push --dry-run"
|
|
1967
2045
|
],
|
|
1968
2046
|
"flags": {
|
|
1969
2047
|
"json": {
|
|
@@ -1980,6 +2058,18 @@
|
|
|
1980
2058
|
"multiple": false,
|
|
1981
2059
|
"type": "option"
|
|
1982
2060
|
},
|
|
2061
|
+
"overwrite": {
|
|
2062
|
+
"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",
|
|
2063
|
+
"name": "overwrite",
|
|
2064
|
+
"allowNo": false,
|
|
2065
|
+
"type": "boolean"
|
|
2066
|
+
},
|
|
2067
|
+
"production-confirmed": {
|
|
2068
|
+
"hidden": true,
|
|
2069
|
+
"name": "production-confirmed",
|
|
2070
|
+
"allowNo": false,
|
|
2071
|
+
"type": "boolean"
|
|
2072
|
+
},
|
|
1983
2073
|
"dry-run": {
|
|
1984
2074
|
"char": "d",
|
|
1985
2075
|
"description": "Show what would change without making changes",
|
|
@@ -1997,7 +2087,7 @@
|
|
|
1997
2087
|
},
|
|
1998
2088
|
"hasDynamicHelp": false,
|
|
1999
2089
|
"hiddenAliases": [],
|
|
2000
|
-
"id": "
|
|
2090
|
+
"id": "block:push",
|
|
2001
2091
|
"pluginAlias": "@loopress/cli",
|
|
2002
2092
|
"pluginName": "@loopress/cli",
|
|
2003
2093
|
"pluginType": "core",
|
|
@@ -2023,23 +2113,25 @@
|
|
|
2023
2113
|
"relativePath": [
|
|
2024
2114
|
"dist",
|
|
2025
2115
|
"commands",
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2116
|
+
"block",
|
|
2117
|
+
"push.js"
|
|
2028
2118
|
]
|
|
2029
2119
|
},
|
|
2030
|
-
"
|
|
2031
|
-
"aliases": [
|
|
2120
|
+
"block:rm": {
|
|
2121
|
+
"aliases": [
|
|
2122
|
+
"block:remove"
|
|
2123
|
+
],
|
|
2032
2124
|
"args": {
|
|
2033
|
-
"
|
|
2034
|
-
"description": "
|
|
2035
|
-
"name": "
|
|
2125
|
+
"slug": {
|
|
2126
|
+
"description": "The block to remove, its blocks/ folder name (e.g. \"hero\")",
|
|
2127
|
+
"name": "slug",
|
|
2036
2128
|
"required": true
|
|
2037
2129
|
}
|
|
2038
2130
|
},
|
|
2039
|
-
"description": "
|
|
2131
|
+
"description": "Remove a dynamic block from WordPress. A <!-- wp:loopress/<slug> /--> left in a page or template renders nothing until it is pushed again. Local files are left untouched.",
|
|
2040
2132
|
"examples": [
|
|
2041
|
-
"$ lps
|
|
2042
|
-
"$ lps
|
|
2133
|
+
"$ lps block rm hero",
|
|
2134
|
+
"$ lps block rm hero --yes"
|
|
2043
2135
|
],
|
|
2044
2136
|
"flags": {
|
|
2045
2137
|
"json": {
|
|
@@ -2050,7 +2142,7 @@
|
|
|
2050
2142
|
"type": "boolean"
|
|
2051
2143
|
},
|
|
2052
2144
|
"env": {
|
|
2053
|
-
"
|
|
2145
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
2054
2146
|
"name": "env",
|
|
2055
2147
|
"hasDynamicHelp": false,
|
|
2056
2148
|
"multiple": false,
|
|
@@ -2073,7 +2165,7 @@
|
|
|
2073
2165
|
},
|
|
2074
2166
|
"hasDynamicHelp": false,
|
|
2075
2167
|
"hiddenAliases": [],
|
|
2076
|
-
"id": "
|
|
2168
|
+
"id": "block:rm",
|
|
2077
2169
|
"pluginAlias": "@loopress/cli",
|
|
2078
2170
|
"pluginName": "@loopress/cli",
|
|
2079
2171
|
"pluginType": "core",
|
|
@@ -2099,23 +2191,24 @@
|
|
|
2099
2191
|
"relativePath": [
|
|
2100
2192
|
"dist",
|
|
2101
2193
|
"commands",
|
|
2102
|
-
"
|
|
2103
|
-
"
|
|
2194
|
+
"block",
|
|
2195
|
+
"rm.js"
|
|
2104
2196
|
]
|
|
2105
2197
|
},
|
|
2106
|
-
"
|
|
2198
|
+
"block:rollback": {
|
|
2107
2199
|
"aliases": [],
|
|
2108
2200
|
"args": {
|
|
2109
2201
|
"path": {
|
|
2110
|
-
"description": "Path to
|
|
2202
|
+
"description": "Path to blocks directory (overrides project config)",
|
|
2111
2203
|
"name": "path"
|
|
2112
2204
|
}
|
|
2113
2205
|
},
|
|
2114
|
-
"description": "
|
|
2206
|
+
"description": "Restore dynamic blocks to a snapshot taken automatically before an earlier `lps block push`",
|
|
2115
2207
|
"examples": [
|
|
2116
|
-
"$ lps
|
|
2117
|
-
"$ lps
|
|
2118
|
-
"$ lps
|
|
2208
|
+
"$ lps block rollback",
|
|
2209
|
+
"$ lps block rollback --list",
|
|
2210
|
+
"$ lps block rollback --to 1732000000000",
|
|
2211
|
+
"$ lps block rollback --dry-run"
|
|
2119
2212
|
],
|
|
2120
2213
|
"flags": {
|
|
2121
2214
|
"json": {
|
|
@@ -2132,72 +2225,29 @@
|
|
|
2132
2225
|
"multiple": false,
|
|
2133
2226
|
"type": "option"
|
|
2134
2227
|
},
|
|
2135
|
-
"against": {
|
|
2136
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2137
|
-
"name": "against",
|
|
2138
|
-
"hasDynamicHelp": false,
|
|
2139
|
-
"multiple": false,
|
|
2140
|
-
"type": "option"
|
|
2141
|
-
}
|
|
2142
|
-
},
|
|
2143
|
-
"hasDynamicHelp": false,
|
|
2144
|
-
"hiddenAliases": [],
|
|
2145
|
-
"id": "cpt:diff",
|
|
2146
|
-
"pluginAlias": "@loopress/cli",
|
|
2147
|
-
"pluginName": "@loopress/cli",
|
|
2148
|
-
"pluginType": "core",
|
|
2149
|
-
"strict": true,
|
|
2150
|
-
"enableJsonFlag": true,
|
|
2151
|
-
"dryRunFlag": {
|
|
2152
2228
|
"dry-run": {
|
|
2153
2229
|
"char": "d",
|
|
2154
2230
|
"description": "Show what would change without making changes",
|
|
2231
|
+
"name": "dry-run",
|
|
2155
2232
|
"allowNo": false,
|
|
2156
2233
|
"type": "boolean"
|
|
2157
|
-
}
|
|
2158
|
-
},
|
|
2159
|
-
"yesFlag": {
|
|
2234
|
+
},
|
|
2160
2235
|
"yes": {
|
|
2161
2236
|
"char": "y",
|
|
2162
2237
|
"description": "Answer yes to confirmation prompts",
|
|
2238
|
+
"name": "yes",
|
|
2163
2239
|
"allowNo": false,
|
|
2164
2240
|
"type": "boolean"
|
|
2165
|
-
}
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2170
|
-
"input": [],
|
|
2171
|
-
"multiple": false,
|
|
2172
|
-
"type": "option"
|
|
2173
|
-
}
|
|
2174
|
-
},
|
|
2175
|
-
"isESM": true,
|
|
2176
|
-
"relativePath": [
|
|
2177
|
-
"dist",
|
|
2178
|
-
"commands",
|
|
2179
|
-
"cpt",
|
|
2180
|
-
"diff.js"
|
|
2181
|
-
]
|
|
2182
|
-
},
|
|
2183
|
-
"cpt:list": {
|
|
2184
|
-
"aliases": [],
|
|
2185
|
-
"args": {},
|
|
2186
|
-
"description": "List the post types registered on WordPress and where each comes from (Loopress, WordPress, ACF, CPT UI, a theme or plugin). Only Loopress ones are pulled and pushed.",
|
|
2187
|
-
"examples": [
|
|
2188
|
-
"$ lps cpt list"
|
|
2189
|
-
],
|
|
2190
|
-
"flags": {
|
|
2191
|
-
"json": {
|
|
2192
|
-
"description": "Format output as json.",
|
|
2193
|
-
"helpGroup": "GLOBAL",
|
|
2194
|
-
"name": "json",
|
|
2241
|
+
},
|
|
2242
|
+
"list": {
|
|
2243
|
+
"description": "List available snapshots instead of rolling back",
|
|
2244
|
+
"name": "list",
|
|
2195
2245
|
"allowNo": false,
|
|
2196
2246
|
"type": "boolean"
|
|
2197
2247
|
},
|
|
2198
|
-
"
|
|
2199
|
-
"description": "
|
|
2200
|
-
"name": "
|
|
2248
|
+
"to": {
|
|
2249
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2250
|
+
"name": "to",
|
|
2201
2251
|
"hasDynamicHelp": false,
|
|
2202
2252
|
"multiple": false,
|
|
2203
2253
|
"type": "option"
|
|
@@ -2205,7 +2255,7 @@
|
|
|
2205
2255
|
},
|
|
2206
2256
|
"hasDynamicHelp": false,
|
|
2207
2257
|
"hiddenAliases": [],
|
|
2208
|
-
"id": "
|
|
2258
|
+
"id": "block:rollback",
|
|
2209
2259
|
"pluginAlias": "@loopress/cli",
|
|
2210
2260
|
"pluginName": "@loopress/cli",
|
|
2211
2261
|
"pluginType": "core",
|
|
@@ -2231,30 +2281,19 @@
|
|
|
2231
2281
|
"relativePath": [
|
|
2232
2282
|
"dist",
|
|
2233
2283
|
"commands",
|
|
2234
|
-
"
|
|
2235
|
-
"
|
|
2284
|
+
"block",
|
|
2285
|
+
"rollback.js"
|
|
2236
2286
|
]
|
|
2237
2287
|
},
|
|
2238
|
-
"
|
|
2288
|
+
"composer:init": {
|
|
2239
2289
|
"aliases": [],
|
|
2240
|
-
"args": {
|
|
2241
|
-
|
|
2242
|
-
"description": "Path to the cpt directory (overrides project config)",
|
|
2243
|
-
"name": "path"
|
|
2244
|
-
}
|
|
2245
|
-
},
|
|
2246
|
-
"description": "Pull the custom post types Loopress manages on WordPress into cpt/<slug>.json files. Post types registered by a theme or another plugin are never pulled, see `lps cpt list`.",
|
|
2290
|
+
"args": {},
|
|
2291
|
+
"description": "Create a composer.json wired to WPackagist for installing WordPress.org plugins and themes",
|
|
2247
2292
|
"examples": [
|
|
2248
|
-
"$ lps
|
|
2293
|
+
"$ lps composer init",
|
|
2294
|
+
"$ lps composer init --dry-run"
|
|
2249
2295
|
],
|
|
2250
2296
|
"flags": {
|
|
2251
|
-
"json": {
|
|
2252
|
-
"description": "Format output as json.",
|
|
2253
|
-
"helpGroup": "GLOBAL",
|
|
2254
|
-
"name": "json",
|
|
2255
|
-
"allowNo": false,
|
|
2256
|
-
"type": "boolean"
|
|
2257
|
-
},
|
|
2258
2297
|
"env": {
|
|
2259
2298
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
2260
2299
|
"name": "env",
|
|
@@ -2268,23 +2307,16 @@
|
|
|
2268
2307
|
"name": "dry-run",
|
|
2269
2308
|
"allowNo": false,
|
|
2270
2309
|
"type": "boolean"
|
|
2271
|
-
},
|
|
2272
|
-
"yes": {
|
|
2273
|
-
"char": "y",
|
|
2274
|
-
"description": "Answer yes to confirmation prompts",
|
|
2275
|
-
"name": "yes",
|
|
2276
|
-
"allowNo": false,
|
|
2277
|
-
"type": "boolean"
|
|
2278
2310
|
}
|
|
2279
2311
|
},
|
|
2280
2312
|
"hasDynamicHelp": false,
|
|
2281
2313
|
"hiddenAliases": [],
|
|
2282
|
-
"id": "
|
|
2314
|
+
"id": "composer:init",
|
|
2283
2315
|
"pluginAlias": "@loopress/cli",
|
|
2284
2316
|
"pluginName": "@loopress/cli",
|
|
2285
2317
|
"pluginType": "core",
|
|
2286
2318
|
"strict": true,
|
|
2287
|
-
"enableJsonFlag":
|
|
2319
|
+
"enableJsonFlag": false,
|
|
2288
2320
|
"dryRunFlag": {
|
|
2289
2321
|
"dry-run": {
|
|
2290
2322
|
"char": "d",
|
|
@@ -2305,21 +2337,17 @@
|
|
|
2305
2337
|
"relativePath": [
|
|
2306
2338
|
"dist",
|
|
2307
2339
|
"commands",
|
|
2308
|
-
"
|
|
2309
|
-
"
|
|
2340
|
+
"composer",
|
|
2341
|
+
"init.js"
|
|
2310
2342
|
]
|
|
2311
2343
|
},
|
|
2312
|
-
"
|
|
2344
|
+
"composer:pull": {
|
|
2313
2345
|
"aliases": [],
|
|
2314
|
-
"args": {
|
|
2315
|
-
|
|
2316
|
-
"description": "Path to the cpt directory (overrides project config)",
|
|
2317
|
-
"name": "path"
|
|
2318
|
-
}
|
|
2319
|
-
},
|
|
2320
|
-
"description": "Push local custom post types (cpt/<slug>.json, register_post_type() arguments) to WordPress. Create or update only, never deletes a post type: use `lps cpt rm` for that.",
|
|
2346
|
+
"args": {},
|
|
2347
|
+
"description": "Pull composer.json and composer.lock from WordPress into local files",
|
|
2321
2348
|
"examples": [
|
|
2322
|
-
"$ lps
|
|
2349
|
+
"$ lps composer pull",
|
|
2350
|
+
"$ lps composer pull --dry-run"
|
|
2323
2351
|
],
|
|
2324
2352
|
"flags": {
|
|
2325
2353
|
"json": {
|
|
@@ -2336,36 +2364,17 @@
|
|
|
2336
2364
|
"multiple": false,
|
|
2337
2365
|
"type": "option"
|
|
2338
2366
|
},
|
|
2339
|
-
"overwrite": {
|
|
2340
|
-
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
2341
|
-
"name": "overwrite",
|
|
2342
|
-
"allowNo": false,
|
|
2343
|
-
"type": "boolean"
|
|
2344
|
-
},
|
|
2345
|
-
"production-confirmed": {
|
|
2346
|
-
"hidden": true,
|
|
2347
|
-
"name": "production-confirmed",
|
|
2348
|
-
"allowNo": false,
|
|
2349
|
-
"type": "boolean"
|
|
2350
|
-
},
|
|
2351
2367
|
"dry-run": {
|
|
2352
2368
|
"char": "d",
|
|
2353
2369
|
"description": "Show what would change without making changes",
|
|
2354
2370
|
"name": "dry-run",
|
|
2355
2371
|
"allowNo": false,
|
|
2356
2372
|
"type": "boolean"
|
|
2357
|
-
},
|
|
2358
|
-
"yes": {
|
|
2359
|
-
"char": "y",
|
|
2360
|
-
"description": "Answer yes to confirmation prompts",
|
|
2361
|
-
"name": "yes",
|
|
2362
|
-
"allowNo": false,
|
|
2363
|
-
"type": "boolean"
|
|
2364
2373
|
}
|
|
2365
2374
|
},
|
|
2366
2375
|
"hasDynamicHelp": false,
|
|
2367
2376
|
"hiddenAliases": [],
|
|
2368
|
-
"id": "
|
|
2377
|
+
"id": "composer:pull",
|
|
2369
2378
|
"pluginAlias": "@loopress/cli",
|
|
2370
2379
|
"pluginName": "@loopress/cli",
|
|
2371
2380
|
"pluginType": "core",
|
|
@@ -2391,25 +2400,17 @@
|
|
|
2391
2400
|
"relativePath": [
|
|
2392
2401
|
"dist",
|
|
2393
2402
|
"commands",
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2403
|
+
"composer",
|
|
2404
|
+
"pull.js"
|
|
2396
2405
|
]
|
|
2397
2406
|
},
|
|
2398
|
-
"
|
|
2399
|
-
"aliases": [
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
"args": {
|
|
2403
|
-
"slug": {
|
|
2404
|
-
"description": "The post type slug, its cpt/ file name without .json",
|
|
2405
|
-
"name": "slug",
|
|
2406
|
-
"required": true
|
|
2407
|
-
}
|
|
2408
|
-
},
|
|
2409
|
-
"description": "Stop registering a Loopress custom post type on WordPress. Its posts are kept in the database, hidden until the post type is pushed again.",
|
|
2407
|
+
"composer:push": {
|
|
2408
|
+
"aliases": [],
|
|
2409
|
+
"args": {},
|
|
2410
|
+
"description": "Push composer.json to WordPress and run Composer to resolve and install dependencies",
|
|
2410
2411
|
"examples": [
|
|
2411
|
-
"$ lps
|
|
2412
|
-
"$ lps
|
|
2412
|
+
"$ lps composer push",
|
|
2413
|
+
"$ lps composer push --dry-run"
|
|
2413
2414
|
],
|
|
2414
2415
|
"flags": {
|
|
2415
2416
|
"json": {
|
|
@@ -2426,6 +2427,18 @@
|
|
|
2426
2427
|
"multiple": false,
|
|
2427
2428
|
"type": "option"
|
|
2428
2429
|
},
|
|
2430
|
+
"overwrite": {
|
|
2431
|
+
"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",
|
|
2432
|
+
"name": "overwrite",
|
|
2433
|
+
"allowNo": false,
|
|
2434
|
+
"type": "boolean"
|
|
2435
|
+
},
|
|
2436
|
+
"production-confirmed": {
|
|
2437
|
+
"hidden": true,
|
|
2438
|
+
"name": "production-confirmed",
|
|
2439
|
+
"allowNo": false,
|
|
2440
|
+
"type": "boolean"
|
|
2441
|
+
},
|
|
2429
2442
|
"dry-run": {
|
|
2430
2443
|
"char": "d",
|
|
2431
2444
|
"description": "Show what would change without making changes",
|
|
@@ -2439,11 +2452,17 @@
|
|
|
2439
2452
|
"name": "yes",
|
|
2440
2453
|
"allowNo": false,
|
|
2441
2454
|
"type": "boolean"
|
|
2455
|
+
},
|
|
2456
|
+
"force": {
|
|
2457
|
+
"description": "Allow downgrades and take over plugins/themes installed outside Loopress",
|
|
2458
|
+
"name": "force",
|
|
2459
|
+
"allowNo": false,
|
|
2460
|
+
"type": "boolean"
|
|
2442
2461
|
}
|
|
2443
2462
|
},
|
|
2444
2463
|
"hasDynamicHelp": false,
|
|
2445
2464
|
"hiddenAliases": [],
|
|
2446
|
-
"id": "
|
|
2465
|
+
"id": "composer:push",
|
|
2447
2466
|
"pluginAlias": "@loopress/cli",
|
|
2448
2467
|
"pluginName": "@loopress/cli",
|
|
2449
2468
|
"pluginType": "core",
|
|
@@ -2469,24 +2488,23 @@
|
|
|
2469
2488
|
"relativePath": [
|
|
2470
2489
|
"dist",
|
|
2471
2490
|
"commands",
|
|
2472
|
-
"
|
|
2473
|
-
"
|
|
2491
|
+
"composer",
|
|
2492
|
+
"push.js"
|
|
2474
2493
|
]
|
|
2475
2494
|
},
|
|
2476
|
-
"
|
|
2495
|
+
"content:copy": {
|
|
2477
2496
|
"aliases": [],
|
|
2478
2497
|
"args": {
|
|
2479
|
-
"
|
|
2480
|
-
"description": "
|
|
2481
|
-
"name": "
|
|
2498
|
+
"from": {
|
|
2499
|
+
"description": "Environment to copy the content from",
|
|
2500
|
+
"name": "from",
|
|
2501
|
+
"required": true
|
|
2482
2502
|
}
|
|
2483
2503
|
},
|
|
2484
|
-
"description": "
|
|
2504
|
+
"description": "Replace the local site's content (posts, pages, public custom post types, terms) with the content of <from>, activate the theme and plugins active there (when installed locally), then push the project to the local site so tracked configuration wins. Media stay served by <from>, users, comments and orders are never copied.",
|
|
2485
2505
|
"examples": [
|
|
2486
|
-
"$ lps
|
|
2487
|
-
"$ lps
|
|
2488
|
-
"$ lps cpt rollback --to 1732000000000",
|
|
2489
|
-
"$ lps cpt rollback --dry-run"
|
|
2506
|
+
"$ lps content copy production",
|
|
2507
|
+
"$ lps content copy staging --dry-run"
|
|
2490
2508
|
],
|
|
2491
2509
|
"flags": {
|
|
2492
2510
|
"json": {
|
|
@@ -2497,7 +2515,7 @@
|
|
|
2497
2515
|
"type": "boolean"
|
|
2498
2516
|
},
|
|
2499
2517
|
"env": {
|
|
2500
|
-
"
|
|
2518
|
+
"hidden": true,
|
|
2501
2519
|
"name": "env",
|
|
2502
2520
|
"hasDynamicHelp": false,
|
|
2503
2521
|
"multiple": false,
|
|
@@ -2516,24 +2534,11 @@
|
|
|
2516
2534
|
"name": "yes",
|
|
2517
2535
|
"allowNo": false,
|
|
2518
2536
|
"type": "boolean"
|
|
2519
|
-
},
|
|
2520
|
-
"list": {
|
|
2521
|
-
"description": "List available snapshots instead of rolling back",
|
|
2522
|
-
"name": "list",
|
|
2523
|
-
"allowNo": false,
|
|
2524
|
-
"type": "boolean"
|
|
2525
|
-
},
|
|
2526
|
-
"to": {
|
|
2527
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2528
|
-
"name": "to",
|
|
2529
|
-
"hasDynamicHelp": false,
|
|
2530
|
-
"multiple": false,
|
|
2531
|
-
"type": "option"
|
|
2532
2537
|
}
|
|
2533
2538
|
},
|
|
2534
2539
|
"hasDynamicHelp": false,
|
|
2535
2540
|
"hiddenAliases": [],
|
|
2536
|
-
"id": "
|
|
2541
|
+
"id": "content:copy",
|
|
2537
2542
|
"pluginAlias": "@loopress/cli",
|
|
2538
2543
|
"pluginName": "@loopress/cli",
|
|
2539
2544
|
"pluginType": "core",
|
|
@@ -2559,23 +2564,23 @@
|
|
|
2559
2564
|
"relativePath": [
|
|
2560
2565
|
"dist",
|
|
2561
2566
|
"commands",
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2567
|
+
"content",
|
|
2568
|
+
"copy.js"
|
|
2564
2569
|
]
|
|
2565
2570
|
},
|
|
2566
|
-
"
|
|
2571
|
+
"cpt:diff": {
|
|
2567
2572
|
"aliases": [],
|
|
2568
2573
|
"args": {
|
|
2569
2574
|
"path": {
|
|
2570
|
-
"description": "Path to
|
|
2575
|
+
"description": "Path to cpt directory (overrides project config)",
|
|
2571
2576
|
"name": "path"
|
|
2572
2577
|
}
|
|
2573
2578
|
},
|
|
2574
|
-
"description": "Show what differs in
|
|
2579
|
+
"description": "Show what differs in custom post types between your local cpt/ files and a WordPress environment, or between two environments",
|
|
2575
2580
|
"examples": [
|
|
2576
|
-
"$ lps
|
|
2577
|
-
"$ lps
|
|
2578
|
-
"$ lps
|
|
2581
|
+
"$ lps cpt diff",
|
|
2582
|
+
"$ lps cpt diff --env staging",
|
|
2583
|
+
"$ lps cpt diff --env staging --against production"
|
|
2579
2584
|
],
|
|
2580
2585
|
"flags": {
|
|
2581
2586
|
"json": {
|
|
@@ -2602,7 +2607,7 @@
|
|
|
2602
2607
|
},
|
|
2603
2608
|
"hasDynamicHelp": false,
|
|
2604
2609
|
"hiddenAliases": [],
|
|
2605
|
-
"id": "
|
|
2610
|
+
"id": "cpt:diff",
|
|
2606
2611
|
"pluginAlias": "@loopress/cli",
|
|
2607
2612
|
"pluginName": "@loopress/cli",
|
|
2608
2613
|
"pluginType": "core",
|
|
@@ -2636,16 +2641,16 @@
|
|
|
2636
2641
|
"relativePath": [
|
|
2637
2642
|
"dist",
|
|
2638
2643
|
"commands",
|
|
2639
|
-
"
|
|
2644
|
+
"cpt",
|
|
2640
2645
|
"diff.js"
|
|
2641
2646
|
]
|
|
2642
2647
|
},
|
|
2643
|
-
"
|
|
2648
|
+
"cpt:list": {
|
|
2644
2649
|
"aliases": [],
|
|
2645
2650
|
"args": {},
|
|
2646
|
-
"description": "List
|
|
2651
|
+
"description": "List the post types registered on WordPress and where each comes from (Loopress, WordPress, ACF, CPT UI, a theme or plugin). Only Loopress ones are pulled and pushed.",
|
|
2647
2652
|
"examples": [
|
|
2648
|
-
"$ lps
|
|
2653
|
+
"$ lps cpt list"
|
|
2649
2654
|
],
|
|
2650
2655
|
"flags": {
|
|
2651
2656
|
"json": {
|
|
@@ -2665,7 +2670,7 @@
|
|
|
2665
2670
|
},
|
|
2666
2671
|
"hasDynamicHelp": false,
|
|
2667
2672
|
"hiddenAliases": [],
|
|
2668
|
-
"id": "
|
|
2673
|
+
"id": "cpt:list",
|
|
2669
2674
|
"pluginAlias": "@loopress/cli",
|
|
2670
2675
|
"pluginName": "@loopress/cli",
|
|
2671
2676
|
"pluginType": "core",
|
|
@@ -2691,21 +2696,21 @@
|
|
|
2691
2696
|
"relativePath": [
|
|
2692
2697
|
"dist",
|
|
2693
2698
|
"commands",
|
|
2694
|
-
"
|
|
2699
|
+
"cpt",
|
|
2695
2700
|
"list.js"
|
|
2696
2701
|
]
|
|
2697
2702
|
},
|
|
2698
|
-
"
|
|
2703
|
+
"cpt:pull": {
|
|
2699
2704
|
"aliases": [],
|
|
2700
2705
|
"args": {
|
|
2701
2706
|
"path": {
|
|
2702
|
-
"description": "Path to
|
|
2707
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2703
2708
|
"name": "path"
|
|
2704
2709
|
}
|
|
2705
2710
|
},
|
|
2706
|
-
"description": "Pull
|
|
2711
|
+
"description": "Pull the custom post types Loopress manages on WordPress into cpt/<slug>.json files. Post types registered by a theme or another plugin are never pulled, see `lps cpt list`.",
|
|
2707
2712
|
"examples": [
|
|
2708
|
-
"$ lps
|
|
2713
|
+
"$ lps cpt pull"
|
|
2709
2714
|
],
|
|
2710
2715
|
"flags": {
|
|
2711
2716
|
"json": {
|
|
@@ -2739,7 +2744,7 @@
|
|
|
2739
2744
|
},
|
|
2740
2745
|
"hasDynamicHelp": false,
|
|
2741
2746
|
"hiddenAliases": [],
|
|
2742
|
-
"id": "
|
|
2747
|
+
"id": "cpt:pull",
|
|
2743
2748
|
"pluginAlias": "@loopress/cli",
|
|
2744
2749
|
"pluginName": "@loopress/cli",
|
|
2745
2750
|
"pluginType": "core",
|
|
@@ -2765,22 +2770,21 @@
|
|
|
2765
2770
|
"relativePath": [
|
|
2766
2771
|
"dist",
|
|
2767
2772
|
"commands",
|
|
2768
|
-
"
|
|
2773
|
+
"cpt",
|
|
2769
2774
|
"pull.js"
|
|
2770
2775
|
]
|
|
2771
2776
|
},
|
|
2772
|
-
"
|
|
2777
|
+
"cpt:push": {
|
|
2773
2778
|
"aliases": [],
|
|
2774
2779
|
"args": {
|
|
2775
2780
|
"path": {
|
|
2776
|
-
"description": "Path to
|
|
2781
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2777
2782
|
"name": "path"
|
|
2778
2783
|
}
|
|
2779
2784
|
},
|
|
2780
|
-
"description": "Push local
|
|
2785
|
+
"description": "Push local custom post types (cpt/<slug>.json, register_post_type() arguments) to WordPress. Create or update only, never deletes a post type: use `lps cpt rm` for that.",
|
|
2781
2786
|
"examples": [
|
|
2782
|
-
"$ lps
|
|
2783
|
-
"$ lps form push --allow-notifications"
|
|
2787
|
+
"$ lps cpt push"
|
|
2784
2788
|
],
|
|
2785
2789
|
"flags": {
|
|
2786
2790
|
"json": {
|
|
@@ -2822,17 +2826,89 @@
|
|
|
2822
2826
|
"name": "yes",
|
|
2823
2827
|
"allowNo": false,
|
|
2824
2828
|
"type": "boolean"
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
"hasDynamicHelp": false,
|
|
2832
|
+
"hiddenAliases": [],
|
|
2833
|
+
"id": "cpt:push",
|
|
2834
|
+
"pluginAlias": "@loopress/cli",
|
|
2835
|
+
"pluginName": "@loopress/cli",
|
|
2836
|
+
"pluginType": "core",
|
|
2837
|
+
"strict": true,
|
|
2838
|
+
"enableJsonFlag": true,
|
|
2839
|
+
"dryRunFlag": {
|
|
2840
|
+
"dry-run": {
|
|
2841
|
+
"char": "d",
|
|
2842
|
+
"description": "Show what would change without making changes",
|
|
2843
|
+
"allowNo": false,
|
|
2844
|
+
"type": "boolean"
|
|
2845
|
+
}
|
|
2846
|
+
},
|
|
2847
|
+
"yesFlag": {
|
|
2848
|
+
"yes": {
|
|
2849
|
+
"char": "y",
|
|
2850
|
+
"description": "Answer yes to confirmation prompts",
|
|
2851
|
+
"allowNo": false,
|
|
2852
|
+
"type": "boolean"
|
|
2853
|
+
}
|
|
2854
|
+
},
|
|
2855
|
+
"isESM": true,
|
|
2856
|
+
"relativePath": [
|
|
2857
|
+
"dist",
|
|
2858
|
+
"commands",
|
|
2859
|
+
"cpt",
|
|
2860
|
+
"push.js"
|
|
2861
|
+
]
|
|
2862
|
+
},
|
|
2863
|
+
"cpt:rm": {
|
|
2864
|
+
"aliases": [
|
|
2865
|
+
"cpt:remove"
|
|
2866
|
+
],
|
|
2867
|
+
"args": {
|
|
2868
|
+
"slug": {
|
|
2869
|
+
"description": "The post type slug, its cpt/ file name without .json",
|
|
2870
|
+
"name": "slug",
|
|
2871
|
+
"required": true
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
"description": "Stop registering a Loopress custom post type on WordPress. Its posts are kept in the database, hidden until the post type is pushed again.",
|
|
2875
|
+
"examples": [
|
|
2876
|
+
"$ lps cpt rm <slug>",
|
|
2877
|
+
"$ lps cpt remove <slug> --yes"
|
|
2878
|
+
],
|
|
2879
|
+
"flags": {
|
|
2880
|
+
"json": {
|
|
2881
|
+
"description": "Format output as json.",
|
|
2882
|
+
"helpGroup": "GLOBAL",
|
|
2883
|
+
"name": "json",
|
|
2884
|
+
"allowNo": false,
|
|
2885
|
+
"type": "boolean"
|
|
2825
2886
|
},
|
|
2826
|
-
"
|
|
2827
|
-
"description": "
|
|
2828
|
-
"name": "
|
|
2887
|
+
"env": {
|
|
2888
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
2889
|
+
"name": "env",
|
|
2890
|
+
"hasDynamicHelp": false,
|
|
2891
|
+
"multiple": false,
|
|
2892
|
+
"type": "option"
|
|
2893
|
+
},
|
|
2894
|
+
"dry-run": {
|
|
2895
|
+
"char": "d",
|
|
2896
|
+
"description": "Show what would change without making changes",
|
|
2897
|
+
"name": "dry-run",
|
|
2898
|
+
"allowNo": false,
|
|
2899
|
+
"type": "boolean"
|
|
2900
|
+
},
|
|
2901
|
+
"yes": {
|
|
2902
|
+
"char": "y",
|
|
2903
|
+
"description": "Answer yes to confirmation prompts",
|
|
2904
|
+
"name": "yes",
|
|
2829
2905
|
"allowNo": false,
|
|
2830
2906
|
"type": "boolean"
|
|
2831
2907
|
}
|
|
2832
2908
|
},
|
|
2833
2909
|
"hasDynamicHelp": false,
|
|
2834
2910
|
"hiddenAliases": [],
|
|
2835
|
-
"id": "
|
|
2911
|
+
"id": "cpt:rm",
|
|
2836
2912
|
"pluginAlias": "@loopress/cli",
|
|
2837
2913
|
"pluginName": "@loopress/cli",
|
|
2838
2914
|
"pluginType": "core",
|
|
@@ -2858,24 +2934,24 @@
|
|
|
2858
2934
|
"relativePath": [
|
|
2859
2935
|
"dist",
|
|
2860
2936
|
"commands",
|
|
2861
|
-
"
|
|
2862
|
-
"
|
|
2937
|
+
"cpt",
|
|
2938
|
+
"rm.js"
|
|
2863
2939
|
]
|
|
2864
2940
|
},
|
|
2865
|
-
"
|
|
2941
|
+
"cpt:rollback": {
|
|
2866
2942
|
"aliases": [],
|
|
2867
2943
|
"args": {
|
|
2868
2944
|
"path": {
|
|
2869
|
-
"description": "Path to
|
|
2945
|
+
"description": "Path to cpt directory (overrides project config)",
|
|
2870
2946
|
"name": "path"
|
|
2871
2947
|
}
|
|
2872
2948
|
},
|
|
2873
|
-
"description": "Restore
|
|
2949
|
+
"description": "Restore custom post types to a snapshot taken automatically before an earlier `lps cpt push`",
|
|
2874
2950
|
"examples": [
|
|
2875
|
-
"$ lps
|
|
2876
|
-
"$ lps
|
|
2877
|
-
"$ lps
|
|
2878
|
-
"$ lps
|
|
2951
|
+
"$ lps cpt rollback",
|
|
2952
|
+
"$ lps cpt rollback --list",
|
|
2953
|
+
"$ lps cpt rollback --to 1732000000000",
|
|
2954
|
+
"$ lps cpt rollback --dry-run"
|
|
2879
2955
|
],
|
|
2880
2956
|
"flags": {
|
|
2881
2957
|
"json": {
|
|
@@ -2922,7 +2998,7 @@
|
|
|
2922
2998
|
},
|
|
2923
2999
|
"hasDynamicHelp": false,
|
|
2924
3000
|
"hiddenAliases": [],
|
|
2925
|
-
"id": "
|
|
3001
|
+
"id": "cpt:rollback",
|
|
2926
3002
|
"pluginAlias": "@loopress/cli",
|
|
2927
3003
|
"pluginName": "@loopress/cli",
|
|
2928
3004
|
"pluginType": "core",
|
|
@@ -2948,23 +3024,23 @@
|
|
|
2948
3024
|
"relativePath": [
|
|
2949
3025
|
"dist",
|
|
2950
3026
|
"commands",
|
|
2951
|
-
"
|
|
3027
|
+
"cpt",
|
|
2952
3028
|
"rollback.js"
|
|
2953
3029
|
]
|
|
2954
3030
|
},
|
|
2955
|
-
"
|
|
3031
|
+
"form:diff": {
|
|
2956
3032
|
"aliases": [],
|
|
2957
3033
|
"args": {
|
|
2958
3034
|
"path": {
|
|
2959
|
-
"description": "Path to
|
|
3035
|
+
"description": "Path to forms directory (overrides project config)",
|
|
2960
3036
|
"name": "path"
|
|
2961
3037
|
}
|
|
2962
3038
|
},
|
|
2963
|
-
"description": "Show what differs in
|
|
3039
|
+
"description": "Show what differs in forms between your local files and a WordPress environment, or between two environments",
|
|
2964
3040
|
"examples": [
|
|
2965
|
-
"$ lps
|
|
2966
|
-
"$ lps
|
|
2967
|
-
"$ lps
|
|
3041
|
+
"$ lps form diff",
|
|
3042
|
+
"$ lps form diff --env staging",
|
|
3043
|
+
"$ lps form diff --env staging --against production"
|
|
2968
3044
|
],
|
|
2969
3045
|
"flags": {
|
|
2970
3046
|
"json": {
|
|
@@ -2991,7 +3067,7 @@
|
|
|
2991
3067
|
},
|
|
2992
3068
|
"hasDynamicHelp": false,
|
|
2993
3069
|
"hiddenAliases": [],
|
|
2994
|
-
"id": "
|
|
3070
|
+
"id": "form:diff",
|
|
2995
3071
|
"pluginAlias": "@loopress/cli",
|
|
2996
3072
|
"pluginName": "@loopress/cli",
|
|
2997
3073
|
"pluginType": "core",
|
|
@@ -3025,16 +3101,16 @@
|
|
|
3025
3101
|
"relativePath": [
|
|
3026
3102
|
"dist",
|
|
3027
3103
|
"commands",
|
|
3028
|
-
"
|
|
3104
|
+
"form",
|
|
3029
3105
|
"diff.js"
|
|
3030
3106
|
]
|
|
3031
3107
|
},
|
|
3032
|
-
"
|
|
3108
|
+
"form:list": {
|
|
3033
3109
|
"aliases": [],
|
|
3034
3110
|
"args": {},
|
|
3035
|
-
"description": "List
|
|
3111
|
+
"description": "List forms currently on WordPress",
|
|
3036
3112
|
"examples": [
|
|
3037
|
-
"$ lps
|
|
3113
|
+
"$ lps form list"
|
|
3038
3114
|
],
|
|
3039
3115
|
"flags": {
|
|
3040
3116
|
"json": {
|
|
@@ -3054,7 +3130,7 @@
|
|
|
3054
3130
|
},
|
|
3055
3131
|
"hasDynamicHelp": false,
|
|
3056
3132
|
"hiddenAliases": [],
|
|
3057
|
-
"id": "
|
|
3133
|
+
"id": "form:list",
|
|
3058
3134
|
"pluginAlias": "@loopress/cli",
|
|
3059
3135
|
"pluginName": "@loopress/cli",
|
|
3060
3136
|
"pluginType": "core",
|
|
@@ -3080,22 +3156,21 @@
|
|
|
3080
3156
|
"relativePath": [
|
|
3081
3157
|
"dist",
|
|
3082
3158
|
"commands",
|
|
3083
|
-
"
|
|
3159
|
+
"form",
|
|
3084
3160
|
"list.js"
|
|
3085
3161
|
]
|
|
3086
3162
|
},
|
|
3087
|
-
"
|
|
3163
|
+
"form:pull": {
|
|
3088
3164
|
"aliases": [],
|
|
3089
3165
|
"args": {
|
|
3090
3166
|
"path": {
|
|
3091
|
-
"description": "Path to
|
|
3167
|
+
"description": "Path to forms directory (overrides project config)",
|
|
3092
3168
|
"name": "path"
|
|
3093
3169
|
}
|
|
3094
3170
|
},
|
|
3095
|
-
"description": "Pull
|
|
3171
|
+
"description": "Pull forms from WordPress into local files",
|
|
3096
3172
|
"examples": [
|
|
3097
|
-
"$ lps
|
|
3098
|
-
"$ lps hook pull --path ./hooks"
|
|
3173
|
+
"$ lps form pull"
|
|
3099
3174
|
],
|
|
3100
3175
|
"flags": {
|
|
3101
3176
|
"json": {
|
|
@@ -3129,7 +3204,7 @@
|
|
|
3129
3204
|
},
|
|
3130
3205
|
"hasDynamicHelp": false,
|
|
3131
3206
|
"hiddenAliases": [],
|
|
3132
|
-
"id": "
|
|
3207
|
+
"id": "form:pull",
|
|
3133
3208
|
"pluginAlias": "@loopress/cli",
|
|
3134
3209
|
"pluginName": "@loopress/cli",
|
|
3135
3210
|
"pluginType": "core",
|
|
@@ -3155,23 +3230,22 @@
|
|
|
3155
3230
|
"relativePath": [
|
|
3156
3231
|
"dist",
|
|
3157
3232
|
"commands",
|
|
3158
|
-
"
|
|
3233
|
+
"form",
|
|
3159
3234
|
"pull.js"
|
|
3160
3235
|
]
|
|
3161
3236
|
},
|
|
3162
|
-
"
|
|
3237
|
+
"form:push": {
|
|
3163
3238
|
"aliases": [],
|
|
3164
3239
|
"args": {
|
|
3165
3240
|
"path": {
|
|
3166
|
-
"description": "Path to
|
|
3241
|
+
"description": "Path to forms directory (overrides project config)",
|
|
3167
3242
|
"name": "path"
|
|
3168
3243
|
}
|
|
3169
3244
|
},
|
|
3170
|
-
"description": "Push local
|
|
3245
|
+
"description": "Push local form files to WordPress. Local files created or updated remotely are renamed on disk to the `<id>-<slug>.json` convention.",
|
|
3171
3246
|
"examples": [
|
|
3172
|
-
"$ lps
|
|
3173
|
-
"$ lps
|
|
3174
|
-
"$ lps hook push --prune"
|
|
3247
|
+
"$ lps form push",
|
|
3248
|
+
"$ lps form push --allow-notifications"
|
|
3175
3249
|
],
|
|
3176
3250
|
"flags": {
|
|
3177
3251
|
"json": {
|
|
@@ -3214,16 +3288,16 @@
|
|
|
3214
3288
|
"allowNo": false,
|
|
3215
3289
|
"type": "boolean"
|
|
3216
3290
|
},
|
|
3217
|
-
"
|
|
3218
|
-
"description": "
|
|
3219
|
-
"name": "
|
|
3291
|
+
"allow-notifications": {
|
|
3292
|
+
"description": "Also push each form's notification and confirmation settings (recipients, sender, messages). Off by default: the server keeps its own so a stray push can't redirect submissions.",
|
|
3293
|
+
"name": "allow-notifications",
|
|
3220
3294
|
"allowNo": false,
|
|
3221
3295
|
"type": "boolean"
|
|
3222
3296
|
}
|
|
3223
3297
|
},
|
|
3224
3298
|
"hasDynamicHelp": false,
|
|
3225
3299
|
"hiddenAliases": [],
|
|
3226
|
-
"id": "
|
|
3300
|
+
"id": "form:push",
|
|
3227
3301
|
"pluginAlias": "@loopress/cli",
|
|
3228
3302
|
"pluginName": "@loopress/cli",
|
|
3229
3303
|
"pluginType": "core",
|
|
@@ -3249,25 +3323,24 @@
|
|
|
3249
3323
|
"relativePath": [
|
|
3250
3324
|
"dist",
|
|
3251
3325
|
"commands",
|
|
3252
|
-
"
|
|
3326
|
+
"form",
|
|
3253
3327
|
"push.js"
|
|
3254
3328
|
]
|
|
3255
3329
|
},
|
|
3256
|
-
"
|
|
3257
|
-
"aliases": [
|
|
3258
|
-
"hook:remove"
|
|
3259
|
-
],
|
|
3330
|
+
"form:rollback": {
|
|
3331
|
+
"aliases": [],
|
|
3260
3332
|
"args": {
|
|
3261
|
-
"
|
|
3262
|
-
"description": "
|
|
3263
|
-
"name": "
|
|
3264
|
-
"required": true
|
|
3333
|
+
"path": {
|
|
3334
|
+
"description": "Path to forms directory (overrides project config)",
|
|
3335
|
+
"name": "path"
|
|
3265
3336
|
}
|
|
3266
3337
|
},
|
|
3267
|
-
"description": "
|
|
3338
|
+
"description": "Restore forms to a snapshot taken automatically before an earlier `lps form push`",
|
|
3268
3339
|
"examples": [
|
|
3269
|
-
"$ lps
|
|
3270
|
-
"$ lps
|
|
3340
|
+
"$ lps form rollback",
|
|
3341
|
+
"$ lps form rollback --list",
|
|
3342
|
+
"$ lps form rollback --to 1732000000000",
|
|
3343
|
+
"$ lps form rollback --dry-run"
|
|
3271
3344
|
],
|
|
3272
3345
|
"flags": {
|
|
3273
3346
|
"json": {
|
|
@@ -3297,11 +3370,24 @@
|
|
|
3297
3370
|
"name": "yes",
|
|
3298
3371
|
"allowNo": false,
|
|
3299
3372
|
"type": "boolean"
|
|
3373
|
+
},
|
|
3374
|
+
"list": {
|
|
3375
|
+
"description": "List available snapshots instead of rolling back",
|
|
3376
|
+
"name": "list",
|
|
3377
|
+
"allowNo": false,
|
|
3378
|
+
"type": "boolean"
|
|
3379
|
+
},
|
|
3380
|
+
"to": {
|
|
3381
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
3382
|
+
"name": "to",
|
|
3383
|
+
"hasDynamicHelp": false,
|
|
3384
|
+
"multiple": false,
|
|
3385
|
+
"type": "option"
|
|
3300
3386
|
}
|
|
3301
3387
|
},
|
|
3302
3388
|
"hasDynamicHelp": false,
|
|
3303
3389
|
"hiddenAliases": [],
|
|
3304
|
-
"id": "
|
|
3390
|
+
"id": "form:rollback",
|
|
3305
3391
|
"pluginAlias": "@loopress/cli",
|
|
3306
3392
|
"pluginName": "@loopress/cli",
|
|
3307
3393
|
"pluginType": "core",
|
|
@@ -3327,11 +3413,11 @@
|
|
|
3327
3413
|
"relativePath": [
|
|
3328
3414
|
"dist",
|
|
3329
3415
|
"commands",
|
|
3330
|
-
"
|
|
3331
|
-
"
|
|
3416
|
+
"form",
|
|
3417
|
+
"rollback.js"
|
|
3332
3418
|
]
|
|
3333
3419
|
},
|
|
3334
|
-
"hook:
|
|
3420
|
+
"hook:diff": {
|
|
3335
3421
|
"aliases": [],
|
|
3336
3422
|
"args": {
|
|
3337
3423
|
"path": {
|
|
@@ -3339,12 +3425,11 @@
|
|
|
3339
3425
|
"name": "path"
|
|
3340
3426
|
}
|
|
3341
3427
|
},
|
|
3342
|
-
"description": "
|
|
3428
|
+
"description": "Show what differs in hook files between your local files and a WordPress environment, or between two environments",
|
|
3343
3429
|
"examples": [
|
|
3344
|
-
"$ lps hook
|
|
3345
|
-
"$ lps hook
|
|
3346
|
-
"$ lps hook
|
|
3347
|
-
"$ lps hook rollback --dry-run"
|
|
3430
|
+
"$ lps hook diff",
|
|
3431
|
+
"$ lps hook diff --env staging",
|
|
3432
|
+
"$ lps hook diff --env staging --against production"
|
|
3348
3433
|
],
|
|
3349
3434
|
"flags": {
|
|
3350
3435
|
"json": {
|
|
@@ -3361,29 +3446,9 @@
|
|
|
3361
3446
|
"multiple": false,
|
|
3362
3447
|
"type": "option"
|
|
3363
3448
|
},
|
|
3364
|
-
"
|
|
3365
|
-
"
|
|
3366
|
-
"
|
|
3367
|
-
"name": "dry-run",
|
|
3368
|
-
"allowNo": false,
|
|
3369
|
-
"type": "boolean"
|
|
3370
|
-
},
|
|
3371
|
-
"yes": {
|
|
3372
|
-
"char": "y",
|
|
3373
|
-
"description": "Answer yes to confirmation prompts",
|
|
3374
|
-
"name": "yes",
|
|
3375
|
-
"allowNo": false,
|
|
3376
|
-
"type": "boolean"
|
|
3377
|
-
},
|
|
3378
|
-
"list": {
|
|
3379
|
-
"description": "List available snapshots instead of rolling back",
|
|
3380
|
-
"name": "list",
|
|
3381
|
-
"allowNo": false,
|
|
3382
|
-
"type": "boolean"
|
|
3383
|
-
},
|
|
3384
|
-
"to": {
|
|
3385
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
3386
|
-
"name": "to",
|
|
3449
|
+
"against": {
|
|
3450
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
3451
|
+
"name": "against",
|
|
3387
3452
|
"hasDynamicHelp": false,
|
|
3388
3453
|
"multiple": false,
|
|
3389
3454
|
"type": "option"
|
|
@@ -3391,7 +3456,7 @@
|
|
|
3391
3456
|
},
|
|
3392
3457
|
"hasDynamicHelp": false,
|
|
3393
3458
|
"hiddenAliases": [],
|
|
3394
|
-
"id": "hook:
|
|
3459
|
+
"id": "hook:diff",
|
|
3395
3460
|
"pluginAlias": "@loopress/cli",
|
|
3396
3461
|
"pluginName": "@loopress/cli",
|
|
3397
3462
|
"pluginType": "core",
|
|
@@ -3413,27 +3478,28 @@
|
|
|
3413
3478
|
"type": "boolean"
|
|
3414
3479
|
}
|
|
3415
3480
|
},
|
|
3481
|
+
"againstFlag": {
|
|
3482
|
+
"against": {
|
|
3483
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
3484
|
+
"input": [],
|
|
3485
|
+
"multiple": false,
|
|
3486
|
+
"type": "option"
|
|
3487
|
+
}
|
|
3488
|
+
},
|
|
3416
3489
|
"isESM": true,
|
|
3417
3490
|
"relativePath": [
|
|
3418
3491
|
"dist",
|
|
3419
3492
|
"commands",
|
|
3420
3493
|
"hook",
|
|
3421
|
-
"
|
|
3494
|
+
"diff.js"
|
|
3422
3495
|
]
|
|
3423
3496
|
},
|
|
3424
|
-
"
|
|
3497
|
+
"hook:list": {
|
|
3425
3498
|
"aliases": [],
|
|
3426
|
-
"args": {
|
|
3427
|
-
|
|
3428
|
-
"description": "Path to menus directory (overrides project config)",
|
|
3429
|
-
"name": "path"
|
|
3430
|
-
}
|
|
3431
|
-
},
|
|
3432
|
-
"description": "Show what differs in nav menus and the active theme menu locations between your local files and a WordPress environment, or between two environments",
|
|
3499
|
+
"args": {},
|
|
3500
|
+
"description": "List hook files (actions, filters, cron) currently on WordPress",
|
|
3433
3501
|
"examples": [
|
|
3434
|
-
"$ lps
|
|
3435
|
-
"$ lps menu diff --env staging",
|
|
3436
|
-
"$ lps menu diff --env staging --against production"
|
|
3502
|
+
"$ lps hook list"
|
|
3437
3503
|
],
|
|
3438
3504
|
"flags": {
|
|
3439
3505
|
"json": {
|
|
@@ -3449,18 +3515,11 @@
|
|
|
3449
3515
|
"hasDynamicHelp": false,
|
|
3450
3516
|
"multiple": false,
|
|
3451
3517
|
"type": "option"
|
|
3452
|
-
},
|
|
3453
|
-
"against": {
|
|
3454
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
3455
|
-
"name": "against",
|
|
3456
|
-
"hasDynamicHelp": false,
|
|
3457
|
-
"multiple": false,
|
|
3458
|
-
"type": "option"
|
|
3459
3518
|
}
|
|
3460
3519
|
},
|
|
3461
3520
|
"hasDynamicHelp": false,
|
|
3462
3521
|
"hiddenAliases": [],
|
|
3463
|
-
"id": "
|
|
3522
|
+
"id": "hook:list",
|
|
3464
3523
|
"pluginAlias": "@loopress/cli",
|
|
3465
3524
|
"pluginName": "@loopress/cli",
|
|
3466
3525
|
"pluginType": "core",
|
|
@@ -3482,28 +3541,26 @@
|
|
|
3482
3541
|
"type": "boolean"
|
|
3483
3542
|
}
|
|
3484
3543
|
},
|
|
3485
|
-
"againstFlag": {
|
|
3486
|
-
"against": {
|
|
3487
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
3488
|
-
"input": [],
|
|
3489
|
-
"multiple": false,
|
|
3490
|
-
"type": "option"
|
|
3491
|
-
}
|
|
3492
|
-
},
|
|
3493
3544
|
"isESM": true,
|
|
3494
3545
|
"relativePath": [
|
|
3495
3546
|
"dist",
|
|
3496
3547
|
"commands",
|
|
3497
|
-
"
|
|
3498
|
-
"
|
|
3548
|
+
"hook",
|
|
3549
|
+
"list.js"
|
|
3499
3550
|
]
|
|
3500
3551
|
},
|
|
3501
|
-
"
|
|
3552
|
+
"hook:pull": {
|
|
3502
3553
|
"aliases": [],
|
|
3503
|
-
"args": {
|
|
3504
|
-
|
|
3554
|
+
"args": {
|
|
3555
|
+
"path": {
|
|
3556
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
3557
|
+
"name": "path"
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
"description": "Pull hook files (actions, filters, cron) from WordPress into local files",
|
|
3505
3561
|
"examples": [
|
|
3506
|
-
"$ lps
|
|
3562
|
+
"$ lps hook pull",
|
|
3563
|
+
"$ lps hook pull ./hooks"
|
|
3507
3564
|
],
|
|
3508
3565
|
"flags": {
|
|
3509
3566
|
"json": {
|
|
@@ -3519,11 +3576,25 @@
|
|
|
3519
3576
|
"hasDynamicHelp": false,
|
|
3520
3577
|
"multiple": false,
|
|
3521
3578
|
"type": "option"
|
|
3579
|
+
},
|
|
3580
|
+
"dry-run": {
|
|
3581
|
+
"char": "d",
|
|
3582
|
+
"description": "Show what would change without making changes",
|
|
3583
|
+
"name": "dry-run",
|
|
3584
|
+
"allowNo": false,
|
|
3585
|
+
"type": "boolean"
|
|
3586
|
+
},
|
|
3587
|
+
"yes": {
|
|
3588
|
+
"char": "y",
|
|
3589
|
+
"description": "Answer yes to confirmation prompts",
|
|
3590
|
+
"name": "yes",
|
|
3591
|
+
"allowNo": false,
|
|
3592
|
+
"type": "boolean"
|
|
3522
3593
|
}
|
|
3523
3594
|
},
|
|
3524
3595
|
"hasDynamicHelp": false,
|
|
3525
3596
|
"hiddenAliases": [],
|
|
3526
|
-
"id": "
|
|
3597
|
+
"id": "hook:pull",
|
|
3527
3598
|
"pluginAlias": "@loopress/cli",
|
|
3528
3599
|
"pluginName": "@loopress/cli",
|
|
3529
3600
|
"pluginType": "core",
|
|
@@ -3549,21 +3620,23 @@
|
|
|
3549
3620
|
"relativePath": [
|
|
3550
3621
|
"dist",
|
|
3551
3622
|
"commands",
|
|
3552
|
-
"
|
|
3553
|
-
"
|
|
3623
|
+
"hook",
|
|
3624
|
+
"pull.js"
|
|
3554
3625
|
]
|
|
3555
3626
|
},
|
|
3556
|
-
"
|
|
3627
|
+
"hook:push": {
|
|
3557
3628
|
"aliases": [],
|
|
3558
3629
|
"args": {
|
|
3559
3630
|
"path": {
|
|
3560
|
-
"description": "Path to
|
|
3631
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
3561
3632
|
"name": "path"
|
|
3562
3633
|
}
|
|
3563
3634
|
},
|
|
3564
|
-
"description": "
|
|
3635
|
+
"description": "Push local hook files (actions, filters, cron) to WordPress",
|
|
3565
3636
|
"examples": [
|
|
3566
|
-
"$ lps
|
|
3637
|
+
"$ lps hook push",
|
|
3638
|
+
"$ lps hook push ./hooks",
|
|
3639
|
+
"$ lps hook push --prune"
|
|
3567
3640
|
],
|
|
3568
3641
|
"flags": {
|
|
3569
3642
|
"json": {
|
|
@@ -3580,6 +3653,18 @@
|
|
|
3580
3653
|
"multiple": false,
|
|
3581
3654
|
"type": "option"
|
|
3582
3655
|
},
|
|
3656
|
+
"overwrite": {
|
|
3657
|
+
"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",
|
|
3658
|
+
"name": "overwrite",
|
|
3659
|
+
"allowNo": false,
|
|
3660
|
+
"type": "boolean"
|
|
3661
|
+
},
|
|
3662
|
+
"production-confirmed": {
|
|
3663
|
+
"hidden": true,
|
|
3664
|
+
"name": "production-confirmed",
|
|
3665
|
+
"allowNo": false,
|
|
3666
|
+
"type": "boolean"
|
|
3667
|
+
},
|
|
3583
3668
|
"dry-run": {
|
|
3584
3669
|
"char": "d",
|
|
3585
3670
|
"description": "Show what would change without making changes",
|
|
@@ -3593,11 +3678,17 @@
|
|
|
3593
3678
|
"name": "yes",
|
|
3594
3679
|
"allowNo": false,
|
|
3595
3680
|
"type": "boolean"
|
|
3681
|
+
},
|
|
3682
|
+
"prune": {
|
|
3683
|
+
"description": "Delete server-side hook files not present locally after pushing",
|
|
3684
|
+
"name": "prune",
|
|
3685
|
+
"allowNo": false,
|
|
3686
|
+
"type": "boolean"
|
|
3596
3687
|
}
|
|
3597
3688
|
},
|
|
3598
3689
|
"hasDynamicHelp": false,
|
|
3599
3690
|
"hiddenAliases": [],
|
|
3600
|
-
"id": "
|
|
3691
|
+
"id": "hook:push",
|
|
3601
3692
|
"pluginAlias": "@loopress/cli",
|
|
3602
3693
|
"pluginName": "@loopress/cli",
|
|
3603
3694
|
"pluginType": "core",
|
|
@@ -3623,21 +3714,25 @@
|
|
|
3623
3714
|
"relativePath": [
|
|
3624
3715
|
"dist",
|
|
3625
3716
|
"commands",
|
|
3626
|
-
"
|
|
3627
|
-
"
|
|
3717
|
+
"hook",
|
|
3718
|
+
"push.js"
|
|
3628
3719
|
]
|
|
3629
3720
|
},
|
|
3630
|
-
"
|
|
3631
|
-
"aliases": [
|
|
3721
|
+
"hook:rm": {
|
|
3722
|
+
"aliases": [
|
|
3723
|
+
"hook:remove"
|
|
3724
|
+
],
|
|
3632
3725
|
"args": {
|
|
3633
|
-
"
|
|
3634
|
-
"description": "
|
|
3635
|
-
"name": "
|
|
3726
|
+
"filename": {
|
|
3727
|
+
"description": "The hook file to remove, its slug without the .php extension (e.g. \"hello\" or \"invoice-pdf/[order_id]\")",
|
|
3728
|
+
"name": "filename",
|
|
3729
|
+
"required": true
|
|
3636
3730
|
}
|
|
3637
3731
|
},
|
|
3638
|
-
"description": "
|
|
3732
|
+
"description": "Remove one hook file (action, filter, cron) from WordPress",
|
|
3639
3733
|
"examples": [
|
|
3640
|
-
"$ lps
|
|
3734
|
+
"$ lps hook rm hello",
|
|
3735
|
+
"$ lps hook remove hello --yes"
|
|
3641
3736
|
],
|
|
3642
3737
|
"flags": {
|
|
3643
3738
|
"json": {
|
|
@@ -3654,18 +3749,6 @@
|
|
|
3654
3749
|
"multiple": false,
|
|
3655
3750
|
"type": "option"
|
|
3656
3751
|
},
|
|
3657
|
-
"overwrite": {
|
|
3658
|
-
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
3659
|
-
"name": "overwrite",
|
|
3660
|
-
"allowNo": false,
|
|
3661
|
-
"type": "boolean"
|
|
3662
|
-
},
|
|
3663
|
-
"production-confirmed": {
|
|
3664
|
-
"hidden": true,
|
|
3665
|
-
"name": "production-confirmed",
|
|
3666
|
-
"allowNo": false,
|
|
3667
|
-
"type": "boolean"
|
|
3668
|
-
},
|
|
3669
3752
|
"dry-run": {
|
|
3670
3753
|
"char": "d",
|
|
3671
3754
|
"description": "Show what would change without making changes",
|
|
@@ -3683,7 +3766,7 @@
|
|
|
3683
3766
|
},
|
|
3684
3767
|
"hasDynamicHelp": false,
|
|
3685
3768
|
"hiddenAliases": [],
|
|
3686
|
-
"id": "
|
|
3769
|
+
"id": "hook:rm",
|
|
3687
3770
|
"pluginAlias": "@loopress/cli",
|
|
3688
3771
|
"pluginName": "@loopress/cli",
|
|
3689
3772
|
"pluginType": "core",
|
|
@@ -3709,24 +3792,24 @@
|
|
|
3709
3792
|
"relativePath": [
|
|
3710
3793
|
"dist",
|
|
3711
3794
|
"commands",
|
|
3712
|
-
"
|
|
3713
|
-
"
|
|
3795
|
+
"hook",
|
|
3796
|
+
"rm.js"
|
|
3714
3797
|
]
|
|
3715
3798
|
},
|
|
3716
|
-
"
|
|
3799
|
+
"hook:rollback": {
|
|
3717
3800
|
"aliases": [],
|
|
3718
3801
|
"args": {
|
|
3719
3802
|
"path": {
|
|
3720
|
-
"description": "Path to
|
|
3803
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
3721
3804
|
"name": "path"
|
|
3722
3805
|
}
|
|
3723
3806
|
},
|
|
3724
|
-
"description": "Restore
|
|
3807
|
+
"description": "Restore hook files to a snapshot taken automatically before an earlier `lps hook push`",
|
|
3725
3808
|
"examples": [
|
|
3726
|
-
"$ lps
|
|
3727
|
-
"$ lps
|
|
3728
|
-
"$ lps
|
|
3729
|
-
"$ lps
|
|
3809
|
+
"$ lps hook rollback",
|
|
3810
|
+
"$ lps hook rollback --list",
|
|
3811
|
+
"$ lps hook rollback --to 1732000000000",
|
|
3812
|
+
"$ lps hook rollback --dry-run"
|
|
3730
3813
|
],
|
|
3731
3814
|
"flags": {
|
|
3732
3815
|
"json": {
|
|
@@ -3773,7 +3856,7 @@
|
|
|
3773
3856
|
},
|
|
3774
3857
|
"hasDynamicHelp": false,
|
|
3775
3858
|
"hiddenAliases": [],
|
|
3776
|
-
"id": "
|
|
3859
|
+
"id": "hook:rollback",
|
|
3777
3860
|
"pluginAlias": "@loopress/cli",
|
|
3778
3861
|
"pluginName": "@loopress/cli",
|
|
3779
3862
|
"pluginType": "core",
|
|
@@ -3799,23 +3882,23 @@
|
|
|
3799
3882
|
"relativePath": [
|
|
3800
3883
|
"dist",
|
|
3801
3884
|
"commands",
|
|
3802
|
-
"
|
|
3885
|
+
"hook",
|
|
3803
3886
|
"rollback.js"
|
|
3804
3887
|
]
|
|
3805
3888
|
},
|
|
3806
|
-
"
|
|
3889
|
+
"menu:diff": {
|
|
3807
3890
|
"aliases": [],
|
|
3808
3891
|
"args": {
|
|
3809
3892
|
"path": {
|
|
3810
|
-
"description": "Path to
|
|
3893
|
+
"description": "Path to menus directory (overrides project config)",
|
|
3811
3894
|
"name": "path"
|
|
3812
3895
|
}
|
|
3813
3896
|
},
|
|
3814
|
-
"description": "Show what differs in
|
|
3897
|
+
"description": "Show what differs in nav menus and the active theme menu locations between your local files and a WordPress environment, or between two environments",
|
|
3815
3898
|
"examples": [
|
|
3816
|
-
"$ lps
|
|
3817
|
-
"$ lps
|
|
3818
|
-
"$ lps
|
|
3899
|
+
"$ lps menu diff",
|
|
3900
|
+
"$ lps menu diff --env staging",
|
|
3901
|
+
"$ lps menu diff --env staging --against production"
|
|
3819
3902
|
],
|
|
3820
3903
|
"flags": {
|
|
3821
3904
|
"json": {
|
|
@@ -3842,7 +3925,7 @@
|
|
|
3842
3925
|
},
|
|
3843
3926
|
"hasDynamicHelp": false,
|
|
3844
3927
|
"hiddenAliases": [],
|
|
3845
|
-
"id": "
|
|
3928
|
+
"id": "menu:diff",
|
|
3846
3929
|
"pluginAlias": "@loopress/cli",
|
|
3847
3930
|
"pluginName": "@loopress/cli",
|
|
3848
3931
|
"pluginType": "core",
|
|
@@ -3876,16 +3959,16 @@
|
|
|
3876
3959
|
"relativePath": [
|
|
3877
3960
|
"dist",
|
|
3878
3961
|
"commands",
|
|
3879
|
-
"
|
|
3962
|
+
"menu",
|
|
3880
3963
|
"diff.js"
|
|
3881
3964
|
]
|
|
3882
3965
|
},
|
|
3883
|
-
"
|
|
3966
|
+
"menu:list": {
|
|
3884
3967
|
"aliases": [],
|
|
3885
3968
|
"args": {},
|
|
3886
|
-
"description": "List
|
|
3969
|
+
"description": "List nav menus and the active theme menu locations on WordPress",
|
|
3887
3970
|
"examples": [
|
|
3888
|
-
"$ lps
|
|
3971
|
+
"$ lps menu list"
|
|
3889
3972
|
],
|
|
3890
3973
|
"flags": {
|
|
3891
3974
|
"json": {
|
|
@@ -3905,7 +3988,7 @@
|
|
|
3905
3988
|
},
|
|
3906
3989
|
"hasDynamicHelp": false,
|
|
3907
3990
|
"hiddenAliases": [],
|
|
3908
|
-
"id": "
|
|
3991
|
+
"id": "menu:list",
|
|
3909
3992
|
"pluginAlias": "@loopress/cli",
|
|
3910
3993
|
"pluginName": "@loopress/cli",
|
|
3911
3994
|
"pluginType": "core",
|
|
@@ -3931,21 +4014,21 @@
|
|
|
3931
4014
|
"relativePath": [
|
|
3932
4015
|
"dist",
|
|
3933
4016
|
"commands",
|
|
3934
|
-
"
|
|
4017
|
+
"menu",
|
|
3935
4018
|
"list.js"
|
|
3936
4019
|
]
|
|
3937
4020
|
},
|
|
3938
|
-
"
|
|
4021
|
+
"menu:pull": {
|
|
3939
4022
|
"aliases": [],
|
|
3940
4023
|
"args": {
|
|
3941
4024
|
"path": {
|
|
3942
|
-
"description": "Path to
|
|
4025
|
+
"description": "Path to menus directory (overrides project config)",
|
|
3943
4026
|
"name": "path"
|
|
3944
4027
|
}
|
|
3945
4028
|
},
|
|
3946
|
-
"description": "Pull
|
|
4029
|
+
"description": "Pull nav menus and the active theme menu locations from WordPress",
|
|
3947
4030
|
"examples": [
|
|
3948
|
-
"$ lps
|
|
4031
|
+
"$ lps menu pull"
|
|
3949
4032
|
],
|
|
3950
4033
|
"flags": {
|
|
3951
4034
|
"json": {
|
|
@@ -3979,7 +4062,7 @@
|
|
|
3979
4062
|
},
|
|
3980
4063
|
"hasDynamicHelp": false,
|
|
3981
4064
|
"hiddenAliases": [],
|
|
3982
|
-
"id": "
|
|
4065
|
+
"id": "menu:pull",
|
|
3983
4066
|
"pluginAlias": "@loopress/cli",
|
|
3984
4067
|
"pluginName": "@loopress/cli",
|
|
3985
4068
|
"pluginType": "core",
|
|
@@ -4005,21 +4088,21 @@
|
|
|
4005
4088
|
"relativePath": [
|
|
4006
4089
|
"dist",
|
|
4007
4090
|
"commands",
|
|
4008
|
-
"
|
|
4091
|
+
"menu",
|
|
4009
4092
|
"pull.js"
|
|
4010
4093
|
]
|
|
4011
4094
|
},
|
|
4012
|
-
"
|
|
4095
|
+
"menu:push": {
|
|
4013
4096
|
"aliases": [],
|
|
4014
4097
|
"args": {
|
|
4015
4098
|
"path": {
|
|
4016
|
-
"description": "Path to
|
|
4099
|
+
"description": "Path to menus directory (overrides project config)",
|
|
4017
4100
|
"name": "path"
|
|
4018
4101
|
}
|
|
4019
4102
|
},
|
|
4020
|
-
"description": "Push local
|
|
4103
|
+
"description": "Push local nav menus and the active theme menu locations to WordPress. Each menu's post_type/taxonomy items are resolved by slug on the target environment, never by a raw id; an item whose target does not exist there fails the whole menu rather than guessing.",
|
|
4021
4104
|
"examples": [
|
|
4022
|
-
"$ lps
|
|
4105
|
+
"$ lps menu push"
|
|
4023
4106
|
],
|
|
4024
4107
|
"flags": {
|
|
4025
4108
|
"json": {
|
|
@@ -4065,7 +4148,7 @@
|
|
|
4065
4148
|
},
|
|
4066
4149
|
"hasDynamicHelp": false,
|
|
4067
4150
|
"hiddenAliases": [],
|
|
4068
|
-
"id": "
|
|
4151
|
+
"id": "menu:push",
|
|
4069
4152
|
"pluginAlias": "@loopress/cli",
|
|
4070
4153
|
"pluginName": "@loopress/cli",
|
|
4071
4154
|
"pluginType": "core",
|
|
@@ -4091,25 +4174,24 @@
|
|
|
4091
4174
|
"relativePath": [
|
|
4092
4175
|
"dist",
|
|
4093
4176
|
"commands",
|
|
4094
|
-
"
|
|
4177
|
+
"menu",
|
|
4095
4178
|
"push.js"
|
|
4096
4179
|
]
|
|
4097
4180
|
},
|
|
4098
|
-
"
|
|
4099
|
-
"aliases": [
|
|
4100
|
-
"meta:remove"
|
|
4101
|
-
],
|
|
4181
|
+
"menu:rollback": {
|
|
4182
|
+
"aliases": [],
|
|
4102
4183
|
"args": {
|
|
4103
|
-
"
|
|
4104
|
-
"description": "
|
|
4105
|
-
"name": "
|
|
4106
|
-
"required": true
|
|
4184
|
+
"path": {
|
|
4185
|
+
"description": "Path to menus directory (overrides project config)",
|
|
4186
|
+
"name": "path"
|
|
4107
4187
|
}
|
|
4108
4188
|
},
|
|
4109
|
-
"description": "
|
|
4189
|
+
"description": "Restore nav menus and menu locations to a snapshot taken automatically before an earlier `lps menu push`",
|
|
4110
4190
|
"examples": [
|
|
4111
|
-
"$ lps
|
|
4112
|
-
"$ lps
|
|
4191
|
+
"$ lps menu rollback",
|
|
4192
|
+
"$ lps menu rollback --list",
|
|
4193
|
+
"$ lps menu rollback --to 1732000000000",
|
|
4194
|
+
"$ lps menu rollback --dry-run"
|
|
4113
4195
|
],
|
|
4114
4196
|
"flags": {
|
|
4115
4197
|
"json": {
|
|
@@ -4139,11 +4221,24 @@
|
|
|
4139
4221
|
"name": "yes",
|
|
4140
4222
|
"allowNo": false,
|
|
4141
4223
|
"type": "boolean"
|
|
4224
|
+
},
|
|
4225
|
+
"list": {
|
|
4226
|
+
"description": "List available snapshots instead of rolling back",
|
|
4227
|
+
"name": "list",
|
|
4228
|
+
"allowNo": false,
|
|
4229
|
+
"type": "boolean"
|
|
4230
|
+
},
|
|
4231
|
+
"to": {
|
|
4232
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
4233
|
+
"name": "to",
|
|
4234
|
+
"hasDynamicHelp": false,
|
|
4235
|
+
"multiple": false,
|
|
4236
|
+
"type": "option"
|
|
4142
4237
|
}
|
|
4143
4238
|
},
|
|
4144
4239
|
"hasDynamicHelp": false,
|
|
4145
4240
|
"hiddenAliases": [],
|
|
4146
|
-
"id": "
|
|
4241
|
+
"id": "menu:rollback",
|
|
4147
4242
|
"pluginAlias": "@loopress/cli",
|
|
4148
4243
|
"pluginName": "@loopress/cli",
|
|
4149
4244
|
"pluginType": "core",
|
|
@@ -4169,11 +4264,11 @@
|
|
|
4169
4264
|
"relativePath": [
|
|
4170
4265
|
"dist",
|
|
4171
4266
|
"commands",
|
|
4172
|
-
"
|
|
4173
|
-
"
|
|
4267
|
+
"menu",
|
|
4268
|
+
"rollback.js"
|
|
4174
4269
|
]
|
|
4175
4270
|
},
|
|
4176
|
-
"meta:
|
|
4271
|
+
"meta:diff": {
|
|
4177
4272
|
"aliases": [],
|
|
4178
4273
|
"args": {
|
|
4179
4274
|
"path": {
|
|
@@ -4181,12 +4276,11 @@
|
|
|
4181
4276
|
"name": "path"
|
|
4182
4277
|
}
|
|
4183
4278
|
},
|
|
4184
|
-
"description": "
|
|
4279
|
+
"description": "Show what differs in post meta keys between your local meta/ files and a WordPress environment, or between two environments",
|
|
4185
4280
|
"examples": [
|
|
4186
|
-
"$ lps meta
|
|
4187
|
-
"$ lps meta
|
|
4188
|
-
"$ lps meta
|
|
4189
|
-
"$ lps meta rollback --dry-run"
|
|
4281
|
+
"$ lps meta diff",
|
|
4282
|
+
"$ lps meta diff --env staging",
|
|
4283
|
+
"$ lps meta diff --env staging --against production"
|
|
4190
4284
|
],
|
|
4191
4285
|
"flags": {
|
|
4192
4286
|
"json": {
|
|
@@ -4203,29 +4297,9 @@
|
|
|
4203
4297
|
"multiple": false,
|
|
4204
4298
|
"type": "option"
|
|
4205
4299
|
},
|
|
4206
|
-
"
|
|
4207
|
-
"
|
|
4208
|
-
"
|
|
4209
|
-
"name": "dry-run",
|
|
4210
|
-
"allowNo": false,
|
|
4211
|
-
"type": "boolean"
|
|
4212
|
-
},
|
|
4213
|
-
"yes": {
|
|
4214
|
-
"char": "y",
|
|
4215
|
-
"description": "Answer yes to confirmation prompts",
|
|
4216
|
-
"name": "yes",
|
|
4217
|
-
"allowNo": false,
|
|
4218
|
-
"type": "boolean"
|
|
4219
|
-
},
|
|
4220
|
-
"list": {
|
|
4221
|
-
"description": "List available snapshots instead of rolling back",
|
|
4222
|
-
"name": "list",
|
|
4223
|
-
"allowNo": false,
|
|
4224
|
-
"type": "boolean"
|
|
4225
|
-
},
|
|
4226
|
-
"to": {
|
|
4227
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
4228
|
-
"name": "to",
|
|
4300
|
+
"against": {
|
|
4301
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4302
|
+
"name": "against",
|
|
4229
4303
|
"hasDynamicHelp": false,
|
|
4230
4304
|
"multiple": false,
|
|
4231
4305
|
"type": "option"
|
|
@@ -4233,7 +4307,7 @@
|
|
|
4233
4307
|
},
|
|
4234
4308
|
"hasDynamicHelp": false,
|
|
4235
4309
|
"hiddenAliases": [],
|
|
4236
|
-
"id": "meta:
|
|
4310
|
+
"id": "meta:diff",
|
|
4237
4311
|
"pluginAlias": "@loopress/cli",
|
|
4238
4312
|
"pluginName": "@loopress/cli",
|
|
4239
4313
|
"pluginType": "core",
|
|
@@ -4255,27 +4329,28 @@
|
|
|
4255
4329
|
"type": "boolean"
|
|
4256
4330
|
}
|
|
4257
4331
|
},
|
|
4332
|
+
"againstFlag": {
|
|
4333
|
+
"against": {
|
|
4334
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4335
|
+
"input": [],
|
|
4336
|
+
"multiple": false,
|
|
4337
|
+
"type": "option"
|
|
4338
|
+
}
|
|
4339
|
+
},
|
|
4258
4340
|
"isESM": true,
|
|
4259
4341
|
"relativePath": [
|
|
4260
4342
|
"dist",
|
|
4261
4343
|
"commands",
|
|
4262
4344
|
"meta",
|
|
4263
|
-
"
|
|
4345
|
+
"diff.js"
|
|
4264
4346
|
]
|
|
4265
4347
|
},
|
|
4266
|
-
"
|
|
4348
|
+
"meta:list": {
|
|
4267
4349
|
"aliases": [],
|
|
4268
|
-
"args": {
|
|
4269
|
-
|
|
4270
|
-
"description": "Option name to start tracking (see `lps option list`)",
|
|
4271
|
-
"name": "name",
|
|
4272
|
-
"required": true
|
|
4273
|
-
}
|
|
4274
|
-
},
|
|
4275
|
-
"description": "Fetch a WordPress option by name and start tracking it locally. Run `lps option list` first to find the name: this copies a raw value across environments, verify it does not embed post/user IDs before pushing it elsewhere.",
|
|
4350
|
+
"args": {},
|
|
4351
|
+
"description": "List the meta keys registered for each post type on WordPress (with register_post_meta()), and whether Loopress declares them. Only Loopress ones are pulled and pushed.",
|
|
4276
4352
|
"examples": [
|
|
4277
|
-
"$ lps
|
|
4278
|
-
"$ lps option add siteurl"
|
|
4353
|
+
"$ lps meta list"
|
|
4279
4354
|
],
|
|
4280
4355
|
"flags": {
|
|
4281
4356
|
"json": {
|
|
@@ -4291,25 +4366,11 @@
|
|
|
4291
4366
|
"hasDynamicHelp": false,
|
|
4292
4367
|
"multiple": false,
|
|
4293
4368
|
"type": "option"
|
|
4294
|
-
},
|
|
4295
|
-
"dry-run": {
|
|
4296
|
-
"char": "d",
|
|
4297
|
-
"description": "Show what would change without making changes",
|
|
4298
|
-
"name": "dry-run",
|
|
4299
|
-
"allowNo": false,
|
|
4300
|
-
"type": "boolean"
|
|
4301
|
-
},
|
|
4302
|
-
"path": {
|
|
4303
|
-
"description": "Path to options directory (overrides project config)",
|
|
4304
|
-
"name": "path",
|
|
4305
|
-
"hasDynamicHelp": false,
|
|
4306
|
-
"multiple": false,
|
|
4307
|
-
"type": "option"
|
|
4308
4369
|
}
|
|
4309
4370
|
},
|
|
4310
4371
|
"hasDynamicHelp": false,
|
|
4311
4372
|
"hiddenAliases": [],
|
|
4312
|
-
"id": "
|
|
4373
|
+
"id": "meta:list",
|
|
4313
4374
|
"pluginAlias": "@loopress/cli",
|
|
4314
4375
|
"pluginName": "@loopress/cli",
|
|
4315
4376
|
"pluginType": "core",
|
|
@@ -4335,23 +4396,21 @@
|
|
|
4335
4396
|
"relativePath": [
|
|
4336
4397
|
"dist",
|
|
4337
4398
|
"commands",
|
|
4338
|
-
"
|
|
4339
|
-
"
|
|
4399
|
+
"meta",
|
|
4400
|
+
"list.js"
|
|
4340
4401
|
]
|
|
4341
4402
|
},
|
|
4342
|
-
"
|
|
4403
|
+
"meta:pull": {
|
|
4343
4404
|
"aliases": [],
|
|
4344
4405
|
"args": {
|
|
4345
4406
|
"path": {
|
|
4346
|
-
"description": "Path to
|
|
4407
|
+
"description": "Path to the meta directory (overrides project config)",
|
|
4347
4408
|
"name": "path"
|
|
4348
4409
|
}
|
|
4349
4410
|
},
|
|
4350
|
-
"description": "
|
|
4411
|
+
"description": "Pull the post meta keys Loopress manages on WordPress into meta/<post-type>.json files, never their values. Keys registered by a theme or another plugin are never pulled, see `lps meta list`.",
|
|
4351
4412
|
"examples": [
|
|
4352
|
-
"$ lps
|
|
4353
|
-
"$ lps option diff --env staging",
|
|
4354
|
-
"$ lps option diff --env staging --against production"
|
|
4413
|
+
"$ lps meta pull"
|
|
4355
4414
|
],
|
|
4356
4415
|
"flags": {
|
|
4357
4416
|
"json": {
|
|
@@ -4368,17 +4427,24 @@
|
|
|
4368
4427
|
"multiple": false,
|
|
4369
4428
|
"type": "option"
|
|
4370
4429
|
},
|
|
4371
|
-
"
|
|
4372
|
-
"
|
|
4373
|
-
"
|
|
4374
|
-
"
|
|
4375
|
-
"
|
|
4376
|
-
"type": "
|
|
4430
|
+
"dry-run": {
|
|
4431
|
+
"char": "d",
|
|
4432
|
+
"description": "Show what would change without making changes",
|
|
4433
|
+
"name": "dry-run",
|
|
4434
|
+
"allowNo": false,
|
|
4435
|
+
"type": "boolean"
|
|
4436
|
+
},
|
|
4437
|
+
"yes": {
|
|
4438
|
+
"char": "y",
|
|
4439
|
+
"description": "Answer yes to confirmation prompts",
|
|
4440
|
+
"name": "yes",
|
|
4441
|
+
"allowNo": false,
|
|
4442
|
+
"type": "boolean"
|
|
4377
4443
|
}
|
|
4378
4444
|
},
|
|
4379
4445
|
"hasDynamicHelp": false,
|
|
4380
4446
|
"hiddenAliases": [],
|
|
4381
|
-
"id": "
|
|
4447
|
+
"id": "meta:pull",
|
|
4382
4448
|
"pluginAlias": "@loopress/cli",
|
|
4383
4449
|
"pluginName": "@loopress/cli",
|
|
4384
4450
|
"pluginType": "core",
|
|
@@ -4400,29 +4466,25 @@
|
|
|
4400
4466
|
"type": "boolean"
|
|
4401
4467
|
}
|
|
4402
4468
|
},
|
|
4403
|
-
"againstFlag": {
|
|
4404
|
-
"against": {
|
|
4405
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4406
|
-
"input": [],
|
|
4407
|
-
"multiple": false,
|
|
4408
|
-
"type": "option"
|
|
4409
|
-
}
|
|
4410
|
-
},
|
|
4411
4469
|
"isESM": true,
|
|
4412
4470
|
"relativePath": [
|
|
4413
4471
|
"dist",
|
|
4414
4472
|
"commands",
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4473
|
+
"meta",
|
|
4474
|
+
"pull.js"
|
|
4417
4475
|
]
|
|
4418
4476
|
},
|
|
4419
|
-
"
|
|
4477
|
+
"meta:push": {
|
|
4420
4478
|
"aliases": [],
|
|
4421
|
-
"args": {
|
|
4422
|
-
|
|
4479
|
+
"args": {
|
|
4480
|
+
"path": {
|
|
4481
|
+
"description": "Path to the meta directory (overrides project config)",
|
|
4482
|
+
"name": "path"
|
|
4483
|
+
}
|
|
4484
|
+
},
|
|
4485
|
+
"description": "Push local post meta keys (meta/<post-type>.json, each key mapped to its register_post_meta() arguments) to WordPress. Create or update only, never deletes (use `lps meta rm`), never touches meta values.",
|
|
4423
4486
|
"examples": [
|
|
4424
|
-
"$ lps
|
|
4425
|
-
"$ lps option list --no-core"
|
|
4487
|
+
"$ lps meta push"
|
|
4426
4488
|
],
|
|
4427
4489
|
"flags": {
|
|
4428
4490
|
"json": {
|
|
@@ -4439,16 +4501,36 @@
|
|
|
4439
4501
|
"multiple": false,
|
|
4440
4502
|
"type": "option"
|
|
4441
4503
|
},
|
|
4442
|
-
"
|
|
4443
|
-
"description": "
|
|
4444
|
-
"name": "
|
|
4504
|
+
"overwrite": {
|
|
4505
|
+
"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",
|
|
4506
|
+
"name": "overwrite",
|
|
4507
|
+
"allowNo": false,
|
|
4508
|
+
"type": "boolean"
|
|
4509
|
+
},
|
|
4510
|
+
"production-confirmed": {
|
|
4511
|
+
"hidden": true,
|
|
4512
|
+
"name": "production-confirmed",
|
|
4513
|
+
"allowNo": false,
|
|
4514
|
+
"type": "boolean"
|
|
4515
|
+
},
|
|
4516
|
+
"dry-run": {
|
|
4517
|
+
"char": "d",
|
|
4518
|
+
"description": "Show what would change without making changes",
|
|
4519
|
+
"name": "dry-run",
|
|
4520
|
+
"allowNo": false,
|
|
4521
|
+
"type": "boolean"
|
|
4522
|
+
},
|
|
4523
|
+
"yes": {
|
|
4524
|
+
"char": "y",
|
|
4525
|
+
"description": "Answer yes to confirmation prompts",
|
|
4526
|
+
"name": "yes",
|
|
4445
4527
|
"allowNo": false,
|
|
4446
4528
|
"type": "boolean"
|
|
4447
4529
|
}
|
|
4448
4530
|
},
|
|
4449
4531
|
"hasDynamicHelp": false,
|
|
4450
4532
|
"hiddenAliases": [],
|
|
4451
|
-
"id": "
|
|
4533
|
+
"id": "meta:push",
|
|
4452
4534
|
"pluginAlias": "@loopress/cli",
|
|
4453
4535
|
"pluginName": "@loopress/cli",
|
|
4454
4536
|
"pluginType": "core",
|
|
@@ -4474,21 +4556,25 @@
|
|
|
4474
4556
|
"relativePath": [
|
|
4475
4557
|
"dist",
|
|
4476
4558
|
"commands",
|
|
4477
|
-
"
|
|
4478
|
-
"
|
|
4559
|
+
"meta",
|
|
4560
|
+
"push.js"
|
|
4479
4561
|
]
|
|
4480
4562
|
},
|
|
4481
|
-
"
|
|
4482
|
-
"aliases": [
|
|
4563
|
+
"meta:rm": {
|
|
4564
|
+
"aliases": [
|
|
4565
|
+
"meta:remove"
|
|
4566
|
+
],
|
|
4483
4567
|
"args": {
|
|
4484
|
-
"
|
|
4485
|
-
"description": "
|
|
4486
|
-
"name": "
|
|
4568
|
+
"slug": {
|
|
4569
|
+
"description": "The post meta slug, its meta/ file name without .json",
|
|
4570
|
+
"name": "slug",
|
|
4571
|
+
"required": true
|
|
4487
4572
|
}
|
|
4488
4573
|
},
|
|
4489
|
-
"description": "
|
|
4574
|
+
"description": "Stop registering the Loopress meta keys of one post type (its meta/<post-type>.json file) on WordPress. Their values are kept in the database.",
|
|
4490
4575
|
"examples": [
|
|
4491
|
-
"$ lps
|
|
4576
|
+
"$ lps meta rm <slug>",
|
|
4577
|
+
"$ lps meta remove <slug> --yes"
|
|
4492
4578
|
],
|
|
4493
4579
|
"flags": {
|
|
4494
4580
|
"json": {
|
|
@@ -4522,7 +4608,7 @@
|
|
|
4522
4608
|
},
|
|
4523
4609
|
"hasDynamicHelp": false,
|
|
4524
4610
|
"hiddenAliases": [],
|
|
4525
|
-
"id": "
|
|
4611
|
+
"id": "meta:rm",
|
|
4526
4612
|
"pluginAlias": "@loopress/cli",
|
|
4527
4613
|
"pluginName": "@loopress/cli",
|
|
4528
4614
|
"pluginType": "core",
|
|
@@ -4548,21 +4634,24 @@
|
|
|
4548
4634
|
"relativePath": [
|
|
4549
4635
|
"dist",
|
|
4550
4636
|
"commands",
|
|
4551
|
-
"
|
|
4552
|
-
"
|
|
4637
|
+
"meta",
|
|
4638
|
+
"rm.js"
|
|
4553
4639
|
]
|
|
4554
4640
|
},
|
|
4555
|
-
"
|
|
4641
|
+
"meta:rollback": {
|
|
4556
4642
|
"aliases": [],
|
|
4557
4643
|
"args": {
|
|
4558
4644
|
"path": {
|
|
4559
|
-
"description": "Path to
|
|
4645
|
+
"description": "Path to meta directory (overrides project config)",
|
|
4560
4646
|
"name": "path"
|
|
4561
4647
|
}
|
|
4562
4648
|
},
|
|
4563
|
-
"description": "
|
|
4649
|
+
"description": "Restore post meta keys to a snapshot taken automatically before an earlier `lps meta push`",
|
|
4564
4650
|
"examples": [
|
|
4565
|
-
"$ lps
|
|
4651
|
+
"$ lps meta rollback",
|
|
4652
|
+
"$ lps meta rollback --list",
|
|
4653
|
+
"$ lps meta rollback --to 1732000000000",
|
|
4654
|
+
"$ lps meta rollback --dry-run"
|
|
4566
4655
|
],
|
|
4567
4656
|
"flags": {
|
|
4568
4657
|
"json": {
|
|
@@ -4579,18 +4668,6 @@
|
|
|
4579
4668
|
"multiple": false,
|
|
4580
4669
|
"type": "option"
|
|
4581
4670
|
},
|
|
4582
|
-
"overwrite": {
|
|
4583
|
-
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
4584
|
-
"name": "overwrite",
|
|
4585
|
-
"allowNo": false,
|
|
4586
|
-
"type": "boolean"
|
|
4587
|
-
},
|
|
4588
|
-
"production-confirmed": {
|
|
4589
|
-
"hidden": true,
|
|
4590
|
-
"name": "production-confirmed",
|
|
4591
|
-
"allowNo": false,
|
|
4592
|
-
"type": "boolean"
|
|
4593
|
-
},
|
|
4594
4671
|
"dry-run": {
|
|
4595
4672
|
"char": "d",
|
|
4596
4673
|
"description": "Show what would change without making changes",
|
|
@@ -4604,11 +4681,24 @@
|
|
|
4604
4681
|
"name": "yes",
|
|
4605
4682
|
"allowNo": false,
|
|
4606
4683
|
"type": "boolean"
|
|
4684
|
+
},
|
|
4685
|
+
"list": {
|
|
4686
|
+
"description": "List available snapshots instead of rolling back",
|
|
4687
|
+
"name": "list",
|
|
4688
|
+
"allowNo": false,
|
|
4689
|
+
"type": "boolean"
|
|
4690
|
+
},
|
|
4691
|
+
"to": {
|
|
4692
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
4693
|
+
"name": "to",
|
|
4694
|
+
"hasDynamicHelp": false,
|
|
4695
|
+
"multiple": false,
|
|
4696
|
+
"type": "option"
|
|
4607
4697
|
}
|
|
4608
4698
|
},
|
|
4609
4699
|
"hasDynamicHelp": false,
|
|
4610
4700
|
"hiddenAliases": [],
|
|
4611
|
-
"id": "
|
|
4701
|
+
"id": "meta:rollback",
|
|
4612
4702
|
"pluginAlias": "@loopress/cli",
|
|
4613
4703
|
"pluginName": "@loopress/cli",
|
|
4614
4704
|
"pluginType": "core",
|
|
@@ -4634,23 +4724,23 @@
|
|
|
4634
4724
|
"relativePath": [
|
|
4635
4725
|
"dist",
|
|
4636
4726
|
"commands",
|
|
4637
|
-
"
|
|
4638
|
-
"
|
|
4727
|
+
"meta",
|
|
4728
|
+
"rollback.js"
|
|
4639
4729
|
]
|
|
4640
4730
|
},
|
|
4641
|
-
"option:
|
|
4731
|
+
"option:add": {
|
|
4642
4732
|
"aliases": [],
|
|
4643
4733
|
"args": {
|
|
4644
4734
|
"name": {
|
|
4645
|
-
"description": "Option name to
|
|
4735
|
+
"description": "Option name to start tracking (see `lps option list`)",
|
|
4646
4736
|
"name": "name",
|
|
4647
4737
|
"required": true
|
|
4648
4738
|
}
|
|
4649
4739
|
},
|
|
4650
|
-
"description": "
|
|
4740
|
+
"description": "Fetch a WordPress option by name and start tracking it locally. Run `lps option list` first to find the name: this copies a raw value across environments, verify it does not embed post/user IDs before pushing it elsewhere.",
|
|
4651
4741
|
"examples": [
|
|
4652
|
-
"$ lps option
|
|
4653
|
-
"$ lps option
|
|
4742
|
+
"$ lps option add wpseo_titles",
|
|
4743
|
+
"$ lps option add siteurl"
|
|
4654
4744
|
],
|
|
4655
4745
|
"flags": {
|
|
4656
4746
|
"json": {
|
|
@@ -4674,19 +4764,6 @@
|
|
|
4674
4764
|
"allowNo": false,
|
|
4675
4765
|
"type": "boolean"
|
|
4676
4766
|
},
|
|
4677
|
-
"yes": {
|
|
4678
|
-
"char": "y",
|
|
4679
|
-
"description": "Answer yes to confirmation prompts",
|
|
4680
|
-
"name": "yes",
|
|
4681
|
-
"allowNo": false,
|
|
4682
|
-
"type": "boolean"
|
|
4683
|
-
},
|
|
4684
|
-
"local-only": {
|
|
4685
|
-
"description": "Untrack locally without deleting the option on WordPress",
|
|
4686
|
-
"name": "local-only",
|
|
4687
|
-
"allowNo": false,
|
|
4688
|
-
"type": "boolean"
|
|
4689
|
-
},
|
|
4690
4767
|
"path": {
|
|
4691
4768
|
"description": "Path to options directory (overrides project config)",
|
|
4692
4769
|
"name": "path",
|
|
@@ -4697,7 +4774,7 @@
|
|
|
4697
4774
|
},
|
|
4698
4775
|
"hasDynamicHelp": false,
|
|
4699
4776
|
"hiddenAliases": [],
|
|
4700
|
-
"id": "option:
|
|
4777
|
+
"id": "option:add",
|
|
4701
4778
|
"pluginAlias": "@loopress/cli",
|
|
4702
4779
|
"pluginName": "@loopress/cli",
|
|
4703
4780
|
"pluginType": "core",
|
|
@@ -4724,10 +4801,10 @@
|
|
|
4724
4801
|
"dist",
|
|
4725
4802
|
"commands",
|
|
4726
4803
|
"option",
|
|
4727
|
-
"
|
|
4804
|
+
"add.js"
|
|
4728
4805
|
]
|
|
4729
4806
|
},
|
|
4730
|
-
"option:
|
|
4807
|
+
"option:diff": {
|
|
4731
4808
|
"aliases": [],
|
|
4732
4809
|
"args": {
|
|
4733
4810
|
"path": {
|
|
@@ -4735,12 +4812,11 @@
|
|
|
4735
4812
|
"name": "path"
|
|
4736
4813
|
}
|
|
4737
4814
|
},
|
|
4738
|
-
"description": "
|
|
4815
|
+
"description": "Show what differs, for locally tracked options, between your local files and a WordPress environment, or between two environments",
|
|
4739
4816
|
"examples": [
|
|
4740
|
-
"$ lps option
|
|
4741
|
-
"$ lps option
|
|
4742
|
-
"$ lps option
|
|
4743
|
-
"$ lps option rollback --dry-run"
|
|
4817
|
+
"$ lps option diff",
|
|
4818
|
+
"$ lps option diff --env staging",
|
|
4819
|
+
"$ lps option diff --env staging --against production"
|
|
4744
4820
|
],
|
|
4745
4821
|
"flags": {
|
|
4746
4822
|
"json": {
|
|
@@ -4757,29 +4833,9 @@
|
|
|
4757
4833
|
"multiple": false,
|
|
4758
4834
|
"type": "option"
|
|
4759
4835
|
},
|
|
4760
|
-
"
|
|
4761
|
-
"
|
|
4762
|
-
"
|
|
4763
|
-
"name": "dry-run",
|
|
4764
|
-
"allowNo": false,
|
|
4765
|
-
"type": "boolean"
|
|
4766
|
-
},
|
|
4767
|
-
"yes": {
|
|
4768
|
-
"char": "y",
|
|
4769
|
-
"description": "Answer yes to confirmation prompts",
|
|
4770
|
-
"name": "yes",
|
|
4771
|
-
"allowNo": false,
|
|
4772
|
-
"type": "boolean"
|
|
4773
|
-
},
|
|
4774
|
-
"list": {
|
|
4775
|
-
"description": "List available snapshots instead of rolling back",
|
|
4776
|
-
"name": "list",
|
|
4777
|
-
"allowNo": false,
|
|
4778
|
-
"type": "boolean"
|
|
4779
|
-
},
|
|
4780
|
-
"to": {
|
|
4781
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
4782
|
-
"name": "to",
|
|
4836
|
+
"against": {
|
|
4837
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4838
|
+
"name": "against",
|
|
4783
4839
|
"hasDynamicHelp": false,
|
|
4784
4840
|
"multiple": false,
|
|
4785
4841
|
"type": "option"
|
|
@@ -4787,7 +4843,7 @@
|
|
|
4787
4843
|
},
|
|
4788
4844
|
"hasDynamicHelp": false,
|
|
4789
4845
|
"hiddenAliases": [],
|
|
4790
|
-
"id": "option:
|
|
4846
|
+
"id": "option:diff",
|
|
4791
4847
|
"pluginAlias": "@loopress/cli",
|
|
4792
4848
|
"pluginName": "@loopress/cli",
|
|
4793
4849
|
"pluginType": "core",
|
|
@@ -4809,27 +4865,29 @@
|
|
|
4809
4865
|
"type": "boolean"
|
|
4810
4866
|
}
|
|
4811
4867
|
},
|
|
4868
|
+
"againstFlag": {
|
|
4869
|
+
"against": {
|
|
4870
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4871
|
+
"input": [],
|
|
4872
|
+
"multiple": false,
|
|
4873
|
+
"type": "option"
|
|
4874
|
+
}
|
|
4875
|
+
},
|
|
4812
4876
|
"isESM": true,
|
|
4813
4877
|
"relativePath": [
|
|
4814
4878
|
"dist",
|
|
4815
4879
|
"commands",
|
|
4816
4880
|
"option",
|
|
4817
|
-
"
|
|
4881
|
+
"diff.js"
|
|
4818
4882
|
]
|
|
4819
4883
|
},
|
|
4820
|
-
"
|
|
4884
|
+
"option:list": {
|
|
4821
4885
|
"aliases": [],
|
|
4822
|
-
"args": {
|
|
4823
|
-
|
|
4824
|
-
"description": "Path to pages directory (overrides project config)",
|
|
4825
|
-
"name": "path"
|
|
4826
|
-
}
|
|
4827
|
-
},
|
|
4828
|
-
"description": "Show what differs in static pages between your local files and a WordPress environment, or between two environments",
|
|
4886
|
+
"args": {},
|
|
4887
|
+
"description": "List WordPress option names currently on the site (names and autoload only, never values). CORE flags a WordPress-native default (certain); SOURCE? is a best-effort guessed plugin slug, found by name or by scanning active plugins' own PHP source (uncertain unless confirmed, occasionally wrong or blank, never trust it over CORE); PLUGIN is that slug's own declared display name, a label only, no confidence of its own. Use this to find the name of the option you want, then `lps option add <name>` to track it.",
|
|
4829
4888
|
"examples": [
|
|
4830
|
-
"$ lps
|
|
4831
|
-
"$ lps
|
|
4832
|
-
"$ lps page diff --env staging --against production"
|
|
4889
|
+
"$ lps option list",
|
|
4890
|
+
"$ lps option list --no-core"
|
|
4833
4891
|
],
|
|
4834
4892
|
"flags": {
|
|
4835
4893
|
"json": {
|
|
@@ -4846,17 +4904,16 @@
|
|
|
4846
4904
|
"multiple": false,
|
|
4847
4905
|
"type": "option"
|
|
4848
4906
|
},
|
|
4849
|
-
"
|
|
4850
|
-
"description": "
|
|
4851
|
-
"name": "
|
|
4852
|
-
"
|
|
4853
|
-
"
|
|
4854
|
-
"type": "option"
|
|
4907
|
+
"no-core": {
|
|
4908
|
+
"description": "Exclude WordPress-native default options and the CORE column from the output, including --json",
|
|
4909
|
+
"name": "no-core",
|
|
4910
|
+
"allowNo": false,
|
|
4911
|
+
"type": "boolean"
|
|
4855
4912
|
}
|
|
4856
4913
|
},
|
|
4857
4914
|
"hasDynamicHelp": false,
|
|
4858
4915
|
"hiddenAliases": [],
|
|
4859
|
-
"id": "
|
|
4916
|
+
"id": "option:list",
|
|
4860
4917
|
"pluginAlias": "@loopress/cli",
|
|
4861
4918
|
"pluginName": "@loopress/cli",
|
|
4862
4919
|
"pluginType": "core",
|
|
@@ -4878,28 +4935,25 @@
|
|
|
4878
4935
|
"type": "boolean"
|
|
4879
4936
|
}
|
|
4880
4937
|
},
|
|
4881
|
-
"againstFlag": {
|
|
4882
|
-
"against": {
|
|
4883
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
4884
|
-
"input": [],
|
|
4885
|
-
"multiple": false,
|
|
4886
|
-
"type": "option"
|
|
4887
|
-
}
|
|
4888
|
-
},
|
|
4889
4938
|
"isESM": true,
|
|
4890
4939
|
"relativePath": [
|
|
4891
4940
|
"dist",
|
|
4892
4941
|
"commands",
|
|
4893
|
-
"
|
|
4894
|
-
"
|
|
4942
|
+
"option",
|
|
4943
|
+
"list.js"
|
|
4895
4944
|
]
|
|
4896
4945
|
},
|
|
4897
|
-
"
|
|
4946
|
+
"option:pull": {
|
|
4898
4947
|
"aliases": [],
|
|
4899
|
-
"args": {
|
|
4900
|
-
|
|
4948
|
+
"args": {
|
|
4949
|
+
"path": {
|
|
4950
|
+
"description": "Path to options directory (overrides project config)",
|
|
4951
|
+
"name": "path"
|
|
4952
|
+
}
|
|
4953
|
+
},
|
|
4954
|
+
"description": "Refresh locally tracked options from WordPress. Options not yet tracked are never pulled, run `lps option add <name>` for those first.",
|
|
4901
4955
|
"examples": [
|
|
4902
|
-
"$ lps
|
|
4956
|
+
"$ lps option pull"
|
|
4903
4957
|
],
|
|
4904
4958
|
"flags": {
|
|
4905
4959
|
"json": {
|
|
@@ -4915,11 +4969,25 @@
|
|
|
4915
4969
|
"hasDynamicHelp": false,
|
|
4916
4970
|
"multiple": false,
|
|
4917
4971
|
"type": "option"
|
|
4972
|
+
},
|
|
4973
|
+
"dry-run": {
|
|
4974
|
+
"char": "d",
|
|
4975
|
+
"description": "Show what would change without making changes",
|
|
4976
|
+
"name": "dry-run",
|
|
4977
|
+
"allowNo": false,
|
|
4978
|
+
"type": "boolean"
|
|
4979
|
+
},
|
|
4980
|
+
"yes": {
|
|
4981
|
+
"char": "y",
|
|
4982
|
+
"description": "Answer yes to confirmation prompts",
|
|
4983
|
+
"name": "yes",
|
|
4984
|
+
"allowNo": false,
|
|
4985
|
+
"type": "boolean"
|
|
4918
4986
|
}
|
|
4919
4987
|
},
|
|
4920
4988
|
"hasDynamicHelp": false,
|
|
4921
4989
|
"hiddenAliases": [],
|
|
4922
|
-
"id": "
|
|
4990
|
+
"id": "option:pull",
|
|
4923
4991
|
"pluginAlias": "@loopress/cli",
|
|
4924
4992
|
"pluginName": "@loopress/cli",
|
|
4925
4993
|
"pluginType": "core",
|
|
@@ -4945,24 +5013,21 @@
|
|
|
4945
5013
|
"relativePath": [
|
|
4946
5014
|
"dist",
|
|
4947
5015
|
"commands",
|
|
4948
|
-
"
|
|
4949
|
-
"
|
|
5016
|
+
"option",
|
|
5017
|
+
"pull.js"
|
|
4950
5018
|
]
|
|
4951
5019
|
},
|
|
4952
|
-
"
|
|
5020
|
+
"option:push": {
|
|
4953
5021
|
"aliases": [],
|
|
4954
5022
|
"args": {
|
|
4955
|
-
"
|
|
4956
|
-
"description": "
|
|
4957
|
-
"name": "
|
|
5023
|
+
"path": {
|
|
5024
|
+
"description": "Path to options directory (overrides project config)",
|
|
5025
|
+
"name": "path"
|
|
4958
5026
|
}
|
|
4959
5027
|
},
|
|
4960
|
-
"description": "Push
|
|
5028
|
+
"description": "Push locally tracked, non-readonly options to WordPress (upsert only, never deletes an untracked option). Options marked \"readonly\": true in their local file are skipped, edit the file to override.",
|
|
4961
5029
|
"examples": [
|
|
4962
|
-
"$ lps
|
|
4963
|
-
"$ lps page push legal-notice",
|
|
4964
|
-
"$ lps page push --dry-run",
|
|
4965
|
-
"$ lps page push about --overwrite"
|
|
5030
|
+
"$ lps option push"
|
|
4966
5031
|
],
|
|
4967
5032
|
"flags": {
|
|
4968
5033
|
"json": {
|
|
@@ -5008,7 +5073,7 @@
|
|
|
5008
5073
|
},
|
|
5009
5074
|
"hasDynamicHelp": false,
|
|
5010
5075
|
"hiddenAliases": [],
|
|
5011
|
-
"id": "
|
|
5076
|
+
"id": "option:push",
|
|
5012
5077
|
"pluginAlias": "@loopress/cli",
|
|
5013
5078
|
"pluginName": "@loopress/cli",
|
|
5014
5079
|
"pluginType": "core",
|
|
@@ -5034,24 +5099,25 @@
|
|
|
5034
5099
|
"relativePath": [
|
|
5035
5100
|
"dist",
|
|
5036
5101
|
"commands",
|
|
5037
|
-
"
|
|
5102
|
+
"option",
|
|
5038
5103
|
"push.js"
|
|
5039
5104
|
]
|
|
5040
5105
|
},
|
|
5041
|
-
"
|
|
5042
|
-
"aliases": [
|
|
5106
|
+
"option:rm": {
|
|
5107
|
+
"aliases": [
|
|
5108
|
+
"option:remove"
|
|
5109
|
+
],
|
|
5043
5110
|
"args": {
|
|
5044
|
-
"
|
|
5045
|
-
"description": "
|
|
5046
|
-
"name": "
|
|
5111
|
+
"name": {
|
|
5112
|
+
"description": "Option name to stop tracking",
|
|
5113
|
+
"name": "name",
|
|
5047
5114
|
"required": true
|
|
5048
5115
|
}
|
|
5049
5116
|
},
|
|
5050
|
-
"description": "
|
|
5117
|
+
"description": "Stop tracking an option locally and delete it from WordPress. Local untracking always happens (git-reversible); pass --local-only to skip the WordPress delete and only stop tracking.",
|
|
5051
5118
|
"examples": [
|
|
5052
|
-
"$ lps
|
|
5053
|
-
"$ lps
|
|
5054
|
-
"$ lps plugin add contact-form-7 --dry-run"
|
|
5119
|
+
"$ lps option rm wpseo_titles",
|
|
5120
|
+
"$ lps option rm wpseo_titles --local-only"
|
|
5055
5121
|
],
|
|
5056
5122
|
"flags": {
|
|
5057
5123
|
"json": {
|
|
@@ -5075,9 +5141,22 @@
|
|
|
5075
5141
|
"allowNo": false,
|
|
5076
5142
|
"type": "boolean"
|
|
5077
5143
|
},
|
|
5078
|
-
"
|
|
5079
|
-
"
|
|
5080
|
-
"
|
|
5144
|
+
"yes": {
|
|
5145
|
+
"char": "y",
|
|
5146
|
+
"description": "Answer yes to confirmation prompts",
|
|
5147
|
+
"name": "yes",
|
|
5148
|
+
"allowNo": false,
|
|
5149
|
+
"type": "boolean"
|
|
5150
|
+
},
|
|
5151
|
+
"local-only": {
|
|
5152
|
+
"description": "Untrack locally without deleting the option on WordPress",
|
|
5153
|
+
"name": "local-only",
|
|
5154
|
+
"allowNo": false,
|
|
5155
|
+
"type": "boolean"
|
|
5156
|
+
},
|
|
5157
|
+
"path": {
|
|
5158
|
+
"description": "Path to options directory (overrides project config)",
|
|
5159
|
+
"name": "path",
|
|
5081
5160
|
"hasDynamicHelp": false,
|
|
5082
5161
|
"multiple": false,
|
|
5083
5162
|
"type": "option"
|
|
@@ -5085,7 +5164,7 @@
|
|
|
5085
5164
|
},
|
|
5086
5165
|
"hasDynamicHelp": false,
|
|
5087
5166
|
"hiddenAliases": [],
|
|
5088
|
-
"id": "
|
|
5167
|
+
"id": "option:rm",
|
|
5089
5168
|
"pluginAlias": "@loopress/cli",
|
|
5090
5169
|
"pluginName": "@loopress/cli",
|
|
5091
5170
|
"pluginType": "core",
|
|
@@ -5111,16 +5190,24 @@
|
|
|
5111
5190
|
"relativePath": [
|
|
5112
5191
|
"dist",
|
|
5113
5192
|
"commands",
|
|
5114
|
-
"
|
|
5115
|
-
"
|
|
5193
|
+
"option",
|
|
5194
|
+
"rm.js"
|
|
5116
5195
|
]
|
|
5117
5196
|
},
|
|
5118
|
-
"
|
|
5197
|
+
"option:rollback": {
|
|
5119
5198
|
"aliases": [],
|
|
5120
|
-
"args": {
|
|
5121
|
-
|
|
5199
|
+
"args": {
|
|
5200
|
+
"path": {
|
|
5201
|
+
"description": "Path to options directory (overrides project config)",
|
|
5202
|
+
"name": "path"
|
|
5203
|
+
}
|
|
5204
|
+
},
|
|
5205
|
+
"description": "Restore tracked options to a snapshot taken automatically before an earlier `lps option push`",
|
|
5122
5206
|
"examples": [
|
|
5123
|
-
"$ lps
|
|
5207
|
+
"$ lps option rollback",
|
|
5208
|
+
"$ lps option rollback --list",
|
|
5209
|
+
"$ lps option rollback --to 1732000000000",
|
|
5210
|
+
"$ lps option rollback --dry-run"
|
|
5124
5211
|
],
|
|
5125
5212
|
"flags": {
|
|
5126
5213
|
"json": {
|
|
@@ -5136,11 +5223,38 @@
|
|
|
5136
5223
|
"hasDynamicHelp": false,
|
|
5137
5224
|
"multiple": false,
|
|
5138
5225
|
"type": "option"
|
|
5226
|
+
},
|
|
5227
|
+
"dry-run": {
|
|
5228
|
+
"char": "d",
|
|
5229
|
+
"description": "Show what would change without making changes",
|
|
5230
|
+
"name": "dry-run",
|
|
5231
|
+
"allowNo": false,
|
|
5232
|
+
"type": "boolean"
|
|
5233
|
+
},
|
|
5234
|
+
"yes": {
|
|
5235
|
+
"char": "y",
|
|
5236
|
+
"description": "Answer yes to confirmation prompts",
|
|
5237
|
+
"name": "yes",
|
|
5238
|
+
"allowNo": false,
|
|
5239
|
+
"type": "boolean"
|
|
5240
|
+
},
|
|
5241
|
+
"list": {
|
|
5242
|
+
"description": "List available snapshots instead of rolling back",
|
|
5243
|
+
"name": "list",
|
|
5244
|
+
"allowNo": false,
|
|
5245
|
+
"type": "boolean"
|
|
5246
|
+
},
|
|
5247
|
+
"to": {
|
|
5248
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
5249
|
+
"name": "to",
|
|
5250
|
+
"hasDynamicHelp": false,
|
|
5251
|
+
"multiple": false,
|
|
5252
|
+
"type": "option"
|
|
5139
5253
|
}
|
|
5140
5254
|
},
|
|
5141
5255
|
"hasDynamicHelp": false,
|
|
5142
5256
|
"hiddenAliases": [],
|
|
5143
|
-
"id": "
|
|
5257
|
+
"id": "option:rollback",
|
|
5144
5258
|
"pluginAlias": "@loopress/cli",
|
|
5145
5259
|
"pluginName": "@loopress/cli",
|
|
5146
5260
|
"pluginType": "core",
|
|
@@ -5166,17 +5280,23 @@
|
|
|
5166
5280
|
"relativePath": [
|
|
5167
5281
|
"dist",
|
|
5168
5282
|
"commands",
|
|
5169
|
-
"
|
|
5170
|
-
"
|
|
5283
|
+
"option",
|
|
5284
|
+
"rollback.js"
|
|
5171
5285
|
]
|
|
5172
5286
|
},
|
|
5173
|
-
"
|
|
5287
|
+
"page:diff": {
|
|
5174
5288
|
"aliases": [],
|
|
5175
|
-
"args": {
|
|
5176
|
-
|
|
5289
|
+
"args": {
|
|
5290
|
+
"path": {
|
|
5291
|
+
"description": "Path to pages directory (overrides project config)",
|
|
5292
|
+
"name": "path"
|
|
5293
|
+
}
|
|
5294
|
+
},
|
|
5295
|
+
"description": "Show what differs in static pages between your local files and a WordPress environment, or between two environments",
|
|
5177
5296
|
"examples": [
|
|
5178
|
-
"$ lps
|
|
5179
|
-
"$ lps
|
|
5297
|
+
"$ lps page diff",
|
|
5298
|
+
"$ lps page diff --env staging",
|
|
5299
|
+
"$ lps page diff --env staging --against production"
|
|
5180
5300
|
],
|
|
5181
5301
|
"flags": {
|
|
5182
5302
|
"json": {
|
|
@@ -5193,31 +5313,17 @@
|
|
|
5193
5313
|
"multiple": false,
|
|
5194
5314
|
"type": "option"
|
|
5195
5315
|
},
|
|
5196
|
-
"
|
|
5197
|
-
"
|
|
5198
|
-
"
|
|
5199
|
-
"name": "dry-run",
|
|
5200
|
-
"allowNo": false,
|
|
5201
|
-
"type": "boolean"
|
|
5202
|
-
},
|
|
5203
|
-
"yes": {
|
|
5204
|
-
"char": "y",
|
|
5205
|
-
"description": "Answer yes to confirmation prompts",
|
|
5206
|
-
"name": "yes",
|
|
5207
|
-
"allowNo": false,
|
|
5208
|
-
"type": "boolean"
|
|
5209
|
-
},
|
|
5210
|
-
"plugin": {
|
|
5211
|
-
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
5212
|
-
"name": "plugin",
|
|
5316
|
+
"against": {
|
|
5317
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5318
|
+
"name": "against",
|
|
5213
5319
|
"hasDynamicHelp": false,
|
|
5214
|
-
"multiple":
|
|
5320
|
+
"multiple": false,
|
|
5215
5321
|
"type": "option"
|
|
5216
5322
|
}
|
|
5217
5323
|
},
|
|
5218
5324
|
"hasDynamicHelp": false,
|
|
5219
5325
|
"hiddenAliases": [],
|
|
5220
|
-
"id": "
|
|
5326
|
+
"id": "page:diff",
|
|
5221
5327
|
"pluginAlias": "@loopress/cli",
|
|
5222
5328
|
"pluginName": "@loopress/cli",
|
|
5223
5329
|
"pluginType": "core",
|
|
@@ -5239,22 +5345,28 @@
|
|
|
5239
5345
|
"type": "boolean"
|
|
5240
5346
|
}
|
|
5241
5347
|
},
|
|
5348
|
+
"againstFlag": {
|
|
5349
|
+
"against": {
|
|
5350
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5351
|
+
"input": [],
|
|
5352
|
+
"multiple": false,
|
|
5353
|
+
"type": "option"
|
|
5354
|
+
}
|
|
5355
|
+
},
|
|
5242
5356
|
"isESM": true,
|
|
5243
5357
|
"relativePath": [
|
|
5244
5358
|
"dist",
|
|
5245
5359
|
"commands",
|
|
5246
|
-
"
|
|
5247
|
-
"
|
|
5360
|
+
"page",
|
|
5361
|
+
"diff.js"
|
|
5248
5362
|
]
|
|
5249
5363
|
},
|
|
5250
|
-
"
|
|
5364
|
+
"page:list": {
|
|
5251
5365
|
"aliases": [],
|
|
5252
5366
|
"args": {},
|
|
5253
|
-
"description": "
|
|
5367
|
+
"description": "List the static pages managed by Loopress on WordPress",
|
|
5254
5368
|
"examples": [
|
|
5255
|
-
"$ lps
|
|
5256
|
-
"$ lps plugin push --dry-run",
|
|
5257
|
-
"$ lps plugin push --force --prune"
|
|
5369
|
+
"$ lps page list"
|
|
5258
5370
|
],
|
|
5259
5371
|
"flags": {
|
|
5260
5372
|
"json": {
|
|
@@ -5270,55 +5382,11 @@
|
|
|
5270
5382
|
"hasDynamicHelp": false,
|
|
5271
5383
|
"multiple": false,
|
|
5272
5384
|
"type": "option"
|
|
5273
|
-
},
|
|
5274
|
-
"overwrite": {
|
|
5275
|
-
"description": "Push even over changes made on the site outside Loopress since your last push. Pages: also take over a same-slug page Loopress did not create",
|
|
5276
|
-
"name": "overwrite",
|
|
5277
|
-
"allowNo": false,
|
|
5278
|
-
"type": "boolean"
|
|
5279
|
-
},
|
|
5280
|
-
"production-confirmed": {
|
|
5281
|
-
"hidden": true,
|
|
5282
|
-
"name": "production-confirmed",
|
|
5283
|
-
"allowNo": false,
|
|
5284
|
-
"type": "boolean"
|
|
5285
|
-
},
|
|
5286
|
-
"dry-run": {
|
|
5287
|
-
"char": "d",
|
|
5288
|
-
"description": "Show what would change without making changes",
|
|
5289
|
-
"name": "dry-run",
|
|
5290
|
-
"allowNo": false,
|
|
5291
|
-
"type": "boolean"
|
|
5292
|
-
},
|
|
5293
|
-
"yes": {
|
|
5294
|
-
"char": "y",
|
|
5295
|
-
"description": "Answer yes to confirmation prompts",
|
|
5296
|
-
"name": "yes",
|
|
5297
|
-
"allowNo": false,
|
|
5298
|
-
"type": "boolean"
|
|
5299
|
-
},
|
|
5300
|
-
"activate": {
|
|
5301
|
-
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
5302
|
-
"name": "activate",
|
|
5303
|
-
"allowNo": false,
|
|
5304
|
-
"type": "boolean"
|
|
5305
|
-
},
|
|
5306
|
-
"force": {
|
|
5307
|
-
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
5308
|
-
"name": "force",
|
|
5309
|
-
"allowNo": false,
|
|
5310
|
-
"type": "boolean"
|
|
5311
|
-
},
|
|
5312
|
-
"prune": {
|
|
5313
|
-
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
5314
|
-
"name": "prune",
|
|
5315
|
-
"allowNo": false,
|
|
5316
|
-
"type": "boolean"
|
|
5317
5385
|
}
|
|
5318
5386
|
},
|
|
5319
5387
|
"hasDynamicHelp": false,
|
|
5320
5388
|
"hiddenAliases": [],
|
|
5321
|
-
"id": "
|
|
5389
|
+
"id": "page:list",
|
|
5322
5390
|
"pluginAlias": "@loopress/cli",
|
|
5323
5391
|
"pluginName": "@loopress/cli",
|
|
5324
5392
|
"pluginType": "core",
|
|
@@ -5344,16 +5412,24 @@
|
|
|
5344
5412
|
"relativePath": [
|
|
5345
5413
|
"dist",
|
|
5346
5414
|
"commands",
|
|
5347
|
-
"
|
|
5348
|
-
"
|
|
5415
|
+
"page",
|
|
5416
|
+
"list.js"
|
|
5349
5417
|
]
|
|
5350
5418
|
},
|
|
5351
|
-
"
|
|
5419
|
+
"page:push": {
|
|
5352
5420
|
"aliases": [],
|
|
5353
|
-
"args": {
|
|
5354
|
-
|
|
5421
|
+
"args": {
|
|
5422
|
+
"slug": {
|
|
5423
|
+
"description": "Push only this page (its file name without .html). Pushes every page when omitted.",
|
|
5424
|
+
"name": "slug"
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5427
|
+
"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.",
|
|
5355
5428
|
"examples": [
|
|
5356
|
-
"$ lps
|
|
5429
|
+
"$ lps page push",
|
|
5430
|
+
"$ lps page push legal-notice",
|
|
5431
|
+
"$ lps page push --dry-run",
|
|
5432
|
+
"$ lps page push about --overwrite"
|
|
5357
5433
|
],
|
|
5358
5434
|
"flags": {
|
|
5359
5435
|
"json": {
|
|
@@ -5369,11 +5445,37 @@
|
|
|
5369
5445
|
"hasDynamicHelp": false,
|
|
5370
5446
|
"multiple": false,
|
|
5371
5447
|
"type": "option"
|
|
5448
|
+
},
|
|
5449
|
+
"overwrite": {
|
|
5450
|
+
"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",
|
|
5451
|
+
"name": "overwrite",
|
|
5452
|
+
"allowNo": false,
|
|
5453
|
+
"type": "boolean"
|
|
5454
|
+
},
|
|
5455
|
+
"production-confirmed": {
|
|
5456
|
+
"hidden": true,
|
|
5457
|
+
"name": "production-confirmed",
|
|
5458
|
+
"allowNo": false,
|
|
5459
|
+
"type": "boolean"
|
|
5460
|
+
},
|
|
5461
|
+
"dry-run": {
|
|
5462
|
+
"char": "d",
|
|
5463
|
+
"description": "Show what would change without making changes",
|
|
5464
|
+
"name": "dry-run",
|
|
5465
|
+
"allowNo": false,
|
|
5466
|
+
"type": "boolean"
|
|
5467
|
+
},
|
|
5468
|
+
"yes": {
|
|
5469
|
+
"char": "y",
|
|
5470
|
+
"description": "Answer yes to confirmation prompts",
|
|
5471
|
+
"name": "yes",
|
|
5472
|
+
"allowNo": false,
|
|
5473
|
+
"type": "boolean"
|
|
5372
5474
|
}
|
|
5373
5475
|
},
|
|
5374
5476
|
"hasDynamicHelp": false,
|
|
5375
5477
|
"hiddenAliases": [],
|
|
5376
|
-
"id": "
|
|
5478
|
+
"id": "page:push",
|
|
5377
5479
|
"pluginAlias": "@loopress/cli",
|
|
5378
5480
|
"pluginName": "@loopress/cli",
|
|
5379
5481
|
"pluginType": "core",
|
|
@@ -5399,8 +5501,8 @@
|
|
|
5399
5501
|
"relativePath": [
|
|
5400
5502
|
"dist",
|
|
5401
5503
|
"commands",
|
|
5402
|
-
"
|
|
5403
|
-
"
|
|
5504
|
+
"page",
|
|
5505
|
+
"push.js"
|
|
5404
5506
|
]
|
|
5405
5507
|
},
|
|
5406
5508
|
"pattern:diff": {
|
|
@@ -5863,36 +5965,89 @@
|
|
|
5863
5965
|
"rollback.js"
|
|
5864
5966
|
]
|
|
5865
5967
|
},
|
|
5866
|
-
"
|
|
5968
|
+
"plugin:add": {
|
|
5867
5969
|
"aliases": [],
|
|
5868
|
-
"args": {
|
|
5869
|
-
|
|
5970
|
+
"args": {
|
|
5971
|
+
"slug": {
|
|
5972
|
+
"description": "Plugin slug on WordPress.org",
|
|
5973
|
+
"name": "slug",
|
|
5974
|
+
"required": true
|
|
5975
|
+
}
|
|
5976
|
+
},
|
|
5977
|
+
"description": "Add a WordPress.org plugin to loopress.json",
|
|
5870
5978
|
"examples": [
|
|
5871
|
-
"$ lps
|
|
5979
|
+
"$ lps plugin add woocommerce",
|
|
5980
|
+
"$ lps plugin add woocommerce --version 9.4.2",
|
|
5981
|
+
"$ lps plugin add contact-form-7 --dry-run"
|
|
5872
5982
|
],
|
|
5873
|
-
"flags": {
|
|
5983
|
+
"flags": {
|
|
5984
|
+
"json": {
|
|
5985
|
+
"description": "Format output as json.",
|
|
5986
|
+
"helpGroup": "GLOBAL",
|
|
5987
|
+
"name": "json",
|
|
5988
|
+
"allowNo": false,
|
|
5989
|
+
"type": "boolean"
|
|
5990
|
+
},
|
|
5991
|
+
"env": {
|
|
5992
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5993
|
+
"name": "env",
|
|
5994
|
+
"hasDynamicHelp": false,
|
|
5995
|
+
"multiple": false,
|
|
5996
|
+
"type": "option"
|
|
5997
|
+
},
|
|
5998
|
+
"dry-run": {
|
|
5999
|
+
"char": "d",
|
|
6000
|
+
"description": "Show what would change without making changes",
|
|
6001
|
+
"name": "dry-run",
|
|
6002
|
+
"allowNo": false,
|
|
6003
|
+
"type": "boolean"
|
|
6004
|
+
},
|
|
6005
|
+
"version": {
|
|
6006
|
+
"description": "Exact version to pin (default: \"latest\", tracked on every push)",
|
|
6007
|
+
"name": "version",
|
|
6008
|
+
"hasDynamicHelp": false,
|
|
6009
|
+
"multiple": false,
|
|
6010
|
+
"type": "option"
|
|
6011
|
+
}
|
|
6012
|
+
},
|
|
5874
6013
|
"hasDynamicHelp": false,
|
|
5875
6014
|
"hiddenAliases": [],
|
|
5876
|
-
"id": "
|
|
6015
|
+
"id": "plugin:add",
|
|
5877
6016
|
"pluginAlias": "@loopress/cli",
|
|
5878
6017
|
"pluginName": "@loopress/cli",
|
|
5879
6018
|
"pluginType": "core",
|
|
5880
6019
|
"strict": true,
|
|
5881
|
-
"enableJsonFlag":
|
|
6020
|
+
"enableJsonFlag": true,
|
|
6021
|
+
"dryRunFlag": {
|
|
6022
|
+
"dry-run": {
|
|
6023
|
+
"char": "d",
|
|
6024
|
+
"description": "Show what would change without making changes",
|
|
6025
|
+
"allowNo": false,
|
|
6026
|
+
"type": "boolean"
|
|
6027
|
+
}
|
|
6028
|
+
},
|
|
6029
|
+
"yesFlag": {
|
|
6030
|
+
"yes": {
|
|
6031
|
+
"char": "y",
|
|
6032
|
+
"description": "Answer yes to confirmation prompts",
|
|
6033
|
+
"allowNo": false,
|
|
6034
|
+
"type": "boolean"
|
|
6035
|
+
}
|
|
6036
|
+
},
|
|
5882
6037
|
"isESM": true,
|
|
5883
6038
|
"relativePath": [
|
|
5884
6039
|
"dist",
|
|
5885
6040
|
"commands",
|
|
5886
|
-
"
|
|
5887
|
-
"
|
|
6041
|
+
"plugin",
|
|
6042
|
+
"add.js"
|
|
5888
6043
|
]
|
|
5889
6044
|
},
|
|
5890
|
-
"
|
|
6045
|
+
"plugin:audit": {
|
|
5891
6046
|
"aliases": [],
|
|
5892
6047
|
"args": {},
|
|
5893
|
-
"description": "
|
|
6048
|
+
"description": "Check the plugins in loopress.json for known vulnerabilities (wpvulnerability.net) and health issues",
|
|
5894
6049
|
"examples": [
|
|
5895
|
-
"$ lps
|
|
6050
|
+
"$ lps plugin audit"
|
|
5896
6051
|
],
|
|
5897
6052
|
"flags": {
|
|
5898
6053
|
"json": {
|
|
@@ -5901,37 +6056,349 @@
|
|
|
5901
6056
|
"name": "json",
|
|
5902
6057
|
"allowNo": false,
|
|
5903
6058
|
"type": "boolean"
|
|
6059
|
+
},
|
|
6060
|
+
"env": {
|
|
6061
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6062
|
+
"name": "env",
|
|
6063
|
+
"hasDynamicHelp": false,
|
|
6064
|
+
"multiple": false,
|
|
6065
|
+
"type": "option"
|
|
5904
6066
|
}
|
|
5905
6067
|
},
|
|
5906
6068
|
"hasDynamicHelp": false,
|
|
5907
6069
|
"hiddenAliases": [],
|
|
5908
|
-
"id": "
|
|
6070
|
+
"id": "plugin:audit",
|
|
5909
6071
|
"pluginAlias": "@loopress/cli",
|
|
5910
6072
|
"pluginName": "@loopress/cli",
|
|
5911
6073
|
"pluginType": "core",
|
|
5912
6074
|
"strict": true,
|
|
5913
6075
|
"enableJsonFlag": true,
|
|
6076
|
+
"dryRunFlag": {
|
|
6077
|
+
"dry-run": {
|
|
6078
|
+
"char": "d",
|
|
6079
|
+
"description": "Show what would change without making changes",
|
|
6080
|
+
"allowNo": false,
|
|
6081
|
+
"type": "boolean"
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"yesFlag": {
|
|
6085
|
+
"yes": {
|
|
6086
|
+
"char": "y",
|
|
6087
|
+
"description": "Answer yes to confirmation prompts",
|
|
6088
|
+
"allowNo": false,
|
|
6089
|
+
"type": "boolean"
|
|
6090
|
+
}
|
|
6091
|
+
},
|
|
5914
6092
|
"isESM": true,
|
|
5915
6093
|
"relativePath": [
|
|
5916
6094
|
"dist",
|
|
5917
6095
|
"commands",
|
|
5918
|
-
"
|
|
5919
|
-
"
|
|
6096
|
+
"plugin",
|
|
6097
|
+
"audit.js"
|
|
5920
6098
|
]
|
|
5921
6099
|
},
|
|
5922
|
-
"
|
|
6100
|
+
"plugin:pull": {
|
|
5923
6101
|
"aliases": [],
|
|
5924
6102
|
"args": {},
|
|
5925
|
-
"description": "Pull
|
|
6103
|
+
"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.",
|
|
5926
6104
|
"examples": [
|
|
5927
|
-
"$ lps
|
|
6105
|
+
"$ lps plugin pull",
|
|
6106
|
+
"$ lps plugin pull --env production --plugin query-monitor"
|
|
5928
6107
|
],
|
|
5929
|
-
"flags": {
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
6108
|
+
"flags": {
|
|
6109
|
+
"json": {
|
|
6110
|
+
"description": "Format output as json.",
|
|
6111
|
+
"helpGroup": "GLOBAL",
|
|
6112
|
+
"name": "json",
|
|
6113
|
+
"allowNo": false,
|
|
6114
|
+
"type": "boolean"
|
|
6115
|
+
},
|
|
6116
|
+
"env": {
|
|
6117
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6118
|
+
"name": "env",
|
|
6119
|
+
"hasDynamicHelp": false,
|
|
6120
|
+
"multiple": false,
|
|
6121
|
+
"type": "option"
|
|
6122
|
+
},
|
|
6123
|
+
"dry-run": {
|
|
6124
|
+
"char": "d",
|
|
6125
|
+
"description": "Show what would change without making changes",
|
|
6126
|
+
"name": "dry-run",
|
|
6127
|
+
"allowNo": false,
|
|
6128
|
+
"type": "boolean"
|
|
6129
|
+
},
|
|
6130
|
+
"yes": {
|
|
6131
|
+
"char": "y",
|
|
6132
|
+
"description": "Answer yes to confirmation prompts",
|
|
6133
|
+
"name": "yes",
|
|
6134
|
+
"allowNo": false,
|
|
6135
|
+
"type": "boolean"
|
|
6136
|
+
},
|
|
6137
|
+
"plugin": {
|
|
6138
|
+
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
6139
|
+
"name": "plugin",
|
|
6140
|
+
"hasDynamicHelp": false,
|
|
6141
|
+
"multiple": true,
|
|
6142
|
+
"type": "option"
|
|
6143
|
+
}
|
|
6144
|
+
},
|
|
6145
|
+
"hasDynamicHelp": false,
|
|
6146
|
+
"hiddenAliases": [],
|
|
6147
|
+
"id": "plugin:pull",
|
|
6148
|
+
"pluginAlias": "@loopress/cli",
|
|
6149
|
+
"pluginName": "@loopress/cli",
|
|
6150
|
+
"pluginType": "core",
|
|
6151
|
+
"strict": true,
|
|
6152
|
+
"enableJsonFlag": true,
|
|
6153
|
+
"dryRunFlag": {
|
|
6154
|
+
"dry-run": {
|
|
6155
|
+
"char": "d",
|
|
6156
|
+
"description": "Show what would change without making changes",
|
|
6157
|
+
"allowNo": false,
|
|
6158
|
+
"type": "boolean"
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
"yesFlag": {
|
|
6162
|
+
"yes": {
|
|
6163
|
+
"char": "y",
|
|
6164
|
+
"description": "Answer yes to confirmation prompts",
|
|
6165
|
+
"allowNo": false,
|
|
6166
|
+
"type": "boolean"
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
"isESM": true,
|
|
6170
|
+
"relativePath": [
|
|
6171
|
+
"dist",
|
|
6172
|
+
"commands",
|
|
6173
|
+
"plugin",
|
|
6174
|
+
"pull.js"
|
|
6175
|
+
]
|
|
6176
|
+
},
|
|
6177
|
+
"plugin:push": {
|
|
6178
|
+
"aliases": [],
|
|
6179
|
+
"args": {},
|
|
6180
|
+
"description": "Install WordPress.org plugins on WordPress to match loopress.json (active state included) or composer.json, via Composer + WPackagist",
|
|
6181
|
+
"examples": [
|
|
6182
|
+
"$ lps plugin push",
|
|
6183
|
+
"$ lps plugin push --dry-run",
|
|
6184
|
+
"$ lps plugin push --force --prune"
|
|
6185
|
+
],
|
|
6186
|
+
"flags": {
|
|
6187
|
+
"json": {
|
|
6188
|
+
"description": "Format output as json.",
|
|
6189
|
+
"helpGroup": "GLOBAL",
|
|
6190
|
+
"name": "json",
|
|
6191
|
+
"allowNo": false,
|
|
6192
|
+
"type": "boolean"
|
|
6193
|
+
},
|
|
6194
|
+
"env": {
|
|
6195
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6196
|
+
"name": "env",
|
|
6197
|
+
"hasDynamicHelp": false,
|
|
6198
|
+
"multiple": false,
|
|
6199
|
+
"type": "option"
|
|
6200
|
+
},
|
|
6201
|
+
"overwrite": {
|
|
6202
|
+
"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",
|
|
6203
|
+
"name": "overwrite",
|
|
6204
|
+
"allowNo": false,
|
|
6205
|
+
"type": "boolean"
|
|
6206
|
+
},
|
|
6207
|
+
"production-confirmed": {
|
|
6208
|
+
"hidden": true,
|
|
6209
|
+
"name": "production-confirmed",
|
|
6210
|
+
"allowNo": false,
|
|
6211
|
+
"type": "boolean"
|
|
6212
|
+
},
|
|
6213
|
+
"dry-run": {
|
|
6214
|
+
"char": "d",
|
|
6215
|
+
"description": "Show what would change without making changes",
|
|
6216
|
+
"name": "dry-run",
|
|
6217
|
+
"allowNo": false,
|
|
6218
|
+
"type": "boolean"
|
|
6219
|
+
},
|
|
6220
|
+
"yes": {
|
|
6221
|
+
"char": "y",
|
|
6222
|
+
"description": "Answer yes to confirmation prompts",
|
|
6223
|
+
"name": "yes",
|
|
6224
|
+
"allowNo": false,
|
|
6225
|
+
"type": "boolean"
|
|
6226
|
+
},
|
|
6227
|
+
"activate": {
|
|
6228
|
+
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
6229
|
+
"name": "activate",
|
|
6230
|
+
"allowNo": false,
|
|
6231
|
+
"type": "boolean"
|
|
6232
|
+
},
|
|
6233
|
+
"force": {
|
|
6234
|
+
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
6235
|
+
"name": "force",
|
|
6236
|
+
"allowNo": false,
|
|
6237
|
+
"type": "boolean"
|
|
6238
|
+
},
|
|
6239
|
+
"prune": {
|
|
6240
|
+
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
6241
|
+
"name": "prune",
|
|
6242
|
+
"allowNo": false,
|
|
6243
|
+
"type": "boolean"
|
|
6244
|
+
}
|
|
6245
|
+
},
|
|
6246
|
+
"hasDynamicHelp": false,
|
|
6247
|
+
"hiddenAliases": [],
|
|
6248
|
+
"id": "plugin:push",
|
|
6249
|
+
"pluginAlias": "@loopress/cli",
|
|
6250
|
+
"pluginName": "@loopress/cli",
|
|
6251
|
+
"pluginType": "core",
|
|
6252
|
+
"strict": true,
|
|
6253
|
+
"enableJsonFlag": true,
|
|
6254
|
+
"dryRunFlag": {
|
|
6255
|
+
"dry-run": {
|
|
6256
|
+
"char": "d",
|
|
6257
|
+
"description": "Show what would change without making changes",
|
|
6258
|
+
"allowNo": false,
|
|
6259
|
+
"type": "boolean"
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
6262
|
+
"yesFlag": {
|
|
6263
|
+
"yes": {
|
|
6264
|
+
"char": "y",
|
|
6265
|
+
"description": "Answer yes to confirmation prompts",
|
|
6266
|
+
"allowNo": false,
|
|
6267
|
+
"type": "boolean"
|
|
6268
|
+
}
|
|
6269
|
+
},
|
|
6270
|
+
"isESM": true,
|
|
6271
|
+
"relativePath": [
|
|
6272
|
+
"dist",
|
|
6273
|
+
"commands",
|
|
6274
|
+
"plugin",
|
|
6275
|
+
"push.js"
|
|
6276
|
+
]
|
|
6277
|
+
},
|
|
6278
|
+
"plugin:status": {
|
|
6279
|
+
"aliases": [],
|
|
6280
|
+
"args": {},
|
|
6281
|
+
"description": "Compare the plugins on WordPress against loopress.json and report drift (missing, wrong version, inactive, untracked)",
|
|
6282
|
+
"examples": [
|
|
6283
|
+
"$ lps plugin status"
|
|
6284
|
+
],
|
|
6285
|
+
"flags": {
|
|
6286
|
+
"json": {
|
|
6287
|
+
"description": "Format output as json.",
|
|
6288
|
+
"helpGroup": "GLOBAL",
|
|
6289
|
+
"name": "json",
|
|
6290
|
+
"allowNo": false,
|
|
6291
|
+
"type": "boolean"
|
|
6292
|
+
},
|
|
6293
|
+
"env": {
|
|
6294
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6295
|
+
"name": "env",
|
|
6296
|
+
"hasDynamicHelp": false,
|
|
6297
|
+
"multiple": false,
|
|
6298
|
+
"type": "option"
|
|
6299
|
+
}
|
|
6300
|
+
},
|
|
6301
|
+
"hasDynamicHelp": false,
|
|
6302
|
+
"hiddenAliases": [],
|
|
6303
|
+
"id": "plugin:status",
|
|
6304
|
+
"pluginAlias": "@loopress/cli",
|
|
6305
|
+
"pluginName": "@loopress/cli",
|
|
6306
|
+
"pluginType": "core",
|
|
6307
|
+
"strict": true,
|
|
6308
|
+
"enableJsonFlag": true,
|
|
6309
|
+
"dryRunFlag": {
|
|
6310
|
+
"dry-run": {
|
|
6311
|
+
"char": "d",
|
|
6312
|
+
"description": "Show what would change without making changes",
|
|
6313
|
+
"allowNo": false,
|
|
6314
|
+
"type": "boolean"
|
|
6315
|
+
}
|
|
6316
|
+
},
|
|
6317
|
+
"yesFlag": {
|
|
6318
|
+
"yes": {
|
|
6319
|
+
"char": "y",
|
|
6320
|
+
"description": "Answer yes to confirmation prompts",
|
|
6321
|
+
"allowNo": false,
|
|
6322
|
+
"type": "boolean"
|
|
6323
|
+
}
|
|
6324
|
+
},
|
|
6325
|
+
"isESM": true,
|
|
6326
|
+
"relativePath": [
|
|
6327
|
+
"dist",
|
|
6328
|
+
"commands",
|
|
6329
|
+
"plugin",
|
|
6330
|
+
"status.js"
|
|
6331
|
+
]
|
|
6332
|
+
},
|
|
6333
|
+
"project:config": {
|
|
6334
|
+
"aliases": [],
|
|
6335
|
+
"args": {},
|
|
6336
|
+
"description": "Add or update a WordPress project environment. By default, authorizes via WordPress in your browser; manual username/Application Password entry is available as a fallback.",
|
|
6337
|
+
"examples": [
|
|
6338
|
+
"$ lps project config"
|
|
6339
|
+
],
|
|
6340
|
+
"flags": {},
|
|
6341
|
+
"hasDynamicHelp": false,
|
|
6342
|
+
"hiddenAliases": [],
|
|
6343
|
+
"id": "project:config",
|
|
6344
|
+
"pluginAlias": "@loopress/cli",
|
|
6345
|
+
"pluginName": "@loopress/cli",
|
|
6346
|
+
"pluginType": "core",
|
|
6347
|
+
"strict": true,
|
|
6348
|
+
"enableJsonFlag": false,
|
|
6349
|
+
"isESM": true,
|
|
6350
|
+
"relativePath": [
|
|
6351
|
+
"dist",
|
|
6352
|
+
"commands",
|
|
6353
|
+
"project",
|
|
6354
|
+
"config.js"
|
|
6355
|
+
]
|
|
6356
|
+
},
|
|
6357
|
+
"project:list": {
|
|
6358
|
+
"aliases": [],
|
|
6359
|
+
"args": {},
|
|
6360
|
+
"description": "List configured WordPress projects",
|
|
6361
|
+
"examples": [
|
|
6362
|
+
"$ lps project list"
|
|
6363
|
+
],
|
|
6364
|
+
"flags": {
|
|
6365
|
+
"json": {
|
|
6366
|
+
"description": "Format output as json.",
|
|
6367
|
+
"helpGroup": "GLOBAL",
|
|
6368
|
+
"name": "json",
|
|
6369
|
+
"allowNo": false,
|
|
6370
|
+
"type": "boolean"
|
|
6371
|
+
}
|
|
6372
|
+
},
|
|
6373
|
+
"hasDynamicHelp": false,
|
|
6374
|
+
"hiddenAliases": [],
|
|
6375
|
+
"id": "project:list",
|
|
6376
|
+
"pluginAlias": "@loopress/cli",
|
|
6377
|
+
"pluginName": "@loopress/cli",
|
|
6378
|
+
"pluginType": "core",
|
|
6379
|
+
"strict": true,
|
|
6380
|
+
"enableJsonFlag": true,
|
|
6381
|
+
"isESM": true,
|
|
6382
|
+
"relativePath": [
|
|
6383
|
+
"dist",
|
|
6384
|
+
"commands",
|
|
6385
|
+
"project",
|
|
6386
|
+
"list.js"
|
|
6387
|
+
]
|
|
6388
|
+
},
|
|
6389
|
+
"project:pull": {
|
|
6390
|
+
"aliases": [],
|
|
6391
|
+
"args": {},
|
|
6392
|
+
"description": "Pull projects and environments from your Loopress account that are not configured locally yet",
|
|
6393
|
+
"examples": [
|
|
6394
|
+
"$ lps project pull"
|
|
6395
|
+
],
|
|
6396
|
+
"flags": {},
|
|
6397
|
+
"hasDynamicHelp": false,
|
|
6398
|
+
"hiddenAliases": [],
|
|
6399
|
+
"id": "project:pull",
|
|
6400
|
+
"pluginAlias": "@loopress/cli",
|
|
6401
|
+
"pluginName": "@loopress/cli",
|
|
5935
6402
|
"pluginType": "core",
|
|
5936
6403
|
"strict": true,
|
|
5937
6404
|
"enableJsonFlag": false,
|
|
@@ -5975,17 +6442,19 @@
|
|
|
5975
6442
|
"push.js"
|
|
5976
6443
|
]
|
|
5977
6444
|
},
|
|
5978
|
-
"project:
|
|
5979
|
-
"aliases": [
|
|
6445
|
+
"project:rm": {
|
|
6446
|
+
"aliases": [
|
|
6447
|
+
"project:remove"
|
|
6448
|
+
],
|
|
5980
6449
|
"args": {},
|
|
5981
6450
|
"description": "Remove one or more WordPress projects or environments",
|
|
5982
6451
|
"examples": [
|
|
5983
|
-
"$ lps project
|
|
6452
|
+
"$ lps project rm"
|
|
5984
6453
|
],
|
|
5985
6454
|
"flags": {},
|
|
5986
6455
|
"hasDynamicHelp": false,
|
|
5987
6456
|
"hiddenAliases": [],
|
|
5988
|
-
"id": "project:
|
|
6457
|
+
"id": "project:rm",
|
|
5989
6458
|
"pluginAlias": "@loopress/cli",
|
|
5990
6459
|
"pluginName": "@loopress/cli",
|
|
5991
6460
|
"pluginType": "core",
|
|
@@ -5996,7 +6465,7 @@
|
|
|
5996
6465
|
"dist",
|
|
5997
6466
|
"commands",
|
|
5998
6467
|
"project",
|
|
5999
|
-
"
|
|
6468
|
+
"rm.js"
|
|
6000
6469
|
]
|
|
6001
6470
|
},
|
|
6002
6471
|
"project:rotate": {
|
|
@@ -6994,19 +7463,19 @@
|
|
|
6994
7463
|
"enable.js"
|
|
6995
7464
|
]
|
|
6996
7465
|
},
|
|
6997
|
-
"
|
|
7466
|
+
"theme:activate": {
|
|
6998
7467
|
"aliases": [],
|
|
6999
7468
|
"args": {
|
|
7000
|
-
"
|
|
7001
|
-
"description": "
|
|
7002
|
-
"name": "
|
|
7469
|
+
"stylesheet": {
|
|
7470
|
+
"description": "Theme to activate (default: the Loopress child theme, <parent>-loopress)",
|
|
7471
|
+
"name": "stylesheet"
|
|
7003
7472
|
}
|
|
7004
7473
|
},
|
|
7005
|
-
"description": "
|
|
7474
|
+
"description": "Activate a theme on WordPress, the Loopress child theme by default. A child theme without settings of its own starts from a copy of its parent's theme mods and Global Styles. Set \"activateChildTheme\": true in loopress.json to have `lps theme template push` keep the child active.",
|
|
7006
7475
|
"examples": [
|
|
7007
|
-
"$ lps
|
|
7008
|
-
"$ lps
|
|
7009
|
-
"$ lps
|
|
7476
|
+
"$ lps theme activate",
|
|
7477
|
+
"$ lps theme activate twentytwentyfive --env staging",
|
|
7478
|
+
"$ lps theme activate --dry-run"
|
|
7010
7479
|
],
|
|
7011
7480
|
"flags": {
|
|
7012
7481
|
"json": {
|
|
@@ -7023,17 +7492,24 @@
|
|
|
7023
7492
|
"multiple": false,
|
|
7024
7493
|
"type": "option"
|
|
7025
7494
|
},
|
|
7026
|
-
"
|
|
7027
|
-
"
|
|
7028
|
-
"
|
|
7029
|
-
"
|
|
7030
|
-
"
|
|
7031
|
-
"type": "
|
|
7495
|
+
"dry-run": {
|
|
7496
|
+
"char": "d",
|
|
7497
|
+
"description": "Show what would change without making changes",
|
|
7498
|
+
"name": "dry-run",
|
|
7499
|
+
"allowNo": false,
|
|
7500
|
+
"type": "boolean"
|
|
7501
|
+
},
|
|
7502
|
+
"yes": {
|
|
7503
|
+
"char": "y",
|
|
7504
|
+
"description": "Answer yes to confirmation prompts",
|
|
7505
|
+
"name": "yes",
|
|
7506
|
+
"allowNo": false,
|
|
7507
|
+
"type": "boolean"
|
|
7032
7508
|
}
|
|
7033
7509
|
},
|
|
7034
7510
|
"hasDynamicHelp": false,
|
|
7035
7511
|
"hiddenAliases": [],
|
|
7036
|
-
"id": "
|
|
7512
|
+
"id": "theme:activate",
|
|
7037
7513
|
"pluginAlias": "@loopress/cli",
|
|
7038
7514
|
"pluginName": "@loopress/cli",
|
|
7039
7515
|
"pluginType": "core",
|
|
@@ -7055,28 +7531,27 @@
|
|
|
7055
7531
|
"type": "boolean"
|
|
7056
7532
|
}
|
|
7057
7533
|
},
|
|
7058
|
-
"againstFlag": {
|
|
7059
|
-
"against": {
|
|
7060
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7061
|
-
"input": [],
|
|
7062
|
-
"multiple": false,
|
|
7063
|
-
"type": "option"
|
|
7064
|
-
}
|
|
7065
|
-
},
|
|
7066
7534
|
"isESM": true,
|
|
7067
7535
|
"relativePath": [
|
|
7068
7536
|
"dist",
|
|
7069
7537
|
"commands",
|
|
7070
|
-
"
|
|
7071
|
-
"
|
|
7538
|
+
"theme",
|
|
7539
|
+
"activate.js"
|
|
7072
7540
|
]
|
|
7073
7541
|
},
|
|
7074
|
-
"
|
|
7542
|
+
"theme:add": {
|
|
7075
7543
|
"aliases": [],
|
|
7076
|
-
"args": {
|
|
7077
|
-
|
|
7544
|
+
"args": {
|
|
7545
|
+
"slug": {
|
|
7546
|
+
"description": "Theme slug on WordPress.org",
|
|
7547
|
+
"name": "slug",
|
|
7548
|
+
"required": true
|
|
7549
|
+
}
|
|
7550
|
+
},
|
|
7551
|
+
"description": "Add a WordPress.org theme to loopress.json",
|
|
7078
7552
|
"examples": [
|
|
7079
|
-
"$ lps
|
|
7553
|
+
"$ lps theme add generatepress",
|
|
7554
|
+
"$ lps theme add generatepress --version 3.4.0"
|
|
7080
7555
|
],
|
|
7081
7556
|
"flags": {
|
|
7082
7557
|
"json": {
|
|
@@ -7092,11 +7567,25 @@
|
|
|
7092
7567
|
"hasDynamicHelp": false,
|
|
7093
7568
|
"multiple": false,
|
|
7094
7569
|
"type": "option"
|
|
7570
|
+
},
|
|
7571
|
+
"dry-run": {
|
|
7572
|
+
"char": "d",
|
|
7573
|
+
"description": "Show what would change without making changes",
|
|
7574
|
+
"name": "dry-run",
|
|
7575
|
+
"allowNo": false,
|
|
7576
|
+
"type": "boolean"
|
|
7577
|
+
},
|
|
7578
|
+
"version": {
|
|
7579
|
+
"description": "Exact version to pin (default: \"latest\")",
|
|
7580
|
+
"name": "version",
|
|
7581
|
+
"hasDynamicHelp": false,
|
|
7582
|
+
"multiple": false,
|
|
7583
|
+
"type": "option"
|
|
7095
7584
|
}
|
|
7096
7585
|
},
|
|
7097
7586
|
"hasDynamicHelp": false,
|
|
7098
7587
|
"hiddenAliases": [],
|
|
7099
|
-
"id": "
|
|
7588
|
+
"id": "theme:add",
|
|
7100
7589
|
"pluginAlias": "@loopress/cli",
|
|
7101
7590
|
"pluginName": "@loopress/cli",
|
|
7102
7591
|
"pluginType": "core",
|
|
@@ -7122,21 +7611,18 @@
|
|
|
7122
7611
|
"relativePath": [
|
|
7123
7612
|
"dist",
|
|
7124
7613
|
"commands",
|
|
7125
|
-
"
|
|
7126
|
-
"
|
|
7614
|
+
"theme",
|
|
7615
|
+
"add.js"
|
|
7127
7616
|
]
|
|
7128
7617
|
},
|
|
7129
|
-
"
|
|
7618
|
+
"theme:pull": {
|
|
7130
7619
|
"aliases": [],
|
|
7131
|
-
"args": {
|
|
7132
|
-
|
|
7133
|
-
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7134
|
-
"name": "path"
|
|
7135
|
-
}
|
|
7136
|
-
},
|
|
7137
|
-
"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`.",
|
|
7620
|
+
"args": {},
|
|
7621
|
+
"description": "Pull everything theme related from WordPress: theme versions into loopress.json, then Global Styles into a local file",
|
|
7138
7622
|
"examples": [
|
|
7139
|
-
"$ lps
|
|
7623
|
+
"$ lps theme pull",
|
|
7624
|
+
"$ lps theme pull --env staging",
|
|
7625
|
+
"$ lps theme pull --dry-run"
|
|
7140
7626
|
],
|
|
7141
7627
|
"flags": {
|
|
7142
7628
|
"json": {
|
|
@@ -7159,18 +7645,11 @@
|
|
|
7159
7645
|
"name": "dry-run",
|
|
7160
7646
|
"allowNo": false,
|
|
7161
7647
|
"type": "boolean"
|
|
7162
|
-
},
|
|
7163
|
-
"yes": {
|
|
7164
|
-
"char": "y",
|
|
7165
|
-
"description": "Answer yes to confirmation prompts",
|
|
7166
|
-
"name": "yes",
|
|
7167
|
-
"allowNo": false,
|
|
7168
|
-
"type": "boolean"
|
|
7169
7648
|
}
|
|
7170
7649
|
},
|
|
7171
7650
|
"hasDynamicHelp": false,
|
|
7172
7651
|
"hiddenAliases": [],
|
|
7173
|
-
"id": "
|
|
7652
|
+
"id": "theme:pull",
|
|
7174
7653
|
"pluginAlias": "@loopress/cli",
|
|
7175
7654
|
"pluginName": "@loopress/cli",
|
|
7176
7655
|
"pluginType": "core",
|
|
@@ -7196,21 +7675,18 @@
|
|
|
7196
7675
|
"relativePath": [
|
|
7197
7676
|
"dist",
|
|
7198
7677
|
"commands",
|
|
7199
|
-
"
|
|
7678
|
+
"theme",
|
|
7200
7679
|
"pull.js"
|
|
7201
7680
|
]
|
|
7202
7681
|
},
|
|
7203
|
-
"
|
|
7682
|
+
"theme:push": {
|
|
7204
7683
|
"aliases": [],
|
|
7205
|
-
"args": {
|
|
7206
|
-
|
|
7207
|
-
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7208
|
-
"name": "path"
|
|
7209
|
-
}
|
|
7210
|
-
},
|
|
7211
|
-
"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.",
|
|
7684
|
+
"args": {},
|
|
7685
|
+
"description": "Push everything theme related to WordPress: theme versions from loopress.json, then block templates and parts, then Global Styles. Switches the active theme only to the Loopress child, when loopress.json sets \"activateChildTheme\": true.",
|
|
7212
7686
|
"examples": [
|
|
7213
|
-
"$ lps
|
|
7687
|
+
"$ lps theme push",
|
|
7688
|
+
"$ lps theme push --env staging",
|
|
7689
|
+
"$ lps theme push --dry-run"
|
|
7214
7690
|
],
|
|
7215
7691
|
"flags": {
|
|
7216
7692
|
"json": {
|
|
@@ -7227,36 +7703,85 @@
|
|
|
7227
7703
|
"multiple": false,
|
|
7228
7704
|
"type": "option"
|
|
7229
7705
|
},
|
|
7230
|
-
"
|
|
7231
|
-
"
|
|
7232
|
-
"
|
|
7706
|
+
"dry-run": {
|
|
7707
|
+
"char": "d",
|
|
7708
|
+
"description": "Show what would change without making changes",
|
|
7709
|
+
"name": "dry-run",
|
|
7233
7710
|
"allowNo": false,
|
|
7234
7711
|
"type": "boolean"
|
|
7235
7712
|
},
|
|
7236
|
-
"
|
|
7237
|
-
"
|
|
7238
|
-
"
|
|
7713
|
+
"yes": {
|
|
7714
|
+
"char": "y",
|
|
7715
|
+
"description": "Answer yes to confirmation prompts",
|
|
7716
|
+
"name": "yes",
|
|
7239
7717
|
"allowNo": false,
|
|
7240
7718
|
"type": "boolean"
|
|
7241
7719
|
},
|
|
7720
|
+
"force": {
|
|
7721
|
+
"description": "Passed to `lps theme version push`",
|
|
7722
|
+
"name": "force",
|
|
7723
|
+
"allowNo": false,
|
|
7724
|
+
"type": "boolean"
|
|
7725
|
+
}
|
|
7726
|
+
},
|
|
7727
|
+
"hasDynamicHelp": false,
|
|
7728
|
+
"hiddenAliases": [],
|
|
7729
|
+
"id": "theme:push",
|
|
7730
|
+
"pluginAlias": "@loopress/cli",
|
|
7731
|
+
"pluginName": "@loopress/cli",
|
|
7732
|
+
"pluginType": "core",
|
|
7733
|
+
"strict": true,
|
|
7734
|
+
"enableJsonFlag": true,
|
|
7735
|
+
"dryRunFlag": {
|
|
7242
7736
|
"dry-run": {
|
|
7243
7737
|
"char": "d",
|
|
7244
7738
|
"description": "Show what would change without making changes",
|
|
7245
|
-
"name": "dry-run",
|
|
7246
7739
|
"allowNo": false,
|
|
7247
7740
|
"type": "boolean"
|
|
7248
|
-
}
|
|
7741
|
+
}
|
|
7742
|
+
},
|
|
7743
|
+
"yesFlag": {
|
|
7249
7744
|
"yes": {
|
|
7250
7745
|
"char": "y",
|
|
7251
7746
|
"description": "Answer yes to confirmation prompts",
|
|
7252
|
-
"name": "yes",
|
|
7253
7747
|
"allowNo": false,
|
|
7254
7748
|
"type": "boolean"
|
|
7255
7749
|
}
|
|
7256
7750
|
},
|
|
7751
|
+
"isESM": true,
|
|
7752
|
+
"relativePath": [
|
|
7753
|
+
"dist",
|
|
7754
|
+
"commands",
|
|
7755
|
+
"theme",
|
|
7756
|
+
"push.js"
|
|
7757
|
+
]
|
|
7758
|
+
},
|
|
7759
|
+
"theme:status": {
|
|
7760
|
+
"aliases": [],
|
|
7761
|
+
"args": {},
|
|
7762
|
+
"description": "Compare the themes on WordPress against loopress.json and report version drift",
|
|
7763
|
+
"examples": [
|
|
7764
|
+
"$ lps theme status"
|
|
7765
|
+
],
|
|
7766
|
+
"flags": {
|
|
7767
|
+
"json": {
|
|
7768
|
+
"description": "Format output as json.",
|
|
7769
|
+
"helpGroup": "GLOBAL",
|
|
7770
|
+
"name": "json",
|
|
7771
|
+
"allowNo": false,
|
|
7772
|
+
"type": "boolean"
|
|
7773
|
+
},
|
|
7774
|
+
"env": {
|
|
7775
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
7776
|
+
"name": "env",
|
|
7777
|
+
"hasDynamicHelp": false,
|
|
7778
|
+
"multiple": false,
|
|
7779
|
+
"type": "option"
|
|
7780
|
+
}
|
|
7781
|
+
},
|
|
7257
7782
|
"hasDynamicHelp": false,
|
|
7258
7783
|
"hiddenAliases": [],
|
|
7259
|
-
"id": "
|
|
7784
|
+
"id": "theme:status",
|
|
7260
7785
|
"pluginAlias": "@loopress/cli",
|
|
7261
7786
|
"pluginName": "@loopress/cli",
|
|
7262
7787
|
"pluginType": "core",
|
|
@@ -7282,25 +7807,23 @@
|
|
|
7282
7807
|
"relativePath": [
|
|
7283
7808
|
"dist",
|
|
7284
7809
|
"commands",
|
|
7285
|
-
"
|
|
7286
|
-
"
|
|
7810
|
+
"theme",
|
|
7811
|
+
"status.js"
|
|
7287
7812
|
]
|
|
7288
7813
|
},
|
|
7289
|
-
"taxonomy:
|
|
7290
|
-
"aliases": [
|
|
7291
|
-
"taxonomy:remove"
|
|
7292
|
-
],
|
|
7814
|
+
"taxonomy:diff": {
|
|
7815
|
+
"aliases": [],
|
|
7293
7816
|
"args": {
|
|
7294
|
-
"
|
|
7295
|
-
"description": "
|
|
7296
|
-
"name": "
|
|
7297
|
-
"required": true
|
|
7817
|
+
"path": {
|
|
7818
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
7819
|
+
"name": "path"
|
|
7298
7820
|
}
|
|
7299
7821
|
},
|
|
7300
|
-
"description": "
|
|
7822
|
+
"description": "Show what differs in taxonomies between your local taxonomies/ files and a WordPress environment, or between two environments",
|
|
7301
7823
|
"examples": [
|
|
7302
|
-
"$ lps taxonomy
|
|
7303
|
-
"$ lps taxonomy
|
|
7824
|
+
"$ lps taxonomy diff",
|
|
7825
|
+
"$ lps taxonomy diff --env staging",
|
|
7826
|
+
"$ lps taxonomy diff --env staging --against production"
|
|
7304
7827
|
],
|
|
7305
7828
|
"flags": {
|
|
7306
7829
|
"json": {
|
|
@@ -7317,24 +7840,17 @@
|
|
|
7317
7840
|
"multiple": false,
|
|
7318
7841
|
"type": "option"
|
|
7319
7842
|
},
|
|
7320
|
-
"
|
|
7321
|
-
"
|
|
7322
|
-
"
|
|
7323
|
-
"
|
|
7324
|
-
"
|
|
7325
|
-
"type": "
|
|
7326
|
-
},
|
|
7327
|
-
"yes": {
|
|
7328
|
-
"char": "y",
|
|
7329
|
-
"description": "Answer yes to confirmation prompts",
|
|
7330
|
-
"name": "yes",
|
|
7331
|
-
"allowNo": false,
|
|
7332
|
-
"type": "boolean"
|
|
7843
|
+
"against": {
|
|
7844
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7845
|
+
"name": "against",
|
|
7846
|
+
"hasDynamicHelp": false,
|
|
7847
|
+
"multiple": false,
|
|
7848
|
+
"type": "option"
|
|
7333
7849
|
}
|
|
7334
7850
|
},
|
|
7335
7851
|
"hasDynamicHelp": false,
|
|
7336
7852
|
"hiddenAliases": [],
|
|
7337
|
-
"id": "taxonomy:
|
|
7853
|
+
"id": "taxonomy:diff",
|
|
7338
7854
|
"pluginAlias": "@loopress/cli",
|
|
7339
7855
|
"pluginName": "@loopress/cli",
|
|
7340
7856
|
"pluginType": "core",
|
|
@@ -7356,28 +7872,28 @@
|
|
|
7356
7872
|
"type": "boolean"
|
|
7357
7873
|
}
|
|
7358
7874
|
},
|
|
7875
|
+
"againstFlag": {
|
|
7876
|
+
"against": {
|
|
7877
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
7878
|
+
"input": [],
|
|
7879
|
+
"multiple": false,
|
|
7880
|
+
"type": "option"
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7359
7883
|
"isESM": true,
|
|
7360
7884
|
"relativePath": [
|
|
7361
7885
|
"dist",
|
|
7362
7886
|
"commands",
|
|
7363
7887
|
"taxonomy",
|
|
7364
|
-
"
|
|
7888
|
+
"diff.js"
|
|
7365
7889
|
]
|
|
7366
7890
|
},
|
|
7367
|
-
"taxonomy:
|
|
7891
|
+
"taxonomy:list": {
|
|
7368
7892
|
"aliases": [],
|
|
7369
|
-
"args": {
|
|
7370
|
-
|
|
7371
|
-
"description": "Path to taxonomies directory (overrides project config)",
|
|
7372
|
-
"name": "path"
|
|
7373
|
-
}
|
|
7374
|
-
},
|
|
7375
|
-
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7893
|
+
"args": {},
|
|
7894
|
+
"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.",
|
|
7376
7895
|
"examples": [
|
|
7377
|
-
"$ lps taxonomy
|
|
7378
|
-
"$ lps taxonomy rollback --list",
|
|
7379
|
-
"$ lps taxonomy rollback --to 1732000000000",
|
|
7380
|
-
"$ lps taxonomy rollback --dry-run"
|
|
7896
|
+
"$ lps taxonomy list"
|
|
7381
7897
|
],
|
|
7382
7898
|
"flags": {
|
|
7383
7899
|
"json": {
|
|
@@ -7393,38 +7909,11 @@
|
|
|
7393
7909
|
"hasDynamicHelp": false,
|
|
7394
7910
|
"multiple": false,
|
|
7395
7911
|
"type": "option"
|
|
7396
|
-
},
|
|
7397
|
-
"dry-run": {
|
|
7398
|
-
"char": "d",
|
|
7399
|
-
"description": "Show what would change without making changes",
|
|
7400
|
-
"name": "dry-run",
|
|
7401
|
-
"allowNo": false,
|
|
7402
|
-
"type": "boolean"
|
|
7403
|
-
},
|
|
7404
|
-
"yes": {
|
|
7405
|
-
"char": "y",
|
|
7406
|
-
"description": "Answer yes to confirmation prompts",
|
|
7407
|
-
"name": "yes",
|
|
7408
|
-
"allowNo": false,
|
|
7409
|
-
"type": "boolean"
|
|
7410
|
-
},
|
|
7411
|
-
"list": {
|
|
7412
|
-
"description": "List available snapshots instead of rolling back",
|
|
7413
|
-
"name": "list",
|
|
7414
|
-
"allowNo": false,
|
|
7415
|
-
"type": "boolean"
|
|
7416
|
-
},
|
|
7417
|
-
"to": {
|
|
7418
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
7419
|
-
"name": "to",
|
|
7420
|
-
"hasDynamicHelp": false,
|
|
7421
|
-
"multiple": false,
|
|
7422
|
-
"type": "option"
|
|
7423
7912
|
}
|
|
7424
7913
|
},
|
|
7425
7914
|
"hasDynamicHelp": false,
|
|
7426
7915
|
"hiddenAliases": [],
|
|
7427
|
-
"id": "taxonomy:
|
|
7916
|
+
"id": "taxonomy:list",
|
|
7428
7917
|
"pluginAlias": "@loopress/cli",
|
|
7429
7918
|
"pluginName": "@loopress/cli",
|
|
7430
7919
|
"pluginType": "core",
|
|
@@ -7451,22 +7940,20 @@
|
|
|
7451
7940
|
"dist",
|
|
7452
7941
|
"commands",
|
|
7453
7942
|
"taxonomy",
|
|
7454
|
-
"
|
|
7943
|
+
"list.js"
|
|
7455
7944
|
]
|
|
7456
7945
|
},
|
|
7457
|
-
"
|
|
7946
|
+
"taxonomy:pull": {
|
|
7458
7947
|
"aliases": [],
|
|
7459
7948
|
"args": {
|
|
7460
|
-
"
|
|
7461
|
-
"description": "
|
|
7462
|
-
"name": "
|
|
7463
|
-
"required": true
|
|
7949
|
+
"path": {
|
|
7950
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7951
|
+
"name": "path"
|
|
7464
7952
|
}
|
|
7465
7953
|
},
|
|
7466
|
-
"description": "
|
|
7954
|
+
"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`.",
|
|
7467
7955
|
"examples": [
|
|
7468
|
-
"$ lps
|
|
7469
|
-
"$ lps theme add generatepress --version 3.4.0"
|
|
7956
|
+
"$ lps taxonomy pull"
|
|
7470
7957
|
],
|
|
7471
7958
|
"flags": {
|
|
7472
7959
|
"json": {
|
|
@@ -7490,17 +7977,17 @@
|
|
|
7490
7977
|
"allowNo": false,
|
|
7491
7978
|
"type": "boolean"
|
|
7492
7979
|
},
|
|
7493
|
-
"
|
|
7494
|
-
"
|
|
7495
|
-
"
|
|
7496
|
-
"
|
|
7497
|
-
"
|
|
7498
|
-
"type": "
|
|
7980
|
+
"yes": {
|
|
7981
|
+
"char": "y",
|
|
7982
|
+
"description": "Answer yes to confirmation prompts",
|
|
7983
|
+
"name": "yes",
|
|
7984
|
+
"allowNo": false,
|
|
7985
|
+
"type": "boolean"
|
|
7499
7986
|
}
|
|
7500
7987
|
},
|
|
7501
7988
|
"hasDynamicHelp": false,
|
|
7502
7989
|
"hiddenAliases": [],
|
|
7503
|
-
"id": "
|
|
7990
|
+
"id": "taxonomy:pull",
|
|
7504
7991
|
"pluginAlias": "@loopress/cli",
|
|
7505
7992
|
"pluginName": "@loopress/cli",
|
|
7506
7993
|
"pluginType": "core",
|
|
@@ -7526,18 +8013,21 @@
|
|
|
7526
8013
|
"relativePath": [
|
|
7527
8014
|
"dist",
|
|
7528
8015
|
"commands",
|
|
7529
|
-
"
|
|
7530
|
-
"
|
|
8016
|
+
"taxonomy",
|
|
8017
|
+
"pull.js"
|
|
7531
8018
|
]
|
|
7532
8019
|
},
|
|
7533
|
-
"
|
|
8020
|
+
"taxonomy:push": {
|
|
7534
8021
|
"aliases": [],
|
|
7535
|
-
"args": {
|
|
7536
|
-
|
|
8022
|
+
"args": {
|
|
8023
|
+
"path": {
|
|
8024
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
8025
|
+
"name": "path"
|
|
8026
|
+
}
|
|
8027
|
+
},
|
|
8028
|
+
"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.",
|
|
7537
8029
|
"examples": [
|
|
7538
|
-
"$ lps
|
|
7539
|
-
"$ lps theme pull --env staging",
|
|
7540
|
-
"$ lps theme pull --dry-run"
|
|
8030
|
+
"$ lps taxonomy push"
|
|
7541
8031
|
],
|
|
7542
8032
|
"flags": {
|
|
7543
8033
|
"json": {
|
|
@@ -7554,17 +8044,36 @@
|
|
|
7554
8044
|
"multiple": false,
|
|
7555
8045
|
"type": "option"
|
|
7556
8046
|
},
|
|
8047
|
+
"overwrite": {
|
|
8048
|
+
"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",
|
|
8049
|
+
"name": "overwrite",
|
|
8050
|
+
"allowNo": false,
|
|
8051
|
+
"type": "boolean"
|
|
8052
|
+
},
|
|
8053
|
+
"production-confirmed": {
|
|
8054
|
+
"hidden": true,
|
|
8055
|
+
"name": "production-confirmed",
|
|
8056
|
+
"allowNo": false,
|
|
8057
|
+
"type": "boolean"
|
|
8058
|
+
},
|
|
7557
8059
|
"dry-run": {
|
|
7558
8060
|
"char": "d",
|
|
7559
8061
|
"description": "Show what would change without making changes",
|
|
7560
8062
|
"name": "dry-run",
|
|
7561
8063
|
"allowNo": false,
|
|
7562
8064
|
"type": "boolean"
|
|
8065
|
+
},
|
|
8066
|
+
"yes": {
|
|
8067
|
+
"char": "y",
|
|
8068
|
+
"description": "Answer yes to confirmation prompts",
|
|
8069
|
+
"name": "yes",
|
|
8070
|
+
"allowNo": false,
|
|
8071
|
+
"type": "boolean"
|
|
7563
8072
|
}
|
|
7564
8073
|
},
|
|
7565
8074
|
"hasDynamicHelp": false,
|
|
7566
8075
|
"hiddenAliases": [],
|
|
7567
|
-
"id": "
|
|
8076
|
+
"id": "taxonomy:push",
|
|
7568
8077
|
"pluginAlias": "@loopress/cli",
|
|
7569
8078
|
"pluginName": "@loopress/cli",
|
|
7570
8079
|
"pluginType": "core",
|
|
@@ -7590,18 +8099,25 @@
|
|
|
7590
8099
|
"relativePath": [
|
|
7591
8100
|
"dist",
|
|
7592
8101
|
"commands",
|
|
7593
|
-
"
|
|
7594
|
-
"
|
|
8102
|
+
"taxonomy",
|
|
8103
|
+
"push.js"
|
|
7595
8104
|
]
|
|
7596
8105
|
},
|
|
7597
|
-
"
|
|
7598
|
-
"aliases": [
|
|
7599
|
-
|
|
7600
|
-
|
|
8106
|
+
"taxonomy:rm": {
|
|
8107
|
+
"aliases": [
|
|
8108
|
+
"taxonomy:remove"
|
|
8109
|
+
],
|
|
8110
|
+
"args": {
|
|
8111
|
+
"slug": {
|
|
8112
|
+
"description": "The taxonomy slug, its taxonomies/ file name without .json",
|
|
8113
|
+
"name": "slug",
|
|
8114
|
+
"required": true
|
|
8115
|
+
}
|
|
8116
|
+
},
|
|
8117
|
+
"description": "Stop registering a Loopress taxonomy on WordPress. Its terms are kept in the database, hidden until the taxonomy is pushed again.",
|
|
7601
8118
|
"examples": [
|
|
7602
|
-
"$ lps
|
|
7603
|
-
"$ lps
|
|
7604
|
-
"$ lps theme push --dry-run"
|
|
8119
|
+
"$ lps taxonomy rm <slug>",
|
|
8120
|
+
"$ lps taxonomy remove <slug> --yes"
|
|
7605
8121
|
],
|
|
7606
8122
|
"flags": {
|
|
7607
8123
|
"json": {
|
|
@@ -7631,17 +8147,11 @@
|
|
|
7631
8147
|
"name": "yes",
|
|
7632
8148
|
"allowNo": false,
|
|
7633
8149
|
"type": "boolean"
|
|
7634
|
-
},
|
|
7635
|
-
"force": {
|
|
7636
|
-
"description": "Passed to `lps theme version push`",
|
|
7637
|
-
"name": "force",
|
|
7638
|
-
"allowNo": false,
|
|
7639
|
-
"type": "boolean"
|
|
7640
8150
|
}
|
|
7641
8151
|
},
|
|
7642
8152
|
"hasDynamicHelp": false,
|
|
7643
8153
|
"hiddenAliases": [],
|
|
7644
|
-
"id": "
|
|
8154
|
+
"id": "taxonomy:rm",
|
|
7645
8155
|
"pluginAlias": "@loopress/cli",
|
|
7646
8156
|
"pluginName": "@loopress/cli",
|
|
7647
8157
|
"pluginType": "core",
|
|
@@ -7667,16 +8177,24 @@
|
|
|
7667
8177
|
"relativePath": [
|
|
7668
8178
|
"dist",
|
|
7669
8179
|
"commands",
|
|
7670
|
-
"
|
|
7671
|
-
"
|
|
8180
|
+
"taxonomy",
|
|
8181
|
+
"rm.js"
|
|
7672
8182
|
]
|
|
7673
8183
|
},
|
|
7674
|
-
"
|
|
8184
|
+
"taxonomy:rollback": {
|
|
7675
8185
|
"aliases": [],
|
|
7676
|
-
"args": {
|
|
7677
|
-
|
|
8186
|
+
"args": {
|
|
8187
|
+
"path": {
|
|
8188
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
8189
|
+
"name": "path"
|
|
8190
|
+
}
|
|
8191
|
+
},
|
|
8192
|
+
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7678
8193
|
"examples": [
|
|
7679
|
-
"$ lps
|
|
8194
|
+
"$ lps taxonomy rollback",
|
|
8195
|
+
"$ lps taxonomy rollback --list",
|
|
8196
|
+
"$ lps taxonomy rollback --to 1732000000000",
|
|
8197
|
+
"$ lps taxonomy rollback --dry-run"
|
|
7680
8198
|
],
|
|
7681
8199
|
"flags": {
|
|
7682
8200
|
"json": {
|
|
@@ -7692,11 +8210,38 @@
|
|
|
7692
8210
|
"hasDynamicHelp": false,
|
|
7693
8211
|
"multiple": false,
|
|
7694
8212
|
"type": "option"
|
|
8213
|
+
},
|
|
8214
|
+
"dry-run": {
|
|
8215
|
+
"char": "d",
|
|
8216
|
+
"description": "Show what would change without making changes",
|
|
8217
|
+
"name": "dry-run",
|
|
8218
|
+
"allowNo": false,
|
|
8219
|
+
"type": "boolean"
|
|
8220
|
+
},
|
|
8221
|
+
"yes": {
|
|
8222
|
+
"char": "y",
|
|
8223
|
+
"description": "Answer yes to confirmation prompts",
|
|
8224
|
+
"name": "yes",
|
|
8225
|
+
"allowNo": false,
|
|
8226
|
+
"type": "boolean"
|
|
8227
|
+
},
|
|
8228
|
+
"list": {
|
|
8229
|
+
"description": "List available snapshots instead of rolling back",
|
|
8230
|
+
"name": "list",
|
|
8231
|
+
"allowNo": false,
|
|
8232
|
+
"type": "boolean"
|
|
8233
|
+
},
|
|
8234
|
+
"to": {
|
|
8235
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
8236
|
+
"name": "to",
|
|
8237
|
+
"hasDynamicHelp": false,
|
|
8238
|
+
"multiple": false,
|
|
8239
|
+
"type": "option"
|
|
7695
8240
|
}
|
|
7696
8241
|
},
|
|
7697
8242
|
"hasDynamicHelp": false,
|
|
7698
8243
|
"hiddenAliases": [],
|
|
7699
|
-
"id": "
|
|
8244
|
+
"id": "taxonomy:rollback",
|
|
7700
8245
|
"pluginAlias": "@loopress/cli",
|
|
7701
8246
|
"pluginName": "@loopress/cli",
|
|
7702
8247
|
"pluginType": "core",
|
|
@@ -7722,8 +8267,8 @@
|
|
|
7722
8267
|
"relativePath": [
|
|
7723
8268
|
"dist",
|
|
7724
8269
|
"commands",
|
|
7725
|
-
"
|
|
7726
|
-
"
|
|
8270
|
+
"taxonomy",
|
|
8271
|
+
"rollback.js"
|
|
7727
8272
|
]
|
|
7728
8273
|
},
|
|
7729
8274
|
"theme:style:diff": {
|
|
@@ -8182,7 +8727,7 @@
|
|
|
8182
8727
|
"theme:template:push": {
|
|
8183
8728
|
"aliases": [],
|
|
8184
8729
|
"args": {},
|
|
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
|
|
8730
|
+
"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 activated only when loopress.json sets \"activateChildTheme\": true, see `lps theme activate`.",
|
|
8186
8731
|
"examples": [
|
|
8187
8732
|
"$ lps theme template push",
|
|
8188
8733
|
"$ lps theme template push --dry-run"
|
|
@@ -8415,5 +8960,5 @@
|
|
|
8415
8960
|
]
|
|
8416
8961
|
}
|
|
8417
8962
|
},
|
|
8418
|
-
"version": "0.
|
|
8963
|
+
"version": "0.33.0"
|
|
8419
8964
|
}
|