@loopress/cli 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +370 -203
- package/bin/dev.js +0 -0
- package/dist/commands/acf/pull.d.ts +9 -1
- package/dist/commands/acf/pull.js +2 -0
- package/dist/commands/acf/push.d.ts +9 -1
- package/dist/commands/acf/push.js +3 -1
- package/dist/commands/api/publish.js +1 -1
- package/dist/commands/app/push.js +1 -1
- package/dist/commands/composer/push.js +3 -3
- package/dist/commands/form/pull.d.ts +9 -1
- package/dist/commands/form/pull.js +3 -1
- package/dist/commands/form/push.d.ts +7 -1
- package/dist/commands/form/push.js +3 -1
- package/dist/commands/init.js +6 -38
- package/dist/commands/menu/pull.d.ts +7 -1
- package/dist/commands/menu/pull.js +2 -0
- package/dist/commands/menu/push.d.ts +7 -1
- package/dist/commands/menu/push.js +3 -1
- package/dist/commands/option/pull.js +4 -4
- package/dist/commands/option/push.js +2 -0
- package/dist/commands/page/push.js +3 -0
- package/dist/commands/plugin/pull.d.ts +4 -0
- package/dist/commands/plugin/pull.js +56 -10
- package/dist/commands/plugin/push.js +5 -4
- package/dist/commands/push.js +5 -4
- package/dist/commands/seo/pull.d.ts +8 -1
- package/dist/commands/seo/pull.js +2 -0
- package/dist/commands/seo/push.d.ts +7 -1
- package/dist/commands/seo/push.js +3 -1
- package/dist/commands/snippet/publish.js +1 -1
- package/dist/commands/snippet/pull.js +1 -1
- package/dist/commands/snippet/push.js +1 -1
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +4 -4
- package/dist/commands/theme/pull.d.ts +6 -10
- package/dist/commands/theme/pull.js +30 -32
- package/dist/commands/theme/push.d.ts +8 -9
- package/dist/commands/theme/push.js +54 -111
- package/dist/commands/theme/style/pull.d.ts +7 -1
- package/dist/commands/theme/style/pull.js +3 -1
- package/dist/commands/theme/style/push.d.ts +8 -1
- package/dist/commands/theme/style/push.js +4 -1
- package/dist/commands/{template → theme/template}/diff.d.ts +1 -1
- package/dist/commands/{template → theme/template}/diff.js +3 -3
- package/dist/commands/{template → theme/template}/list.d.ts +2 -2
- package/dist/commands/{template → theme/template}/list.js +5 -5
- package/dist/commands/{template → theme/template}/push.d.ts +1 -1
- package/dist/commands/{template → theme/template}/push.js +8 -6
- package/dist/commands/theme/version/pull.d.ts +23 -0
- package/dist/commands/theme/version/pull.js +43 -0
- package/dist/commands/theme/version/push.d.ts +22 -0
- package/dist/commands/theme/version/push.js +123 -0
- package/dist/hooks/finally.d.ts +2 -1
- package/dist/hooks/finally.js +27 -4
- package/dist/lib/app-manifest.js +2 -2
- package/dist/lib/base.d.ts +1 -0
- package/dist/lib/base.js +3 -0
- package/dist/lib/dev-watch.js +2 -2
- package/dist/lib/diff-state.js +1 -0
- package/dist/lib/github-release.js +0 -1
- package/dist/lib/local-callback-server.d.ts +12 -6
- package/dist/lib/local-callback-server.js +21 -22
- package/dist/lib/php-files-command.js +3 -1
- package/dist/lib/push-command.d.ts +5 -0
- package/dist/lib/push-command.js +30 -8
- package/dist/lib/resource-state.js +7 -6
- package/dist/lib/snapshot-store.js +2 -2
- package/dist/lib/wp-authorize-flow.d.ts +10 -17
- package/dist/lib/wp-authorize-flow.js +24 -28
- package/dist/lib/wp-site-diagnostic.js +37 -0
- package/dist/utils/composer.d.ts +3 -1
- package/dist/utils/composer.js +14 -6
- package/dist/utils/option-format.d.ts +3 -1
- package/dist/utils/option-format.js +14 -3
- package/dist/utils/page-format.d.ts +5 -1
- package/dist/utils/page-format.js +7 -3
- package/dist/utils/plugin-sync.js +1 -1
- package/dist/utils/resource-dirs.js +2 -2
- package/dist/utils/template-format.d.ts +2 -1
- package/dist/utils/template-format.js +10 -3
- package/oclif.manifest.json +937 -361
- package/package.json +22 -16
package/oclif.manifest.json
CHANGED
|
@@ -729,6 +729,13 @@
|
|
|
729
729
|
"$ lps acf pull --type field-groups"
|
|
730
730
|
],
|
|
731
731
|
"flags": {
|
|
732
|
+
"json": {
|
|
733
|
+
"description": "Format output as json.",
|
|
734
|
+
"helpGroup": "GLOBAL",
|
|
735
|
+
"name": "json",
|
|
736
|
+
"allowNo": false,
|
|
737
|
+
"type": "boolean"
|
|
738
|
+
},
|
|
732
739
|
"env": {
|
|
733
740
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
734
741
|
"name": "env",
|
|
@@ -771,7 +778,7 @@
|
|
|
771
778
|
"pluginName": "@loopress/cli",
|
|
772
779
|
"pluginType": "core",
|
|
773
780
|
"strict": true,
|
|
774
|
-
"enableJsonFlag":
|
|
781
|
+
"enableJsonFlag": true,
|
|
775
782
|
"dryRunFlag": {
|
|
776
783
|
"dry-run": {
|
|
777
784
|
"char": "d",
|
|
@@ -810,6 +817,13 @@
|
|
|
810
817
|
"$ lps acf push --type field-groups"
|
|
811
818
|
],
|
|
812
819
|
"flags": {
|
|
820
|
+
"json": {
|
|
821
|
+
"description": "Format output as json.",
|
|
822
|
+
"helpGroup": "GLOBAL",
|
|
823
|
+
"name": "json",
|
|
824
|
+
"allowNo": false,
|
|
825
|
+
"type": "boolean"
|
|
826
|
+
},
|
|
813
827
|
"env": {
|
|
814
828
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
815
829
|
"name": "env",
|
|
@@ -817,6 +831,12 @@
|
|
|
817
831
|
"multiple": false,
|
|
818
832
|
"type": "option"
|
|
819
833
|
},
|
|
834
|
+
"production-confirmed": {
|
|
835
|
+
"hidden": true,
|
|
836
|
+
"name": "production-confirmed",
|
|
837
|
+
"allowNo": false,
|
|
838
|
+
"type": "boolean"
|
|
839
|
+
},
|
|
820
840
|
"dry-run": {
|
|
821
841
|
"char": "d",
|
|
822
842
|
"description": "Show what would change without making changes",
|
|
@@ -852,6 +872,23 @@
|
|
|
852
872
|
"pluginName": "@loopress/cli",
|
|
853
873
|
"pluginType": "core",
|
|
854
874
|
"strict": true,
|
|
875
|
+
"enableJsonFlag": true,
|
|
876
|
+
"dryRunFlag": {
|
|
877
|
+
"dry-run": {
|
|
878
|
+
"char": "d",
|
|
879
|
+
"description": "Show what would change without making changes",
|
|
880
|
+
"allowNo": false,
|
|
881
|
+
"type": "boolean"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"yesFlag": {
|
|
885
|
+
"yes": {
|
|
886
|
+
"char": "y",
|
|
887
|
+
"description": "Answer yes to confirmation prompts",
|
|
888
|
+
"allowNo": false,
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
855
892
|
"isESM": true,
|
|
856
893
|
"relativePath": [
|
|
857
894
|
"dist",
|
|
@@ -1093,7 +1130,7 @@
|
|
|
1093
1130
|
"description": "Publish custom API routes to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
1094
1131
|
"examples": [
|
|
1095
1132
|
"$ lps api publish",
|
|
1096
|
-
"$ lps api publish
|
|
1133
|
+
"$ lps api publish ./api"
|
|
1097
1134
|
],
|
|
1098
1135
|
"flags": {},
|
|
1099
1136
|
"hasDynamicHelp": false,
|
|
@@ -1216,6 +1253,12 @@
|
|
|
1216
1253
|
"multiple": false,
|
|
1217
1254
|
"type": "option"
|
|
1218
1255
|
},
|
|
1256
|
+
"production-confirmed": {
|
|
1257
|
+
"hidden": true,
|
|
1258
|
+
"name": "production-confirmed",
|
|
1259
|
+
"allowNo": false,
|
|
1260
|
+
"type": "boolean"
|
|
1261
|
+
},
|
|
1219
1262
|
"dry-run": {
|
|
1220
1263
|
"char": "d",
|
|
1221
1264
|
"description": "Show what would change without making changes",
|
|
@@ -1245,6 +1288,22 @@
|
|
|
1245
1288
|
"pluginType": "core",
|
|
1246
1289
|
"strict": true,
|
|
1247
1290
|
"enableJsonFlag": true,
|
|
1291
|
+
"dryRunFlag": {
|
|
1292
|
+
"dry-run": {
|
|
1293
|
+
"char": "d",
|
|
1294
|
+
"description": "Show what would change without making changes",
|
|
1295
|
+
"allowNo": false,
|
|
1296
|
+
"type": "boolean"
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
"yesFlag": {
|
|
1300
|
+
"yes": {
|
|
1301
|
+
"char": "y",
|
|
1302
|
+
"description": "Answer yes to confirmation prompts",
|
|
1303
|
+
"allowNo": false,
|
|
1304
|
+
"type": "boolean"
|
|
1305
|
+
}
|
|
1306
|
+
},
|
|
1248
1307
|
"isESM": true,
|
|
1249
1308
|
"relativePath": [
|
|
1250
1309
|
"dist",
|
|
@@ -1254,7 +1313,9 @@
|
|
|
1254
1313
|
]
|
|
1255
1314
|
},
|
|
1256
1315
|
"api:rm": {
|
|
1257
|
-
"aliases": [
|
|
1316
|
+
"aliases": [
|
|
1317
|
+
"api:remove"
|
|
1318
|
+
],
|
|
1258
1319
|
"args": {
|
|
1259
1320
|
"filename": {
|
|
1260
1321
|
"description": "The route file to remove, its slug without the .php extension (e.g. \"hello\" or \"invoice-pdf/[order_id]\")",
|
|
@@ -1265,7 +1326,7 @@
|
|
|
1265
1326
|
"description": "Remove a custom API route file from WordPress",
|
|
1266
1327
|
"examples": [
|
|
1267
1328
|
"$ lps api rm hello",
|
|
1268
|
-
"$ lps api
|
|
1329
|
+
"$ lps api remove hello --yes"
|
|
1269
1330
|
],
|
|
1270
1331
|
"flags": {
|
|
1271
1332
|
"json": {
|
|
@@ -1419,37 +1480,38 @@
|
|
|
1419
1480
|
"rollback.js"
|
|
1420
1481
|
]
|
|
1421
1482
|
},
|
|
1422
|
-
"
|
|
1483
|
+
"composer:init": {
|
|
1423
1484
|
"aliases": [],
|
|
1424
1485
|
"args": {},
|
|
1425
|
-
"description": "
|
|
1486
|
+
"description": "Create a composer.json wired to WPackagist for installing WordPress.org plugins and themes",
|
|
1426
1487
|
"examples": [
|
|
1427
|
-
"$ lps
|
|
1488
|
+
"$ lps composer init",
|
|
1489
|
+
"$ lps composer init --dry-run"
|
|
1428
1490
|
],
|
|
1429
1491
|
"flags": {
|
|
1430
|
-
"json": {
|
|
1431
|
-
"description": "Format output as json.",
|
|
1432
|
-
"helpGroup": "GLOBAL",
|
|
1433
|
-
"name": "json",
|
|
1434
|
-
"allowNo": false,
|
|
1435
|
-
"type": "boolean"
|
|
1436
|
-
},
|
|
1437
1492
|
"env": {
|
|
1438
1493
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1439
1494
|
"name": "env",
|
|
1440
1495
|
"hasDynamicHelp": false,
|
|
1441
1496
|
"multiple": false,
|
|
1442
1497
|
"type": "option"
|
|
1498
|
+
},
|
|
1499
|
+
"dry-run": {
|
|
1500
|
+
"char": "d",
|
|
1501
|
+
"description": "Show what would change without making changes",
|
|
1502
|
+
"name": "dry-run",
|
|
1503
|
+
"allowNo": false,
|
|
1504
|
+
"type": "boolean"
|
|
1443
1505
|
}
|
|
1444
1506
|
},
|
|
1445
1507
|
"hasDynamicHelp": false,
|
|
1446
1508
|
"hiddenAliases": [],
|
|
1447
|
-
"id": "
|
|
1509
|
+
"id": "composer:init",
|
|
1448
1510
|
"pluginAlias": "@loopress/cli",
|
|
1449
1511
|
"pluginName": "@loopress/cli",
|
|
1450
1512
|
"pluginType": "core",
|
|
1451
1513
|
"strict": true,
|
|
1452
|
-
"enableJsonFlag":
|
|
1514
|
+
"enableJsonFlag": false,
|
|
1453
1515
|
"dryRunFlag": {
|
|
1454
1516
|
"dry-run": {
|
|
1455
1517
|
"char": "d",
|
|
@@ -1470,21 +1532,17 @@
|
|
|
1470
1532
|
"relativePath": [
|
|
1471
1533
|
"dist",
|
|
1472
1534
|
"commands",
|
|
1473
|
-
"
|
|
1474
|
-
"
|
|
1535
|
+
"composer",
|
|
1536
|
+
"init.js"
|
|
1475
1537
|
]
|
|
1476
1538
|
},
|
|
1477
|
-
"
|
|
1539
|
+
"composer:pull": {
|
|
1478
1540
|
"aliases": [],
|
|
1479
|
-
"args": {
|
|
1480
|
-
|
|
1481
|
-
"description": "Path to apps directory (overrides project config)",
|
|
1482
|
-
"name": "path"
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
"description": "Pull single-page app bundles from WordPress into local files",
|
|
1541
|
+
"args": {},
|
|
1542
|
+
"description": "Pull composer.json and composer.lock from WordPress",
|
|
1486
1543
|
"examples": [
|
|
1487
|
-
"$ lps
|
|
1544
|
+
"$ lps composer pull",
|
|
1545
|
+
"$ lps composer pull --dry-run"
|
|
1488
1546
|
],
|
|
1489
1547
|
"flags": {
|
|
1490
1548
|
"json": {
|
|
@@ -1507,18 +1565,11 @@
|
|
|
1507
1565
|
"name": "dry-run",
|
|
1508
1566
|
"allowNo": false,
|
|
1509
1567
|
"type": "boolean"
|
|
1510
|
-
},
|
|
1511
|
-
"yes": {
|
|
1512
|
-
"char": "y",
|
|
1513
|
-
"description": "Answer yes to confirmation prompts",
|
|
1514
|
-
"name": "yes",
|
|
1515
|
-
"allowNo": false,
|
|
1516
|
-
"type": "boolean"
|
|
1517
1568
|
}
|
|
1518
1569
|
},
|
|
1519
1570
|
"hasDynamicHelp": false,
|
|
1520
1571
|
"hiddenAliases": [],
|
|
1521
|
-
"id": "
|
|
1572
|
+
"id": "composer:pull",
|
|
1522
1573
|
"pluginAlias": "@loopress/cli",
|
|
1523
1574
|
"pluginName": "@loopress/cli",
|
|
1524
1575
|
"pluginType": "core",
|
|
@@ -1544,23 +1595,17 @@
|
|
|
1544
1595
|
"relativePath": [
|
|
1545
1596
|
"dist",
|
|
1546
1597
|
"commands",
|
|
1547
|
-
"
|
|
1598
|
+
"composer",
|
|
1548
1599
|
"pull.js"
|
|
1549
1600
|
]
|
|
1550
1601
|
},
|
|
1551
|
-
"
|
|
1602
|
+
"composer:push": {
|
|
1552
1603
|
"aliases": [],
|
|
1553
|
-
"args": {
|
|
1554
|
-
|
|
1555
|
-
"description": "Push only this app (defaults to every app in the directory)",
|
|
1556
|
-
"name": "name"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1559
|
-
"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.",
|
|
1604
|
+
"args": {},
|
|
1605
|
+
"description": "Push composer.json to WordPress and run Composer to resolve and install dependencies",
|
|
1560
1606
|
"examples": [
|
|
1561
|
-
"$ lps
|
|
1562
|
-
"$ lps
|
|
1563
|
-
"$ lps app push --no-build"
|
|
1607
|
+
"$ lps composer push",
|
|
1608
|
+
"$ lps composer push --dry-run"
|
|
1564
1609
|
],
|
|
1565
1610
|
"flags": {
|
|
1566
1611
|
"json": {
|
|
@@ -1577,10 +1622,10 @@
|
|
|
1577
1622
|
"multiple": false,
|
|
1578
1623
|
"type": "option"
|
|
1579
1624
|
},
|
|
1580
|
-
"
|
|
1581
|
-
"
|
|
1582
|
-
"name": "
|
|
1583
|
-
"allowNo":
|
|
1625
|
+
"production-confirmed": {
|
|
1626
|
+
"hidden": true,
|
|
1627
|
+
"name": "production-confirmed",
|
|
1628
|
+
"allowNo": false,
|
|
1584
1629
|
"type": "boolean"
|
|
1585
1630
|
},
|
|
1586
1631
|
"dry-run": {
|
|
@@ -1596,36 +1641,52 @@
|
|
|
1596
1641
|
"name": "yes",
|
|
1597
1642
|
"allowNo": false,
|
|
1598
1643
|
"type": "boolean"
|
|
1644
|
+
},
|
|
1645
|
+
"force": {
|
|
1646
|
+
"description": "Allow downgrades and take over plugins/themes installed outside Loopress",
|
|
1647
|
+
"name": "force",
|
|
1648
|
+
"allowNo": false,
|
|
1649
|
+
"type": "boolean"
|
|
1599
1650
|
}
|
|
1600
1651
|
},
|
|
1601
1652
|
"hasDynamicHelp": false,
|
|
1602
1653
|
"hiddenAliases": [],
|
|
1603
|
-
"id": "
|
|
1654
|
+
"id": "composer:push",
|
|
1604
1655
|
"pluginAlias": "@loopress/cli",
|
|
1605
1656
|
"pluginName": "@loopress/cli",
|
|
1606
1657
|
"pluginType": "core",
|
|
1607
1658
|
"strict": true,
|
|
1608
1659
|
"enableJsonFlag": true,
|
|
1660
|
+
"dryRunFlag": {
|
|
1661
|
+
"dry-run": {
|
|
1662
|
+
"char": "d",
|
|
1663
|
+
"description": "Show what would change without making changes",
|
|
1664
|
+
"allowNo": false,
|
|
1665
|
+
"type": "boolean"
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"yesFlag": {
|
|
1669
|
+
"yes": {
|
|
1670
|
+
"char": "y",
|
|
1671
|
+
"description": "Answer yes to confirmation prompts",
|
|
1672
|
+
"allowNo": false,
|
|
1673
|
+
"type": "boolean"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1609
1676
|
"isESM": true,
|
|
1610
1677
|
"relativePath": [
|
|
1611
1678
|
"dist",
|
|
1612
1679
|
"commands",
|
|
1613
|
-
"
|
|
1680
|
+
"composer",
|
|
1614
1681
|
"push.js"
|
|
1615
1682
|
]
|
|
1616
1683
|
},
|
|
1617
|
-
"app:
|
|
1684
|
+
"app:list": {
|
|
1618
1685
|
"aliases": [],
|
|
1619
|
-
"args": {
|
|
1620
|
-
|
|
1621
|
-
"description": "App to remove from WordPress",
|
|
1622
|
-
"name": "name",
|
|
1623
|
-
"required": true
|
|
1624
|
-
}
|
|
1625
|
-
},
|
|
1626
|
-
"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.",
|
|
1686
|
+
"args": {},
|
|
1687
|
+
"description": "List single-page apps deployed to WordPress",
|
|
1627
1688
|
"examples": [
|
|
1628
|
-
"$ lps app
|
|
1689
|
+
"$ lps app list"
|
|
1629
1690
|
],
|
|
1630
1691
|
"flags": {
|
|
1631
1692
|
"json": {
|
|
@@ -1641,25 +1702,11 @@
|
|
|
1641
1702
|
"hasDynamicHelp": false,
|
|
1642
1703
|
"multiple": false,
|
|
1643
1704
|
"type": "option"
|
|
1644
|
-
},
|
|
1645
|
-
"dry-run": {
|
|
1646
|
-
"char": "d",
|
|
1647
|
-
"description": "Show what would change without making changes",
|
|
1648
|
-
"name": "dry-run",
|
|
1649
|
-
"allowNo": false,
|
|
1650
|
-
"type": "boolean"
|
|
1651
|
-
},
|
|
1652
|
-
"yes": {
|
|
1653
|
-
"char": "y",
|
|
1654
|
-
"description": "Answer yes to confirmation prompts",
|
|
1655
|
-
"name": "yes",
|
|
1656
|
-
"allowNo": false,
|
|
1657
|
-
"type": "boolean"
|
|
1658
1705
|
}
|
|
1659
1706
|
},
|
|
1660
1707
|
"hasDynamicHelp": false,
|
|
1661
1708
|
"hiddenAliases": [],
|
|
1662
|
-
"id": "app:
|
|
1709
|
+
"id": "app:list",
|
|
1663
1710
|
"pluginAlias": "@loopress/cli",
|
|
1664
1711
|
"pluginName": "@loopress/cli",
|
|
1665
1712
|
"pluginType": "core",
|
|
@@ -1686,18 +1733,29 @@
|
|
|
1686
1733
|
"dist",
|
|
1687
1734
|
"commands",
|
|
1688
1735
|
"app",
|
|
1689
|
-
"
|
|
1736
|
+
"list.js"
|
|
1690
1737
|
]
|
|
1691
1738
|
},
|
|
1692
|
-
"
|
|
1739
|
+
"app:pull": {
|
|
1693
1740
|
"aliases": [],
|
|
1694
|
-
"args": {
|
|
1695
|
-
|
|
1741
|
+
"args": {
|
|
1742
|
+
"path": {
|
|
1743
|
+
"description": "Path to apps directory (overrides project config)",
|
|
1744
|
+
"name": "path"
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"description": "Pull single-page app bundles from WordPress into local files",
|
|
1696
1748
|
"examples": [
|
|
1697
|
-
"$ lps
|
|
1698
|
-
"$ lps composer init --dry-run"
|
|
1749
|
+
"$ lps app pull"
|
|
1699
1750
|
],
|
|
1700
1751
|
"flags": {
|
|
1752
|
+
"json": {
|
|
1753
|
+
"description": "Format output as json.",
|
|
1754
|
+
"helpGroup": "GLOBAL",
|
|
1755
|
+
"name": "json",
|
|
1756
|
+
"allowNo": false,
|
|
1757
|
+
"type": "boolean"
|
|
1758
|
+
},
|
|
1701
1759
|
"env": {
|
|
1702
1760
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1703
1761
|
"name": "env",
|
|
@@ -1711,16 +1769,23 @@
|
|
|
1711
1769
|
"name": "dry-run",
|
|
1712
1770
|
"allowNo": false,
|
|
1713
1771
|
"type": "boolean"
|
|
1772
|
+
},
|
|
1773
|
+
"yes": {
|
|
1774
|
+
"char": "y",
|
|
1775
|
+
"description": "Answer yes to confirmation prompts",
|
|
1776
|
+
"name": "yes",
|
|
1777
|
+
"allowNo": false,
|
|
1778
|
+
"type": "boolean"
|
|
1714
1779
|
}
|
|
1715
1780
|
},
|
|
1716
1781
|
"hasDynamicHelp": false,
|
|
1717
1782
|
"hiddenAliases": [],
|
|
1718
|
-
"id": "
|
|
1783
|
+
"id": "app:pull",
|
|
1719
1784
|
"pluginAlias": "@loopress/cli",
|
|
1720
1785
|
"pluginName": "@loopress/cli",
|
|
1721
1786
|
"pluginType": "core",
|
|
1722
1787
|
"strict": true,
|
|
1723
|
-
"enableJsonFlag":
|
|
1788
|
+
"enableJsonFlag": true,
|
|
1724
1789
|
"dryRunFlag": {
|
|
1725
1790
|
"dry-run": {
|
|
1726
1791
|
"char": "d",
|
|
@@ -1741,17 +1806,23 @@
|
|
|
1741
1806
|
"relativePath": [
|
|
1742
1807
|
"dist",
|
|
1743
1808
|
"commands",
|
|
1744
|
-
"
|
|
1745
|
-
"
|
|
1809
|
+
"app",
|
|
1810
|
+
"pull.js"
|
|
1746
1811
|
]
|
|
1747
1812
|
},
|
|
1748
|
-
"
|
|
1813
|
+
"app:push": {
|
|
1749
1814
|
"aliases": [],
|
|
1750
|
-
"args": {
|
|
1751
|
-
|
|
1815
|
+
"args": {
|
|
1816
|
+
"name": {
|
|
1817
|
+
"description": "Push only this app (defaults to every app in the directory)",
|
|
1818
|
+
"name": "name"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"description": "Build and push single-page app bundles to WordPress. Each app is an `apps/<name>/` directory holding a loopress.app.json and a dist/ folder. When the app has a package.json with a `build` script, it runs first (use --no-build to skip it). Only files whose content changed are uploaded.",
|
|
1752
1822
|
"examples": [
|
|
1753
|
-
"$ lps
|
|
1754
|
-
"$ lps
|
|
1823
|
+
"$ lps app push",
|
|
1824
|
+
"$ lps app push search",
|
|
1825
|
+
"$ lps app push --no-build"
|
|
1755
1826
|
],
|
|
1756
1827
|
"flags": {
|
|
1757
1828
|
"json": {
|
|
@@ -1768,17 +1839,36 @@
|
|
|
1768
1839
|
"multiple": false,
|
|
1769
1840
|
"type": "option"
|
|
1770
1841
|
},
|
|
1842
|
+
"production-confirmed": {
|
|
1843
|
+
"hidden": true,
|
|
1844
|
+
"name": "production-confirmed",
|
|
1845
|
+
"allowNo": false,
|
|
1846
|
+
"type": "boolean"
|
|
1847
|
+
},
|
|
1848
|
+
"build": {
|
|
1849
|
+
"description": "Run the app's package.json build script before pushing",
|
|
1850
|
+
"name": "build",
|
|
1851
|
+
"allowNo": true,
|
|
1852
|
+
"type": "boolean"
|
|
1853
|
+
},
|
|
1771
1854
|
"dry-run": {
|
|
1772
1855
|
"char": "d",
|
|
1773
1856
|
"description": "Show what would change without making changes",
|
|
1774
1857
|
"name": "dry-run",
|
|
1775
1858
|
"allowNo": false,
|
|
1776
1859
|
"type": "boolean"
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1860
|
+
},
|
|
1861
|
+
"yes": {
|
|
1862
|
+
"char": "y",
|
|
1863
|
+
"description": "Answer yes to confirmation prompts",
|
|
1864
|
+
"name": "yes",
|
|
1865
|
+
"allowNo": false,
|
|
1866
|
+
"type": "boolean"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
"hasDynamicHelp": false,
|
|
1870
|
+
"hiddenAliases": [],
|
|
1871
|
+
"id": "app:push",
|
|
1782
1872
|
"pluginAlias": "@loopress/cli",
|
|
1783
1873
|
"pluginName": "@loopress/cli",
|
|
1784
1874
|
"pluginType": "core",
|
|
@@ -1804,17 +1894,22 @@
|
|
|
1804
1894
|
"relativePath": [
|
|
1805
1895
|
"dist",
|
|
1806
1896
|
"commands",
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1897
|
+
"app",
|
|
1898
|
+
"push.js"
|
|
1809
1899
|
]
|
|
1810
1900
|
},
|
|
1811
|
-
"
|
|
1901
|
+
"app:remove": {
|
|
1812
1902
|
"aliases": [],
|
|
1813
|
-
"args": {
|
|
1814
|
-
|
|
1903
|
+
"args": {
|
|
1904
|
+
"name": {
|
|
1905
|
+
"description": "App to remove from WordPress",
|
|
1906
|
+
"name": "name",
|
|
1907
|
+
"required": true
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
"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.",
|
|
1815
1911
|
"examples": [
|
|
1816
|
-
"$ lps
|
|
1817
|
-
"$ lps composer push --dry-run"
|
|
1912
|
+
"$ lps app remove search"
|
|
1818
1913
|
],
|
|
1819
1914
|
"flags": {
|
|
1820
1915
|
"json": {
|
|
@@ -1844,28 +1939,38 @@
|
|
|
1844
1939
|
"name": "yes",
|
|
1845
1940
|
"allowNo": false,
|
|
1846
1941
|
"type": "boolean"
|
|
1847
|
-
},
|
|
1848
|
-
"force": {
|
|
1849
|
-
"description": "Allow downgrades and take over plugins/themes installed outside Loopress",
|
|
1850
|
-
"name": "force",
|
|
1851
|
-
"allowNo": false,
|
|
1852
|
-
"type": "boolean"
|
|
1853
1942
|
}
|
|
1854
1943
|
},
|
|
1855
1944
|
"hasDynamicHelp": false,
|
|
1856
1945
|
"hiddenAliases": [],
|
|
1857
|
-
"id": "
|
|
1946
|
+
"id": "app:remove",
|
|
1858
1947
|
"pluginAlias": "@loopress/cli",
|
|
1859
1948
|
"pluginName": "@loopress/cli",
|
|
1860
1949
|
"pluginType": "core",
|
|
1861
1950
|
"strict": true,
|
|
1862
1951
|
"enableJsonFlag": true,
|
|
1952
|
+
"dryRunFlag": {
|
|
1953
|
+
"dry-run": {
|
|
1954
|
+
"char": "d",
|
|
1955
|
+
"description": "Show what would change without making changes",
|
|
1956
|
+
"allowNo": false,
|
|
1957
|
+
"type": "boolean"
|
|
1958
|
+
}
|
|
1959
|
+
},
|
|
1960
|
+
"yesFlag": {
|
|
1961
|
+
"yes": {
|
|
1962
|
+
"char": "y",
|
|
1963
|
+
"description": "Answer yes to confirmation prompts",
|
|
1964
|
+
"allowNo": false,
|
|
1965
|
+
"type": "boolean"
|
|
1966
|
+
}
|
|
1967
|
+
},
|
|
1863
1968
|
"isESM": true,
|
|
1864
1969
|
"relativePath": [
|
|
1865
1970
|
"dist",
|
|
1866
1971
|
"commands",
|
|
1867
|
-
"
|
|
1868
|
-
"
|
|
1972
|
+
"app",
|
|
1973
|
+
"remove.js"
|
|
1869
1974
|
]
|
|
1870
1975
|
},
|
|
1871
1976
|
"form:diff": {
|
|
@@ -2013,6 +2118,13 @@
|
|
|
2013
2118
|
"$ lps form pull"
|
|
2014
2119
|
],
|
|
2015
2120
|
"flags": {
|
|
2121
|
+
"json": {
|
|
2122
|
+
"description": "Format output as json.",
|
|
2123
|
+
"helpGroup": "GLOBAL",
|
|
2124
|
+
"name": "json",
|
|
2125
|
+
"allowNo": false,
|
|
2126
|
+
"type": "boolean"
|
|
2127
|
+
},
|
|
2016
2128
|
"env": {
|
|
2017
2129
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2018
2130
|
"name": "env",
|
|
@@ -2042,7 +2154,7 @@
|
|
|
2042
2154
|
"pluginName": "@loopress/cli",
|
|
2043
2155
|
"pluginType": "core",
|
|
2044
2156
|
"strict": true,
|
|
2045
|
-
"enableJsonFlag":
|
|
2157
|
+
"enableJsonFlag": true,
|
|
2046
2158
|
"dryRunFlag": {
|
|
2047
2159
|
"dry-run": {
|
|
2048
2160
|
"char": "d",
|
|
@@ -2081,6 +2193,13 @@
|
|
|
2081
2193
|
"$ lps form push --allow-notifications"
|
|
2082
2194
|
],
|
|
2083
2195
|
"flags": {
|
|
2196
|
+
"json": {
|
|
2197
|
+
"description": "Format output as json.",
|
|
2198
|
+
"helpGroup": "GLOBAL",
|
|
2199
|
+
"name": "json",
|
|
2200
|
+
"allowNo": false,
|
|
2201
|
+
"type": "boolean"
|
|
2202
|
+
},
|
|
2084
2203
|
"env": {
|
|
2085
2204
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2086
2205
|
"name": "env",
|
|
@@ -2088,6 +2207,12 @@
|
|
|
2088
2207
|
"multiple": false,
|
|
2089
2208
|
"type": "option"
|
|
2090
2209
|
},
|
|
2210
|
+
"production-confirmed": {
|
|
2211
|
+
"hidden": true,
|
|
2212
|
+
"name": "production-confirmed",
|
|
2213
|
+
"allowNo": false,
|
|
2214
|
+
"type": "boolean"
|
|
2215
|
+
},
|
|
2091
2216
|
"dry-run": {
|
|
2092
2217
|
"char": "d",
|
|
2093
2218
|
"description": "Show what would change without making changes",
|
|
@@ -2116,6 +2241,23 @@
|
|
|
2116
2241
|
"pluginName": "@loopress/cli",
|
|
2117
2242
|
"pluginType": "core",
|
|
2118
2243
|
"strict": true,
|
|
2244
|
+
"enableJsonFlag": true,
|
|
2245
|
+
"dryRunFlag": {
|
|
2246
|
+
"dry-run": {
|
|
2247
|
+
"char": "d",
|
|
2248
|
+
"description": "Show what would change without making changes",
|
|
2249
|
+
"allowNo": false,
|
|
2250
|
+
"type": "boolean"
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"yesFlag": {
|
|
2254
|
+
"yes": {
|
|
2255
|
+
"char": "y",
|
|
2256
|
+
"description": "Answer yes to confirmation prompts",
|
|
2257
|
+
"allowNo": false,
|
|
2258
|
+
"type": "boolean"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2119
2261
|
"isESM": true,
|
|
2120
2262
|
"relativePath": [
|
|
2121
2263
|
"dist",
|
|
@@ -2214,19 +2356,19 @@
|
|
|
2214
2356
|
"rollback.js"
|
|
2215
2357
|
]
|
|
2216
2358
|
},
|
|
2217
|
-
"
|
|
2359
|
+
"hook:diff": {
|
|
2218
2360
|
"aliases": [],
|
|
2219
2361
|
"args": {
|
|
2220
2362
|
"path": {
|
|
2221
|
-
"description": "Path to
|
|
2363
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
2222
2364
|
"name": "path"
|
|
2223
2365
|
}
|
|
2224
2366
|
},
|
|
2225
|
-
"description": "Show what differs in
|
|
2367
|
+
"description": "Show what differs in hook files between your local files and a WordPress environment, or between two environments",
|
|
2226
2368
|
"examples": [
|
|
2227
|
-
"$ lps
|
|
2228
|
-
"$ lps
|
|
2229
|
-
"$ lps
|
|
2369
|
+
"$ lps hook diff",
|
|
2370
|
+
"$ lps hook diff --env staging",
|
|
2371
|
+
"$ lps hook diff --env staging --against production"
|
|
2230
2372
|
],
|
|
2231
2373
|
"flags": {
|
|
2232
2374
|
"json": {
|
|
@@ -2253,7 +2395,7 @@
|
|
|
2253
2395
|
},
|
|
2254
2396
|
"hasDynamicHelp": false,
|
|
2255
2397
|
"hiddenAliases": [],
|
|
2256
|
-
"id": "
|
|
2398
|
+
"id": "hook:diff",
|
|
2257
2399
|
"pluginAlias": "@loopress/cli",
|
|
2258
2400
|
"pluginName": "@loopress/cli",
|
|
2259
2401
|
"pluginType": "core",
|
|
@@ -2287,16 +2429,16 @@
|
|
|
2287
2429
|
"relativePath": [
|
|
2288
2430
|
"dist",
|
|
2289
2431
|
"commands",
|
|
2290
|
-
"
|
|
2432
|
+
"hook",
|
|
2291
2433
|
"diff.js"
|
|
2292
2434
|
]
|
|
2293
2435
|
},
|
|
2294
|
-
"
|
|
2436
|
+
"hook:list": {
|
|
2295
2437
|
"aliases": [],
|
|
2296
2438
|
"args": {},
|
|
2297
|
-
"description": "List
|
|
2439
|
+
"description": "List hook files (actions, filters, cron) from WordPress",
|
|
2298
2440
|
"examples": [
|
|
2299
|
-
"$ lps
|
|
2441
|
+
"$ lps hook list"
|
|
2300
2442
|
],
|
|
2301
2443
|
"flags": {
|
|
2302
2444
|
"json": {
|
|
@@ -2316,7 +2458,7 @@
|
|
|
2316
2458
|
},
|
|
2317
2459
|
"hasDynamicHelp": false,
|
|
2318
2460
|
"hiddenAliases": [],
|
|
2319
|
-
"id": "
|
|
2461
|
+
"id": "hook:list",
|
|
2320
2462
|
"pluginAlias": "@loopress/cli",
|
|
2321
2463
|
"pluginName": "@loopress/cli",
|
|
2322
2464
|
"pluginType": "core",
|
|
@@ -2342,23 +2484,31 @@
|
|
|
2342
2484
|
"relativePath": [
|
|
2343
2485
|
"dist",
|
|
2344
2486
|
"commands",
|
|
2345
|
-
"
|
|
2487
|
+
"hook",
|
|
2346
2488
|
"list.js"
|
|
2347
2489
|
]
|
|
2348
2490
|
},
|
|
2349
|
-
"
|
|
2491
|
+
"hook:pull": {
|
|
2350
2492
|
"aliases": [],
|
|
2351
2493
|
"args": {
|
|
2352
2494
|
"path": {
|
|
2353
|
-
"description": "Path to
|
|
2495
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
2354
2496
|
"name": "path"
|
|
2355
2497
|
}
|
|
2356
2498
|
},
|
|
2357
|
-
"description": "Pull
|
|
2499
|
+
"description": "Pull hook files (actions, filters, cron) from WordPress",
|
|
2358
2500
|
"examples": [
|
|
2359
|
-
"$ lps
|
|
2501
|
+
"$ lps hook pull",
|
|
2502
|
+
"$ lps hook pull --path ./hooks"
|
|
2360
2503
|
],
|
|
2361
2504
|
"flags": {
|
|
2505
|
+
"json": {
|
|
2506
|
+
"description": "Format output as json.",
|
|
2507
|
+
"helpGroup": "GLOBAL",
|
|
2508
|
+
"name": "json",
|
|
2509
|
+
"allowNo": false,
|
|
2510
|
+
"type": "boolean"
|
|
2511
|
+
},
|
|
2362
2512
|
"env": {
|
|
2363
2513
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2364
2514
|
"name": "env",
|
|
@@ -2383,12 +2533,12 @@
|
|
|
2383
2533
|
},
|
|
2384
2534
|
"hasDynamicHelp": false,
|
|
2385
2535
|
"hiddenAliases": [],
|
|
2386
|
-
"id": "
|
|
2536
|
+
"id": "hook:pull",
|
|
2387
2537
|
"pluginAlias": "@loopress/cli",
|
|
2388
2538
|
"pluginName": "@loopress/cli",
|
|
2389
2539
|
"pluginType": "core",
|
|
2390
2540
|
"strict": true,
|
|
2391
|
-
"enableJsonFlag":
|
|
2541
|
+
"enableJsonFlag": true,
|
|
2392
2542
|
"dryRunFlag": {
|
|
2393
2543
|
"dry-run": {
|
|
2394
2544
|
"char": "d",
|
|
@@ -2409,23 +2559,32 @@
|
|
|
2409
2559
|
"relativePath": [
|
|
2410
2560
|
"dist",
|
|
2411
2561
|
"commands",
|
|
2412
|
-
"
|
|
2562
|
+
"hook",
|
|
2413
2563
|
"pull.js"
|
|
2414
2564
|
]
|
|
2415
2565
|
},
|
|
2416
|
-
"
|
|
2566
|
+
"hook:push": {
|
|
2417
2567
|
"aliases": [],
|
|
2418
2568
|
"args": {
|
|
2419
2569
|
"path": {
|
|
2420
|
-
"description": "Path to
|
|
2570
|
+
"description": "Path to hooks directory (overrides project config)",
|
|
2421
2571
|
"name": "path"
|
|
2422
2572
|
}
|
|
2423
2573
|
},
|
|
2424
|
-
"description": "Push
|
|
2574
|
+
"description": "Push hook files (actions, filters, cron) to WordPress",
|
|
2425
2575
|
"examples": [
|
|
2426
|
-
"$ lps
|
|
2576
|
+
"$ lps hook push",
|
|
2577
|
+
"$ lps hook push --path ./hooks",
|
|
2578
|
+
"$ lps hook push --prune"
|
|
2427
2579
|
],
|
|
2428
2580
|
"flags": {
|
|
2581
|
+
"json": {
|
|
2582
|
+
"description": "Format output as json.",
|
|
2583
|
+
"helpGroup": "GLOBAL",
|
|
2584
|
+
"name": "json",
|
|
2585
|
+
"allowNo": false,
|
|
2586
|
+
"type": "boolean"
|
|
2587
|
+
},
|
|
2429
2588
|
"env": {
|
|
2430
2589
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
2431
2590
|
"name": "env",
|
|
@@ -2433,6 +2592,12 @@
|
|
|
2433
2592
|
"multiple": false,
|
|
2434
2593
|
"type": "option"
|
|
2435
2594
|
},
|
|
2595
|
+
"production-confirmed": {
|
|
2596
|
+
"hidden": true,
|
|
2597
|
+
"name": "production-confirmed",
|
|
2598
|
+
"allowNo": false,
|
|
2599
|
+
"type": "boolean"
|
|
2600
|
+
},
|
|
2436
2601
|
"dry-run": {
|
|
2437
2602
|
"char": "d",
|
|
2438
2603
|
"description": "Show what would change without making changes",
|
|
@@ -2446,37 +2611,61 @@
|
|
|
2446
2611
|
"name": "yes",
|
|
2447
2612
|
"allowNo": false,
|
|
2448
2613
|
"type": "boolean"
|
|
2614
|
+
},
|
|
2615
|
+
"prune": {
|
|
2616
|
+
"description": "Delete server-side hook files not present locally after pushing",
|
|
2617
|
+
"name": "prune",
|
|
2618
|
+
"allowNo": false,
|
|
2619
|
+
"type": "boolean"
|
|
2449
2620
|
}
|
|
2450
2621
|
},
|
|
2451
2622
|
"hasDynamicHelp": false,
|
|
2452
2623
|
"hiddenAliases": [],
|
|
2453
|
-
"id": "
|
|
2624
|
+
"id": "hook:push",
|
|
2454
2625
|
"pluginAlias": "@loopress/cli",
|
|
2455
2626
|
"pluginName": "@loopress/cli",
|
|
2456
2627
|
"pluginType": "core",
|
|
2457
2628
|
"strict": true,
|
|
2629
|
+
"enableJsonFlag": true,
|
|
2630
|
+
"dryRunFlag": {
|
|
2631
|
+
"dry-run": {
|
|
2632
|
+
"char": "d",
|
|
2633
|
+
"description": "Show what would change without making changes",
|
|
2634
|
+
"allowNo": false,
|
|
2635
|
+
"type": "boolean"
|
|
2636
|
+
}
|
|
2637
|
+
},
|
|
2638
|
+
"yesFlag": {
|
|
2639
|
+
"yes": {
|
|
2640
|
+
"char": "y",
|
|
2641
|
+
"description": "Answer yes to confirmation prompts",
|
|
2642
|
+
"allowNo": false,
|
|
2643
|
+
"type": "boolean"
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2458
2646
|
"isESM": true,
|
|
2459
2647
|
"relativePath": [
|
|
2460
2648
|
"dist",
|
|
2461
2649
|
"commands",
|
|
2462
|
-
"
|
|
2650
|
+
"hook",
|
|
2463
2651
|
"push.js"
|
|
2464
2652
|
]
|
|
2465
2653
|
},
|
|
2466
|
-
"
|
|
2467
|
-
"aliases": [
|
|
2654
|
+
"hook:rm": {
|
|
2655
|
+
"aliases": [
|
|
2656
|
+
"hook:remove"
|
|
2657
|
+
],
|
|
2468
2658
|
"args": {
|
|
2469
|
-
"
|
|
2470
|
-
"description": "
|
|
2471
|
-
"name": "
|
|
2659
|
+
"filename": {
|
|
2660
|
+
"description": "The hook file to remove, its slug without the .php extension (e.g. \"hello\" or \"invoice-pdf/[order_id]\")",
|
|
2661
|
+
"name": "filename",
|
|
2662
|
+
"required": true
|
|
2472
2663
|
}
|
|
2473
2664
|
},
|
|
2474
|
-
"description": "
|
|
2665
|
+
"description": "Remove a hook file (action, filter, cron) from WordPress",
|
|
2475
2666
|
"examples": [
|
|
2476
|
-
"$ lps
|
|
2477
|
-
"$ lps
|
|
2478
|
-
"$ lps menu rollback --to 1732000000000",
|
|
2479
|
-
"$ lps menu rollback --dry-run"
|
|
2667
|
+
"$ lps hook rm hello",
|
|
2668
|
+
"$ lps hook remove hello --yes"
|
|
2480
2669
|
],
|
|
2481
2670
|
"flags": {
|
|
2482
2671
|
"json": {
|
|
@@ -2506,24 +2695,11 @@
|
|
|
2506
2695
|
"name": "yes",
|
|
2507
2696
|
"allowNo": false,
|
|
2508
2697
|
"type": "boolean"
|
|
2509
|
-
},
|
|
2510
|
-
"list": {
|
|
2511
|
-
"description": "List available snapshots instead of rolling back",
|
|
2512
|
-
"name": "list",
|
|
2513
|
-
"allowNo": false,
|
|
2514
|
-
"type": "boolean"
|
|
2515
|
-
},
|
|
2516
|
-
"to": {
|
|
2517
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2518
|
-
"name": "to",
|
|
2519
|
-
"hasDynamicHelp": false,
|
|
2520
|
-
"multiple": false,
|
|
2521
|
-
"type": "option"
|
|
2522
2698
|
}
|
|
2523
2699
|
},
|
|
2524
2700
|
"hasDynamicHelp": false,
|
|
2525
2701
|
"hiddenAliases": [],
|
|
2526
|
-
"id": "
|
|
2702
|
+
"id": "hook:rm",
|
|
2527
2703
|
"pluginAlias": "@loopress/cli",
|
|
2528
2704
|
"pluginName": "@loopress/cli",
|
|
2529
2705
|
"pluginType": "core",
|
|
@@ -2549,11 +2725,11 @@
|
|
|
2549
2725
|
"relativePath": [
|
|
2550
2726
|
"dist",
|
|
2551
2727
|
"commands",
|
|
2552
|
-
"
|
|
2553
|
-
"
|
|
2728
|
+
"hook",
|
|
2729
|
+
"rm.js"
|
|
2554
2730
|
]
|
|
2555
2731
|
},
|
|
2556
|
-
"hook:
|
|
2732
|
+
"hook:rollback": {
|
|
2557
2733
|
"aliases": [],
|
|
2558
2734
|
"args": {
|
|
2559
2735
|
"path": {
|
|
@@ -2561,11 +2737,12 @@
|
|
|
2561
2737
|
"name": "path"
|
|
2562
2738
|
}
|
|
2563
2739
|
},
|
|
2564
|
-
"description": "
|
|
2740
|
+
"description": "Restore hook files to a snapshot taken automatically before an earlier `lps hook push`",
|
|
2565
2741
|
"examples": [
|
|
2566
|
-
"$ lps hook
|
|
2567
|
-
"$ lps hook
|
|
2568
|
-
"$ lps hook
|
|
2742
|
+
"$ lps hook rollback",
|
|
2743
|
+
"$ lps hook rollback --list",
|
|
2744
|
+
"$ lps hook rollback --to 1732000000000",
|
|
2745
|
+
"$ lps hook rollback --dry-run"
|
|
2569
2746
|
],
|
|
2570
2747
|
"flags": {
|
|
2571
2748
|
"json": {
|
|
@@ -2582,23 +2759,43 @@
|
|
|
2582
2759
|
"multiple": false,
|
|
2583
2760
|
"type": "option"
|
|
2584
2761
|
},
|
|
2585
|
-
"
|
|
2586
|
-
"
|
|
2587
|
-
"
|
|
2588
|
-
"
|
|
2589
|
-
"
|
|
2590
|
-
"type": "
|
|
2591
|
-
}
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2762
|
+
"dry-run": {
|
|
2763
|
+
"char": "d",
|
|
2764
|
+
"description": "Show what would change without making changes",
|
|
2765
|
+
"name": "dry-run",
|
|
2766
|
+
"allowNo": false,
|
|
2767
|
+
"type": "boolean"
|
|
2768
|
+
},
|
|
2769
|
+
"yes": {
|
|
2770
|
+
"char": "y",
|
|
2771
|
+
"description": "Answer yes to confirmation prompts",
|
|
2772
|
+
"name": "yes",
|
|
2773
|
+
"allowNo": false,
|
|
2774
|
+
"type": "boolean"
|
|
2775
|
+
},
|
|
2776
|
+
"list": {
|
|
2777
|
+
"description": "List available snapshots instead of rolling back",
|
|
2778
|
+
"name": "list",
|
|
2779
|
+
"allowNo": false,
|
|
2780
|
+
"type": "boolean"
|
|
2781
|
+
},
|
|
2782
|
+
"to": {
|
|
2783
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2784
|
+
"name": "to",
|
|
2785
|
+
"hasDynamicHelp": false,
|
|
2786
|
+
"multiple": false,
|
|
2787
|
+
"type": "option"
|
|
2788
|
+
}
|
|
2789
|
+
},
|
|
2790
|
+
"hasDynamicHelp": false,
|
|
2791
|
+
"hiddenAliases": [],
|
|
2792
|
+
"id": "hook:rollback",
|
|
2793
|
+
"pluginAlias": "@loopress/cli",
|
|
2794
|
+
"pluginName": "@loopress/cli",
|
|
2795
|
+
"pluginType": "core",
|
|
2796
|
+
"strict": true,
|
|
2797
|
+
"enableJsonFlag": true,
|
|
2798
|
+
"dryRunFlag": {
|
|
2602
2799
|
"dry-run": {
|
|
2603
2800
|
"char": "d",
|
|
2604
2801
|
"description": "Show what would change without making changes",
|
|
@@ -2614,28 +2811,27 @@
|
|
|
2614
2811
|
"type": "boolean"
|
|
2615
2812
|
}
|
|
2616
2813
|
},
|
|
2617
|
-
"againstFlag": {
|
|
2618
|
-
"against": {
|
|
2619
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2620
|
-
"input": [],
|
|
2621
|
-
"multiple": false,
|
|
2622
|
-
"type": "option"
|
|
2623
|
-
}
|
|
2624
|
-
},
|
|
2625
2814
|
"isESM": true,
|
|
2626
2815
|
"relativePath": [
|
|
2627
2816
|
"dist",
|
|
2628
2817
|
"commands",
|
|
2629
2818
|
"hook",
|
|
2630
|
-
"
|
|
2819
|
+
"rollback.js"
|
|
2631
2820
|
]
|
|
2632
2821
|
},
|
|
2633
|
-
"
|
|
2822
|
+
"menu:diff": {
|
|
2634
2823
|
"aliases": [],
|
|
2635
|
-
"args": {
|
|
2636
|
-
|
|
2824
|
+
"args": {
|
|
2825
|
+
"path": {
|
|
2826
|
+
"description": "Path to menus directory (overrides project config)",
|
|
2827
|
+
"name": "path"
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
"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",
|
|
2637
2831
|
"examples": [
|
|
2638
|
-
"$ lps
|
|
2832
|
+
"$ lps menu diff",
|
|
2833
|
+
"$ lps menu diff --env staging",
|
|
2834
|
+
"$ lps menu diff --env staging --against production"
|
|
2639
2835
|
],
|
|
2640
2836
|
"flags": {
|
|
2641
2837
|
"json": {
|
|
@@ -2651,11 +2847,18 @@
|
|
|
2651
2847
|
"hasDynamicHelp": false,
|
|
2652
2848
|
"multiple": false,
|
|
2653
2849
|
"type": "option"
|
|
2850
|
+
},
|
|
2851
|
+
"against": {
|
|
2852
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2853
|
+
"name": "against",
|
|
2854
|
+
"hasDynamicHelp": false,
|
|
2855
|
+
"multiple": false,
|
|
2856
|
+
"type": "option"
|
|
2654
2857
|
}
|
|
2655
2858
|
},
|
|
2656
2859
|
"hasDynamicHelp": false,
|
|
2657
2860
|
"hiddenAliases": [],
|
|
2658
|
-
"id": "
|
|
2861
|
+
"id": "menu:diff",
|
|
2659
2862
|
"pluginAlias": "@loopress/cli",
|
|
2660
2863
|
"pluginName": "@loopress/cli",
|
|
2661
2864
|
"pluginType": "core",
|
|
@@ -2677,26 +2880,28 @@
|
|
|
2677
2880
|
"type": "boolean"
|
|
2678
2881
|
}
|
|
2679
2882
|
},
|
|
2883
|
+
"againstFlag": {
|
|
2884
|
+
"against": {
|
|
2885
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2886
|
+
"input": [],
|
|
2887
|
+
"multiple": false,
|
|
2888
|
+
"type": "option"
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2680
2891
|
"isESM": true,
|
|
2681
2892
|
"relativePath": [
|
|
2682
2893
|
"dist",
|
|
2683
2894
|
"commands",
|
|
2684
|
-
"
|
|
2685
|
-
"
|
|
2895
|
+
"menu",
|
|
2896
|
+
"diff.js"
|
|
2686
2897
|
]
|
|
2687
2898
|
},
|
|
2688
|
-
"
|
|
2899
|
+
"menu:list": {
|
|
2689
2900
|
"aliases": [],
|
|
2690
|
-
"args": {
|
|
2691
|
-
|
|
2692
|
-
"description": "Path to hooks directory (overrides project config)",
|
|
2693
|
-
"name": "path"
|
|
2694
|
-
}
|
|
2695
|
-
},
|
|
2696
|
-
"description": "Pull hook files (actions, filters, cron) from WordPress",
|
|
2901
|
+
"args": {},
|
|
2902
|
+
"description": "List nav menus and the active theme menu locations on WordPress",
|
|
2697
2903
|
"examples": [
|
|
2698
|
-
"$ lps
|
|
2699
|
-
"$ lps hook pull --path ./hooks"
|
|
2904
|
+
"$ lps menu list"
|
|
2700
2905
|
],
|
|
2701
2906
|
"flags": {
|
|
2702
2907
|
"json": {
|
|
@@ -2712,25 +2917,11 @@
|
|
|
2712
2917
|
"hasDynamicHelp": false,
|
|
2713
2918
|
"multiple": false,
|
|
2714
2919
|
"type": "option"
|
|
2715
|
-
},
|
|
2716
|
-
"dry-run": {
|
|
2717
|
-
"char": "d",
|
|
2718
|
-
"description": "Show what would change without making changes",
|
|
2719
|
-
"name": "dry-run",
|
|
2720
|
-
"allowNo": false,
|
|
2721
|
-
"type": "boolean"
|
|
2722
|
-
},
|
|
2723
|
-
"yes": {
|
|
2724
|
-
"char": "y",
|
|
2725
|
-
"description": "Answer yes to confirmation prompts",
|
|
2726
|
-
"name": "yes",
|
|
2727
|
-
"allowNo": false,
|
|
2728
|
-
"type": "boolean"
|
|
2729
2920
|
}
|
|
2730
2921
|
},
|
|
2731
2922
|
"hasDynamicHelp": false,
|
|
2732
2923
|
"hiddenAliases": [],
|
|
2733
|
-
"id": "
|
|
2924
|
+
"id": "menu:list",
|
|
2734
2925
|
"pluginAlias": "@loopress/cli",
|
|
2735
2926
|
"pluginName": "@loopress/cli",
|
|
2736
2927
|
"pluginType": "core",
|
|
@@ -2756,23 +2947,21 @@
|
|
|
2756
2947
|
"relativePath": [
|
|
2757
2948
|
"dist",
|
|
2758
2949
|
"commands",
|
|
2759
|
-
"
|
|
2760
|
-
"
|
|
2950
|
+
"menu",
|
|
2951
|
+
"list.js"
|
|
2761
2952
|
]
|
|
2762
2953
|
},
|
|
2763
|
-
"
|
|
2954
|
+
"menu:pull": {
|
|
2764
2955
|
"aliases": [],
|
|
2765
2956
|
"args": {
|
|
2766
2957
|
"path": {
|
|
2767
|
-
"description": "Path to
|
|
2958
|
+
"description": "Path to menus directory (overrides project config)",
|
|
2768
2959
|
"name": "path"
|
|
2769
2960
|
}
|
|
2770
2961
|
},
|
|
2771
|
-
"description": "
|
|
2962
|
+
"description": "Pull nav menus and the active theme menu locations from WordPress",
|
|
2772
2963
|
"examples": [
|
|
2773
|
-
"$ lps
|
|
2774
|
-
"$ lps hook push --path ./hooks",
|
|
2775
|
-
"$ lps hook push --prune"
|
|
2964
|
+
"$ lps menu pull"
|
|
2776
2965
|
],
|
|
2777
2966
|
"flags": {
|
|
2778
2967
|
"json": {
|
|
@@ -2802,43 +2991,51 @@
|
|
|
2802
2991
|
"name": "yes",
|
|
2803
2992
|
"allowNo": false,
|
|
2804
2993
|
"type": "boolean"
|
|
2805
|
-
},
|
|
2806
|
-
"prune": {
|
|
2807
|
-
"description": "Delete server-side hook files not present locally after pushing",
|
|
2808
|
-
"name": "prune",
|
|
2809
|
-
"allowNo": false,
|
|
2810
|
-
"type": "boolean"
|
|
2811
2994
|
}
|
|
2812
2995
|
},
|
|
2813
2996
|
"hasDynamicHelp": false,
|
|
2814
2997
|
"hiddenAliases": [],
|
|
2815
|
-
"id": "
|
|
2998
|
+
"id": "menu:pull",
|
|
2816
2999
|
"pluginAlias": "@loopress/cli",
|
|
2817
3000
|
"pluginName": "@loopress/cli",
|
|
2818
3001
|
"pluginType": "core",
|
|
2819
3002
|
"strict": true,
|
|
2820
3003
|
"enableJsonFlag": true,
|
|
3004
|
+
"dryRunFlag": {
|
|
3005
|
+
"dry-run": {
|
|
3006
|
+
"char": "d",
|
|
3007
|
+
"description": "Show what would change without making changes",
|
|
3008
|
+
"allowNo": false,
|
|
3009
|
+
"type": "boolean"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
"yesFlag": {
|
|
3013
|
+
"yes": {
|
|
3014
|
+
"char": "y",
|
|
3015
|
+
"description": "Answer yes to confirmation prompts",
|
|
3016
|
+
"allowNo": false,
|
|
3017
|
+
"type": "boolean"
|
|
3018
|
+
}
|
|
3019
|
+
},
|
|
2821
3020
|
"isESM": true,
|
|
2822
3021
|
"relativePath": [
|
|
2823
3022
|
"dist",
|
|
2824
3023
|
"commands",
|
|
2825
|
-
"
|
|
2826
|
-
"
|
|
3024
|
+
"menu",
|
|
3025
|
+
"pull.js"
|
|
2827
3026
|
]
|
|
2828
3027
|
},
|
|
2829
|
-
"
|
|
3028
|
+
"menu:push": {
|
|
2830
3029
|
"aliases": [],
|
|
2831
3030
|
"args": {
|
|
2832
|
-
"
|
|
2833
|
-
"description": "
|
|
2834
|
-
"name": "
|
|
2835
|
-
"required": true
|
|
3031
|
+
"path": {
|
|
3032
|
+
"description": "Path to menus directory (overrides project config)",
|
|
3033
|
+
"name": "path"
|
|
2836
3034
|
}
|
|
2837
3035
|
},
|
|
2838
|
-
"description": "
|
|
3036
|
+
"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.",
|
|
2839
3037
|
"examples": [
|
|
2840
|
-
"$ lps
|
|
2841
|
-
"$ lps hook rm hello --yes"
|
|
3038
|
+
"$ lps menu push"
|
|
2842
3039
|
],
|
|
2843
3040
|
"flags": {
|
|
2844
3041
|
"json": {
|
|
@@ -2855,6 +3052,12 @@
|
|
|
2855
3052
|
"multiple": false,
|
|
2856
3053
|
"type": "option"
|
|
2857
3054
|
},
|
|
3055
|
+
"production-confirmed": {
|
|
3056
|
+
"hidden": true,
|
|
3057
|
+
"name": "production-confirmed",
|
|
3058
|
+
"allowNo": false,
|
|
3059
|
+
"type": "boolean"
|
|
3060
|
+
},
|
|
2858
3061
|
"dry-run": {
|
|
2859
3062
|
"char": "d",
|
|
2860
3063
|
"description": "Show what would change without making changes",
|
|
@@ -2872,7 +3075,7 @@
|
|
|
2872
3075
|
},
|
|
2873
3076
|
"hasDynamicHelp": false,
|
|
2874
3077
|
"hiddenAliases": [],
|
|
2875
|
-
"id": "
|
|
3078
|
+
"id": "menu:push",
|
|
2876
3079
|
"pluginAlias": "@loopress/cli",
|
|
2877
3080
|
"pluginName": "@loopress/cli",
|
|
2878
3081
|
"pluginType": "core",
|
|
@@ -2898,24 +3101,24 @@
|
|
|
2898
3101
|
"relativePath": [
|
|
2899
3102
|
"dist",
|
|
2900
3103
|
"commands",
|
|
2901
|
-
"
|
|
2902
|
-
"
|
|
3104
|
+
"menu",
|
|
3105
|
+
"push.js"
|
|
2903
3106
|
]
|
|
2904
3107
|
},
|
|
2905
|
-
"
|
|
3108
|
+
"menu:rollback": {
|
|
2906
3109
|
"aliases": [],
|
|
2907
3110
|
"args": {
|
|
2908
3111
|
"path": {
|
|
2909
|
-
"description": "Path to
|
|
3112
|
+
"description": "Path to menus directory (overrides project config)",
|
|
2910
3113
|
"name": "path"
|
|
2911
3114
|
}
|
|
2912
3115
|
},
|
|
2913
|
-
"description": "Restore
|
|
3116
|
+
"description": "Restore nav menus and menu locations to a snapshot taken automatically before an earlier `lps menu push`",
|
|
2914
3117
|
"examples": [
|
|
2915
|
-
"$ lps
|
|
2916
|
-
"$ lps
|
|
2917
|
-
"$ lps
|
|
2918
|
-
"$ lps
|
|
3118
|
+
"$ lps menu rollback",
|
|
3119
|
+
"$ lps menu rollback --list",
|
|
3120
|
+
"$ lps menu rollback --to 1732000000000",
|
|
3121
|
+
"$ lps menu rollback --dry-run"
|
|
2919
3122
|
],
|
|
2920
3123
|
"flags": {
|
|
2921
3124
|
"json": {
|
|
@@ -2962,7 +3165,7 @@
|
|
|
2962
3165
|
},
|
|
2963
3166
|
"hasDynamicHelp": false,
|
|
2964
3167
|
"hiddenAliases": [],
|
|
2965
|
-
"id": "
|
|
3168
|
+
"id": "menu:rollback",
|
|
2966
3169
|
"pluginAlias": "@loopress/cli",
|
|
2967
3170
|
"pluginName": "@loopress/cli",
|
|
2968
3171
|
"pluginType": "core",
|
|
@@ -2988,7 +3191,7 @@
|
|
|
2988
3191
|
"relativePath": [
|
|
2989
3192
|
"dist",
|
|
2990
3193
|
"commands",
|
|
2991
|
-
"
|
|
3194
|
+
"menu",
|
|
2992
3195
|
"rollback.js"
|
|
2993
3196
|
]
|
|
2994
3197
|
},
|
|
@@ -3308,6 +3511,12 @@
|
|
|
3308
3511
|
"multiple": false,
|
|
3309
3512
|
"type": "option"
|
|
3310
3513
|
},
|
|
3514
|
+
"production-confirmed": {
|
|
3515
|
+
"hidden": true,
|
|
3516
|
+
"name": "production-confirmed",
|
|
3517
|
+
"allowNo": false,
|
|
3518
|
+
"type": "boolean"
|
|
3519
|
+
},
|
|
3311
3520
|
"dry-run": {
|
|
3312
3521
|
"char": "d",
|
|
3313
3522
|
"description": "Show what would change without making changes",
|
|
@@ -3331,6 +3540,22 @@
|
|
|
3331
3540
|
"pluginType": "core",
|
|
3332
3541
|
"strict": true,
|
|
3333
3542
|
"enableJsonFlag": true,
|
|
3543
|
+
"dryRunFlag": {
|
|
3544
|
+
"dry-run": {
|
|
3545
|
+
"char": "d",
|
|
3546
|
+
"description": "Show what would change without making changes",
|
|
3547
|
+
"allowNo": false,
|
|
3548
|
+
"type": "boolean"
|
|
3549
|
+
}
|
|
3550
|
+
},
|
|
3551
|
+
"yesFlag": {
|
|
3552
|
+
"yes": {
|
|
3553
|
+
"char": "y",
|
|
3554
|
+
"description": "Answer yes to confirmation prompts",
|
|
3555
|
+
"allowNo": false,
|
|
3556
|
+
"type": "boolean"
|
|
3557
|
+
}
|
|
3558
|
+
},
|
|
3334
3559
|
"isESM": true,
|
|
3335
3560
|
"relativePath": [
|
|
3336
3561
|
"dist",
|
|
@@ -3679,6 +3904,12 @@
|
|
|
3679
3904
|
"multiple": false,
|
|
3680
3905
|
"type": "option"
|
|
3681
3906
|
},
|
|
3907
|
+
"production-confirmed": {
|
|
3908
|
+
"hidden": true,
|
|
3909
|
+
"name": "production-confirmed",
|
|
3910
|
+
"allowNo": false,
|
|
3911
|
+
"type": "boolean"
|
|
3912
|
+
},
|
|
3682
3913
|
"dry-run": {
|
|
3683
3914
|
"char": "d",
|
|
3684
3915
|
"description": "Show what would change without making changes",
|
|
@@ -3702,6 +3933,22 @@
|
|
|
3702
3933
|
"pluginType": "core",
|
|
3703
3934
|
"strict": true,
|
|
3704
3935
|
"enableJsonFlag": true,
|
|
3936
|
+
"dryRunFlag": {
|
|
3937
|
+
"dry-run": {
|
|
3938
|
+
"char": "d",
|
|
3939
|
+
"description": "Show what would change without making changes",
|
|
3940
|
+
"allowNo": false,
|
|
3941
|
+
"type": "boolean"
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
"yesFlag": {
|
|
3945
|
+
"yes": {
|
|
3946
|
+
"char": "y",
|
|
3947
|
+
"description": "Answer yes to confirmation prompts",
|
|
3948
|
+
"allowNo": false,
|
|
3949
|
+
"type": "boolean"
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3705
3952
|
"isESM": true,
|
|
3706
3953
|
"relativePath": [
|
|
3707
3954
|
"dist",
|
|
@@ -3845,10 +4092,10 @@
|
|
|
3845
4092
|
"plugin:pull": {
|
|
3846
4093
|
"aliases": [],
|
|
3847
4094
|
"args": {},
|
|
3848
|
-
"description": "Pull installed plugins from WordPress into loopress.json, pinned to their live versions",
|
|
4095
|
+
"description": "Pull installed plugins from WordPress into loopress.json (or composer.json), pinned to their live versions. Plugins already tracked are refreshed; new ones are offered as a list to tick, so plugins that only belong on this environment (cache, security, backups) stay out of the project.",
|
|
3849
4096
|
"examples": [
|
|
3850
4097
|
"$ lps plugin pull",
|
|
3851
|
-
"$ lps plugin pull --
|
|
4098
|
+
"$ lps plugin pull --env production --plugin query-monitor"
|
|
3852
4099
|
],
|
|
3853
4100
|
"flags": {
|
|
3854
4101
|
"json": {
|
|
@@ -3871,6 +4118,20 @@
|
|
|
3871
4118
|
"name": "dry-run",
|
|
3872
4119
|
"allowNo": false,
|
|
3873
4120
|
"type": "boolean"
|
|
4121
|
+
},
|
|
4122
|
+
"yes": {
|
|
4123
|
+
"char": "y",
|
|
4124
|
+
"description": "Answer yes to confirmation prompts",
|
|
4125
|
+
"name": "yes",
|
|
4126
|
+
"allowNo": false,
|
|
4127
|
+
"type": "boolean"
|
|
4128
|
+
},
|
|
4129
|
+
"plugin": {
|
|
4130
|
+
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
4131
|
+
"name": "plugin",
|
|
4132
|
+
"hasDynamicHelp": false,
|
|
4133
|
+
"multiple": true,
|
|
4134
|
+
"type": "option"
|
|
3874
4135
|
}
|
|
3875
4136
|
},
|
|
3876
4137
|
"hasDynamicHelp": false,
|
|
@@ -3929,6 +4190,12 @@
|
|
|
3929
4190
|
"multiple": false,
|
|
3930
4191
|
"type": "option"
|
|
3931
4192
|
},
|
|
4193
|
+
"production-confirmed": {
|
|
4194
|
+
"hidden": true,
|
|
4195
|
+
"name": "production-confirmed",
|
|
4196
|
+
"allowNo": false,
|
|
4197
|
+
"type": "boolean"
|
|
4198
|
+
},
|
|
3932
4199
|
"dry-run": {
|
|
3933
4200
|
"char": "d",
|
|
3934
4201
|
"description": "Show what would change without making changes",
|
|
@@ -3970,16 +4237,32 @@
|
|
|
3970
4237
|
"pluginType": "core",
|
|
3971
4238
|
"strict": true,
|
|
3972
4239
|
"enableJsonFlag": true,
|
|
3973
|
-
"
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
4240
|
+
"dryRunFlag": {
|
|
4241
|
+
"dry-run": {
|
|
4242
|
+
"char": "d",
|
|
4243
|
+
"description": "Show what would change without making changes",
|
|
4244
|
+
"allowNo": false,
|
|
4245
|
+
"type": "boolean"
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
"yesFlag": {
|
|
4249
|
+
"yes": {
|
|
4250
|
+
"char": "y",
|
|
4251
|
+
"description": "Answer yes to confirmation prompts",
|
|
4252
|
+
"allowNo": false,
|
|
4253
|
+
"type": "boolean"
|
|
4254
|
+
}
|
|
4255
|
+
},
|
|
4256
|
+
"isESM": true,
|
|
4257
|
+
"relativePath": [
|
|
4258
|
+
"dist",
|
|
4259
|
+
"commands",
|
|
4260
|
+
"plugin",
|
|
4261
|
+
"push.js"
|
|
4262
|
+
]
|
|
4263
|
+
},
|
|
4264
|
+
"plugin:status": {
|
|
4265
|
+
"aliases": [],
|
|
3983
4266
|
"args": {},
|
|
3984
4267
|
"description": "Compare the plugins on WordPress against loopress.json and report drift",
|
|
3985
4268
|
"examples": [
|
|
@@ -4396,6 +4679,13 @@
|
|
|
4396
4679
|
"$ lps seo pull --post-type post --post-type page"
|
|
4397
4680
|
],
|
|
4398
4681
|
"flags": {
|
|
4682
|
+
"json": {
|
|
4683
|
+
"description": "Format output as json.",
|
|
4684
|
+
"helpGroup": "GLOBAL",
|
|
4685
|
+
"name": "json",
|
|
4686
|
+
"allowNo": false,
|
|
4687
|
+
"type": "boolean"
|
|
4688
|
+
},
|
|
4399
4689
|
"env": {
|
|
4400
4690
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
4401
4691
|
"name": "env",
|
|
@@ -4432,7 +4722,7 @@
|
|
|
4432
4722
|
"pluginName": "@loopress/cli",
|
|
4433
4723
|
"pluginType": "core",
|
|
4434
4724
|
"strict": true,
|
|
4435
|
-
"enableJsonFlag":
|
|
4725
|
+
"enableJsonFlag": true,
|
|
4436
4726
|
"dryRunFlag": {
|
|
4437
4727
|
"dry-run": {
|
|
4438
4728
|
"char": "d",
|
|
@@ -4471,6 +4761,13 @@
|
|
|
4471
4761
|
"$ lps seo push --allow-external-redirects"
|
|
4472
4762
|
],
|
|
4473
4763
|
"flags": {
|
|
4764
|
+
"json": {
|
|
4765
|
+
"description": "Format output as json.",
|
|
4766
|
+
"helpGroup": "GLOBAL",
|
|
4767
|
+
"name": "json",
|
|
4768
|
+
"allowNo": false,
|
|
4769
|
+
"type": "boolean"
|
|
4770
|
+
},
|
|
4474
4771
|
"env": {
|
|
4475
4772
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
4476
4773
|
"name": "env",
|
|
@@ -4478,6 +4775,12 @@
|
|
|
4478
4775
|
"multiple": false,
|
|
4479
4776
|
"type": "option"
|
|
4480
4777
|
},
|
|
4778
|
+
"production-confirmed": {
|
|
4779
|
+
"hidden": true,
|
|
4780
|
+
"name": "production-confirmed",
|
|
4781
|
+
"allowNo": false,
|
|
4782
|
+
"type": "boolean"
|
|
4783
|
+
},
|
|
4481
4784
|
"dry-run": {
|
|
4482
4785
|
"char": "d",
|
|
4483
4786
|
"description": "Show what would change without making changes",
|
|
@@ -4506,6 +4809,23 @@
|
|
|
4506
4809
|
"pluginName": "@loopress/cli",
|
|
4507
4810
|
"pluginType": "core",
|
|
4508
4811
|
"strict": true,
|
|
4812
|
+
"enableJsonFlag": true,
|
|
4813
|
+
"dryRunFlag": {
|
|
4814
|
+
"dry-run": {
|
|
4815
|
+
"char": "d",
|
|
4816
|
+
"description": "Show what would change without making changes",
|
|
4817
|
+
"allowNo": false,
|
|
4818
|
+
"type": "boolean"
|
|
4819
|
+
}
|
|
4820
|
+
},
|
|
4821
|
+
"yesFlag": {
|
|
4822
|
+
"yes": {
|
|
4823
|
+
"char": "y",
|
|
4824
|
+
"description": "Answer yes to confirmation prompts",
|
|
4825
|
+
"allowNo": false,
|
|
4826
|
+
"type": "boolean"
|
|
4827
|
+
}
|
|
4828
|
+
},
|
|
4509
4829
|
"isESM": true,
|
|
4510
4830
|
"relativePath": [
|
|
4511
4831
|
"dist",
|
|
@@ -4747,7 +5067,7 @@
|
|
|
4747
5067
|
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
4748
5068
|
"examples": [
|
|
4749
5069
|
"$ lps snippet publish",
|
|
4750
|
-
"$ lps snippet publish
|
|
5070
|
+
"$ lps snippet publish ./snippets"
|
|
4751
5071
|
],
|
|
4752
5072
|
"flags": {},
|
|
4753
5073
|
"hasDynamicHelp": false,
|
|
@@ -4777,7 +5097,7 @@
|
|
|
4777
5097
|
"description": "Pull snippets from WordPress",
|
|
4778
5098
|
"examples": [
|
|
4779
5099
|
"$ lps snippet pull",
|
|
4780
|
-
"$ lps snippet pull
|
|
5100
|
+
"$ lps snippet pull ./snippets"
|
|
4781
5101
|
],
|
|
4782
5102
|
"flags": {
|
|
4783
5103
|
"json": {
|
|
@@ -4852,7 +5172,7 @@
|
|
|
4852
5172
|
"description": "Push snippets to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
4853
5173
|
"examples": [
|
|
4854
5174
|
"$ lps snippet push",
|
|
4855
|
-
"$ lps snippet push
|
|
5175
|
+
"$ lps snippet push ./snippets"
|
|
4856
5176
|
],
|
|
4857
5177
|
"flags": {
|
|
4858
5178
|
"json": {
|
|
@@ -4869,6 +5189,12 @@
|
|
|
4869
5189
|
"multiple": false,
|
|
4870
5190
|
"type": "option"
|
|
4871
5191
|
},
|
|
5192
|
+
"production-confirmed": {
|
|
5193
|
+
"hidden": true,
|
|
5194
|
+
"name": "production-confirmed",
|
|
5195
|
+
"allowNo": false,
|
|
5196
|
+
"type": "boolean"
|
|
5197
|
+
},
|
|
4872
5198
|
"dry-run": {
|
|
4873
5199
|
"char": "d",
|
|
4874
5200
|
"description": "Show what would change without making changes",
|
|
@@ -4892,6 +5218,22 @@
|
|
|
4892
5218
|
"pluginType": "core",
|
|
4893
5219
|
"strict": true,
|
|
4894
5220
|
"enableJsonFlag": true,
|
|
5221
|
+
"dryRunFlag": {
|
|
5222
|
+
"dry-run": {
|
|
5223
|
+
"char": "d",
|
|
5224
|
+
"description": "Show what would change without making changes",
|
|
5225
|
+
"allowNo": false,
|
|
5226
|
+
"type": "boolean"
|
|
5227
|
+
}
|
|
5228
|
+
},
|
|
5229
|
+
"yesFlag": {
|
|
5230
|
+
"yes": {
|
|
5231
|
+
"char": "y",
|
|
5232
|
+
"description": "Answer yes to confirmation prompts",
|
|
5233
|
+
"allowNo": false,
|
|
5234
|
+
"type": "boolean"
|
|
5235
|
+
}
|
|
5236
|
+
},
|
|
4895
5237
|
"isESM": true,
|
|
4896
5238
|
"relativePath": [
|
|
4897
5239
|
"dist",
|
|
@@ -5038,14 +5380,19 @@
|
|
|
5038
5380
|
"enable.js"
|
|
5039
5381
|
]
|
|
5040
5382
|
},
|
|
5041
|
-
"
|
|
5383
|
+
"theme:add": {
|
|
5042
5384
|
"aliases": [],
|
|
5043
|
-
"args": {
|
|
5044
|
-
|
|
5385
|
+
"args": {
|
|
5386
|
+
"slug": {
|
|
5387
|
+
"description": "Theme slug on WordPress.org",
|
|
5388
|
+
"name": "slug",
|
|
5389
|
+
"required": true
|
|
5390
|
+
}
|
|
5391
|
+
},
|
|
5392
|
+
"description": "Add a WordPress.org theme to loopress.json",
|
|
5045
5393
|
"examples": [
|
|
5046
|
-
"$ lps
|
|
5047
|
-
"$ lps
|
|
5048
|
-
"$ lps template diff --env staging --against production"
|
|
5394
|
+
"$ lps theme add generatepress",
|
|
5395
|
+
"$ lps theme add generatepress --version 3.4.0"
|
|
5049
5396
|
],
|
|
5050
5397
|
"flags": {
|
|
5051
5398
|
"json": {
|
|
@@ -5062,9 +5409,16 @@
|
|
|
5062
5409
|
"multiple": false,
|
|
5063
5410
|
"type": "option"
|
|
5064
5411
|
},
|
|
5065
|
-
"
|
|
5066
|
-
"
|
|
5067
|
-
"
|
|
5412
|
+
"dry-run": {
|
|
5413
|
+
"char": "d",
|
|
5414
|
+
"description": "Show what would change without making changes",
|
|
5415
|
+
"name": "dry-run",
|
|
5416
|
+
"allowNo": false,
|
|
5417
|
+
"type": "boolean"
|
|
5418
|
+
},
|
|
5419
|
+
"version": {
|
|
5420
|
+
"description": "Exact version to pin (default: \"latest\")",
|
|
5421
|
+
"name": "version",
|
|
5068
5422
|
"hasDynamicHelp": false,
|
|
5069
5423
|
"multiple": false,
|
|
5070
5424
|
"type": "option"
|
|
@@ -5072,7 +5426,7 @@
|
|
|
5072
5426
|
},
|
|
5073
5427
|
"hasDynamicHelp": false,
|
|
5074
5428
|
"hiddenAliases": [],
|
|
5075
|
-
"id": "
|
|
5429
|
+
"id": "theme:add",
|
|
5076
5430
|
"pluginAlias": "@loopress/cli",
|
|
5077
5431
|
"pluginName": "@loopress/cli",
|
|
5078
5432
|
"pluginType": "core",
|
|
@@ -5094,28 +5448,22 @@
|
|
|
5094
5448
|
"type": "boolean"
|
|
5095
5449
|
}
|
|
5096
5450
|
},
|
|
5097
|
-
"againstFlag": {
|
|
5098
|
-
"against": {
|
|
5099
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5100
|
-
"input": [],
|
|
5101
|
-
"multiple": false,
|
|
5102
|
-
"type": "option"
|
|
5103
|
-
}
|
|
5104
|
-
},
|
|
5105
5451
|
"isESM": true,
|
|
5106
5452
|
"relativePath": [
|
|
5107
5453
|
"dist",
|
|
5108
5454
|
"commands",
|
|
5109
|
-
"
|
|
5110
|
-
"
|
|
5455
|
+
"theme",
|
|
5456
|
+
"add.js"
|
|
5111
5457
|
]
|
|
5112
5458
|
},
|
|
5113
|
-
"
|
|
5459
|
+
"theme:pull": {
|
|
5114
5460
|
"aliases": [],
|
|
5115
5461
|
"args": {},
|
|
5116
|
-
"description": "
|
|
5462
|
+
"description": "Pull everything theme related from WordPress: theme versions and Global Styles",
|
|
5117
5463
|
"examples": [
|
|
5118
|
-
"$ lps
|
|
5464
|
+
"$ lps theme pull",
|
|
5465
|
+
"$ lps theme pull --env staging",
|
|
5466
|
+
"$ lps theme pull --dry-run"
|
|
5119
5467
|
],
|
|
5120
5468
|
"flags": {
|
|
5121
5469
|
"json": {
|
|
@@ -5131,11 +5479,18 @@
|
|
|
5131
5479
|
"hasDynamicHelp": false,
|
|
5132
5480
|
"multiple": false,
|
|
5133
5481
|
"type": "option"
|
|
5482
|
+
},
|
|
5483
|
+
"dry-run": {
|
|
5484
|
+
"char": "d",
|
|
5485
|
+
"description": "Show what would change without making changes",
|
|
5486
|
+
"name": "dry-run",
|
|
5487
|
+
"allowNo": false,
|
|
5488
|
+
"type": "boolean"
|
|
5134
5489
|
}
|
|
5135
5490
|
},
|
|
5136
5491
|
"hasDynamicHelp": false,
|
|
5137
5492
|
"hiddenAliases": [],
|
|
5138
|
-
"id": "
|
|
5493
|
+
"id": "theme:pull",
|
|
5139
5494
|
"pluginAlias": "@loopress/cli",
|
|
5140
5495
|
"pluginName": "@loopress/cli",
|
|
5141
5496
|
"pluginType": "core",
|
|
@@ -5161,17 +5516,18 @@
|
|
|
5161
5516
|
"relativePath": [
|
|
5162
5517
|
"dist",
|
|
5163
5518
|
"commands",
|
|
5164
|
-
"
|
|
5165
|
-
"
|
|
5519
|
+
"theme",
|
|
5520
|
+
"pull.js"
|
|
5166
5521
|
]
|
|
5167
5522
|
},
|
|
5168
|
-
"
|
|
5523
|
+
"theme:push": {
|
|
5169
5524
|
"aliases": [],
|
|
5170
5525
|
"args": {},
|
|
5171
|
-
"description": "Push
|
|
5526
|
+
"description": "Push everything theme related to WordPress: theme versions, templates and parts, then Global Styles",
|
|
5172
5527
|
"examples": [
|
|
5173
|
-
"$ lps
|
|
5174
|
-
"$ lps
|
|
5528
|
+
"$ lps theme push",
|
|
5529
|
+
"$ lps theme push --env staging",
|
|
5530
|
+
"$ lps theme push --dry-run"
|
|
5175
5531
|
],
|
|
5176
5532
|
"flags": {
|
|
5177
5533
|
"json": {
|
|
@@ -5201,37 +5557,52 @@
|
|
|
5201
5557
|
"name": "yes",
|
|
5202
5558
|
"allowNo": false,
|
|
5203
5559
|
"type": "boolean"
|
|
5560
|
+
},
|
|
5561
|
+
"force": {
|
|
5562
|
+
"description": "Passed to `lps theme version push`",
|
|
5563
|
+
"name": "force",
|
|
5564
|
+
"allowNo": false,
|
|
5565
|
+
"type": "boolean"
|
|
5204
5566
|
}
|
|
5205
5567
|
},
|
|
5206
5568
|
"hasDynamicHelp": false,
|
|
5207
5569
|
"hiddenAliases": [],
|
|
5208
|
-
"id": "
|
|
5570
|
+
"id": "theme:push",
|
|
5209
5571
|
"pluginAlias": "@loopress/cli",
|
|
5210
5572
|
"pluginName": "@loopress/cli",
|
|
5211
5573
|
"pluginType": "core",
|
|
5212
5574
|
"strict": true,
|
|
5213
5575
|
"enableJsonFlag": true,
|
|
5576
|
+
"dryRunFlag": {
|
|
5577
|
+
"dry-run": {
|
|
5578
|
+
"char": "d",
|
|
5579
|
+
"description": "Show what would change without making changes",
|
|
5580
|
+
"allowNo": false,
|
|
5581
|
+
"type": "boolean"
|
|
5582
|
+
}
|
|
5583
|
+
},
|
|
5584
|
+
"yesFlag": {
|
|
5585
|
+
"yes": {
|
|
5586
|
+
"char": "y",
|
|
5587
|
+
"description": "Answer yes to confirmation prompts",
|
|
5588
|
+
"allowNo": false,
|
|
5589
|
+
"type": "boolean"
|
|
5590
|
+
}
|
|
5591
|
+
},
|
|
5214
5592
|
"isESM": true,
|
|
5215
5593
|
"relativePath": [
|
|
5216
5594
|
"dist",
|
|
5217
5595
|
"commands",
|
|
5218
|
-
"
|
|
5596
|
+
"theme",
|
|
5219
5597
|
"push.js"
|
|
5220
5598
|
]
|
|
5221
5599
|
},
|
|
5222
|
-
"theme:
|
|
5600
|
+
"theme:status": {
|
|
5223
5601
|
"aliases": [],
|
|
5224
|
-
"args": {
|
|
5225
|
-
|
|
5226
|
-
"description": "Theme slug on WordPress.org",
|
|
5227
|
-
"name": "slug",
|
|
5228
|
-
"required": true
|
|
5229
|
-
}
|
|
5230
|
-
},
|
|
5231
|
-
"description": "Add a WordPress.org theme to loopress.json",
|
|
5602
|
+
"args": {},
|
|
5603
|
+
"description": "Compare the themes on WordPress against loopress.json and report version drift",
|
|
5232
5604
|
"examples": [
|
|
5233
|
-
"$ lps theme
|
|
5234
|
-
"$ lps theme add generatepress --version 3.4.0"
|
|
5605
|
+
"$ lps theme status"
|
|
5235
5606
|
],
|
|
5236
5607
|
"flags": {
|
|
5237
5608
|
"json": {
|
|
@@ -5247,17 +5618,67 @@
|
|
|
5247
5618
|
"hasDynamicHelp": false,
|
|
5248
5619
|
"multiple": false,
|
|
5249
5620
|
"type": "option"
|
|
5250
|
-
}
|
|
5621
|
+
}
|
|
5622
|
+
},
|
|
5623
|
+
"hasDynamicHelp": false,
|
|
5624
|
+
"hiddenAliases": [],
|
|
5625
|
+
"id": "theme:status",
|
|
5626
|
+
"pluginAlias": "@loopress/cli",
|
|
5627
|
+
"pluginName": "@loopress/cli",
|
|
5628
|
+
"pluginType": "core",
|
|
5629
|
+
"strict": true,
|
|
5630
|
+
"enableJsonFlag": true,
|
|
5631
|
+
"dryRunFlag": {
|
|
5251
5632
|
"dry-run": {
|
|
5252
5633
|
"char": "d",
|
|
5253
5634
|
"description": "Show what would change without making changes",
|
|
5254
|
-
"
|
|
5635
|
+
"allowNo": false,
|
|
5636
|
+
"type": "boolean"
|
|
5637
|
+
}
|
|
5638
|
+
},
|
|
5639
|
+
"yesFlag": {
|
|
5640
|
+
"yes": {
|
|
5641
|
+
"char": "y",
|
|
5642
|
+
"description": "Answer yes to confirmation prompts",
|
|
5643
|
+
"allowNo": false,
|
|
5644
|
+
"type": "boolean"
|
|
5645
|
+
}
|
|
5646
|
+
},
|
|
5647
|
+
"isESM": true,
|
|
5648
|
+
"relativePath": [
|
|
5649
|
+
"dist",
|
|
5650
|
+
"commands",
|
|
5651
|
+
"theme",
|
|
5652
|
+
"status.js"
|
|
5653
|
+
]
|
|
5654
|
+
},
|
|
5655
|
+
"theme:template:diff": {
|
|
5656
|
+
"aliases": [],
|
|
5657
|
+
"args": {},
|
|
5658
|
+
"description": "Show what differs in block templates and parts between your local files and a WordPress environment, or between two environments. Templates and parts edited in the Site Editor show up too.",
|
|
5659
|
+
"examples": [
|
|
5660
|
+
"$ lps theme template diff",
|
|
5661
|
+
"$ lps theme template diff --env staging",
|
|
5662
|
+
"$ lps theme template diff --env staging --against production"
|
|
5663
|
+
],
|
|
5664
|
+
"flags": {
|
|
5665
|
+
"json": {
|
|
5666
|
+
"description": "Format output as json.",
|
|
5667
|
+
"helpGroup": "GLOBAL",
|
|
5668
|
+
"name": "json",
|
|
5255
5669
|
"allowNo": false,
|
|
5256
5670
|
"type": "boolean"
|
|
5257
5671
|
},
|
|
5258
|
-
"
|
|
5259
|
-
"description": "
|
|
5260
|
-
"name": "
|
|
5672
|
+
"env": {
|
|
5673
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5674
|
+
"name": "env",
|
|
5675
|
+
"hasDynamicHelp": false,
|
|
5676
|
+
"multiple": false,
|
|
5677
|
+
"type": "option"
|
|
5678
|
+
},
|
|
5679
|
+
"against": {
|
|
5680
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5681
|
+
"name": "against",
|
|
5261
5682
|
"hasDynamicHelp": false,
|
|
5262
5683
|
"multiple": false,
|
|
5263
5684
|
"type": "option"
|
|
@@ -5265,7 +5686,7 @@
|
|
|
5265
5686
|
},
|
|
5266
5687
|
"hasDynamicHelp": false,
|
|
5267
5688
|
"hiddenAliases": [],
|
|
5268
|
-
"id": "theme:
|
|
5689
|
+
"id": "theme:template:diff",
|
|
5269
5690
|
"pluginAlias": "@loopress/cli",
|
|
5270
5691
|
"pluginName": "@loopress/cli",
|
|
5271
5692
|
"pluginType": "core",
|
|
@@ -5287,20 +5708,29 @@
|
|
|
5287
5708
|
"type": "boolean"
|
|
5288
5709
|
}
|
|
5289
5710
|
},
|
|
5711
|
+
"againstFlag": {
|
|
5712
|
+
"against": {
|
|
5713
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
5714
|
+
"input": [],
|
|
5715
|
+
"multiple": false,
|
|
5716
|
+
"type": "option"
|
|
5717
|
+
}
|
|
5718
|
+
},
|
|
5290
5719
|
"isESM": true,
|
|
5291
5720
|
"relativePath": [
|
|
5292
5721
|
"dist",
|
|
5293
5722
|
"commands",
|
|
5294
5723
|
"theme",
|
|
5295
|
-
"
|
|
5724
|
+
"template",
|
|
5725
|
+
"diff.js"
|
|
5296
5726
|
]
|
|
5297
5727
|
},
|
|
5298
|
-
"theme:
|
|
5728
|
+
"theme:template:list": {
|
|
5299
5729
|
"aliases": [],
|
|
5300
5730
|
"args": {},
|
|
5301
|
-
"description": "
|
|
5731
|
+
"description": "Show the Loopress child theme of the active block theme: its templates, parts, and those edited in the Site Editor",
|
|
5302
5732
|
"examples": [
|
|
5303
|
-
"$ lps theme
|
|
5733
|
+
"$ lps theme template list"
|
|
5304
5734
|
],
|
|
5305
5735
|
"flags": {
|
|
5306
5736
|
"json": {
|
|
@@ -5316,18 +5746,11 @@
|
|
|
5316
5746
|
"hasDynamicHelp": false,
|
|
5317
5747
|
"multiple": false,
|
|
5318
5748
|
"type": "option"
|
|
5319
|
-
},
|
|
5320
|
-
"dry-run": {
|
|
5321
|
-
"char": "d",
|
|
5322
|
-
"description": "Show what would change without making changes",
|
|
5323
|
-
"name": "dry-run",
|
|
5324
|
-
"allowNo": false,
|
|
5325
|
-
"type": "boolean"
|
|
5326
5749
|
}
|
|
5327
5750
|
},
|
|
5328
5751
|
"hasDynamicHelp": false,
|
|
5329
5752
|
"hiddenAliases": [],
|
|
5330
|
-
"id": "theme:
|
|
5753
|
+
"id": "theme:template:list",
|
|
5331
5754
|
"pluginAlias": "@loopress/cli",
|
|
5332
5755
|
"pluginName": "@loopress/cli",
|
|
5333
5756
|
"pluginType": "core",
|
|
@@ -5354,16 +5777,17 @@
|
|
|
5354
5777
|
"dist",
|
|
5355
5778
|
"commands",
|
|
5356
5779
|
"theme",
|
|
5357
|
-
"
|
|
5780
|
+
"template",
|
|
5781
|
+
"list.js"
|
|
5358
5782
|
]
|
|
5359
5783
|
},
|
|
5360
|
-
"theme:push": {
|
|
5784
|
+
"theme:template:push": {
|
|
5361
5785
|
"aliases": [],
|
|
5362
5786
|
"args": {},
|
|
5363
|
-
"description": "
|
|
5787
|
+
"description": "Push block templates (templates/<slug>.html) and template parts (parts/<slug>.html) as the files of a child theme of the active block theme, <parent>-loopress. The child mirrors the project: files removed locally are removed from it. It is never activated for you.",
|
|
5364
5788
|
"examples": [
|
|
5365
|
-
"$ lps theme push",
|
|
5366
|
-
"$ lps theme push --
|
|
5789
|
+
"$ lps theme template push",
|
|
5790
|
+
"$ lps theme template push --dry-run"
|
|
5367
5791
|
],
|
|
5368
5792
|
"flags": {
|
|
5369
5793
|
"json": {
|
|
@@ -5380,6 +5804,12 @@
|
|
|
5380
5804
|
"multiple": false,
|
|
5381
5805
|
"type": "option"
|
|
5382
5806
|
},
|
|
5807
|
+
"production-confirmed": {
|
|
5808
|
+
"hidden": true,
|
|
5809
|
+
"name": "production-confirmed",
|
|
5810
|
+
"allowNo": false,
|
|
5811
|
+
"type": "boolean"
|
|
5812
|
+
},
|
|
5383
5813
|
"dry-run": {
|
|
5384
5814
|
"char": "d",
|
|
5385
5815
|
"description": "Show what would change without making changes",
|
|
@@ -5393,36 +5823,111 @@
|
|
|
5393
5823
|
"name": "yes",
|
|
5394
5824
|
"allowNo": false,
|
|
5395
5825
|
"type": "boolean"
|
|
5826
|
+
}
|
|
5827
|
+
},
|
|
5828
|
+
"hasDynamicHelp": false,
|
|
5829
|
+
"hiddenAliases": [],
|
|
5830
|
+
"id": "theme:template:push",
|
|
5831
|
+
"pluginAlias": "@loopress/cli",
|
|
5832
|
+
"pluginName": "@loopress/cli",
|
|
5833
|
+
"pluginType": "core",
|
|
5834
|
+
"strict": true,
|
|
5835
|
+
"enableJsonFlag": true,
|
|
5836
|
+
"dryRunFlag": {
|
|
5837
|
+
"dry-run": {
|
|
5838
|
+
"char": "d",
|
|
5839
|
+
"description": "Show what would change without making changes",
|
|
5840
|
+
"allowNo": false,
|
|
5841
|
+
"type": "boolean"
|
|
5842
|
+
}
|
|
5843
|
+
},
|
|
5844
|
+
"yesFlag": {
|
|
5845
|
+
"yes": {
|
|
5846
|
+
"char": "y",
|
|
5847
|
+
"description": "Answer yes to confirmation prompts",
|
|
5848
|
+
"allowNo": false,
|
|
5849
|
+
"type": "boolean"
|
|
5850
|
+
}
|
|
5851
|
+
},
|
|
5852
|
+
"isESM": true,
|
|
5853
|
+
"relativePath": [
|
|
5854
|
+
"dist",
|
|
5855
|
+
"commands",
|
|
5856
|
+
"theme",
|
|
5857
|
+
"template",
|
|
5858
|
+
"push.js"
|
|
5859
|
+
]
|
|
5860
|
+
},
|
|
5861
|
+
"theme:version:pull": {
|
|
5862
|
+
"aliases": [],
|
|
5863
|
+
"args": {},
|
|
5864
|
+
"description": "Pull installed themes from WordPress into loopress.json, pinned to their live versions",
|
|
5865
|
+
"examples": [
|
|
5866
|
+
"$ lps theme version pull"
|
|
5867
|
+
],
|
|
5868
|
+
"flags": {
|
|
5869
|
+
"json": {
|
|
5870
|
+
"description": "Format output as json.",
|
|
5871
|
+
"helpGroup": "GLOBAL",
|
|
5872
|
+
"name": "json",
|
|
5873
|
+
"allowNo": false,
|
|
5874
|
+
"type": "boolean"
|
|
5396
5875
|
},
|
|
5397
|
-
"
|
|
5398
|
-
"description": "
|
|
5399
|
-
"name": "
|
|
5876
|
+
"env": {
|
|
5877
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5878
|
+
"name": "env",
|
|
5879
|
+
"hasDynamicHelp": false,
|
|
5880
|
+
"multiple": false,
|
|
5881
|
+
"type": "option"
|
|
5882
|
+
},
|
|
5883
|
+
"dry-run": {
|
|
5884
|
+
"char": "d",
|
|
5885
|
+
"description": "Show what would change without making changes",
|
|
5886
|
+
"name": "dry-run",
|
|
5400
5887
|
"allowNo": false,
|
|
5401
5888
|
"type": "boolean"
|
|
5402
5889
|
}
|
|
5403
5890
|
},
|
|
5404
5891
|
"hasDynamicHelp": false,
|
|
5405
5892
|
"hiddenAliases": [],
|
|
5406
|
-
"id": "theme:
|
|
5893
|
+
"id": "theme:version:pull",
|
|
5407
5894
|
"pluginAlias": "@loopress/cli",
|
|
5408
5895
|
"pluginName": "@loopress/cli",
|
|
5409
5896
|
"pluginType": "core",
|
|
5410
5897
|
"strict": true,
|
|
5411
5898
|
"enableJsonFlag": true,
|
|
5899
|
+
"dryRunFlag": {
|
|
5900
|
+
"dry-run": {
|
|
5901
|
+
"char": "d",
|
|
5902
|
+
"description": "Show what would change without making changes",
|
|
5903
|
+
"allowNo": false,
|
|
5904
|
+
"type": "boolean"
|
|
5905
|
+
}
|
|
5906
|
+
},
|
|
5907
|
+
"yesFlag": {
|
|
5908
|
+
"yes": {
|
|
5909
|
+
"char": "y",
|
|
5910
|
+
"description": "Answer yes to confirmation prompts",
|
|
5911
|
+
"allowNo": false,
|
|
5912
|
+
"type": "boolean"
|
|
5913
|
+
}
|
|
5914
|
+
},
|
|
5412
5915
|
"isESM": true,
|
|
5413
5916
|
"relativePath": [
|
|
5414
5917
|
"dist",
|
|
5415
5918
|
"commands",
|
|
5416
5919
|
"theme",
|
|
5417
|
-
"
|
|
5920
|
+
"version",
|
|
5921
|
+
"pull.js"
|
|
5418
5922
|
]
|
|
5419
5923
|
},
|
|
5420
|
-
"theme:
|
|
5924
|
+
"theme:version:push": {
|
|
5421
5925
|
"aliases": [],
|
|
5422
5926
|
"args": {},
|
|
5423
|
-
"description": "
|
|
5927
|
+
"description": "Install themes on WordPress to match loopress.json (versions only, never switches the active theme)",
|
|
5424
5928
|
"examples": [
|
|
5425
|
-
"$ lps theme
|
|
5929
|
+
"$ lps theme version push",
|
|
5930
|
+
"$ lps theme version push --force"
|
|
5426
5931
|
],
|
|
5427
5932
|
"flags": {
|
|
5428
5933
|
"json": {
|
|
@@ -5438,11 +5943,37 @@
|
|
|
5438
5943
|
"hasDynamicHelp": false,
|
|
5439
5944
|
"multiple": false,
|
|
5440
5945
|
"type": "option"
|
|
5946
|
+
},
|
|
5947
|
+
"production-confirmed": {
|
|
5948
|
+
"hidden": true,
|
|
5949
|
+
"name": "production-confirmed",
|
|
5950
|
+
"allowNo": false,
|
|
5951
|
+
"type": "boolean"
|
|
5952
|
+
},
|
|
5953
|
+
"dry-run": {
|
|
5954
|
+
"char": "d",
|
|
5955
|
+
"description": "Show what would change without making changes",
|
|
5956
|
+
"name": "dry-run",
|
|
5957
|
+
"allowNo": false,
|
|
5958
|
+
"type": "boolean"
|
|
5959
|
+
},
|
|
5960
|
+
"yes": {
|
|
5961
|
+
"char": "y",
|
|
5962
|
+
"description": "Answer yes to confirmation prompts",
|
|
5963
|
+
"name": "yes",
|
|
5964
|
+
"allowNo": false,
|
|
5965
|
+
"type": "boolean"
|
|
5966
|
+
},
|
|
5967
|
+
"force": {
|
|
5968
|
+
"description": "Allow downgrades and take over themes installed outside Loopress",
|
|
5969
|
+
"name": "force",
|
|
5970
|
+
"allowNo": false,
|
|
5971
|
+
"type": "boolean"
|
|
5441
5972
|
}
|
|
5442
5973
|
},
|
|
5443
5974
|
"hasDynamicHelp": false,
|
|
5444
5975
|
"hiddenAliases": [],
|
|
5445
|
-
"id": "theme:
|
|
5976
|
+
"id": "theme:version:push",
|
|
5446
5977
|
"pluginAlias": "@loopress/cli",
|
|
5447
5978
|
"pluginName": "@loopress/cli",
|
|
5448
5979
|
"pluginType": "core",
|
|
@@ -5469,7 +6000,8 @@
|
|
|
5469
6000
|
"dist",
|
|
5470
6001
|
"commands",
|
|
5471
6002
|
"theme",
|
|
5472
|
-
"
|
|
6003
|
+
"version",
|
|
6004
|
+
"push.js"
|
|
5473
6005
|
]
|
|
5474
6006
|
},
|
|
5475
6007
|
"theme:style:diff": {
|
|
@@ -5563,6 +6095,13 @@
|
|
|
5563
6095
|
"$ lps theme style pull"
|
|
5564
6096
|
],
|
|
5565
6097
|
"flags": {
|
|
6098
|
+
"json": {
|
|
6099
|
+
"description": "Format output as json.",
|
|
6100
|
+
"helpGroup": "GLOBAL",
|
|
6101
|
+
"name": "json",
|
|
6102
|
+
"allowNo": false,
|
|
6103
|
+
"type": "boolean"
|
|
6104
|
+
},
|
|
5566
6105
|
"env": {
|
|
5567
6106
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5568
6107
|
"name": "env",
|
|
@@ -5585,7 +6124,7 @@
|
|
|
5585
6124
|
"pluginName": "@loopress/cli",
|
|
5586
6125
|
"pluginType": "core",
|
|
5587
6126
|
"strict": true,
|
|
5588
|
-
"enableJsonFlag":
|
|
6127
|
+
"enableJsonFlag": true,
|
|
5589
6128
|
"dryRunFlag": {
|
|
5590
6129
|
"dry-run": {
|
|
5591
6130
|
"char": "d",
|
|
@@ -5624,6 +6163,13 @@
|
|
|
5624
6163
|
"$ lps theme style push"
|
|
5625
6164
|
],
|
|
5626
6165
|
"flags": {
|
|
6166
|
+
"json": {
|
|
6167
|
+
"description": "Format output as json.",
|
|
6168
|
+
"helpGroup": "GLOBAL",
|
|
6169
|
+
"name": "json",
|
|
6170
|
+
"allowNo": false,
|
|
6171
|
+
"type": "boolean"
|
|
6172
|
+
},
|
|
5627
6173
|
"env": {
|
|
5628
6174
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
5629
6175
|
"name": "env",
|
|
@@ -5631,12 +6177,25 @@
|
|
|
5631
6177
|
"multiple": false,
|
|
5632
6178
|
"type": "option"
|
|
5633
6179
|
},
|
|
6180
|
+
"production-confirmed": {
|
|
6181
|
+
"hidden": true,
|
|
6182
|
+
"name": "production-confirmed",
|
|
6183
|
+
"allowNo": false,
|
|
6184
|
+
"type": "boolean"
|
|
6185
|
+
},
|
|
5634
6186
|
"dry-run": {
|
|
5635
6187
|
"char": "d",
|
|
5636
6188
|
"description": "Show what would change without making changes",
|
|
5637
6189
|
"name": "dry-run",
|
|
5638
6190
|
"allowNo": false,
|
|
5639
6191
|
"type": "boolean"
|
|
6192
|
+
},
|
|
6193
|
+
"yes": {
|
|
6194
|
+
"char": "y",
|
|
6195
|
+
"description": "Answer yes to confirmation prompts",
|
|
6196
|
+
"name": "yes",
|
|
6197
|
+
"allowNo": false,
|
|
6198
|
+
"type": "boolean"
|
|
5640
6199
|
}
|
|
5641
6200
|
},
|
|
5642
6201
|
"hasDynamicHelp": false,
|
|
@@ -5646,6 +6205,23 @@
|
|
|
5646
6205
|
"pluginName": "@loopress/cli",
|
|
5647
6206
|
"pluginType": "core",
|
|
5648
6207
|
"strict": true,
|
|
6208
|
+
"enableJsonFlag": true,
|
|
6209
|
+
"dryRunFlag": {
|
|
6210
|
+
"dry-run": {
|
|
6211
|
+
"char": "d",
|
|
6212
|
+
"description": "Show what would change without making changes",
|
|
6213
|
+
"allowNo": false,
|
|
6214
|
+
"type": "boolean"
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
6217
|
+
"yesFlag": {
|
|
6218
|
+
"yes": {
|
|
6219
|
+
"char": "y",
|
|
6220
|
+
"description": "Answer yes to confirmation prompts",
|
|
6221
|
+
"allowNo": false,
|
|
6222
|
+
"type": "boolean"
|
|
6223
|
+
}
|
|
6224
|
+
},
|
|
5649
6225
|
"isESM": true,
|
|
5650
6226
|
"relativePath": [
|
|
5651
6227
|
"dist",
|
|
@@ -5747,5 +6323,5 @@
|
|
|
5747
6323
|
]
|
|
5748
6324
|
}
|
|
5749
6325
|
},
|
|
5750
|
-
"version": "0.
|
|
6326
|
+
"version": "0.29.0"
|
|
5751
6327
|
}
|