@loopress/cli 0.30.0 → 0.31.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 +196 -143
- package/dist/commands/acf/push.js +2 -1
- package/dist/commands/composer/push.d.ts +1 -0
- package/dist/commands/composer/push.js +13 -0
- package/dist/commands/content/copy.d.ts +28 -0
- package/dist/commands/content/copy.js +97 -0
- package/dist/commands/doctor.d.ts +1 -0
- package/dist/commands/doctor.js +28 -1
- package/dist/commands/form/push.js +4 -1
- package/dist/commands/option/push.js +4 -2
- package/dist/commands/page/push.js +3 -2
- package/dist/commands/plugin/audit.js +41 -24
- package/dist/commands/promote.d.ts +1 -0
- package/dist/commands/promote.js +7 -3
- package/dist/commands/pull.d.ts +2 -1
- package/dist/commands/pull.js +24 -4
- package/dist/commands/push.d.ts +4 -2
- package/dist/commands/push.js +42 -17
- package/dist/commands/snippet/push.d.ts +1 -0
- package/dist/commands/snippet/push.js +24 -3
- package/dist/commands/theme/version/pull.js +6 -1
- package/dist/lib/base.d.ts +1 -0
- package/dist/lib/base.js +3 -0
- package/dist/lib/diff-command.d.ts +2 -0
- package/dist/lib/diff-command.js +24 -3
- package/dist/lib/load-snippets.js +4 -0
- package/dist/lib/php-files-command.d.ts +8 -0
- package/dist/lib/php-files-command.js +5 -0
- package/dist/lib/push-command.d.ts +4 -2
- package/dist/lib/push-command.js +65 -5
- package/dist/lib/resource-state.js +5 -5
- package/dist/lib/rollback-command.js +9 -2
- package/dist/lib/validate-local.js +9 -3
- package/dist/lib/wp-client.js +14 -1
- package/dist/types/snippet.d.ts +1 -0
- package/oclif.manifest.json +895 -693
- package/package.json +5 -2
package/oclif.manifest.json
CHANGED
|
@@ -329,6 +329,12 @@
|
|
|
329
329
|
"name": "yes",
|
|
330
330
|
"allowNo": false,
|
|
331
331
|
"type": "boolean"
|
|
332
|
+
},
|
|
333
|
+
"overwrite": {
|
|
334
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
335
|
+
"name": "overwrite",
|
|
336
|
+
"allowNo": false,
|
|
337
|
+
"type": "boolean"
|
|
332
338
|
}
|
|
333
339
|
},
|
|
334
340
|
"hasDynamicHelp": false,
|
|
@@ -453,6 +459,12 @@
|
|
|
453
459
|
"name": "yes",
|
|
454
460
|
"allowNo": false,
|
|
455
461
|
"type": "boolean"
|
|
462
|
+
},
|
|
463
|
+
"overwrite": {
|
|
464
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
465
|
+
"name": "overwrite",
|
|
466
|
+
"allowNo": false,
|
|
467
|
+
"type": "boolean"
|
|
456
468
|
}
|
|
457
469
|
},
|
|
458
470
|
"hasDynamicHelp": false,
|
|
@@ -839,6 +851,12 @@
|
|
|
839
851
|
"multiple": false,
|
|
840
852
|
"type": "option"
|
|
841
853
|
},
|
|
854
|
+
"overwrite": {
|
|
855
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
856
|
+
"name": "overwrite",
|
|
857
|
+
"allowNo": false,
|
|
858
|
+
"type": "boolean"
|
|
859
|
+
},
|
|
842
860
|
"production-confirmed": {
|
|
843
861
|
"hidden": true,
|
|
844
862
|
"name": "production-confirmed",
|
|
@@ -1261,6 +1279,12 @@
|
|
|
1261
1279
|
"multiple": false,
|
|
1262
1280
|
"type": "option"
|
|
1263
1281
|
},
|
|
1282
|
+
"overwrite": {
|
|
1283
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
1284
|
+
"name": "overwrite",
|
|
1285
|
+
"allowNo": false,
|
|
1286
|
+
"type": "boolean"
|
|
1287
|
+
},
|
|
1264
1288
|
"production-confirmed": {
|
|
1265
1289
|
"hidden": true,
|
|
1266
1290
|
"name": "production-confirmed",
|
|
@@ -1630,6 +1654,12 @@
|
|
|
1630
1654
|
"multiple": false,
|
|
1631
1655
|
"type": "option"
|
|
1632
1656
|
},
|
|
1657
|
+
"overwrite": {
|
|
1658
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
1659
|
+
"name": "overwrite",
|
|
1660
|
+
"allowNo": false,
|
|
1661
|
+
"type": "boolean"
|
|
1662
|
+
},
|
|
1633
1663
|
"production-confirmed": {
|
|
1634
1664
|
"hidden": true,
|
|
1635
1665
|
"name": "production-confirmed",
|
|
@@ -1689,19 +1719,12 @@
|
|
|
1689
1719
|
"push.js"
|
|
1690
1720
|
]
|
|
1691
1721
|
},
|
|
1692
|
-
"
|
|
1722
|
+
"app:list": {
|
|
1693
1723
|
"aliases": [],
|
|
1694
|
-
"args": {
|
|
1695
|
-
|
|
1696
|
-
"description": "Path to cpt directory (overrides project config)",
|
|
1697
|
-
"name": "path"
|
|
1698
|
-
}
|
|
1699
|
-
},
|
|
1700
|
-
"description": "Show what differs in custom post types between your local cpt/ files and a WordPress environment, or between two environments",
|
|
1724
|
+
"args": {},
|
|
1725
|
+
"description": "List single-page apps deployed to WordPress",
|
|
1701
1726
|
"examples": [
|
|
1702
|
-
"$ lps
|
|
1703
|
-
"$ lps cpt diff --env staging",
|
|
1704
|
-
"$ lps cpt diff --env staging --against production"
|
|
1727
|
+
"$ lps app list"
|
|
1705
1728
|
],
|
|
1706
1729
|
"flags": {
|
|
1707
1730
|
"json": {
|
|
@@ -1717,18 +1740,11 @@
|
|
|
1717
1740
|
"hasDynamicHelp": false,
|
|
1718
1741
|
"multiple": false,
|
|
1719
1742
|
"type": "option"
|
|
1720
|
-
},
|
|
1721
|
-
"against": {
|
|
1722
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
1723
|
-
"name": "against",
|
|
1724
|
-
"hasDynamicHelp": false,
|
|
1725
|
-
"multiple": false,
|
|
1726
|
-
"type": "option"
|
|
1727
1743
|
}
|
|
1728
1744
|
},
|
|
1729
1745
|
"hasDynamicHelp": false,
|
|
1730
1746
|
"hiddenAliases": [],
|
|
1731
|
-
"id": "
|
|
1747
|
+
"id": "app:list",
|
|
1732
1748
|
"pluginAlias": "@loopress/cli",
|
|
1733
1749
|
"pluginName": "@loopress/cli",
|
|
1734
1750
|
"pluginType": "core",
|
|
@@ -1750,28 +1766,25 @@
|
|
|
1750
1766
|
"type": "boolean"
|
|
1751
1767
|
}
|
|
1752
1768
|
},
|
|
1753
|
-
"againstFlag": {
|
|
1754
|
-
"against": {
|
|
1755
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
1756
|
-
"input": [],
|
|
1757
|
-
"multiple": false,
|
|
1758
|
-
"type": "option"
|
|
1759
|
-
}
|
|
1760
|
-
},
|
|
1761
1769
|
"isESM": true,
|
|
1762
1770
|
"relativePath": [
|
|
1763
1771
|
"dist",
|
|
1764
1772
|
"commands",
|
|
1765
|
-
"
|
|
1766
|
-
"
|
|
1773
|
+
"app",
|
|
1774
|
+
"list.js"
|
|
1767
1775
|
]
|
|
1768
1776
|
},
|
|
1769
|
-
"
|
|
1777
|
+
"app:pull": {
|
|
1770
1778
|
"aliases": [],
|
|
1771
|
-
"args": {
|
|
1772
|
-
|
|
1779
|
+
"args": {
|
|
1780
|
+
"path": {
|
|
1781
|
+
"description": "Path to apps directory (overrides project config)",
|
|
1782
|
+
"name": "path"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
"description": "Pull single-page app bundles from WordPress into local files",
|
|
1773
1786
|
"examples": [
|
|
1774
|
-
"$ lps
|
|
1787
|
+
"$ lps app pull"
|
|
1775
1788
|
],
|
|
1776
1789
|
"flags": {
|
|
1777
1790
|
"json": {
|
|
@@ -1787,11 +1800,25 @@
|
|
|
1787
1800
|
"hasDynamicHelp": false,
|
|
1788
1801
|
"multiple": false,
|
|
1789
1802
|
"type": "option"
|
|
1803
|
+
},
|
|
1804
|
+
"dry-run": {
|
|
1805
|
+
"char": "d",
|
|
1806
|
+
"description": "Show what would change without making changes",
|
|
1807
|
+
"name": "dry-run",
|
|
1808
|
+
"allowNo": false,
|
|
1809
|
+
"type": "boolean"
|
|
1810
|
+
},
|
|
1811
|
+
"yes": {
|
|
1812
|
+
"char": "y",
|
|
1813
|
+
"description": "Answer yes to confirmation prompts",
|
|
1814
|
+
"name": "yes",
|
|
1815
|
+
"allowNo": false,
|
|
1816
|
+
"type": "boolean"
|
|
1790
1817
|
}
|
|
1791
1818
|
},
|
|
1792
1819
|
"hasDynamicHelp": false,
|
|
1793
1820
|
"hiddenAliases": [],
|
|
1794
|
-
"id": "
|
|
1821
|
+
"id": "app:pull",
|
|
1795
1822
|
"pluginAlias": "@loopress/cli",
|
|
1796
1823
|
"pluginName": "@loopress/cli",
|
|
1797
1824
|
"pluginType": "core",
|
|
@@ -1817,21 +1844,23 @@
|
|
|
1817
1844
|
"relativePath": [
|
|
1818
1845
|
"dist",
|
|
1819
1846
|
"commands",
|
|
1820
|
-
"
|
|
1821
|
-
"
|
|
1847
|
+
"app",
|
|
1848
|
+
"pull.js"
|
|
1822
1849
|
]
|
|
1823
1850
|
},
|
|
1824
|
-
"
|
|
1851
|
+
"app:push": {
|
|
1825
1852
|
"aliases": [],
|
|
1826
1853
|
"args": {
|
|
1827
|
-
"
|
|
1828
|
-
"description": "
|
|
1829
|
-
"name": "
|
|
1854
|
+
"name": {
|
|
1855
|
+
"description": "Push only this app (defaults to every app in the directory)",
|
|
1856
|
+
"name": "name"
|
|
1830
1857
|
}
|
|
1831
1858
|
},
|
|
1832
|
-
"description": "
|
|
1859
|
+
"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.",
|
|
1833
1860
|
"examples": [
|
|
1834
|
-
"$ lps
|
|
1861
|
+
"$ lps app push",
|
|
1862
|
+
"$ lps app push search",
|
|
1863
|
+
"$ lps app push --no-build"
|
|
1835
1864
|
],
|
|
1836
1865
|
"flags": {
|
|
1837
1866
|
"json": {
|
|
@@ -1848,6 +1877,24 @@
|
|
|
1848
1877
|
"multiple": false,
|
|
1849
1878
|
"type": "option"
|
|
1850
1879
|
},
|
|
1880
|
+
"overwrite": {
|
|
1881
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
1882
|
+
"name": "overwrite",
|
|
1883
|
+
"allowNo": false,
|
|
1884
|
+
"type": "boolean"
|
|
1885
|
+
},
|
|
1886
|
+
"production-confirmed": {
|
|
1887
|
+
"hidden": true,
|
|
1888
|
+
"name": "production-confirmed",
|
|
1889
|
+
"allowNo": false,
|
|
1890
|
+
"type": "boolean"
|
|
1891
|
+
},
|
|
1892
|
+
"build": {
|
|
1893
|
+
"description": "Run the app's package.json build script before pushing",
|
|
1894
|
+
"name": "build",
|
|
1895
|
+
"allowNo": true,
|
|
1896
|
+
"type": "boolean"
|
|
1897
|
+
},
|
|
1851
1898
|
"dry-run": {
|
|
1852
1899
|
"char": "d",
|
|
1853
1900
|
"description": "Show what would change without making changes",
|
|
@@ -1865,7 +1912,7 @@
|
|
|
1865
1912
|
},
|
|
1866
1913
|
"hasDynamicHelp": false,
|
|
1867
1914
|
"hiddenAliases": [],
|
|
1868
|
-
"id": "
|
|
1915
|
+
"id": "app:push",
|
|
1869
1916
|
"pluginAlias": "@loopress/cli",
|
|
1870
1917
|
"pluginName": "@loopress/cli",
|
|
1871
1918
|
"pluginType": "core",
|
|
@@ -1891,21 +1938,22 @@
|
|
|
1891
1938
|
"relativePath": [
|
|
1892
1939
|
"dist",
|
|
1893
1940
|
"commands",
|
|
1894
|
-
"
|
|
1895
|
-
"
|
|
1941
|
+
"app",
|
|
1942
|
+
"push.js"
|
|
1896
1943
|
]
|
|
1897
1944
|
},
|
|
1898
|
-
"
|
|
1945
|
+
"app:remove": {
|
|
1899
1946
|
"aliases": [],
|
|
1900
1947
|
"args": {
|
|
1901
|
-
"
|
|
1902
|
-
"description": "
|
|
1903
|
-
"name": "
|
|
1948
|
+
"name": {
|
|
1949
|
+
"description": "App to remove from WordPress",
|
|
1950
|
+
"name": "name",
|
|
1951
|
+
"required": true
|
|
1904
1952
|
}
|
|
1905
1953
|
},
|
|
1906
|
-
"description": "
|
|
1954
|
+
"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.",
|
|
1907
1955
|
"examples": [
|
|
1908
|
-
"$ lps
|
|
1956
|
+
"$ lps app remove search"
|
|
1909
1957
|
],
|
|
1910
1958
|
"flags": {
|
|
1911
1959
|
"json": {
|
|
@@ -1922,12 +1970,6 @@
|
|
|
1922
1970
|
"multiple": false,
|
|
1923
1971
|
"type": "option"
|
|
1924
1972
|
},
|
|
1925
|
-
"production-confirmed": {
|
|
1926
|
-
"hidden": true,
|
|
1927
|
-
"name": "production-confirmed",
|
|
1928
|
-
"allowNo": false,
|
|
1929
|
-
"type": "boolean"
|
|
1930
|
-
},
|
|
1931
1973
|
"dry-run": {
|
|
1932
1974
|
"char": "d",
|
|
1933
1975
|
"description": "Show what would change without making changes",
|
|
@@ -1945,7 +1987,7 @@
|
|
|
1945
1987
|
},
|
|
1946
1988
|
"hasDynamicHelp": false,
|
|
1947
1989
|
"hiddenAliases": [],
|
|
1948
|
-
"id": "
|
|
1990
|
+
"id": "app:remove",
|
|
1949
1991
|
"pluginAlias": "@loopress/cli",
|
|
1950
1992
|
"pluginName": "@loopress/cli",
|
|
1951
1993
|
"pluginType": "core",
|
|
@@ -1971,25 +2013,23 @@
|
|
|
1971
2013
|
"relativePath": [
|
|
1972
2014
|
"dist",
|
|
1973
2015
|
"commands",
|
|
1974
|
-
"
|
|
1975
|
-
"
|
|
2016
|
+
"app",
|
|
2017
|
+
"remove.js"
|
|
1976
2018
|
]
|
|
1977
2019
|
},
|
|
1978
|
-
"
|
|
1979
|
-
"aliases": [
|
|
1980
|
-
"cpt:remove"
|
|
1981
|
-
],
|
|
2020
|
+
"content:copy": {
|
|
2021
|
+
"aliases": [],
|
|
1982
2022
|
"args": {
|
|
1983
|
-
"
|
|
1984
|
-
"description": "
|
|
1985
|
-
"name": "
|
|
2023
|
+
"from": {
|
|
2024
|
+
"description": "Environment to copy the content from",
|
|
2025
|
+
"name": "from",
|
|
1986
2026
|
"required": true
|
|
1987
2027
|
}
|
|
1988
2028
|
},
|
|
1989
|
-
"description": "
|
|
2029
|
+
"description": "Replace the local site's content (posts, pages, public custom post types, terms) with the content of <from>, then push the project to the local site so tracked configuration wins. Media stay served by <from>, users, comments and orders are never copied.",
|
|
1990
2030
|
"examples": [
|
|
1991
|
-
"$ lps
|
|
1992
|
-
"$ lps
|
|
2031
|
+
"$ lps content copy production",
|
|
2032
|
+
"$ lps content copy staging --dry-run"
|
|
1993
2033
|
],
|
|
1994
2034
|
"flags": {
|
|
1995
2035
|
"json": {
|
|
@@ -2000,7 +2040,7 @@
|
|
|
2000
2040
|
"type": "boolean"
|
|
2001
2041
|
},
|
|
2002
2042
|
"env": {
|
|
2003
|
-
"
|
|
2043
|
+
"hidden": true,
|
|
2004
2044
|
"name": "env",
|
|
2005
2045
|
"hasDynamicHelp": false,
|
|
2006
2046
|
"multiple": false,
|
|
@@ -2023,7 +2063,7 @@
|
|
|
2023
2063
|
},
|
|
2024
2064
|
"hasDynamicHelp": false,
|
|
2025
2065
|
"hiddenAliases": [],
|
|
2026
|
-
"id": "
|
|
2066
|
+
"id": "content:copy",
|
|
2027
2067
|
"pluginAlias": "@loopress/cli",
|
|
2028
2068
|
"pluginName": "@loopress/cli",
|
|
2029
2069
|
"pluginType": "core",
|
|
@@ -2049,11 +2089,11 @@
|
|
|
2049
2089
|
"relativePath": [
|
|
2050
2090
|
"dist",
|
|
2051
2091
|
"commands",
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2092
|
+
"content",
|
|
2093
|
+
"copy.js"
|
|
2054
2094
|
]
|
|
2055
2095
|
},
|
|
2056
|
-
"cpt:
|
|
2096
|
+
"cpt:diff": {
|
|
2057
2097
|
"aliases": [],
|
|
2058
2098
|
"args": {
|
|
2059
2099
|
"path": {
|
|
@@ -2061,12 +2101,11 @@
|
|
|
2061
2101
|
"name": "path"
|
|
2062
2102
|
}
|
|
2063
2103
|
},
|
|
2064
|
-
"description": "
|
|
2104
|
+
"description": "Show what differs in custom post types between your local cpt/ files and a WordPress environment, or between two environments",
|
|
2065
2105
|
"examples": [
|
|
2066
|
-
"$ lps cpt
|
|
2067
|
-
"$ lps cpt
|
|
2068
|
-
"$ lps cpt
|
|
2069
|
-
"$ lps cpt rollback --dry-run"
|
|
2106
|
+
"$ lps cpt diff",
|
|
2107
|
+
"$ lps cpt diff --env staging",
|
|
2108
|
+
"$ lps cpt diff --env staging --against production"
|
|
2070
2109
|
],
|
|
2071
2110
|
"flags": {
|
|
2072
2111
|
"json": {
|
|
@@ -2083,29 +2122,9 @@
|
|
|
2083
2122
|
"multiple": false,
|
|
2084
2123
|
"type": "option"
|
|
2085
2124
|
},
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
2088
|
-
"
|
|
2089
|
-
"name": "dry-run",
|
|
2090
|
-
"allowNo": false,
|
|
2091
|
-
"type": "boolean"
|
|
2092
|
-
},
|
|
2093
|
-
"yes": {
|
|
2094
|
-
"char": "y",
|
|
2095
|
-
"description": "Answer yes to confirmation prompts",
|
|
2096
|
-
"name": "yes",
|
|
2097
|
-
"allowNo": false,
|
|
2098
|
-
"type": "boolean"
|
|
2099
|
-
},
|
|
2100
|
-
"list": {
|
|
2101
|
-
"description": "List available snapshots instead of rolling back",
|
|
2102
|
-
"name": "list",
|
|
2103
|
-
"allowNo": false,
|
|
2104
|
-
"type": "boolean"
|
|
2105
|
-
},
|
|
2106
|
-
"to": {
|
|
2107
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
2108
|
-
"name": "to",
|
|
2125
|
+
"against": {
|
|
2126
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2127
|
+
"name": "against",
|
|
2109
2128
|
"hasDynamicHelp": false,
|
|
2110
2129
|
"multiple": false,
|
|
2111
2130
|
"type": "option"
|
|
@@ -2113,7 +2132,7 @@
|
|
|
2113
2132
|
},
|
|
2114
2133
|
"hasDynamicHelp": false,
|
|
2115
2134
|
"hiddenAliases": [],
|
|
2116
|
-
"id": "cpt:
|
|
2135
|
+
"id": "cpt:diff",
|
|
2117
2136
|
"pluginAlias": "@loopress/cli",
|
|
2118
2137
|
"pluginName": "@loopress/cli",
|
|
2119
2138
|
"pluginType": "core",
|
|
@@ -2135,20 +2154,28 @@
|
|
|
2135
2154
|
"type": "boolean"
|
|
2136
2155
|
}
|
|
2137
2156
|
},
|
|
2157
|
+
"againstFlag": {
|
|
2158
|
+
"against": {
|
|
2159
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
2160
|
+
"input": [],
|
|
2161
|
+
"multiple": false,
|
|
2162
|
+
"type": "option"
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2138
2165
|
"isESM": true,
|
|
2139
2166
|
"relativePath": [
|
|
2140
2167
|
"dist",
|
|
2141
2168
|
"commands",
|
|
2142
2169
|
"cpt",
|
|
2143
|
-
"
|
|
2170
|
+
"diff.js"
|
|
2144
2171
|
]
|
|
2145
2172
|
},
|
|
2146
|
-
"
|
|
2173
|
+
"cpt:list": {
|
|
2147
2174
|
"aliases": [],
|
|
2148
2175
|
"args": {},
|
|
2149
|
-
"description": "List
|
|
2176
|
+
"description": "List the post types registered on WordPress and where each comes from (Loopress, WordPress, ACF, CPT UI, a theme or plugin). Only Loopress ones are pulled and pushed.",
|
|
2150
2177
|
"examples": [
|
|
2151
|
-
"$ lps
|
|
2178
|
+
"$ lps cpt list"
|
|
2152
2179
|
],
|
|
2153
2180
|
"flags": {
|
|
2154
2181
|
"json": {
|
|
@@ -2168,7 +2195,7 @@
|
|
|
2168
2195
|
},
|
|
2169
2196
|
"hasDynamicHelp": false,
|
|
2170
2197
|
"hiddenAliases": [],
|
|
2171
|
-
"id": "
|
|
2198
|
+
"id": "cpt:list",
|
|
2172
2199
|
"pluginAlias": "@loopress/cli",
|
|
2173
2200
|
"pluginName": "@loopress/cli",
|
|
2174
2201
|
"pluginType": "core",
|
|
@@ -2194,21 +2221,21 @@
|
|
|
2194
2221
|
"relativePath": [
|
|
2195
2222
|
"dist",
|
|
2196
2223
|
"commands",
|
|
2197
|
-
"
|
|
2224
|
+
"cpt",
|
|
2198
2225
|
"list.js"
|
|
2199
2226
|
]
|
|
2200
2227
|
},
|
|
2201
|
-
"
|
|
2228
|
+
"cpt:pull": {
|
|
2202
2229
|
"aliases": [],
|
|
2203
2230
|
"args": {
|
|
2204
2231
|
"path": {
|
|
2205
|
-
"description": "Path to
|
|
2232
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2206
2233
|
"name": "path"
|
|
2207
2234
|
}
|
|
2208
2235
|
},
|
|
2209
|
-
"description": "Pull
|
|
2236
|
+
"description": "Pull the custom post types Loopress manages on WordPress into cpt/<slug>.json files. Post types registered by a theme or another plugin are never pulled, see `lps cpt list`.",
|
|
2210
2237
|
"examples": [
|
|
2211
|
-
"$ lps
|
|
2238
|
+
"$ lps cpt pull"
|
|
2212
2239
|
],
|
|
2213
2240
|
"flags": {
|
|
2214
2241
|
"json": {
|
|
@@ -2242,7 +2269,7 @@
|
|
|
2242
2269
|
},
|
|
2243
2270
|
"hasDynamicHelp": false,
|
|
2244
2271
|
"hiddenAliases": [],
|
|
2245
|
-
"id": "
|
|
2272
|
+
"id": "cpt:pull",
|
|
2246
2273
|
"pluginAlias": "@loopress/cli",
|
|
2247
2274
|
"pluginName": "@loopress/cli",
|
|
2248
2275
|
"pluginType": "core",
|
|
@@ -2268,23 +2295,21 @@
|
|
|
2268
2295
|
"relativePath": [
|
|
2269
2296
|
"dist",
|
|
2270
2297
|
"commands",
|
|
2271
|
-
"
|
|
2298
|
+
"cpt",
|
|
2272
2299
|
"pull.js"
|
|
2273
2300
|
]
|
|
2274
2301
|
},
|
|
2275
|
-
"
|
|
2302
|
+
"cpt:push": {
|
|
2276
2303
|
"aliases": [],
|
|
2277
2304
|
"args": {
|
|
2278
|
-
"
|
|
2279
|
-
"description": "
|
|
2280
|
-
"name": "
|
|
2305
|
+
"path": {
|
|
2306
|
+
"description": "Path to the cpt directory (overrides project config)",
|
|
2307
|
+
"name": "path"
|
|
2281
2308
|
}
|
|
2282
2309
|
},
|
|
2283
|
-
"description": "
|
|
2310
|
+
"description": "Push local custom post types (cpt/<slug>.json, register_post_type() arguments) to WordPress. Create or update only, never deletes a post type: use `lps cpt rm` for that.",
|
|
2284
2311
|
"examples": [
|
|
2285
|
-
"$ lps
|
|
2286
|
-
"$ lps app push search",
|
|
2287
|
-
"$ lps app push --no-build"
|
|
2312
|
+
"$ lps cpt push"
|
|
2288
2313
|
],
|
|
2289
2314
|
"flags": {
|
|
2290
2315
|
"json": {
|
|
@@ -2301,18 +2326,18 @@
|
|
|
2301
2326
|
"multiple": false,
|
|
2302
2327
|
"type": "option"
|
|
2303
2328
|
},
|
|
2329
|
+
"overwrite": {
|
|
2330
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
2331
|
+
"name": "overwrite",
|
|
2332
|
+
"allowNo": false,
|
|
2333
|
+
"type": "boolean"
|
|
2334
|
+
},
|
|
2304
2335
|
"production-confirmed": {
|
|
2305
2336
|
"hidden": true,
|
|
2306
2337
|
"name": "production-confirmed",
|
|
2307
2338
|
"allowNo": false,
|
|
2308
2339
|
"type": "boolean"
|
|
2309
2340
|
},
|
|
2310
|
-
"build": {
|
|
2311
|
-
"description": "Run the app's package.json build script before pushing",
|
|
2312
|
-
"name": "build",
|
|
2313
|
-
"allowNo": true,
|
|
2314
|
-
"type": "boolean"
|
|
2315
|
-
},
|
|
2316
2341
|
"dry-run": {
|
|
2317
2342
|
"char": "d",
|
|
2318
2343
|
"description": "Show what would change without making changes",
|
|
@@ -2330,7 +2355,7 @@
|
|
|
2330
2355
|
},
|
|
2331
2356
|
"hasDynamicHelp": false,
|
|
2332
2357
|
"hiddenAliases": [],
|
|
2333
|
-
"id": "
|
|
2358
|
+
"id": "cpt:push",
|
|
2334
2359
|
"pluginAlias": "@loopress/cli",
|
|
2335
2360
|
"pluginName": "@loopress/cli",
|
|
2336
2361
|
"pluginType": "core",
|
|
@@ -2356,22 +2381,25 @@
|
|
|
2356
2381
|
"relativePath": [
|
|
2357
2382
|
"dist",
|
|
2358
2383
|
"commands",
|
|
2359
|
-
"
|
|
2384
|
+
"cpt",
|
|
2360
2385
|
"push.js"
|
|
2361
2386
|
]
|
|
2362
2387
|
},
|
|
2363
|
-
"
|
|
2364
|
-
"aliases": [
|
|
2388
|
+
"cpt:rm": {
|
|
2389
|
+
"aliases": [
|
|
2390
|
+
"cpt:remove"
|
|
2391
|
+
],
|
|
2365
2392
|
"args": {
|
|
2366
|
-
"
|
|
2367
|
-
"description": "
|
|
2368
|
-
"name": "
|
|
2393
|
+
"slug": {
|
|
2394
|
+
"description": "The post type slug, its cpt/ file name without .json",
|
|
2395
|
+
"name": "slug",
|
|
2369
2396
|
"required": true
|
|
2370
2397
|
}
|
|
2371
2398
|
},
|
|
2372
|
-
"description": "
|
|
2399
|
+
"description": "Stop registering a Loopress custom post type on WordPress. Its posts are kept in the database, hidden until the post type is pushed again.",
|
|
2373
2400
|
"examples": [
|
|
2374
|
-
"$ lps
|
|
2401
|
+
"$ lps cpt rm <slug>",
|
|
2402
|
+
"$ lps cpt remove <slug> --yes"
|
|
2375
2403
|
],
|
|
2376
2404
|
"flags": {
|
|
2377
2405
|
"json": {
|
|
@@ -2405,7 +2433,7 @@
|
|
|
2405
2433
|
},
|
|
2406
2434
|
"hasDynamicHelp": false,
|
|
2407
2435
|
"hiddenAliases": [],
|
|
2408
|
-
"id": "
|
|
2436
|
+
"id": "cpt:rm",
|
|
2409
2437
|
"pluginAlias": "@loopress/cli",
|
|
2410
2438
|
"pluginName": "@loopress/cli",
|
|
2411
2439
|
"pluginType": "core",
|
|
@@ -2431,8 +2459,98 @@
|
|
|
2431
2459
|
"relativePath": [
|
|
2432
2460
|
"dist",
|
|
2433
2461
|
"commands",
|
|
2434
|
-
"
|
|
2435
|
-
"
|
|
2462
|
+
"cpt",
|
|
2463
|
+
"rm.js"
|
|
2464
|
+
]
|
|
2465
|
+
},
|
|
2466
|
+
"cpt:rollback": {
|
|
2467
|
+
"aliases": [],
|
|
2468
|
+
"args": {
|
|
2469
|
+
"path": {
|
|
2470
|
+
"description": "Path to cpt directory (overrides project config)",
|
|
2471
|
+
"name": "path"
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"description": "Restore custom post types to a snapshot taken automatically before an earlier `lps cpt push`",
|
|
2475
|
+
"examples": [
|
|
2476
|
+
"$ lps cpt rollback",
|
|
2477
|
+
"$ lps cpt rollback --list",
|
|
2478
|
+
"$ lps cpt rollback --to 1732000000000",
|
|
2479
|
+
"$ lps cpt rollback --dry-run"
|
|
2480
|
+
],
|
|
2481
|
+
"flags": {
|
|
2482
|
+
"json": {
|
|
2483
|
+
"description": "Format output as json.",
|
|
2484
|
+
"helpGroup": "GLOBAL",
|
|
2485
|
+
"name": "json",
|
|
2486
|
+
"allowNo": false,
|
|
2487
|
+
"type": "boolean"
|
|
2488
|
+
},
|
|
2489
|
+
"env": {
|
|
2490
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
2491
|
+
"name": "env",
|
|
2492
|
+
"hasDynamicHelp": false,
|
|
2493
|
+
"multiple": false,
|
|
2494
|
+
"type": "option"
|
|
2495
|
+
},
|
|
2496
|
+
"dry-run": {
|
|
2497
|
+
"char": "d",
|
|
2498
|
+
"description": "Show what would change without making changes",
|
|
2499
|
+
"name": "dry-run",
|
|
2500
|
+
"allowNo": false,
|
|
2501
|
+
"type": "boolean"
|
|
2502
|
+
},
|
|
2503
|
+
"yes": {
|
|
2504
|
+
"char": "y",
|
|
2505
|
+
"description": "Answer yes to confirmation prompts",
|
|
2506
|
+
"name": "yes",
|
|
2507
|
+
"allowNo": false,
|
|
2508
|
+
"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
|
+
}
|
|
2523
|
+
},
|
|
2524
|
+
"hasDynamicHelp": false,
|
|
2525
|
+
"hiddenAliases": [],
|
|
2526
|
+
"id": "cpt:rollback",
|
|
2527
|
+
"pluginAlias": "@loopress/cli",
|
|
2528
|
+
"pluginName": "@loopress/cli",
|
|
2529
|
+
"pluginType": "core",
|
|
2530
|
+
"strict": true,
|
|
2531
|
+
"enableJsonFlag": true,
|
|
2532
|
+
"dryRunFlag": {
|
|
2533
|
+
"dry-run": {
|
|
2534
|
+
"char": "d",
|
|
2535
|
+
"description": "Show what would change without making changes",
|
|
2536
|
+
"allowNo": false,
|
|
2537
|
+
"type": "boolean"
|
|
2538
|
+
}
|
|
2539
|
+
},
|
|
2540
|
+
"yesFlag": {
|
|
2541
|
+
"yes": {
|
|
2542
|
+
"char": "y",
|
|
2543
|
+
"description": "Answer yes to confirmation prompts",
|
|
2544
|
+
"allowNo": false,
|
|
2545
|
+
"type": "boolean"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
"isESM": true,
|
|
2549
|
+
"relativePath": [
|
|
2550
|
+
"dist",
|
|
2551
|
+
"commands",
|
|
2552
|
+
"cpt",
|
|
2553
|
+
"rollback.js"
|
|
2436
2554
|
]
|
|
2437
2555
|
},
|
|
2438
2556
|
"form:diff": {
|
|
@@ -2669,6 +2787,12 @@
|
|
|
2669
2787
|
"multiple": false,
|
|
2670
2788
|
"type": "option"
|
|
2671
2789
|
},
|
|
2790
|
+
"overwrite": {
|
|
2791
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
2792
|
+
"name": "overwrite",
|
|
2793
|
+
"allowNo": false,
|
|
2794
|
+
"type": "boolean"
|
|
2795
|
+
},
|
|
2672
2796
|
"production-confirmed": {
|
|
2673
2797
|
"hidden": true,
|
|
2674
2798
|
"name": "production-confirmed",
|
|
@@ -3054,6 +3178,12 @@
|
|
|
3054
3178
|
"multiple": false,
|
|
3055
3179
|
"type": "option"
|
|
3056
3180
|
},
|
|
3181
|
+
"overwrite": {
|
|
3182
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
3183
|
+
"name": "overwrite",
|
|
3184
|
+
"allowNo": false,
|
|
3185
|
+
"type": "boolean"
|
|
3186
|
+
},
|
|
3057
3187
|
"production-confirmed": {
|
|
3058
3188
|
"hidden": true,
|
|
3059
3189
|
"name": "production-confirmed",
|
|
@@ -3514,6 +3644,12 @@
|
|
|
3514
3644
|
"multiple": false,
|
|
3515
3645
|
"type": "option"
|
|
3516
3646
|
},
|
|
3647
|
+
"overwrite": {
|
|
3648
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
3649
|
+
"name": "overwrite",
|
|
3650
|
+
"allowNo": false,
|
|
3651
|
+
"type": "boolean"
|
|
3652
|
+
},
|
|
3517
3653
|
"production-confirmed": {
|
|
3518
3654
|
"hidden": true,
|
|
3519
3655
|
"name": "production-confirmed",
|
|
@@ -3890,6 +4026,12 @@
|
|
|
3890
4026
|
"multiple": false,
|
|
3891
4027
|
"type": "option"
|
|
3892
4028
|
},
|
|
4029
|
+
"overwrite": {
|
|
4030
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
4031
|
+
"name": "overwrite",
|
|
4032
|
+
"allowNo": false,
|
|
4033
|
+
"type": "boolean"
|
|
4034
|
+
},
|
|
3893
4035
|
"production-confirmed": {
|
|
3894
4036
|
"hidden": true,
|
|
3895
4037
|
"name": "production-confirmed",
|
|
@@ -4427,6 +4569,12 @@
|
|
|
4427
4569
|
"multiple": false,
|
|
4428
4570
|
"type": "option"
|
|
4429
4571
|
},
|
|
4572
|
+
"overwrite": {
|
|
4573
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
4574
|
+
"name": "overwrite",
|
|
4575
|
+
"allowNo": false,
|
|
4576
|
+
"type": "boolean"
|
|
4577
|
+
},
|
|
4430
4578
|
"production-confirmed": {
|
|
4431
4579
|
"hidden": true,
|
|
4432
4580
|
"name": "production-confirmed",
|
|
@@ -4820,6 +4968,12 @@
|
|
|
4820
4968
|
"multiple": false,
|
|
4821
4969
|
"type": "option"
|
|
4822
4970
|
},
|
|
4971
|
+
"overwrite": {
|
|
4972
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
4973
|
+
"name": "overwrite",
|
|
4974
|
+
"allowNo": false,
|
|
4975
|
+
"type": "boolean"
|
|
4976
|
+
},
|
|
4823
4977
|
"production-confirmed": {
|
|
4824
4978
|
"hidden": true,
|
|
4825
4979
|
"name": "production-confirmed",
|
|
@@ -5106,6 +5260,12 @@
|
|
|
5106
5260
|
"multiple": false,
|
|
5107
5261
|
"type": "option"
|
|
5108
5262
|
},
|
|
5263
|
+
"overwrite": {
|
|
5264
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
5265
|
+
"name": "overwrite",
|
|
5266
|
+
"allowNo": false,
|
|
5267
|
+
"type": "boolean"
|
|
5268
|
+
},
|
|
5109
5269
|
"production-confirmed": {
|
|
5110
5270
|
"hidden": true,
|
|
5111
5271
|
"name": "production-confirmed",
|
|
@@ -5327,36 +5487,89 @@
|
|
|
5327
5487
|
"rollback.js"
|
|
5328
5488
|
]
|
|
5329
5489
|
},
|
|
5330
|
-
"
|
|
5490
|
+
"plugin:add": {
|
|
5331
5491
|
"aliases": [],
|
|
5332
|
-
"args": {
|
|
5333
|
-
|
|
5492
|
+
"args": {
|
|
5493
|
+
"slug": {
|
|
5494
|
+
"description": "Plugin slug on WordPress.org",
|
|
5495
|
+
"name": "slug",
|
|
5496
|
+
"required": true
|
|
5497
|
+
}
|
|
5498
|
+
},
|
|
5499
|
+
"description": "Add a WordPress.org plugin to loopress.json",
|
|
5334
5500
|
"examples": [
|
|
5335
|
-
"$ lps
|
|
5501
|
+
"$ lps plugin add woocommerce",
|
|
5502
|
+
"$ lps plugin add woocommerce --version 9.4.2",
|
|
5503
|
+
"$ lps plugin add contact-form-7 --dry-run"
|
|
5336
5504
|
],
|
|
5337
|
-
"flags": {
|
|
5505
|
+
"flags": {
|
|
5506
|
+
"json": {
|
|
5507
|
+
"description": "Format output as json.",
|
|
5508
|
+
"helpGroup": "GLOBAL",
|
|
5509
|
+
"name": "json",
|
|
5510
|
+
"allowNo": false,
|
|
5511
|
+
"type": "boolean"
|
|
5512
|
+
},
|
|
5513
|
+
"env": {
|
|
5514
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5515
|
+
"name": "env",
|
|
5516
|
+
"hasDynamicHelp": false,
|
|
5517
|
+
"multiple": false,
|
|
5518
|
+
"type": "option"
|
|
5519
|
+
},
|
|
5520
|
+
"dry-run": {
|
|
5521
|
+
"char": "d",
|
|
5522
|
+
"description": "Show what would change without making changes",
|
|
5523
|
+
"name": "dry-run",
|
|
5524
|
+
"allowNo": false,
|
|
5525
|
+
"type": "boolean"
|
|
5526
|
+
},
|
|
5527
|
+
"version": {
|
|
5528
|
+
"description": "Exact version to pin (default: \"latest\", tracked on every push)",
|
|
5529
|
+
"name": "version",
|
|
5530
|
+
"hasDynamicHelp": false,
|
|
5531
|
+
"multiple": false,
|
|
5532
|
+
"type": "option"
|
|
5533
|
+
}
|
|
5534
|
+
},
|
|
5338
5535
|
"hasDynamicHelp": false,
|
|
5339
5536
|
"hiddenAliases": [],
|
|
5340
|
-
"id": "
|
|
5537
|
+
"id": "plugin:add",
|
|
5341
5538
|
"pluginAlias": "@loopress/cli",
|
|
5342
5539
|
"pluginName": "@loopress/cli",
|
|
5343
5540
|
"pluginType": "core",
|
|
5344
5541
|
"strict": true,
|
|
5345
|
-
"enableJsonFlag":
|
|
5542
|
+
"enableJsonFlag": true,
|
|
5543
|
+
"dryRunFlag": {
|
|
5544
|
+
"dry-run": {
|
|
5545
|
+
"char": "d",
|
|
5546
|
+
"description": "Show what would change without making changes",
|
|
5547
|
+
"allowNo": false,
|
|
5548
|
+
"type": "boolean"
|
|
5549
|
+
}
|
|
5550
|
+
},
|
|
5551
|
+
"yesFlag": {
|
|
5552
|
+
"yes": {
|
|
5553
|
+
"char": "y",
|
|
5554
|
+
"description": "Answer yes to confirmation prompts",
|
|
5555
|
+
"allowNo": false,
|
|
5556
|
+
"type": "boolean"
|
|
5557
|
+
}
|
|
5558
|
+
},
|
|
5346
5559
|
"isESM": true,
|
|
5347
5560
|
"relativePath": [
|
|
5348
5561
|
"dist",
|
|
5349
5562
|
"commands",
|
|
5350
|
-
"
|
|
5351
|
-
"
|
|
5563
|
+
"plugin",
|
|
5564
|
+
"add.js"
|
|
5352
5565
|
]
|
|
5353
5566
|
},
|
|
5354
|
-
"
|
|
5567
|
+
"plugin:audit": {
|
|
5355
5568
|
"aliases": [],
|
|
5356
5569
|
"args": {},
|
|
5357
|
-
"description": "
|
|
5570
|
+
"description": "Check the plugins in loopress.json for known vulnerabilities and health issues",
|
|
5358
5571
|
"examples": [
|
|
5359
|
-
"$ lps
|
|
5572
|
+
"$ lps plugin audit"
|
|
5360
5573
|
],
|
|
5361
5574
|
"flags": {
|
|
5362
5575
|
"json": {
|
|
@@ -5365,129 +5578,100 @@
|
|
|
5365
5578
|
"name": "json",
|
|
5366
5579
|
"allowNo": false,
|
|
5367
5580
|
"type": "boolean"
|
|
5581
|
+
},
|
|
5582
|
+
"env": {
|
|
5583
|
+
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5584
|
+
"name": "env",
|
|
5585
|
+
"hasDynamicHelp": false,
|
|
5586
|
+
"multiple": false,
|
|
5587
|
+
"type": "option"
|
|
5368
5588
|
}
|
|
5369
5589
|
},
|
|
5370
5590
|
"hasDynamicHelp": false,
|
|
5371
5591
|
"hiddenAliases": [],
|
|
5372
|
-
"id": "
|
|
5592
|
+
"id": "plugin:audit",
|
|
5373
5593
|
"pluginAlias": "@loopress/cli",
|
|
5374
5594
|
"pluginName": "@loopress/cli",
|
|
5375
5595
|
"pluginType": "core",
|
|
5376
5596
|
"strict": true,
|
|
5377
5597
|
"enableJsonFlag": true,
|
|
5598
|
+
"dryRunFlag": {
|
|
5599
|
+
"dry-run": {
|
|
5600
|
+
"char": "d",
|
|
5601
|
+
"description": "Show what would change without making changes",
|
|
5602
|
+
"allowNo": false,
|
|
5603
|
+
"type": "boolean"
|
|
5604
|
+
}
|
|
5605
|
+
},
|
|
5606
|
+
"yesFlag": {
|
|
5607
|
+
"yes": {
|
|
5608
|
+
"char": "y",
|
|
5609
|
+
"description": "Answer yes to confirmation prompts",
|
|
5610
|
+
"allowNo": false,
|
|
5611
|
+
"type": "boolean"
|
|
5612
|
+
}
|
|
5613
|
+
},
|
|
5378
5614
|
"isESM": true,
|
|
5379
5615
|
"relativePath": [
|
|
5380
5616
|
"dist",
|
|
5381
5617
|
"commands",
|
|
5382
|
-
"
|
|
5383
|
-
"
|
|
5618
|
+
"plugin",
|
|
5619
|
+
"audit.js"
|
|
5384
5620
|
]
|
|
5385
5621
|
},
|
|
5386
|
-
"
|
|
5622
|
+
"plugin:pull": {
|
|
5387
5623
|
"aliases": [],
|
|
5388
5624
|
"args": {},
|
|
5389
|
-
"description": "Pull
|
|
5625
|
+
"description": "Pull installed plugins from WordPress into loopress.json (or composer.json), pinned to their live versions. Plugins already tracked are refreshed; new ones are offered as a list to tick, so plugins that only belong on this environment (cache, security, backups) stay out of the project.",
|
|
5390
5626
|
"examples": [
|
|
5391
|
-
"$ lps
|
|
5392
|
-
|
|
5393
|
-
"flags": {},
|
|
5394
|
-
"hasDynamicHelp": false,
|
|
5395
|
-
"hiddenAliases": [],
|
|
5396
|
-
"id": "project:pull",
|
|
5397
|
-
"pluginAlias": "@loopress/cli",
|
|
5398
|
-
"pluginName": "@loopress/cli",
|
|
5399
|
-
"pluginType": "core",
|
|
5400
|
-
"strict": true,
|
|
5401
|
-
"enableJsonFlag": false,
|
|
5402
|
-
"isESM": true,
|
|
5403
|
-
"relativePath": [
|
|
5404
|
-
"dist",
|
|
5405
|
-
"commands",
|
|
5406
|
-
"project",
|
|
5407
|
-
"pull.js"
|
|
5408
|
-
]
|
|
5409
|
-
},
|
|
5410
|
-
"project:push": {
|
|
5411
|
-
"aliases": [],
|
|
5412
|
-
"args": {},
|
|
5413
|
-
"description": "Push locally configured projects, environments and credentials to your Loopress account",
|
|
5414
|
-
"examples": [
|
|
5415
|
-
"$ lps project push"
|
|
5627
|
+
"$ lps plugin pull",
|
|
5628
|
+
"$ lps plugin pull --env production --plugin query-monitor"
|
|
5416
5629
|
],
|
|
5417
5630
|
"flags": {
|
|
5418
|
-
"
|
|
5419
|
-
"
|
|
5420
|
-
"
|
|
5421
|
-
"name": "
|
|
5631
|
+
"json": {
|
|
5632
|
+
"description": "Format output as json.",
|
|
5633
|
+
"helpGroup": "GLOBAL",
|
|
5634
|
+
"name": "json",
|
|
5422
5635
|
"allowNo": false,
|
|
5423
5636
|
"type": "boolean"
|
|
5424
|
-
}
|
|
5425
|
-
},
|
|
5426
|
-
"hasDynamicHelp": false,
|
|
5427
|
-
"hiddenAliases": [],
|
|
5428
|
-
"id": "project:push",
|
|
5429
|
-
"pluginAlias": "@loopress/cli",
|
|
5430
|
-
"pluginName": "@loopress/cli",
|
|
5431
|
-
"pluginType": "core",
|
|
5432
|
-
"strict": true,
|
|
5433
|
-
"enableJsonFlag": false,
|
|
5434
|
-
"isESM": true,
|
|
5435
|
-
"relativePath": [
|
|
5436
|
-
"dist",
|
|
5437
|
-
"commands",
|
|
5438
|
-
"project",
|
|
5439
|
-
"push.js"
|
|
5440
|
-
]
|
|
5441
|
-
},
|
|
5442
|
-
"project:remove": {
|
|
5443
|
-
"aliases": [],
|
|
5444
|
-
"args": {},
|
|
5445
|
-
"description": "Remove one or more WordPress projects or environments",
|
|
5446
|
-
"examples": [
|
|
5447
|
-
"$ lps project remove"
|
|
5448
|
-
],
|
|
5449
|
-
"flags": {},
|
|
5450
|
-
"hasDynamicHelp": false,
|
|
5451
|
-
"hiddenAliases": [],
|
|
5452
|
-
"id": "project:remove",
|
|
5453
|
-
"pluginAlias": "@loopress/cli",
|
|
5454
|
-
"pluginName": "@loopress/cli",
|
|
5455
|
-
"pluginType": "core",
|
|
5456
|
-
"strict": true,
|
|
5457
|
-
"enableJsonFlag": false,
|
|
5458
|
-
"isESM": true,
|
|
5459
|
-
"relativePath": [
|
|
5460
|
-
"dist",
|
|
5461
|
-
"commands",
|
|
5462
|
-
"project",
|
|
5463
|
-
"remove.js"
|
|
5464
|
-
]
|
|
5465
|
-
},
|
|
5466
|
-
"project:rotate": {
|
|
5467
|
-
"aliases": [],
|
|
5468
|
-
"args": {},
|
|
5469
|
-
"description": "Rotate the WordPress application password for the current (or --env) environment",
|
|
5470
|
-
"examples": [
|
|
5471
|
-
"$ lps project rotate",
|
|
5472
|
-
"$ lps project rotate --env staging"
|
|
5473
|
-
],
|
|
5474
|
-
"flags": {
|
|
5637
|
+
},
|
|
5475
5638
|
"env": {
|
|
5476
5639
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5477
5640
|
"name": "env",
|
|
5478
5641
|
"hasDynamicHelp": false,
|
|
5479
5642
|
"multiple": false,
|
|
5480
5643
|
"type": "option"
|
|
5644
|
+
},
|
|
5645
|
+
"dry-run": {
|
|
5646
|
+
"char": "d",
|
|
5647
|
+
"description": "Show what would change without making changes",
|
|
5648
|
+
"name": "dry-run",
|
|
5649
|
+
"allowNo": false,
|
|
5650
|
+
"type": "boolean"
|
|
5651
|
+
},
|
|
5652
|
+
"yes": {
|
|
5653
|
+
"char": "y",
|
|
5654
|
+
"description": "Answer yes to confirmation prompts",
|
|
5655
|
+
"name": "yes",
|
|
5656
|
+
"allowNo": false,
|
|
5657
|
+
"type": "boolean"
|
|
5658
|
+
},
|
|
5659
|
+
"plugin": {
|
|
5660
|
+
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
5661
|
+
"name": "plugin",
|
|
5662
|
+
"hasDynamicHelp": false,
|
|
5663
|
+
"multiple": true,
|
|
5664
|
+
"type": "option"
|
|
5481
5665
|
}
|
|
5482
5666
|
},
|
|
5483
5667
|
"hasDynamicHelp": false,
|
|
5484
5668
|
"hiddenAliases": [],
|
|
5485
|
-
"id": "
|
|
5669
|
+
"id": "plugin:pull",
|
|
5486
5670
|
"pluginAlias": "@loopress/cli",
|
|
5487
5671
|
"pluginName": "@loopress/cli",
|
|
5488
5672
|
"pluginType": "core",
|
|
5489
5673
|
"strict": true,
|
|
5490
|
-
"enableJsonFlag":
|
|
5674
|
+
"enableJsonFlag": true,
|
|
5491
5675
|
"dryRunFlag": {
|
|
5492
5676
|
"dry-run": {
|
|
5493
5677
|
"char": "d",
|
|
@@ -5508,48 +5692,18 @@
|
|
|
5508
5692
|
"relativePath": [
|
|
5509
5693
|
"dist",
|
|
5510
5694
|
"commands",
|
|
5511
|
-
"
|
|
5512
|
-
"
|
|
5695
|
+
"plugin",
|
|
5696
|
+
"pull.js"
|
|
5513
5697
|
]
|
|
5514
5698
|
},
|
|
5515
|
-
"
|
|
5699
|
+
"plugin:push": {
|
|
5516
5700
|
"aliases": [],
|
|
5517
5701
|
"args": {},
|
|
5518
|
-
"description": "
|
|
5519
|
-
"examples": [
|
|
5520
|
-
"$ lps project switch"
|
|
5521
|
-
],
|
|
5522
|
-
"flags": {},
|
|
5523
|
-
"hasDynamicHelp": false,
|
|
5524
|
-
"hiddenAliases": [],
|
|
5525
|
-
"id": "project:switch",
|
|
5526
|
-
"pluginAlias": "@loopress/cli",
|
|
5527
|
-
"pluginName": "@loopress/cli",
|
|
5528
|
-
"pluginType": "core",
|
|
5529
|
-
"strict": true,
|
|
5530
|
-
"enableJsonFlag": false,
|
|
5531
|
-
"isESM": true,
|
|
5532
|
-
"relativePath": [
|
|
5533
|
-
"dist",
|
|
5534
|
-
"commands",
|
|
5535
|
-
"project",
|
|
5536
|
-
"switch.js"
|
|
5537
|
-
]
|
|
5538
|
-
},
|
|
5539
|
-
"plugin:add": {
|
|
5540
|
-
"aliases": [],
|
|
5541
|
-
"args": {
|
|
5542
|
-
"slug": {
|
|
5543
|
-
"description": "Plugin slug on WordPress.org",
|
|
5544
|
-
"name": "slug",
|
|
5545
|
-
"required": true
|
|
5546
|
-
}
|
|
5547
|
-
},
|
|
5548
|
-
"description": "Add a WordPress.org plugin to loopress.json",
|
|
5702
|
+
"description": "Install plugins on WordPress to match loopress.json (or composer.json), via Composer + WPackagist",
|
|
5549
5703
|
"examples": [
|
|
5550
|
-
"$ lps plugin
|
|
5551
|
-
"$ lps plugin
|
|
5552
|
-
"$ lps plugin
|
|
5704
|
+
"$ lps plugin push",
|
|
5705
|
+
"$ lps plugin push --dry-run",
|
|
5706
|
+
"$ lps plugin push --force --prune"
|
|
5553
5707
|
],
|
|
5554
5708
|
"flags": {
|
|
5555
5709
|
"json": {
|
|
@@ -5566,6 +5720,18 @@
|
|
|
5566
5720
|
"multiple": false,
|
|
5567
5721
|
"type": "option"
|
|
5568
5722
|
},
|
|
5723
|
+
"overwrite": {
|
|
5724
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
5725
|
+
"name": "overwrite",
|
|
5726
|
+
"allowNo": false,
|
|
5727
|
+
"type": "boolean"
|
|
5728
|
+
},
|
|
5729
|
+
"production-confirmed": {
|
|
5730
|
+
"hidden": true,
|
|
5731
|
+
"name": "production-confirmed",
|
|
5732
|
+
"allowNo": false,
|
|
5733
|
+
"type": "boolean"
|
|
5734
|
+
},
|
|
5569
5735
|
"dry-run": {
|
|
5570
5736
|
"char": "d",
|
|
5571
5737
|
"description": "Show what would change without making changes",
|
|
@@ -5573,17 +5739,35 @@
|
|
|
5573
5739
|
"allowNo": false,
|
|
5574
5740
|
"type": "boolean"
|
|
5575
5741
|
},
|
|
5576
|
-
"
|
|
5577
|
-
"
|
|
5578
|
-
"
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5581
|
-
"type": "
|
|
5742
|
+
"yes": {
|
|
5743
|
+
"char": "y",
|
|
5744
|
+
"description": "Answer yes to confirmation prompts",
|
|
5745
|
+
"name": "yes",
|
|
5746
|
+
"allowNo": false,
|
|
5747
|
+
"type": "boolean"
|
|
5748
|
+
},
|
|
5749
|
+
"activate": {
|
|
5750
|
+
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
5751
|
+
"name": "activate",
|
|
5752
|
+
"allowNo": false,
|
|
5753
|
+
"type": "boolean"
|
|
5754
|
+
},
|
|
5755
|
+
"force": {
|
|
5756
|
+
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
5757
|
+
"name": "force",
|
|
5758
|
+
"allowNo": false,
|
|
5759
|
+
"type": "boolean"
|
|
5760
|
+
},
|
|
5761
|
+
"prune": {
|
|
5762
|
+
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
5763
|
+
"name": "prune",
|
|
5764
|
+
"allowNo": false,
|
|
5765
|
+
"type": "boolean"
|
|
5582
5766
|
}
|
|
5583
5767
|
},
|
|
5584
5768
|
"hasDynamicHelp": false,
|
|
5585
5769
|
"hiddenAliases": [],
|
|
5586
|
-
"id": "plugin:
|
|
5770
|
+
"id": "plugin:push",
|
|
5587
5771
|
"pluginAlias": "@loopress/cli",
|
|
5588
5772
|
"pluginName": "@loopress/cli",
|
|
5589
5773
|
"pluginType": "core",
|
|
@@ -5610,15 +5794,15 @@
|
|
|
5610
5794
|
"dist",
|
|
5611
5795
|
"commands",
|
|
5612
5796
|
"plugin",
|
|
5613
|
-
"
|
|
5797
|
+
"push.js"
|
|
5614
5798
|
]
|
|
5615
5799
|
},
|
|
5616
|
-
"plugin:
|
|
5800
|
+
"plugin:status": {
|
|
5617
5801
|
"aliases": [],
|
|
5618
5802
|
"args": {},
|
|
5619
|
-
"description": "
|
|
5803
|
+
"description": "Compare the plugins on WordPress against loopress.json and report drift",
|
|
5620
5804
|
"examples": [
|
|
5621
|
-
"$ lps plugin
|
|
5805
|
+
"$ lps plugin status"
|
|
5622
5806
|
],
|
|
5623
5807
|
"flags": {
|
|
5624
5808
|
"json": {
|
|
@@ -5638,7 +5822,7 @@
|
|
|
5638
5822
|
},
|
|
5639
5823
|
"hasDynamicHelp": false,
|
|
5640
5824
|
"hiddenAliases": [],
|
|
5641
|
-
"id": "plugin:
|
|
5825
|
+
"id": "plugin:status",
|
|
5642
5826
|
"pluginAlias": "@loopress/cli",
|
|
5643
5827
|
"pluginName": "@loopress/cli",
|
|
5644
5828
|
"pluginType": "core",
|
|
@@ -5665,16 +5849,39 @@
|
|
|
5665
5849
|
"dist",
|
|
5666
5850
|
"commands",
|
|
5667
5851
|
"plugin",
|
|
5668
|
-
"
|
|
5852
|
+
"status.js"
|
|
5669
5853
|
]
|
|
5670
5854
|
},
|
|
5671
|
-
"
|
|
5855
|
+
"project:config": {
|
|
5672
5856
|
"aliases": [],
|
|
5673
5857
|
"args": {},
|
|
5674
|
-
"description": "
|
|
5858
|
+
"description": "Add or update a WordPress project environment. By default, authorizes via WordPress in your browser; manual username/Application Password entry is available as a fallback.",
|
|
5675
5859
|
"examples": [
|
|
5676
|
-
"$ lps
|
|
5677
|
-
|
|
5860
|
+
"$ lps project config"
|
|
5861
|
+
],
|
|
5862
|
+
"flags": {},
|
|
5863
|
+
"hasDynamicHelp": false,
|
|
5864
|
+
"hiddenAliases": [],
|
|
5865
|
+
"id": "project:config",
|
|
5866
|
+
"pluginAlias": "@loopress/cli",
|
|
5867
|
+
"pluginName": "@loopress/cli",
|
|
5868
|
+
"pluginType": "core",
|
|
5869
|
+
"strict": true,
|
|
5870
|
+
"enableJsonFlag": false,
|
|
5871
|
+
"isESM": true,
|
|
5872
|
+
"relativePath": [
|
|
5873
|
+
"dist",
|
|
5874
|
+
"commands",
|
|
5875
|
+
"project",
|
|
5876
|
+
"config.js"
|
|
5877
|
+
]
|
|
5878
|
+
},
|
|
5879
|
+
"project:list": {
|
|
5880
|
+
"aliases": [],
|
|
5881
|
+
"args": {},
|
|
5882
|
+
"description": "List configured WordPress projects",
|
|
5883
|
+
"examples": [
|
|
5884
|
+
"$ lps project list"
|
|
5678
5885
|
],
|
|
5679
5886
|
"flags": {
|
|
5680
5887
|
"json": {
|
|
@@ -5683,178 +5890,113 @@
|
|
|
5683
5890
|
"name": "json",
|
|
5684
5891
|
"allowNo": false,
|
|
5685
5892
|
"type": "boolean"
|
|
5686
|
-
},
|
|
5687
|
-
"env": {
|
|
5688
|
-
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5689
|
-
"name": "env",
|
|
5690
|
-
"hasDynamicHelp": false,
|
|
5691
|
-
"multiple": false,
|
|
5692
|
-
"type": "option"
|
|
5693
|
-
},
|
|
5694
|
-
"dry-run": {
|
|
5695
|
-
"char": "d",
|
|
5696
|
-
"description": "Show what would change without making changes",
|
|
5697
|
-
"name": "dry-run",
|
|
5698
|
-
"allowNo": false,
|
|
5699
|
-
"type": "boolean"
|
|
5700
|
-
},
|
|
5701
|
-
"yes": {
|
|
5702
|
-
"char": "y",
|
|
5703
|
-
"description": "Answer yes to confirmation prompts",
|
|
5704
|
-
"name": "yes",
|
|
5705
|
-
"allowNo": false,
|
|
5706
|
-
"type": "boolean"
|
|
5707
|
-
},
|
|
5708
|
-
"plugin": {
|
|
5709
|
-
"description": "Start tracking this installed plugin too, without asking (repeatable)",
|
|
5710
|
-
"name": "plugin",
|
|
5711
|
-
"hasDynamicHelp": false,
|
|
5712
|
-
"multiple": true,
|
|
5713
|
-
"type": "option"
|
|
5714
5893
|
}
|
|
5715
5894
|
},
|
|
5716
5895
|
"hasDynamicHelp": false,
|
|
5717
5896
|
"hiddenAliases": [],
|
|
5718
|
-
"id": "
|
|
5897
|
+
"id": "project:list",
|
|
5719
5898
|
"pluginAlias": "@loopress/cli",
|
|
5720
5899
|
"pluginName": "@loopress/cli",
|
|
5721
5900
|
"pluginType": "core",
|
|
5722
5901
|
"strict": true,
|
|
5723
5902
|
"enableJsonFlag": true,
|
|
5724
|
-
"dryRunFlag": {
|
|
5725
|
-
"dry-run": {
|
|
5726
|
-
"char": "d",
|
|
5727
|
-
"description": "Show what would change without making changes",
|
|
5728
|
-
"allowNo": false,
|
|
5729
|
-
"type": "boolean"
|
|
5730
|
-
}
|
|
5731
|
-
},
|
|
5732
|
-
"yesFlag": {
|
|
5733
|
-
"yes": {
|
|
5734
|
-
"char": "y",
|
|
5735
|
-
"description": "Answer yes to confirmation prompts",
|
|
5736
|
-
"allowNo": false,
|
|
5737
|
-
"type": "boolean"
|
|
5738
|
-
}
|
|
5739
|
-
},
|
|
5740
5903
|
"isESM": true,
|
|
5741
5904
|
"relativePath": [
|
|
5742
5905
|
"dist",
|
|
5743
5906
|
"commands",
|
|
5744
|
-
"
|
|
5907
|
+
"project",
|
|
5908
|
+
"list.js"
|
|
5909
|
+
]
|
|
5910
|
+
},
|
|
5911
|
+
"project:pull": {
|
|
5912
|
+
"aliases": [],
|
|
5913
|
+
"args": {},
|
|
5914
|
+
"description": "Pull projects and environments from your Loopress account that are not configured locally yet",
|
|
5915
|
+
"examples": [
|
|
5916
|
+
"$ lps project pull"
|
|
5917
|
+
],
|
|
5918
|
+
"flags": {},
|
|
5919
|
+
"hasDynamicHelp": false,
|
|
5920
|
+
"hiddenAliases": [],
|
|
5921
|
+
"id": "project:pull",
|
|
5922
|
+
"pluginAlias": "@loopress/cli",
|
|
5923
|
+
"pluginName": "@loopress/cli",
|
|
5924
|
+
"pluginType": "core",
|
|
5925
|
+
"strict": true,
|
|
5926
|
+
"enableJsonFlag": false,
|
|
5927
|
+
"isESM": true,
|
|
5928
|
+
"relativePath": [
|
|
5929
|
+
"dist",
|
|
5930
|
+
"commands",
|
|
5931
|
+
"project",
|
|
5745
5932
|
"pull.js"
|
|
5746
5933
|
]
|
|
5747
5934
|
},
|
|
5748
|
-
"
|
|
5935
|
+
"project:push": {
|
|
5749
5936
|
"aliases": [],
|
|
5750
5937
|
"args": {},
|
|
5751
|
-
"description": "
|
|
5938
|
+
"description": "Push locally configured projects, environments and credentials to your Loopress account",
|
|
5752
5939
|
"examples": [
|
|
5753
|
-
"$ lps
|
|
5754
|
-
"$ lps plugin push --dry-run",
|
|
5755
|
-
"$ lps plugin push --force --prune"
|
|
5940
|
+
"$ lps project push"
|
|
5756
5941
|
],
|
|
5757
5942
|
"flags": {
|
|
5758
|
-
"json": {
|
|
5759
|
-
"description": "Format output as json.",
|
|
5760
|
-
"helpGroup": "GLOBAL",
|
|
5761
|
-
"name": "json",
|
|
5762
|
-
"allowNo": false,
|
|
5763
|
-
"type": "boolean"
|
|
5764
|
-
},
|
|
5765
|
-
"env": {
|
|
5766
|
-
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5767
|
-
"name": "env",
|
|
5768
|
-
"hasDynamicHelp": false,
|
|
5769
|
-
"multiple": false,
|
|
5770
|
-
"type": "option"
|
|
5771
|
-
},
|
|
5772
|
-
"production-confirmed": {
|
|
5773
|
-
"hidden": true,
|
|
5774
|
-
"name": "production-confirmed",
|
|
5775
|
-
"allowNo": false,
|
|
5776
|
-
"type": "boolean"
|
|
5777
|
-
},
|
|
5778
|
-
"dry-run": {
|
|
5779
|
-
"char": "d",
|
|
5780
|
-
"description": "Show what would change without making changes",
|
|
5781
|
-
"name": "dry-run",
|
|
5782
|
-
"allowNo": false,
|
|
5783
|
-
"type": "boolean"
|
|
5784
|
-
},
|
|
5785
5943
|
"yes": {
|
|
5786
5944
|
"char": "y",
|
|
5787
5945
|
"description": "Answer yes to confirmation prompts",
|
|
5788
5946
|
"name": "yes",
|
|
5789
5947
|
"allowNo": false,
|
|
5790
5948
|
"type": "boolean"
|
|
5791
|
-
},
|
|
5792
|
-
"activate": {
|
|
5793
|
-
"description": "composer.json projects only: activate every plugin it declares. Without it, plugins keep their current state and new ones stay inactive",
|
|
5794
|
-
"name": "activate",
|
|
5795
|
-
"allowNo": false,
|
|
5796
|
-
"type": "boolean"
|
|
5797
|
-
},
|
|
5798
|
-
"force": {
|
|
5799
|
-
"description": "Allow downgrades and let Loopress take over plugins installed outside it (replaces their files)",
|
|
5800
|
-
"name": "force",
|
|
5801
|
-
"allowNo": false,
|
|
5802
|
-
"type": "boolean"
|
|
5803
|
-
},
|
|
5804
|
-
"prune": {
|
|
5805
|
-
"description": "Deactivate plugins that are active on the site but absent from loopress.json (or composer.json)",
|
|
5806
|
-
"name": "prune",
|
|
5807
|
-
"allowNo": false,
|
|
5808
|
-
"type": "boolean"
|
|
5809
5949
|
}
|
|
5810
5950
|
},
|
|
5811
5951
|
"hasDynamicHelp": false,
|
|
5812
5952
|
"hiddenAliases": [],
|
|
5813
|
-
"id": "
|
|
5953
|
+
"id": "project:push",
|
|
5814
5954
|
"pluginAlias": "@loopress/cli",
|
|
5815
5955
|
"pluginName": "@loopress/cli",
|
|
5816
5956
|
"pluginType": "core",
|
|
5817
5957
|
"strict": true,
|
|
5818
|
-
"enableJsonFlag":
|
|
5819
|
-
"dryRunFlag": {
|
|
5820
|
-
"dry-run": {
|
|
5821
|
-
"char": "d",
|
|
5822
|
-
"description": "Show what would change without making changes",
|
|
5823
|
-
"allowNo": false,
|
|
5824
|
-
"type": "boolean"
|
|
5825
|
-
}
|
|
5826
|
-
},
|
|
5827
|
-
"yesFlag": {
|
|
5828
|
-
"yes": {
|
|
5829
|
-
"char": "y",
|
|
5830
|
-
"description": "Answer yes to confirmation prompts",
|
|
5831
|
-
"allowNo": false,
|
|
5832
|
-
"type": "boolean"
|
|
5833
|
-
}
|
|
5834
|
-
},
|
|
5958
|
+
"enableJsonFlag": false,
|
|
5835
5959
|
"isESM": true,
|
|
5836
5960
|
"relativePath": [
|
|
5837
5961
|
"dist",
|
|
5838
5962
|
"commands",
|
|
5839
|
-
"
|
|
5963
|
+
"project",
|
|
5840
5964
|
"push.js"
|
|
5841
5965
|
]
|
|
5842
5966
|
},
|
|
5843
|
-
"
|
|
5967
|
+
"project:remove": {
|
|
5844
5968
|
"aliases": [],
|
|
5845
5969
|
"args": {},
|
|
5846
|
-
"description": "
|
|
5970
|
+
"description": "Remove one or more WordPress projects or environments",
|
|
5847
5971
|
"examples": [
|
|
5848
|
-
"$ lps
|
|
5972
|
+
"$ lps project remove"
|
|
5973
|
+
],
|
|
5974
|
+
"flags": {},
|
|
5975
|
+
"hasDynamicHelp": false,
|
|
5976
|
+
"hiddenAliases": [],
|
|
5977
|
+
"id": "project:remove",
|
|
5978
|
+
"pluginAlias": "@loopress/cli",
|
|
5979
|
+
"pluginName": "@loopress/cli",
|
|
5980
|
+
"pluginType": "core",
|
|
5981
|
+
"strict": true,
|
|
5982
|
+
"enableJsonFlag": false,
|
|
5983
|
+
"isESM": true,
|
|
5984
|
+
"relativePath": [
|
|
5985
|
+
"dist",
|
|
5986
|
+
"commands",
|
|
5987
|
+
"project",
|
|
5988
|
+
"remove.js"
|
|
5989
|
+
]
|
|
5990
|
+
},
|
|
5991
|
+
"project:rotate": {
|
|
5992
|
+
"aliases": [],
|
|
5993
|
+
"args": {},
|
|
5994
|
+
"description": "Rotate the WordPress application password for the current (or --env) environment",
|
|
5995
|
+
"examples": [
|
|
5996
|
+
"$ lps project rotate",
|
|
5997
|
+
"$ lps project rotate --env staging"
|
|
5849
5998
|
],
|
|
5850
5999
|
"flags": {
|
|
5851
|
-
"json": {
|
|
5852
|
-
"description": "Format output as json.",
|
|
5853
|
-
"helpGroup": "GLOBAL",
|
|
5854
|
-
"name": "json",
|
|
5855
|
-
"allowNo": false,
|
|
5856
|
-
"type": "boolean"
|
|
5857
|
-
},
|
|
5858
6000
|
"env": {
|
|
5859
6001
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
5860
6002
|
"name": "env",
|
|
@@ -5865,12 +6007,12 @@
|
|
|
5865
6007
|
},
|
|
5866
6008
|
"hasDynamicHelp": false,
|
|
5867
6009
|
"hiddenAliases": [],
|
|
5868
|
-
"id": "
|
|
6010
|
+
"id": "project:rotate",
|
|
5869
6011
|
"pluginAlias": "@loopress/cli",
|
|
5870
6012
|
"pluginName": "@loopress/cli",
|
|
5871
6013
|
"pluginType": "core",
|
|
5872
6014
|
"strict": true,
|
|
5873
|
-
"enableJsonFlag":
|
|
6015
|
+
"enableJsonFlag": false,
|
|
5874
6016
|
"dryRunFlag": {
|
|
5875
6017
|
"dry-run": {
|
|
5876
6018
|
"char": "d",
|
|
@@ -5891,23 +6033,47 @@
|
|
|
5891
6033
|
"relativePath": [
|
|
5892
6034
|
"dist",
|
|
5893
6035
|
"commands",
|
|
5894
|
-
"
|
|
5895
|
-
"
|
|
6036
|
+
"project",
|
|
6037
|
+
"rotate.js"
|
|
5896
6038
|
]
|
|
5897
6039
|
},
|
|
5898
|
-
"
|
|
6040
|
+
"project:switch": {
|
|
6041
|
+
"aliases": [],
|
|
6042
|
+
"args": {},
|
|
6043
|
+
"description": "Switch the active project (pass --env to target a non-local environment)",
|
|
6044
|
+
"examples": [
|
|
6045
|
+
"$ lps project switch"
|
|
6046
|
+
],
|
|
6047
|
+
"flags": {},
|
|
6048
|
+
"hasDynamicHelp": false,
|
|
6049
|
+
"hiddenAliases": [],
|
|
6050
|
+
"id": "project:switch",
|
|
6051
|
+
"pluginAlias": "@loopress/cli",
|
|
6052
|
+
"pluginName": "@loopress/cli",
|
|
6053
|
+
"pluginType": "core",
|
|
6054
|
+
"strict": true,
|
|
6055
|
+
"enableJsonFlag": false,
|
|
6056
|
+
"isESM": true,
|
|
6057
|
+
"relativePath": [
|
|
6058
|
+
"dist",
|
|
6059
|
+
"commands",
|
|
6060
|
+
"project",
|
|
6061
|
+
"switch.js"
|
|
6062
|
+
]
|
|
6063
|
+
},
|
|
6064
|
+
"role:diff": {
|
|
5899
6065
|
"aliases": [],
|
|
5900
6066
|
"args": {
|
|
5901
6067
|
"path": {
|
|
5902
|
-
"description": "Path to
|
|
6068
|
+
"description": "Path to roles directory (overrides project config)",
|
|
5903
6069
|
"name": "path"
|
|
5904
6070
|
}
|
|
5905
6071
|
},
|
|
5906
|
-
"description": "Show what differs in
|
|
6072
|
+
"description": "Show what differs in roles between your local roles/ files and a WordPress environment, or between two environments",
|
|
5907
6073
|
"examples": [
|
|
5908
|
-
"$ lps
|
|
5909
|
-
"$ lps
|
|
5910
|
-
"$ lps
|
|
6074
|
+
"$ lps role diff",
|
|
6075
|
+
"$ lps role diff --env staging",
|
|
6076
|
+
"$ lps role diff --env staging --against production"
|
|
5911
6077
|
],
|
|
5912
6078
|
"flags": {
|
|
5913
6079
|
"json": {
|
|
@@ -5934,7 +6100,7 @@
|
|
|
5934
6100
|
},
|
|
5935
6101
|
"hasDynamicHelp": false,
|
|
5936
6102
|
"hiddenAliases": [],
|
|
5937
|
-
"id": "
|
|
6103
|
+
"id": "role:diff",
|
|
5938
6104
|
"pluginAlias": "@loopress/cli",
|
|
5939
6105
|
"pluginName": "@loopress/cli",
|
|
5940
6106
|
"pluginType": "core",
|
|
@@ -5968,16 +6134,16 @@
|
|
|
5968
6134
|
"relativePath": [
|
|
5969
6135
|
"dist",
|
|
5970
6136
|
"commands",
|
|
5971
|
-
"
|
|
6137
|
+
"role",
|
|
5972
6138
|
"diff.js"
|
|
5973
6139
|
]
|
|
5974
6140
|
},
|
|
5975
|
-
"
|
|
6141
|
+
"role:list": {
|
|
5976
6142
|
"aliases": [],
|
|
5977
6143
|
"args": {},
|
|
5978
|
-
"description": "List
|
|
6144
|
+
"description": "List the user roles on WordPress, where each comes from (Loopress, WordPress, a plugin) and how many users have it. Only Loopress ones are pulled and pushed.",
|
|
5979
6145
|
"examples": [
|
|
5980
|
-
"$ lps
|
|
6146
|
+
"$ lps role list"
|
|
5981
6147
|
],
|
|
5982
6148
|
"flags": {
|
|
5983
6149
|
"json": {
|
|
@@ -5997,7 +6163,7 @@
|
|
|
5997
6163
|
},
|
|
5998
6164
|
"hasDynamicHelp": false,
|
|
5999
6165
|
"hiddenAliases": [],
|
|
6000
|
-
"id": "
|
|
6166
|
+
"id": "role:list",
|
|
6001
6167
|
"pluginAlias": "@loopress/cli",
|
|
6002
6168
|
"pluginName": "@loopress/cli",
|
|
6003
6169
|
"pluginType": "core",
|
|
@@ -6015,60 +6181,29 @@
|
|
|
6015
6181
|
"yes": {
|
|
6016
6182
|
"char": "y",
|
|
6017
6183
|
"description": "Answer yes to confirmation prompts",
|
|
6018
|
-
"allowNo": false,
|
|
6019
|
-
"type": "boolean"
|
|
6020
|
-
}
|
|
6021
|
-
},
|
|
6022
|
-
"isESM": true,
|
|
6023
|
-
"relativePath": [
|
|
6024
|
-
"dist",
|
|
6025
|
-
"commands",
|
|
6026
|
-
"snippet",
|
|
6027
|
-
"list.js"
|
|
6028
|
-
]
|
|
6029
|
-
},
|
|
6030
|
-
"snippet:publish": {
|
|
6031
|
-
"aliases": [],
|
|
6032
|
-
"args": {
|
|
6033
|
-
"path": {
|
|
6034
|
-
"description": "Path to snippets directory (overrides project config)",
|
|
6035
|
-
"name": "path"
|
|
6184
|
+
"allowNo": false,
|
|
6185
|
+
"type": "boolean"
|
|
6036
6186
|
}
|
|
6037
6187
|
},
|
|
6038
|
-
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
6039
|
-
"examples": [
|
|
6040
|
-
"$ lps snippet publish",
|
|
6041
|
-
"$ lps snippet publish ./snippets"
|
|
6042
|
-
],
|
|
6043
|
-
"flags": {},
|
|
6044
|
-
"hasDynamicHelp": false,
|
|
6045
|
-
"hiddenAliases": [],
|
|
6046
|
-
"id": "snippet:publish",
|
|
6047
|
-
"pluginAlias": "@loopress/cli",
|
|
6048
|
-
"pluginName": "@loopress/cli",
|
|
6049
|
-
"pluginType": "core",
|
|
6050
|
-
"strict": true,
|
|
6051
|
-
"enableJsonFlag": false,
|
|
6052
6188
|
"isESM": true,
|
|
6053
6189
|
"relativePath": [
|
|
6054
6190
|
"dist",
|
|
6055
6191
|
"commands",
|
|
6056
|
-
"
|
|
6057
|
-
"
|
|
6192
|
+
"role",
|
|
6193
|
+
"list.js"
|
|
6058
6194
|
]
|
|
6059
6195
|
},
|
|
6060
|
-
"
|
|
6196
|
+
"role:pull": {
|
|
6061
6197
|
"aliases": [],
|
|
6062
6198
|
"args": {
|
|
6063
6199
|
"path": {
|
|
6064
|
-
"description": "Path to
|
|
6200
|
+
"description": "Path to the roles directory (overrides project config)",
|
|
6065
6201
|
"name": "path"
|
|
6066
6202
|
}
|
|
6067
6203
|
},
|
|
6068
|
-
"description": "Pull
|
|
6204
|
+
"description": "Pull the roles Loopress manages on WordPress into roles/<slug>.json files. Built-in roles and roles created by a plugin are never pulled, see `lps role list`.",
|
|
6069
6205
|
"examples": [
|
|
6070
|
-
"$ lps
|
|
6071
|
-
"$ lps snippet pull ./snippets"
|
|
6206
|
+
"$ lps role pull"
|
|
6072
6207
|
],
|
|
6073
6208
|
"flags": {
|
|
6074
6209
|
"json": {
|
|
@@ -6102,7 +6237,7 @@
|
|
|
6102
6237
|
},
|
|
6103
6238
|
"hasDynamicHelp": false,
|
|
6104
6239
|
"hiddenAliases": [],
|
|
6105
|
-
"id": "
|
|
6240
|
+
"id": "role:pull",
|
|
6106
6241
|
"pluginAlias": "@loopress/cli",
|
|
6107
6242
|
"pluginName": "@loopress/cli",
|
|
6108
6243
|
"pluginType": "core",
|
|
@@ -6128,22 +6263,21 @@
|
|
|
6128
6263
|
"relativePath": [
|
|
6129
6264
|
"dist",
|
|
6130
6265
|
"commands",
|
|
6131
|
-
"
|
|
6266
|
+
"role",
|
|
6132
6267
|
"pull.js"
|
|
6133
6268
|
]
|
|
6134
6269
|
},
|
|
6135
|
-
"
|
|
6270
|
+
"role:push": {
|
|
6136
6271
|
"aliases": [],
|
|
6137
6272
|
"args": {
|
|
6138
6273
|
"path": {
|
|
6139
|
-
"description": "Path to
|
|
6274
|
+
"description": "Path to the roles directory (overrides project config)",
|
|
6140
6275
|
"name": "path"
|
|
6141
6276
|
}
|
|
6142
6277
|
},
|
|
6143
|
-
"description": "Push
|
|
6278
|
+
"description": "Push local roles (roles/<slug>.json, a \"name\" and its \"capabilities\") to WordPress. Create or update only, never deletes a role (use `lps role rm`), never changes which users have it.",
|
|
6144
6279
|
"examples": [
|
|
6145
|
-
"$ lps
|
|
6146
|
-
"$ lps snippet push ./snippets"
|
|
6280
|
+
"$ lps role push"
|
|
6147
6281
|
],
|
|
6148
6282
|
"flags": {
|
|
6149
6283
|
"json": {
|
|
@@ -6160,6 +6294,12 @@
|
|
|
6160
6294
|
"multiple": false,
|
|
6161
6295
|
"type": "option"
|
|
6162
6296
|
},
|
|
6297
|
+
"overwrite": {
|
|
6298
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
6299
|
+
"name": "overwrite",
|
|
6300
|
+
"allowNo": false,
|
|
6301
|
+
"type": "boolean"
|
|
6302
|
+
},
|
|
6163
6303
|
"production-confirmed": {
|
|
6164
6304
|
"hidden": true,
|
|
6165
6305
|
"name": "production-confirmed",
|
|
@@ -6183,7 +6323,7 @@
|
|
|
6183
6323
|
},
|
|
6184
6324
|
"hasDynamicHelp": false,
|
|
6185
6325
|
"hiddenAliases": [],
|
|
6186
|
-
"id": "
|
|
6326
|
+
"id": "role:push",
|
|
6187
6327
|
"pluginAlias": "@loopress/cli",
|
|
6188
6328
|
"pluginName": "@loopress/cli",
|
|
6189
6329
|
"pluginType": "core",
|
|
@@ -6209,24 +6349,25 @@
|
|
|
6209
6349
|
"relativePath": [
|
|
6210
6350
|
"dist",
|
|
6211
6351
|
"commands",
|
|
6212
|
-
"
|
|
6352
|
+
"role",
|
|
6213
6353
|
"push.js"
|
|
6214
6354
|
]
|
|
6215
6355
|
},
|
|
6216
|
-
"
|
|
6217
|
-
"aliases": [
|
|
6356
|
+
"role:rm": {
|
|
6357
|
+
"aliases": [
|
|
6358
|
+
"role:remove"
|
|
6359
|
+
],
|
|
6218
6360
|
"args": {
|
|
6219
|
-
"
|
|
6220
|
-
"description": "
|
|
6221
|
-
"name": "
|
|
6361
|
+
"slug": {
|
|
6362
|
+
"description": "The role slug, its roles/ file name without .json",
|
|
6363
|
+
"name": "slug",
|
|
6364
|
+
"required": true
|
|
6222
6365
|
}
|
|
6223
6366
|
},
|
|
6224
|
-
"description": "
|
|
6367
|
+
"description": "Stop registering a Loopress role on WordPress. Its users keep it in their profile, with no capability until the role is pushed again.",
|
|
6225
6368
|
"examples": [
|
|
6226
|
-
"$ lps
|
|
6227
|
-
"$ lps
|
|
6228
|
-
"$ lps snippet rollback --to 1732000000000",
|
|
6229
|
-
"$ lps snippet rollback --dry-run"
|
|
6369
|
+
"$ lps role rm <slug>",
|
|
6370
|
+
"$ lps role remove <slug> --yes"
|
|
6230
6371
|
],
|
|
6231
6372
|
"flags": {
|
|
6232
6373
|
"json": {
|
|
@@ -6256,24 +6397,11 @@
|
|
|
6256
6397
|
"name": "yes",
|
|
6257
6398
|
"allowNo": false,
|
|
6258
6399
|
"type": "boolean"
|
|
6259
|
-
},
|
|
6260
|
-
"list": {
|
|
6261
|
-
"description": "List available snapshots instead of rolling back",
|
|
6262
|
-
"name": "list",
|
|
6263
|
-
"allowNo": false,
|
|
6264
|
-
"type": "boolean"
|
|
6265
|
-
},
|
|
6266
|
-
"to": {
|
|
6267
|
-
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6268
|
-
"name": "to",
|
|
6269
|
-
"hasDynamicHelp": false,
|
|
6270
|
-
"multiple": false,
|
|
6271
|
-
"type": "option"
|
|
6272
6400
|
}
|
|
6273
6401
|
},
|
|
6274
6402
|
"hasDynamicHelp": false,
|
|
6275
6403
|
"hiddenAliases": [],
|
|
6276
|
-
"id": "
|
|
6404
|
+
"id": "role:rm",
|
|
6277
6405
|
"pluginAlias": "@loopress/cli",
|
|
6278
6406
|
"pluginName": "@loopress/cli",
|
|
6279
6407
|
"pluginType": "core",
|
|
@@ -6299,71 +6427,24 @@
|
|
|
6299
6427
|
"relativePath": [
|
|
6300
6428
|
"dist",
|
|
6301
6429
|
"commands",
|
|
6302
|
-
"
|
|
6303
|
-
"
|
|
6304
|
-
]
|
|
6305
|
-
},
|
|
6306
|
-
"telemetry:disable": {
|
|
6307
|
-
"aliases": [],
|
|
6308
|
-
"args": {},
|
|
6309
|
-
"description": "Disable error reporting to Sentry",
|
|
6310
|
-
"examples": [
|
|
6311
|
-
"$ lps telemetry disable"
|
|
6312
|
-
],
|
|
6313
|
-
"flags": {},
|
|
6314
|
-
"hasDynamicHelp": false,
|
|
6315
|
-
"hiddenAliases": [],
|
|
6316
|
-
"id": "telemetry:disable",
|
|
6317
|
-
"pluginAlias": "@loopress/cli",
|
|
6318
|
-
"pluginName": "@loopress/cli",
|
|
6319
|
-
"pluginType": "core",
|
|
6320
|
-
"strict": true,
|
|
6321
|
-
"enableJsonFlag": false,
|
|
6322
|
-
"isESM": true,
|
|
6323
|
-
"relativePath": [
|
|
6324
|
-
"dist",
|
|
6325
|
-
"commands",
|
|
6326
|
-
"telemetry",
|
|
6327
|
-
"disable.js"
|
|
6328
|
-
]
|
|
6329
|
-
},
|
|
6330
|
-
"telemetry:enable": {
|
|
6331
|
-
"aliases": [],
|
|
6332
|
-
"args": {},
|
|
6333
|
-
"description": "Enable error reporting to Sentry",
|
|
6334
|
-
"examples": [
|
|
6335
|
-
"$ lps telemetry enable"
|
|
6336
|
-
],
|
|
6337
|
-
"flags": {},
|
|
6338
|
-
"hasDynamicHelp": false,
|
|
6339
|
-
"hiddenAliases": [],
|
|
6340
|
-
"id": "telemetry:enable",
|
|
6341
|
-
"pluginAlias": "@loopress/cli",
|
|
6342
|
-
"pluginName": "@loopress/cli",
|
|
6343
|
-
"pluginType": "core",
|
|
6344
|
-
"strict": true,
|
|
6345
|
-
"enableJsonFlag": false,
|
|
6346
|
-
"isESM": true,
|
|
6347
|
-
"relativePath": [
|
|
6348
|
-
"dist",
|
|
6349
|
-
"commands",
|
|
6350
|
-
"telemetry",
|
|
6351
|
-
"enable.js"
|
|
6430
|
+
"role",
|
|
6431
|
+
"rm.js"
|
|
6352
6432
|
]
|
|
6353
6433
|
},
|
|
6354
|
-
"
|
|
6434
|
+
"role:rollback": {
|
|
6355
6435
|
"aliases": [],
|
|
6356
6436
|
"args": {
|
|
6357
6437
|
"path": {
|
|
6358
|
-
"description": "Path to
|
|
6438
|
+
"description": "Path to roles directory (overrides project config)",
|
|
6359
6439
|
"name": "path"
|
|
6360
6440
|
}
|
|
6361
6441
|
},
|
|
6362
|
-
"description": "
|
|
6442
|
+
"description": "Restore roles to a snapshot taken automatically before an earlier `lps role push`",
|
|
6363
6443
|
"examples": [
|
|
6364
|
-
"$ lps
|
|
6365
|
-
"$ lps
|
|
6366
|
-
"$ lps
|
|
6444
|
+
"$ lps role rollback",
|
|
6445
|
+
"$ lps role rollback --list",
|
|
6446
|
+
"$ lps role rollback --to 1732000000000",
|
|
6447
|
+
"$ lps role rollback --dry-run"
|
|
6367
6448
|
],
|
|
6368
6449
|
"flags": {
|
|
6369
6450
|
"json": {
|
|
@@ -6380,9 +6461,29 @@
|
|
|
6380
6461
|
"multiple": false,
|
|
6381
6462
|
"type": "option"
|
|
6382
6463
|
},
|
|
6383
|
-
"
|
|
6384
|
-
"
|
|
6385
|
-
"
|
|
6464
|
+
"dry-run": {
|
|
6465
|
+
"char": "d",
|
|
6466
|
+
"description": "Show what would change without making changes",
|
|
6467
|
+
"name": "dry-run",
|
|
6468
|
+
"allowNo": false,
|
|
6469
|
+
"type": "boolean"
|
|
6470
|
+
},
|
|
6471
|
+
"yes": {
|
|
6472
|
+
"char": "y",
|
|
6473
|
+
"description": "Answer yes to confirmation prompts",
|
|
6474
|
+
"name": "yes",
|
|
6475
|
+
"allowNo": false,
|
|
6476
|
+
"type": "boolean"
|
|
6477
|
+
},
|
|
6478
|
+
"list": {
|
|
6479
|
+
"description": "List available snapshots instead of rolling back",
|
|
6480
|
+
"name": "list",
|
|
6481
|
+
"allowNo": false,
|
|
6482
|
+
"type": "boolean"
|
|
6483
|
+
},
|
|
6484
|
+
"to": {
|
|
6485
|
+
"description": "Roll back to this snapshot id instead of the most recent one",
|
|
6486
|
+
"name": "to",
|
|
6386
6487
|
"hasDynamicHelp": false,
|
|
6387
6488
|
"multiple": false,
|
|
6388
6489
|
"type": "option"
|
|
@@ -6390,7 +6491,7 @@
|
|
|
6390
6491
|
},
|
|
6391
6492
|
"hasDynamicHelp": false,
|
|
6392
6493
|
"hiddenAliases": [],
|
|
6393
|
-
"id": "
|
|
6494
|
+
"id": "role:rollback",
|
|
6394
6495
|
"pluginAlias": "@loopress/cli",
|
|
6395
6496
|
"pluginName": "@loopress/cli",
|
|
6396
6497
|
"pluginType": "core",
|
|
@@ -6412,28 +6513,27 @@
|
|
|
6412
6513
|
"type": "boolean"
|
|
6413
6514
|
}
|
|
6414
6515
|
},
|
|
6415
|
-
"againstFlag": {
|
|
6416
|
-
"against": {
|
|
6417
|
-
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
6418
|
-
"input": [],
|
|
6419
|
-
"multiple": false,
|
|
6420
|
-
"type": "option"
|
|
6421
|
-
}
|
|
6422
|
-
},
|
|
6423
6516
|
"isESM": true,
|
|
6424
6517
|
"relativePath": [
|
|
6425
6518
|
"dist",
|
|
6426
6519
|
"commands",
|
|
6427
|
-
"
|
|
6428
|
-
"
|
|
6520
|
+
"role",
|
|
6521
|
+
"rollback.js"
|
|
6429
6522
|
]
|
|
6430
6523
|
},
|
|
6431
|
-
"
|
|
6524
|
+
"snippet:diff": {
|
|
6432
6525
|
"aliases": [],
|
|
6433
|
-
"args": {
|
|
6434
|
-
|
|
6526
|
+
"args": {
|
|
6527
|
+
"path": {
|
|
6528
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6529
|
+
"name": "path"
|
|
6530
|
+
}
|
|
6531
|
+
},
|
|
6532
|
+
"description": "Show what differs in snippets between your local files and a WordPress environment, or between two environments",
|
|
6435
6533
|
"examples": [
|
|
6436
|
-
"$ lps
|
|
6534
|
+
"$ lps snippet diff",
|
|
6535
|
+
"$ lps snippet diff --env staging",
|
|
6536
|
+
"$ lps snippet diff --env staging --against production"
|
|
6437
6537
|
],
|
|
6438
6538
|
"flags": {
|
|
6439
6539
|
"json": {
|
|
@@ -6449,11 +6549,18 @@
|
|
|
6449
6549
|
"hasDynamicHelp": false,
|
|
6450
6550
|
"multiple": false,
|
|
6451
6551
|
"type": "option"
|
|
6552
|
+
},
|
|
6553
|
+
"against": {
|
|
6554
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
6555
|
+
"name": "against",
|
|
6556
|
+
"hasDynamicHelp": false,
|
|
6557
|
+
"multiple": false,
|
|
6558
|
+
"type": "option"
|
|
6452
6559
|
}
|
|
6453
6560
|
},
|
|
6454
6561
|
"hasDynamicHelp": false,
|
|
6455
6562
|
"hiddenAliases": [],
|
|
6456
|
-
"id": "
|
|
6563
|
+
"id": "snippet:diff",
|
|
6457
6564
|
"pluginAlias": "@loopress/cli",
|
|
6458
6565
|
"pluginName": "@loopress/cli",
|
|
6459
6566
|
"pluginType": "core",
|
|
@@ -6475,25 +6582,28 @@
|
|
|
6475
6582
|
"type": "boolean"
|
|
6476
6583
|
}
|
|
6477
6584
|
},
|
|
6585
|
+
"againstFlag": {
|
|
6586
|
+
"against": {
|
|
6587
|
+
"description": "Compare the primary environment against this second environment instead of against local files",
|
|
6588
|
+
"input": [],
|
|
6589
|
+
"multiple": false,
|
|
6590
|
+
"type": "option"
|
|
6591
|
+
}
|
|
6592
|
+
},
|
|
6478
6593
|
"isESM": true,
|
|
6479
6594
|
"relativePath": [
|
|
6480
6595
|
"dist",
|
|
6481
6596
|
"commands",
|
|
6482
|
-
"
|
|
6483
|
-
"
|
|
6597
|
+
"snippet",
|
|
6598
|
+
"diff.js"
|
|
6484
6599
|
]
|
|
6485
6600
|
},
|
|
6486
|
-
"
|
|
6601
|
+
"snippet:list": {
|
|
6487
6602
|
"aliases": [],
|
|
6488
|
-
"args": {
|
|
6489
|
-
|
|
6490
|
-
"description": "Path to the taxonomies directory (overrides project config)",
|
|
6491
|
-
"name": "path"
|
|
6492
|
-
}
|
|
6493
|
-
},
|
|
6494
|
-
"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`.",
|
|
6603
|
+
"args": {},
|
|
6604
|
+
"description": "List snippets from WordPress",
|
|
6495
6605
|
"examples": [
|
|
6496
|
-
"$ lps
|
|
6606
|
+
"$ lps snippet list"
|
|
6497
6607
|
],
|
|
6498
6608
|
"flags": {
|
|
6499
6609
|
"json": {
|
|
@@ -6506,28 +6616,14 @@
|
|
|
6506
6616
|
"env": {
|
|
6507
6617
|
"description": "Target environment by name (default: \"local\", or the project's only environment)",
|
|
6508
6618
|
"name": "env",
|
|
6509
|
-
"hasDynamicHelp": false,
|
|
6510
|
-
"multiple": false,
|
|
6511
|
-
"type": "option"
|
|
6512
|
-
},
|
|
6513
|
-
"dry-run": {
|
|
6514
|
-
"char": "d",
|
|
6515
|
-
"description": "Show what would change without making changes",
|
|
6516
|
-
"name": "dry-run",
|
|
6517
|
-
"allowNo": false,
|
|
6518
|
-
"type": "boolean"
|
|
6519
|
-
},
|
|
6520
|
-
"yes": {
|
|
6521
|
-
"char": "y",
|
|
6522
|
-
"description": "Answer yes to confirmation prompts",
|
|
6523
|
-
"name": "yes",
|
|
6524
|
-
"allowNo": false,
|
|
6525
|
-
"type": "boolean"
|
|
6619
|
+
"hasDynamicHelp": false,
|
|
6620
|
+
"multiple": false,
|
|
6621
|
+
"type": "option"
|
|
6526
6622
|
}
|
|
6527
6623
|
},
|
|
6528
6624
|
"hasDynamicHelp": false,
|
|
6529
6625
|
"hiddenAliases": [],
|
|
6530
|
-
"id": "
|
|
6626
|
+
"id": "snippet:list",
|
|
6531
6627
|
"pluginAlias": "@loopress/cli",
|
|
6532
6628
|
"pluginName": "@loopress/cli",
|
|
6533
6629
|
"pluginType": "core",
|
|
@@ -6553,21 +6649,52 @@
|
|
|
6553
6649
|
"relativePath": [
|
|
6554
6650
|
"dist",
|
|
6555
6651
|
"commands",
|
|
6556
|
-
"
|
|
6557
|
-
"
|
|
6652
|
+
"snippet",
|
|
6653
|
+
"list.js"
|
|
6558
6654
|
]
|
|
6559
6655
|
},
|
|
6560
|
-
"
|
|
6656
|
+
"snippet:publish": {
|
|
6561
6657
|
"aliases": [],
|
|
6562
6658
|
"args": {
|
|
6563
6659
|
"path": {
|
|
6564
|
-
"description": "Path to
|
|
6660
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6565
6661
|
"name": "path"
|
|
6566
6662
|
}
|
|
6567
6663
|
},
|
|
6568
|
-
"description": "
|
|
6664
|
+
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
6569
6665
|
"examples": [
|
|
6570
|
-
"$ lps
|
|
6666
|
+
"$ lps snippet publish",
|
|
6667
|
+
"$ lps snippet publish ./snippets"
|
|
6668
|
+
],
|
|
6669
|
+
"flags": {},
|
|
6670
|
+
"hasDynamicHelp": false,
|
|
6671
|
+
"hiddenAliases": [],
|
|
6672
|
+
"id": "snippet:publish",
|
|
6673
|
+
"pluginAlias": "@loopress/cli",
|
|
6674
|
+
"pluginName": "@loopress/cli",
|
|
6675
|
+
"pluginType": "core",
|
|
6676
|
+
"strict": true,
|
|
6677
|
+
"enableJsonFlag": false,
|
|
6678
|
+
"isESM": true,
|
|
6679
|
+
"relativePath": [
|
|
6680
|
+
"dist",
|
|
6681
|
+
"commands",
|
|
6682
|
+
"snippet",
|
|
6683
|
+
"publish.js"
|
|
6684
|
+
]
|
|
6685
|
+
},
|
|
6686
|
+
"snippet:pull": {
|
|
6687
|
+
"aliases": [],
|
|
6688
|
+
"args": {
|
|
6689
|
+
"path": {
|
|
6690
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6691
|
+
"name": "path"
|
|
6692
|
+
}
|
|
6693
|
+
},
|
|
6694
|
+
"description": "Pull snippets from WordPress",
|
|
6695
|
+
"examples": [
|
|
6696
|
+
"$ lps snippet pull",
|
|
6697
|
+
"$ lps snippet pull ./snippets"
|
|
6571
6698
|
],
|
|
6572
6699
|
"flags": {
|
|
6573
6700
|
"json": {
|
|
@@ -6584,12 +6711,6 @@
|
|
|
6584
6711
|
"multiple": false,
|
|
6585
6712
|
"type": "option"
|
|
6586
6713
|
},
|
|
6587
|
-
"production-confirmed": {
|
|
6588
|
-
"hidden": true,
|
|
6589
|
-
"name": "production-confirmed",
|
|
6590
|
-
"allowNo": false,
|
|
6591
|
-
"type": "boolean"
|
|
6592
|
-
},
|
|
6593
6714
|
"dry-run": {
|
|
6594
6715
|
"char": "d",
|
|
6595
6716
|
"description": "Show what would change without making changes",
|
|
@@ -6607,7 +6728,7 @@
|
|
|
6607
6728
|
},
|
|
6608
6729
|
"hasDynamicHelp": false,
|
|
6609
6730
|
"hiddenAliases": [],
|
|
6610
|
-
"id": "
|
|
6731
|
+
"id": "snippet:pull",
|
|
6611
6732
|
"pluginAlias": "@loopress/cli",
|
|
6612
6733
|
"pluginName": "@loopress/cli",
|
|
6613
6734
|
"pluginType": "core",
|
|
@@ -6633,25 +6754,22 @@
|
|
|
6633
6754
|
"relativePath": [
|
|
6634
6755
|
"dist",
|
|
6635
6756
|
"commands",
|
|
6636
|
-
"
|
|
6637
|
-
"
|
|
6757
|
+
"snippet",
|
|
6758
|
+
"pull.js"
|
|
6638
6759
|
]
|
|
6639
6760
|
},
|
|
6640
|
-
"
|
|
6641
|
-
"aliases": [
|
|
6642
|
-
"taxonomy:remove"
|
|
6643
|
-
],
|
|
6761
|
+
"snippet:push": {
|
|
6762
|
+
"aliases": [],
|
|
6644
6763
|
"args": {
|
|
6645
|
-
"
|
|
6646
|
-
"description": "
|
|
6647
|
-
"name": "
|
|
6648
|
-
"required": true
|
|
6764
|
+
"path": {
|
|
6765
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6766
|
+
"name": "path"
|
|
6649
6767
|
}
|
|
6650
6768
|
},
|
|
6651
|
-
"description": "
|
|
6769
|
+
"description": "Push snippets to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
6652
6770
|
"examples": [
|
|
6653
|
-
"$ lps
|
|
6654
|
-
"$ lps
|
|
6771
|
+
"$ lps snippet push",
|
|
6772
|
+
"$ lps snippet push ./snippets"
|
|
6655
6773
|
],
|
|
6656
6774
|
"flags": {
|
|
6657
6775
|
"json": {
|
|
@@ -6668,6 +6786,18 @@
|
|
|
6668
6786
|
"multiple": false,
|
|
6669
6787
|
"type": "option"
|
|
6670
6788
|
},
|
|
6789
|
+
"overwrite": {
|
|
6790
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
6791
|
+
"name": "overwrite",
|
|
6792
|
+
"allowNo": false,
|
|
6793
|
+
"type": "boolean"
|
|
6794
|
+
},
|
|
6795
|
+
"production-confirmed": {
|
|
6796
|
+
"hidden": true,
|
|
6797
|
+
"name": "production-confirmed",
|
|
6798
|
+
"allowNo": false,
|
|
6799
|
+
"type": "boolean"
|
|
6800
|
+
},
|
|
6671
6801
|
"dry-run": {
|
|
6672
6802
|
"char": "d",
|
|
6673
6803
|
"description": "Show what would change without making changes",
|
|
@@ -6685,7 +6815,7 @@
|
|
|
6685
6815
|
},
|
|
6686
6816
|
"hasDynamicHelp": false,
|
|
6687
6817
|
"hiddenAliases": [],
|
|
6688
|
-
"id": "
|
|
6818
|
+
"id": "snippet:push",
|
|
6689
6819
|
"pluginAlias": "@loopress/cli",
|
|
6690
6820
|
"pluginName": "@loopress/cli",
|
|
6691
6821
|
"pluginType": "core",
|
|
@@ -6711,24 +6841,24 @@
|
|
|
6711
6841
|
"relativePath": [
|
|
6712
6842
|
"dist",
|
|
6713
6843
|
"commands",
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6844
|
+
"snippet",
|
|
6845
|
+
"push.js"
|
|
6716
6846
|
]
|
|
6717
6847
|
},
|
|
6718
|
-
"
|
|
6848
|
+
"snippet:rollback": {
|
|
6719
6849
|
"aliases": [],
|
|
6720
6850
|
"args": {
|
|
6721
6851
|
"path": {
|
|
6722
|
-
"description": "Path to
|
|
6852
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
6723
6853
|
"name": "path"
|
|
6724
6854
|
}
|
|
6725
6855
|
},
|
|
6726
|
-
"description": "Restore
|
|
6856
|
+
"description": "Restore snippets to a snapshot taken automatically before an earlier `lps snippet push`",
|
|
6727
6857
|
"examples": [
|
|
6728
|
-
"$ lps
|
|
6729
|
-
"$ lps
|
|
6730
|
-
"$ lps
|
|
6731
|
-
"$ lps
|
|
6858
|
+
"$ lps snippet rollback",
|
|
6859
|
+
"$ lps snippet rollback --list",
|
|
6860
|
+
"$ lps snippet rollback --to 1732000000000",
|
|
6861
|
+
"$ lps snippet rollback --dry-run"
|
|
6732
6862
|
],
|
|
6733
6863
|
"flags": {
|
|
6734
6864
|
"json": {
|
|
@@ -6775,7 +6905,7 @@
|
|
|
6775
6905
|
},
|
|
6776
6906
|
"hasDynamicHelp": false,
|
|
6777
6907
|
"hiddenAliases": [],
|
|
6778
|
-
"id": "
|
|
6908
|
+
"id": "snippet:rollback",
|
|
6779
6909
|
"pluginAlias": "@loopress/cli",
|
|
6780
6910
|
"pluginName": "@loopress/cli",
|
|
6781
6911
|
"pluginType": "core",
|
|
@@ -6801,10 +6931,58 @@
|
|
|
6801
6931
|
"relativePath": [
|
|
6802
6932
|
"dist",
|
|
6803
6933
|
"commands",
|
|
6804
|
-
"
|
|
6934
|
+
"snippet",
|
|
6805
6935
|
"rollback.js"
|
|
6806
6936
|
]
|
|
6807
6937
|
},
|
|
6938
|
+
"telemetry:disable": {
|
|
6939
|
+
"aliases": [],
|
|
6940
|
+
"args": {},
|
|
6941
|
+
"description": "Disable error reporting to Sentry",
|
|
6942
|
+
"examples": [
|
|
6943
|
+
"$ lps telemetry disable"
|
|
6944
|
+
],
|
|
6945
|
+
"flags": {},
|
|
6946
|
+
"hasDynamicHelp": false,
|
|
6947
|
+
"hiddenAliases": [],
|
|
6948
|
+
"id": "telemetry:disable",
|
|
6949
|
+
"pluginAlias": "@loopress/cli",
|
|
6950
|
+
"pluginName": "@loopress/cli",
|
|
6951
|
+
"pluginType": "core",
|
|
6952
|
+
"strict": true,
|
|
6953
|
+
"enableJsonFlag": false,
|
|
6954
|
+
"isESM": true,
|
|
6955
|
+
"relativePath": [
|
|
6956
|
+
"dist",
|
|
6957
|
+
"commands",
|
|
6958
|
+
"telemetry",
|
|
6959
|
+
"disable.js"
|
|
6960
|
+
]
|
|
6961
|
+
},
|
|
6962
|
+
"telemetry:enable": {
|
|
6963
|
+
"aliases": [],
|
|
6964
|
+
"args": {},
|
|
6965
|
+
"description": "Enable error reporting to Sentry",
|
|
6966
|
+
"examples": [
|
|
6967
|
+
"$ lps telemetry enable"
|
|
6968
|
+
],
|
|
6969
|
+
"flags": {},
|
|
6970
|
+
"hasDynamicHelp": false,
|
|
6971
|
+
"hiddenAliases": [],
|
|
6972
|
+
"id": "telemetry:enable",
|
|
6973
|
+
"pluginAlias": "@loopress/cli",
|
|
6974
|
+
"pluginName": "@loopress/cli",
|
|
6975
|
+
"pluginType": "core",
|
|
6976
|
+
"strict": true,
|
|
6977
|
+
"enableJsonFlag": false,
|
|
6978
|
+
"isESM": true,
|
|
6979
|
+
"relativePath": [
|
|
6980
|
+
"dist",
|
|
6981
|
+
"commands",
|
|
6982
|
+
"telemetry",
|
|
6983
|
+
"enable.js"
|
|
6984
|
+
]
|
|
6985
|
+
},
|
|
6808
6986
|
"theme:add": {
|
|
6809
6987
|
"aliases": [],
|
|
6810
6988
|
"args": {
|
|
@@ -7077,19 +7255,19 @@
|
|
|
7077
7255
|
"status.js"
|
|
7078
7256
|
]
|
|
7079
7257
|
},
|
|
7080
|
-
"
|
|
7258
|
+
"taxonomy:diff": {
|
|
7081
7259
|
"aliases": [],
|
|
7082
7260
|
"args": {
|
|
7083
7261
|
"path": {
|
|
7084
|
-
"description": "Path to
|
|
7262
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
7085
7263
|
"name": "path"
|
|
7086
7264
|
}
|
|
7087
7265
|
},
|
|
7088
|
-
"description": "Show what differs in
|
|
7266
|
+
"description": "Show what differs in taxonomies between your local taxonomies/ files and a WordPress environment, or between two environments",
|
|
7089
7267
|
"examples": [
|
|
7090
|
-
"$ lps
|
|
7091
|
-
"$ lps
|
|
7092
|
-
"$ lps
|
|
7268
|
+
"$ lps taxonomy diff",
|
|
7269
|
+
"$ lps taxonomy diff --env staging",
|
|
7270
|
+
"$ lps taxonomy diff --env staging --against production"
|
|
7093
7271
|
],
|
|
7094
7272
|
"flags": {
|
|
7095
7273
|
"json": {
|
|
@@ -7116,7 +7294,7 @@
|
|
|
7116
7294
|
},
|
|
7117
7295
|
"hasDynamicHelp": false,
|
|
7118
7296
|
"hiddenAliases": [],
|
|
7119
|
-
"id": "
|
|
7297
|
+
"id": "taxonomy:diff",
|
|
7120
7298
|
"pluginAlias": "@loopress/cli",
|
|
7121
7299
|
"pluginName": "@loopress/cli",
|
|
7122
7300
|
"pluginType": "core",
|
|
@@ -7150,16 +7328,16 @@
|
|
|
7150
7328
|
"relativePath": [
|
|
7151
7329
|
"dist",
|
|
7152
7330
|
"commands",
|
|
7153
|
-
"
|
|
7331
|
+
"taxonomy",
|
|
7154
7332
|
"diff.js"
|
|
7155
7333
|
]
|
|
7156
7334
|
},
|
|
7157
|
-
"
|
|
7335
|
+
"taxonomy:list": {
|
|
7158
7336
|
"aliases": [],
|
|
7159
7337
|
"args": {},
|
|
7160
|
-
"description": "List the
|
|
7338
|
+
"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.",
|
|
7161
7339
|
"examples": [
|
|
7162
|
-
"$ lps
|
|
7340
|
+
"$ lps taxonomy list"
|
|
7163
7341
|
],
|
|
7164
7342
|
"flags": {
|
|
7165
7343
|
"json": {
|
|
@@ -7179,7 +7357,7 @@
|
|
|
7179
7357
|
},
|
|
7180
7358
|
"hasDynamicHelp": false,
|
|
7181
7359
|
"hiddenAliases": [],
|
|
7182
|
-
"id": "
|
|
7360
|
+
"id": "taxonomy:list",
|
|
7183
7361
|
"pluginAlias": "@loopress/cli",
|
|
7184
7362
|
"pluginName": "@loopress/cli",
|
|
7185
7363
|
"pluginType": "core",
|
|
@@ -7205,21 +7383,21 @@
|
|
|
7205
7383
|
"relativePath": [
|
|
7206
7384
|
"dist",
|
|
7207
7385
|
"commands",
|
|
7208
|
-
"
|
|
7386
|
+
"taxonomy",
|
|
7209
7387
|
"list.js"
|
|
7210
7388
|
]
|
|
7211
7389
|
},
|
|
7212
|
-
"
|
|
7390
|
+
"taxonomy:pull": {
|
|
7213
7391
|
"aliases": [],
|
|
7214
7392
|
"args": {
|
|
7215
7393
|
"path": {
|
|
7216
|
-
"description": "Path to the
|
|
7394
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7217
7395
|
"name": "path"
|
|
7218
7396
|
}
|
|
7219
7397
|
},
|
|
7220
|
-
"description": "Pull the
|
|
7398
|
+
"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`.",
|
|
7221
7399
|
"examples": [
|
|
7222
|
-
"$ lps
|
|
7400
|
+
"$ lps taxonomy pull"
|
|
7223
7401
|
],
|
|
7224
7402
|
"flags": {
|
|
7225
7403
|
"json": {
|
|
@@ -7253,7 +7431,7 @@
|
|
|
7253
7431
|
},
|
|
7254
7432
|
"hasDynamicHelp": false,
|
|
7255
7433
|
"hiddenAliases": [],
|
|
7256
|
-
"id": "
|
|
7434
|
+
"id": "taxonomy:pull",
|
|
7257
7435
|
"pluginAlias": "@loopress/cli",
|
|
7258
7436
|
"pluginName": "@loopress/cli",
|
|
7259
7437
|
"pluginType": "core",
|
|
@@ -7279,21 +7457,21 @@
|
|
|
7279
7457
|
"relativePath": [
|
|
7280
7458
|
"dist",
|
|
7281
7459
|
"commands",
|
|
7282
|
-
"
|
|
7460
|
+
"taxonomy",
|
|
7283
7461
|
"pull.js"
|
|
7284
7462
|
]
|
|
7285
7463
|
},
|
|
7286
|
-
"
|
|
7464
|
+
"taxonomy:push": {
|
|
7287
7465
|
"aliases": [],
|
|
7288
7466
|
"args": {
|
|
7289
7467
|
"path": {
|
|
7290
|
-
"description": "Path to the
|
|
7468
|
+
"description": "Path to the taxonomies directory (overrides project config)",
|
|
7291
7469
|
"name": "path"
|
|
7292
7470
|
}
|
|
7293
7471
|
},
|
|
7294
|
-
"description": "Push local
|
|
7472
|
+
"description": "Push local taxonomies (taxonomies/<slug>.json, register_taxonomy() arguments plus \"object_type\") to WordPress. Create or update only, never deletes a taxonomy (use `lps taxonomy rm`), never touches its terms.",
|
|
7295
7473
|
"examples": [
|
|
7296
|
-
"$ lps
|
|
7474
|
+
"$ lps taxonomy push"
|
|
7297
7475
|
],
|
|
7298
7476
|
"flags": {
|
|
7299
7477
|
"json": {
|
|
@@ -7310,6 +7488,12 @@
|
|
|
7310
7488
|
"multiple": false,
|
|
7311
7489
|
"type": "option"
|
|
7312
7490
|
},
|
|
7491
|
+
"overwrite": {
|
|
7492
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
7493
|
+
"name": "overwrite",
|
|
7494
|
+
"allowNo": false,
|
|
7495
|
+
"type": "boolean"
|
|
7496
|
+
},
|
|
7313
7497
|
"production-confirmed": {
|
|
7314
7498
|
"hidden": true,
|
|
7315
7499
|
"name": "production-confirmed",
|
|
@@ -7333,7 +7517,7 @@
|
|
|
7333
7517
|
},
|
|
7334
7518
|
"hasDynamicHelp": false,
|
|
7335
7519
|
"hiddenAliases": [],
|
|
7336
|
-
"id": "
|
|
7520
|
+
"id": "taxonomy:push",
|
|
7337
7521
|
"pluginAlias": "@loopress/cli",
|
|
7338
7522
|
"pluginName": "@loopress/cli",
|
|
7339
7523
|
"pluginType": "core",
|
|
@@ -7359,25 +7543,25 @@
|
|
|
7359
7543
|
"relativePath": [
|
|
7360
7544
|
"dist",
|
|
7361
7545
|
"commands",
|
|
7362
|
-
"
|
|
7546
|
+
"taxonomy",
|
|
7363
7547
|
"push.js"
|
|
7364
7548
|
]
|
|
7365
7549
|
},
|
|
7366
|
-
"
|
|
7550
|
+
"taxonomy:rm": {
|
|
7367
7551
|
"aliases": [
|
|
7368
|
-
"
|
|
7552
|
+
"taxonomy:remove"
|
|
7369
7553
|
],
|
|
7370
7554
|
"args": {
|
|
7371
7555
|
"slug": {
|
|
7372
|
-
"description": "The
|
|
7556
|
+
"description": "The taxonomy slug, its taxonomies/ file name without .json",
|
|
7373
7557
|
"name": "slug",
|
|
7374
7558
|
"required": true
|
|
7375
7559
|
}
|
|
7376
7560
|
},
|
|
7377
|
-
"description": "Stop registering a Loopress
|
|
7561
|
+
"description": "Stop registering a Loopress taxonomy on WordPress. Its terms are kept in the database, hidden until the taxonomy is pushed again.",
|
|
7378
7562
|
"examples": [
|
|
7379
|
-
"$ lps
|
|
7380
|
-
"$ lps
|
|
7563
|
+
"$ lps taxonomy rm <slug>",
|
|
7564
|
+
"$ lps taxonomy remove <slug> --yes"
|
|
7381
7565
|
],
|
|
7382
7566
|
"flags": {
|
|
7383
7567
|
"json": {
|
|
@@ -7411,7 +7595,7 @@
|
|
|
7411
7595
|
},
|
|
7412
7596
|
"hasDynamicHelp": false,
|
|
7413
7597
|
"hiddenAliases": [],
|
|
7414
|
-
"id": "
|
|
7598
|
+
"id": "taxonomy:rm",
|
|
7415
7599
|
"pluginAlias": "@loopress/cli",
|
|
7416
7600
|
"pluginName": "@loopress/cli",
|
|
7417
7601
|
"pluginType": "core",
|
|
@@ -7437,24 +7621,24 @@
|
|
|
7437
7621
|
"relativePath": [
|
|
7438
7622
|
"dist",
|
|
7439
7623
|
"commands",
|
|
7440
|
-
"
|
|
7624
|
+
"taxonomy",
|
|
7441
7625
|
"rm.js"
|
|
7442
7626
|
]
|
|
7443
7627
|
},
|
|
7444
|
-
"
|
|
7628
|
+
"taxonomy:rollback": {
|
|
7445
7629
|
"aliases": [],
|
|
7446
7630
|
"args": {
|
|
7447
7631
|
"path": {
|
|
7448
|
-
"description": "Path to
|
|
7632
|
+
"description": "Path to taxonomies directory (overrides project config)",
|
|
7449
7633
|
"name": "path"
|
|
7450
7634
|
}
|
|
7451
7635
|
},
|
|
7452
|
-
"description": "Restore
|
|
7636
|
+
"description": "Restore taxonomies to a snapshot taken automatically before an earlier `lps taxonomy push`",
|
|
7453
7637
|
"examples": [
|
|
7454
|
-
"$ lps
|
|
7455
|
-
"$ lps
|
|
7456
|
-
"$ lps
|
|
7457
|
-
"$ lps
|
|
7638
|
+
"$ lps taxonomy rollback",
|
|
7639
|
+
"$ lps taxonomy rollback --list",
|
|
7640
|
+
"$ lps taxonomy rollback --to 1732000000000",
|
|
7641
|
+
"$ lps taxonomy rollback --dry-run"
|
|
7458
7642
|
],
|
|
7459
7643
|
"flags": {
|
|
7460
7644
|
"json": {
|
|
@@ -7501,7 +7685,7 @@
|
|
|
7501
7685
|
},
|
|
7502
7686
|
"hasDynamicHelp": false,
|
|
7503
7687
|
"hiddenAliases": [],
|
|
7504
|
-
"id": "
|
|
7688
|
+
"id": "taxonomy:rollback",
|
|
7505
7689
|
"pluginAlias": "@loopress/cli",
|
|
7506
7690
|
"pluginName": "@loopress/cli",
|
|
7507
7691
|
"pluginType": "core",
|
|
@@ -7527,7 +7711,7 @@
|
|
|
7527
7711
|
"relativePath": [
|
|
7528
7712
|
"dist",
|
|
7529
7713
|
"commands",
|
|
7530
|
-
"
|
|
7714
|
+
"taxonomy",
|
|
7531
7715
|
"rollback.js"
|
|
7532
7716
|
]
|
|
7533
7717
|
},
|
|
@@ -7704,6 +7888,12 @@
|
|
|
7704
7888
|
"multiple": false,
|
|
7705
7889
|
"type": "option"
|
|
7706
7890
|
},
|
|
7891
|
+
"overwrite": {
|
|
7892
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
7893
|
+
"name": "overwrite",
|
|
7894
|
+
"allowNo": false,
|
|
7895
|
+
"type": "boolean"
|
|
7896
|
+
},
|
|
7707
7897
|
"production-confirmed": {
|
|
7708
7898
|
"hidden": true,
|
|
7709
7899
|
"name": "production-confirmed",
|
|
@@ -7935,6 +8125,12 @@
|
|
|
7935
8125
|
"multiple": false,
|
|
7936
8126
|
"type": "option"
|
|
7937
8127
|
},
|
|
8128
|
+
"overwrite": {
|
|
8129
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
8130
|
+
"name": "overwrite",
|
|
8131
|
+
"allowNo": false,
|
|
8132
|
+
"type": "boolean"
|
|
8133
|
+
},
|
|
7938
8134
|
"production-confirmed": {
|
|
7939
8135
|
"hidden": true,
|
|
7940
8136
|
"name": "production-confirmed",
|
|
@@ -8147,6 +8343,12 @@
|
|
|
8147
8343
|
"multiple": false,
|
|
8148
8344
|
"type": "option"
|
|
8149
8345
|
},
|
|
8346
|
+
"overwrite": {
|
|
8347
|
+
"description": "Push even over changes made on the site outside Loopress since your last push",
|
|
8348
|
+
"name": "overwrite",
|
|
8349
|
+
"allowNo": false,
|
|
8350
|
+
"type": "boolean"
|
|
8351
|
+
},
|
|
8150
8352
|
"production-confirmed": {
|
|
8151
8353
|
"hidden": true,
|
|
8152
8354
|
"name": "production-confirmed",
|
|
@@ -8202,5 +8404,5 @@
|
|
|
8202
8404
|
]
|
|
8203
8405
|
}
|
|
8204
8406
|
},
|
|
8205
|
-
"version": "0.
|
|
8407
|
+
"version": "0.31.0"
|
|
8206
8408
|
}
|