@loopress/cli 0.20.1 → 0.22.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 +254 -75
- package/dist/commands/acf/list.d.ts +2 -2
- package/dist/commands/acf/list.js +4 -6
- package/dist/commands/acf/pull.js +9 -22
- package/dist/commands/acf/push.js +4 -7
- package/dist/commands/api/list.d.ts +7 -4
- package/dist/commands/api/list.js +5 -11
- package/dist/commands/api/publish.js +7 -23
- package/dist/commands/api/pull.d.ts +8 -1
- package/dist/commands/api/pull.js +22 -18
- package/dist/commands/api/push.d.ts +7 -1
- package/dist/commands/api/push.js +50 -23
- package/dist/commands/composer/init.js +6 -6
- package/dist/commands/composer/pull.d.ts +7 -1
- package/dist/commands/composer/pull.js +4 -2
- package/dist/commands/composer/push.d.ts +8 -1
- package/dist/commands/composer/push.js +3 -1
- package/dist/commands/dev.d.ts +13 -0
- package/dist/commands/dev.js +97 -0
- package/dist/commands/doctor.js +6 -5
- package/dist/commands/form/list.d.ts +2 -4
- package/dist/commands/form/list.js +3 -10
- package/dist/commands/form/pull.js +15 -24
- package/dist/commands/form/push.js +17 -42
- package/dist/commands/init.js +7 -7
- package/dist/commands/login.js +9 -5
- package/dist/commands/logout.js +2 -1
- package/dist/commands/page/list.d.ts +2 -4
- package/dist/commands/page/list.js +3 -10
- package/dist/commands/page/pull.d.ts +13 -1
- package/dist/commands/page/pull.js +21 -29
- package/dist/commands/page/push.d.ts +11 -1
- package/dist/commands/page/push.js +31 -49
- package/dist/commands/plugin/add.js +3 -3
- package/dist/commands/plugin/pull.d.ts +8 -1
- package/dist/commands/plugin/pull.js +11 -11
- package/dist/commands/plugin/push.d.ts +12 -1
- package/dist/commands/plugin/push.js +41 -27
- package/dist/commands/project/config.js +12 -9
- package/dist/commands/project/list.d.ts +16 -1
- package/dist/commands/project/list.js +22 -16
- package/dist/commands/project/pull.js +3 -2
- package/dist/commands/project/push.d.ts +5 -0
- package/dist/commands/project/push.js +84 -63
- package/dist/commands/project/switch.js +2 -2
- package/dist/commands/promote.d.ts +18 -0
- package/dist/commands/promote.js +90 -0
- package/dist/commands/pull.d.ts +12 -0
- package/dist/commands/pull.js +51 -0
- package/dist/commands/push.d.ts +13 -0
- package/dist/commands/push.js +57 -0
- package/dist/commands/seo/list.d.ts +9 -2
- package/dist/commands/seo/list.js +9 -11
- package/dist/commands/seo/pull.js +14 -37
- package/dist/commands/seo/push.js +24 -48
- package/dist/commands/snippet/list.d.ts +3 -4
- package/dist/commands/snippet/list.js +5 -11
- package/dist/commands/snippet/publish.js +5 -21
- package/dist/commands/snippet/pull.d.ts +13 -1
- package/dist/commands/snippet/pull.js +18 -20
- package/dist/commands/snippet/push.d.ts +11 -1
- package/dist/commands/snippet/push.js +29 -28
- package/dist/commands/status.d.ts +13 -1
- package/dist/commands/status.js +25 -18
- package/dist/commands/validate.d.ts +8 -0
- package/dist/commands/validate.js +24 -0
- package/dist/config/auth.manager.d.ts +2 -2
- package/dist/config/project-config.manager.d.ts +1 -1
- package/dist/config/project-config.manager.js +5 -6
- package/dist/lib/base.d.ts +11 -2
- package/dist/lib/base.js +54 -24
- package/dist/lib/bootstrap-full-install.d.ts +1 -1
- package/dist/lib/dev-watch.d.ts +16 -0
- package/dist/lib/dev-watch.js +71 -0
- package/dist/lib/find-orphaned-files.d.ts +3 -2
- package/dist/lib/find-orphaned-files.js +40 -4
- package/dist/lib/github-release.js +1 -1
- package/dist/lib/guard-production-push.d.ts +12 -0
- package/dist/lib/guard-production-push.js +20 -0
- package/dist/lib/interactive.js +1 -1
- package/dist/lib/load-files.d.ts +1 -0
- package/dist/lib/load-files.js +40 -11
- package/dist/lib/load-snippets.d.ts +1 -1
- package/dist/lib/load-snippets.js +66 -59
- package/dist/lib/local-callback-server.js +15 -8
- package/dist/lib/plugin-detection.d.ts +1 -1
- package/dist/lib/push-command.d.ts +3 -0
- package/dist/lib/push-command.js +22 -15
- package/dist/lib/put-or-create.d.ts +13 -0
- package/dist/lib/put-or-create.js +19 -0
- package/dist/lib/readdir-tolerant.d.ts +5 -0
- package/dist/lib/readdir-tolerant.js +11 -0
- package/dist/lib/resolve-linked-project.d.ts +8 -0
- package/dist/lib/resolve-linked-project.js +27 -0
- package/dist/lib/rotate-app-password.d.ts +1 -1
- package/dist/lib/rotate-app-password.js +1 -1
- package/dist/lib/temp-admin.d.ts +3 -3
- package/dist/lib/temp-admin.js +2 -2
- package/dist/lib/validate-local.d.ts +10 -0
- package/dist/lib/validate-local.js +183 -0
- package/dist/lib/wp-authorize-flow.js +5 -1
- package/dist/lib/wp-client.d.ts +2 -2
- package/dist/lib/wp-client.js +7 -0
- package/dist/types/plugin.d.ts +4 -4
- package/dist/types/snippet.d.ts +3 -3
- package/dist/utils/composer.d.ts +2 -2
- package/dist/utils/form-format.js +1 -1
- package/dist/utils/loopress-config.d.ts +1 -1
- package/dist/utils/page-format.js +2 -2
- package/dist/utils/plugins.d.ts +5 -5
- package/dist/utils/plugins.js +3 -3
- package/dist/utils/pluralize.d.ts +1 -0
- package/dist/utils/pluralize.js +5 -0
- package/dist/utils/seo-format.d.ts +6 -6
- package/dist/utils/snippet-format.d.ts +2 -2
- package/dist/utils/snippet-format.js +10 -5
- package/oclif.manifest.json +394 -57
- package/package.json +18 -16
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"dev": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Watch project files and push changes to the local WordPress instance as they happen. Always targets the \"local\" environment, run `lps snippet push` etc. directly for any other environment.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"$ lps dev",
|
|
9
|
+
"$ lps dev --only=snippets,pages",
|
|
10
|
+
"$ lps dev --skip=plugins"
|
|
11
|
+
],
|
|
12
|
+
"flags": {
|
|
13
|
+
"only": {
|
|
14
|
+
"description": "Only watch these resource types (comma-separated): snippets, pages, api, plugins",
|
|
15
|
+
"name": "only",
|
|
16
|
+
"hasDynamicHelp": false,
|
|
17
|
+
"multiple": false,
|
|
18
|
+
"type": "option"
|
|
19
|
+
},
|
|
20
|
+
"skip": {
|
|
21
|
+
"description": "Skip these resource types (comma-separated): snippets, pages, api, plugins",
|
|
22
|
+
"name": "skip",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"type": "option"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"hasDynamicHelp": false,
|
|
29
|
+
"hiddenAliases": [],
|
|
30
|
+
"id": "dev",
|
|
31
|
+
"pluginAlias": "@loopress/cli",
|
|
32
|
+
"pluginName": "@loopress/cli",
|
|
33
|
+
"pluginType": "core",
|
|
34
|
+
"strict": true,
|
|
35
|
+
"enableJsonFlag": false,
|
|
36
|
+
"isESM": true,
|
|
37
|
+
"relativePath": [
|
|
38
|
+
"dist",
|
|
39
|
+
"commands",
|
|
40
|
+
"dev.js"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
3
43
|
"doctor": {
|
|
4
44
|
"aliases": [],
|
|
5
45
|
"args": {},
|
|
@@ -117,6 +157,182 @@
|
|
|
117
157
|
"logout.js"
|
|
118
158
|
]
|
|
119
159
|
},
|
|
160
|
+
"promote": {
|
|
161
|
+
"aliases": [],
|
|
162
|
+
"args": {
|
|
163
|
+
"from": {
|
|
164
|
+
"description": "Environment to copy the configuration from",
|
|
165
|
+
"name": "from",
|
|
166
|
+
"required": true
|
|
167
|
+
},
|
|
168
|
+
"to": {
|
|
169
|
+
"description": "Environment to copy the configuration to",
|
|
170
|
+
"name": "to",
|
|
171
|
+
"required": true
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"description": "Copy every tracked resource from one environment to another by pulling from <from> then pushing to <to>. Local tracked files are overwritten with <from> in the process.",
|
|
175
|
+
"examples": [
|
|
176
|
+
"$ lps promote staging production",
|
|
177
|
+
"$ lps promote production staging --dry-run"
|
|
178
|
+
],
|
|
179
|
+
"flags": {
|
|
180
|
+
"dry-run": {
|
|
181
|
+
"char": "d",
|
|
182
|
+
"description": "Show what would change without making changes",
|
|
183
|
+
"name": "dry-run",
|
|
184
|
+
"allowNo": false,
|
|
185
|
+
"type": "boolean"
|
|
186
|
+
},
|
|
187
|
+
"yes": {
|
|
188
|
+
"char": "y",
|
|
189
|
+
"description": "Answer yes to confirmation prompts",
|
|
190
|
+
"name": "yes",
|
|
191
|
+
"allowNo": false,
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"hasDynamicHelp": false,
|
|
196
|
+
"hiddenAliases": [],
|
|
197
|
+
"id": "promote",
|
|
198
|
+
"pluginAlias": "@loopress/cli",
|
|
199
|
+
"pluginName": "@loopress/cli",
|
|
200
|
+
"pluginType": "core",
|
|
201
|
+
"strict": true,
|
|
202
|
+
"enableJsonFlag": false,
|
|
203
|
+
"isESM": true,
|
|
204
|
+
"relativePath": [
|
|
205
|
+
"dist",
|
|
206
|
+
"commands",
|
|
207
|
+
"promote.js"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"pull": {
|
|
211
|
+
"aliases": [],
|
|
212
|
+
"args": {},
|
|
213
|
+
"description": "Pull all content, plugins, composer dependencies, ACF, API routes, forms, pages, SEO, and snippets, from WordPress",
|
|
214
|
+
"examples": [
|
|
215
|
+
"$ lps pull",
|
|
216
|
+
"$ lps pull --env staging",
|
|
217
|
+
"$ lps pull --dry-run"
|
|
218
|
+
],
|
|
219
|
+
"flags": {
|
|
220
|
+
"env": {
|
|
221
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
222
|
+
"name": "env",
|
|
223
|
+
"hasDynamicHelp": false,
|
|
224
|
+
"multiple": false,
|
|
225
|
+
"type": "option"
|
|
226
|
+
},
|
|
227
|
+
"dry-run": {
|
|
228
|
+
"char": "d",
|
|
229
|
+
"description": "Show what would change without making changes",
|
|
230
|
+
"name": "dry-run",
|
|
231
|
+
"allowNo": false,
|
|
232
|
+
"type": "boolean"
|
|
233
|
+
},
|
|
234
|
+
"yes": {
|
|
235
|
+
"char": "y",
|
|
236
|
+
"description": "Answer yes to confirmation prompts",
|
|
237
|
+
"name": "yes",
|
|
238
|
+
"allowNo": false,
|
|
239
|
+
"type": "boolean"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"hasDynamicHelp": false,
|
|
243
|
+
"hiddenAliases": [],
|
|
244
|
+
"id": "pull",
|
|
245
|
+
"pluginAlias": "@loopress/cli",
|
|
246
|
+
"pluginName": "@loopress/cli",
|
|
247
|
+
"pluginType": "core",
|
|
248
|
+
"strict": true,
|
|
249
|
+
"enableJsonFlag": false,
|
|
250
|
+
"dryRunFlag": {
|
|
251
|
+
"dry-run": {
|
|
252
|
+
"char": "d",
|
|
253
|
+
"description": "Show what would change without making changes",
|
|
254
|
+
"allowNo": false,
|
|
255
|
+
"type": "boolean"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"yesFlag": {
|
|
259
|
+
"yes": {
|
|
260
|
+
"char": "y",
|
|
261
|
+
"description": "Answer yes to confirmation prompts",
|
|
262
|
+
"allowNo": false,
|
|
263
|
+
"type": "boolean"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"isESM": true,
|
|
267
|
+
"relativePath": [
|
|
268
|
+
"dist",
|
|
269
|
+
"commands",
|
|
270
|
+
"pull.js"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"push": {
|
|
274
|
+
"aliases": [],
|
|
275
|
+
"args": {},
|
|
276
|
+
"description": "Push all local content, plugins, composer dependencies, ACF, API routes, forms, pages, SEO, and snippets, to WordPress",
|
|
277
|
+
"examples": [
|
|
278
|
+
"$ lps push",
|
|
279
|
+
"$ lps push --env staging",
|
|
280
|
+
"$ lps push --dry-run"
|
|
281
|
+
],
|
|
282
|
+
"flags": {
|
|
283
|
+
"env": {
|
|
284
|
+
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
285
|
+
"name": "env",
|
|
286
|
+
"hasDynamicHelp": false,
|
|
287
|
+
"multiple": false,
|
|
288
|
+
"type": "option"
|
|
289
|
+
},
|
|
290
|
+
"dry-run": {
|
|
291
|
+
"char": "d",
|
|
292
|
+
"description": "Show what would change without making changes",
|
|
293
|
+
"name": "dry-run",
|
|
294
|
+
"allowNo": false,
|
|
295
|
+
"type": "boolean"
|
|
296
|
+
},
|
|
297
|
+
"yes": {
|
|
298
|
+
"char": "y",
|
|
299
|
+
"description": "Answer yes to confirmation prompts",
|
|
300
|
+
"name": "yes",
|
|
301
|
+
"allowNo": false,
|
|
302
|
+
"type": "boolean"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"hasDynamicHelp": false,
|
|
306
|
+
"hiddenAliases": [],
|
|
307
|
+
"id": "push",
|
|
308
|
+
"pluginAlias": "@loopress/cli",
|
|
309
|
+
"pluginName": "@loopress/cli",
|
|
310
|
+
"pluginType": "core",
|
|
311
|
+
"strict": true,
|
|
312
|
+
"enableJsonFlag": false,
|
|
313
|
+
"dryRunFlag": {
|
|
314
|
+
"dry-run": {
|
|
315
|
+
"char": "d",
|
|
316
|
+
"description": "Show what would change without making changes",
|
|
317
|
+
"allowNo": false,
|
|
318
|
+
"type": "boolean"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"yesFlag": {
|
|
322
|
+
"yes": {
|
|
323
|
+
"char": "y",
|
|
324
|
+
"description": "Answer yes to confirmation prompts",
|
|
325
|
+
"allowNo": false,
|
|
326
|
+
"type": "boolean"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"isESM": true,
|
|
330
|
+
"relativePath": [
|
|
331
|
+
"dist",
|
|
332
|
+
"commands",
|
|
333
|
+
"push.js"
|
|
334
|
+
]
|
|
335
|
+
},
|
|
120
336
|
"sentry-test": {
|
|
121
337
|
"aliases": [],
|
|
122
338
|
"args": {},
|
|
@@ -147,6 +363,13 @@
|
|
|
147
363
|
"$ lps status --env staging"
|
|
148
364
|
],
|
|
149
365
|
"flags": {
|
|
366
|
+
"json": {
|
|
367
|
+
"description": "Format output as json.",
|
|
368
|
+
"helpGroup": "GLOBAL",
|
|
369
|
+
"name": "json",
|
|
370
|
+
"allowNo": false,
|
|
371
|
+
"type": "boolean"
|
|
372
|
+
},
|
|
150
373
|
"env": {
|
|
151
374
|
"description": "Show what would be targeted with this environment, as other commands do with --env",
|
|
152
375
|
"name": "env",
|
|
@@ -162,7 +385,7 @@
|
|
|
162
385
|
"pluginName": "@loopress/cli",
|
|
163
386
|
"pluginType": "core",
|
|
164
387
|
"strict": true,
|
|
165
|
-
"enableJsonFlag":
|
|
388
|
+
"enableJsonFlag": true,
|
|
166
389
|
"isESM": true,
|
|
167
390
|
"relativePath": [
|
|
168
391
|
"dist",
|
|
@@ -170,6 +393,37 @@
|
|
|
170
393
|
"status.js"
|
|
171
394
|
]
|
|
172
395
|
},
|
|
396
|
+
"validate": {
|
|
397
|
+
"aliases": [],
|
|
398
|
+
"args": {},
|
|
399
|
+
"description": "Check local tracked files are well formed and push-ready, without contacting WordPress",
|
|
400
|
+
"examples": [
|
|
401
|
+
"$ lps validate"
|
|
402
|
+
],
|
|
403
|
+
"flags": {
|
|
404
|
+
"json": {
|
|
405
|
+
"description": "Format output as json.",
|
|
406
|
+
"helpGroup": "GLOBAL",
|
|
407
|
+
"name": "json",
|
|
408
|
+
"allowNo": false,
|
|
409
|
+
"type": "boolean"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"hasDynamicHelp": false,
|
|
413
|
+
"hiddenAliases": [],
|
|
414
|
+
"id": "validate",
|
|
415
|
+
"pluginAlias": "@loopress/cli",
|
|
416
|
+
"pluginName": "@loopress/cli",
|
|
417
|
+
"pluginType": "core",
|
|
418
|
+
"strict": true,
|
|
419
|
+
"enableJsonFlag": true,
|
|
420
|
+
"isESM": true,
|
|
421
|
+
"relativePath": [
|
|
422
|
+
"dist",
|
|
423
|
+
"commands",
|
|
424
|
+
"validate.js"
|
|
425
|
+
]
|
|
426
|
+
},
|
|
173
427
|
"acf:list": {
|
|
174
428
|
"aliases": [],
|
|
175
429
|
"args": {},
|
|
@@ -179,6 +433,13 @@
|
|
|
179
433
|
"$ lps acf list --type field-groups"
|
|
180
434
|
],
|
|
181
435
|
"flags": {
|
|
436
|
+
"json": {
|
|
437
|
+
"description": "Format output as json.",
|
|
438
|
+
"helpGroup": "GLOBAL",
|
|
439
|
+
"name": "json",
|
|
440
|
+
"allowNo": false,
|
|
441
|
+
"type": "boolean"
|
|
442
|
+
},
|
|
182
443
|
"env": {
|
|
183
444
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
184
445
|
"name": "env",
|
|
@@ -186,13 +447,6 @@
|
|
|
186
447
|
"multiple": false,
|
|
187
448
|
"type": "option"
|
|
188
449
|
},
|
|
189
|
-
"json": {
|
|
190
|
-
"char": "j",
|
|
191
|
-
"description": "Output in JSON format",
|
|
192
|
-
"name": "json",
|
|
193
|
-
"allowNo": false,
|
|
194
|
-
"type": "boolean"
|
|
195
|
-
},
|
|
196
450
|
"type": {
|
|
197
451
|
"description": "Limit to specific ACF object types",
|
|
198
452
|
"name": "type",
|
|
@@ -214,7 +468,7 @@
|
|
|
214
468
|
"pluginName": "@loopress/cli",
|
|
215
469
|
"pluginType": "core",
|
|
216
470
|
"strict": true,
|
|
217
|
-
"enableJsonFlag":
|
|
471
|
+
"enableJsonFlag": true,
|
|
218
472
|
"dryRunFlag": {
|
|
219
473
|
"dry-run": {
|
|
220
474
|
"char": "d",
|
|
@@ -392,19 +646,19 @@
|
|
|
392
646
|
"$ lps api list"
|
|
393
647
|
],
|
|
394
648
|
"flags": {
|
|
649
|
+
"json": {
|
|
650
|
+
"description": "Format output as json.",
|
|
651
|
+
"helpGroup": "GLOBAL",
|
|
652
|
+
"name": "json",
|
|
653
|
+
"allowNo": false,
|
|
654
|
+
"type": "boolean"
|
|
655
|
+
},
|
|
395
656
|
"env": {
|
|
396
657
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
397
658
|
"name": "env",
|
|
398
659
|
"hasDynamicHelp": false,
|
|
399
660
|
"multiple": false,
|
|
400
661
|
"type": "option"
|
|
401
|
-
},
|
|
402
|
-
"json": {
|
|
403
|
-
"char": "j",
|
|
404
|
-
"description": "Output in JSON format",
|
|
405
|
-
"name": "json",
|
|
406
|
-
"allowNo": false,
|
|
407
|
-
"type": "boolean"
|
|
408
662
|
}
|
|
409
663
|
},
|
|
410
664
|
"hasDynamicHelp": false,
|
|
@@ -414,7 +668,7 @@
|
|
|
414
668
|
"pluginName": "@loopress/cli",
|
|
415
669
|
"pluginType": "core",
|
|
416
670
|
"strict": true,
|
|
417
|
-
"enableJsonFlag":
|
|
671
|
+
"enableJsonFlag": true,
|
|
418
672
|
"dryRunFlag": {
|
|
419
673
|
"dry-run": {
|
|
420
674
|
"char": "d",
|
|
@@ -483,6 +737,13 @@
|
|
|
483
737
|
"$ lps api pull --path ./api"
|
|
484
738
|
],
|
|
485
739
|
"flags": {
|
|
740
|
+
"json": {
|
|
741
|
+
"description": "Format output as json.",
|
|
742
|
+
"helpGroup": "GLOBAL",
|
|
743
|
+
"name": "json",
|
|
744
|
+
"allowNo": false,
|
|
745
|
+
"type": "boolean"
|
|
746
|
+
},
|
|
486
747
|
"env": {
|
|
487
748
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
488
749
|
"name": "env",
|
|
@@ -512,7 +773,7 @@
|
|
|
512
773
|
"pluginName": "@loopress/cli",
|
|
513
774
|
"pluginType": "core",
|
|
514
775
|
"strict": true,
|
|
515
|
-
"enableJsonFlag":
|
|
776
|
+
"enableJsonFlag": true,
|
|
516
777
|
"dryRunFlag": {
|
|
517
778
|
"dry-run": {
|
|
518
779
|
"char": "d",
|
|
@@ -551,6 +812,13 @@
|
|
|
551
812
|
"$ lps api push --path ./api"
|
|
552
813
|
],
|
|
553
814
|
"flags": {
|
|
815
|
+
"json": {
|
|
816
|
+
"description": "Format output as json.",
|
|
817
|
+
"helpGroup": "GLOBAL",
|
|
818
|
+
"name": "json",
|
|
819
|
+
"allowNo": false,
|
|
820
|
+
"type": "boolean"
|
|
821
|
+
},
|
|
554
822
|
"env": {
|
|
555
823
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
556
824
|
"name": "env",
|
|
@@ -580,6 +848,7 @@
|
|
|
580
848
|
"pluginName": "@loopress/cli",
|
|
581
849
|
"pluginType": "core",
|
|
582
850
|
"strict": true,
|
|
851
|
+
"enableJsonFlag": true,
|
|
583
852
|
"isESM": true,
|
|
584
853
|
"relativePath": [
|
|
585
854
|
"dist",
|
|
@@ -653,6 +922,13 @@
|
|
|
653
922
|
"$ lps composer pull --dry-run"
|
|
654
923
|
],
|
|
655
924
|
"flags": {
|
|
925
|
+
"json": {
|
|
926
|
+
"description": "Format output as json.",
|
|
927
|
+
"helpGroup": "GLOBAL",
|
|
928
|
+
"name": "json",
|
|
929
|
+
"allowNo": false,
|
|
930
|
+
"type": "boolean"
|
|
931
|
+
},
|
|
656
932
|
"env": {
|
|
657
933
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
658
934
|
"name": "env",
|
|
@@ -675,7 +951,7 @@
|
|
|
675
951
|
"pluginName": "@loopress/cli",
|
|
676
952
|
"pluginType": "core",
|
|
677
953
|
"strict": true,
|
|
678
|
-
"enableJsonFlag":
|
|
954
|
+
"enableJsonFlag": true,
|
|
679
955
|
"dryRunFlag": {
|
|
680
956
|
"dry-run": {
|
|
681
957
|
"char": "d",
|
|
@@ -709,6 +985,13 @@
|
|
|
709
985
|
"$ lps composer push --dry-run"
|
|
710
986
|
],
|
|
711
987
|
"flags": {
|
|
988
|
+
"json": {
|
|
989
|
+
"description": "Format output as json.",
|
|
990
|
+
"helpGroup": "GLOBAL",
|
|
991
|
+
"name": "json",
|
|
992
|
+
"allowNo": false,
|
|
993
|
+
"type": "boolean"
|
|
994
|
+
},
|
|
712
995
|
"env": {
|
|
713
996
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
714
997
|
"name": "env",
|
|
@@ -738,6 +1021,7 @@
|
|
|
738
1021
|
"pluginName": "@loopress/cli",
|
|
739
1022
|
"pluginType": "core",
|
|
740
1023
|
"strict": true,
|
|
1024
|
+
"enableJsonFlag": true,
|
|
741
1025
|
"isESM": true,
|
|
742
1026
|
"relativePath": [
|
|
743
1027
|
"dist",
|
|
@@ -754,19 +1038,19 @@
|
|
|
754
1038
|
"$ lps form list"
|
|
755
1039
|
],
|
|
756
1040
|
"flags": {
|
|
1041
|
+
"json": {
|
|
1042
|
+
"description": "Format output as json.",
|
|
1043
|
+
"helpGroup": "GLOBAL",
|
|
1044
|
+
"name": "json",
|
|
1045
|
+
"allowNo": false,
|
|
1046
|
+
"type": "boolean"
|
|
1047
|
+
},
|
|
757
1048
|
"env": {
|
|
758
1049
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
759
1050
|
"name": "env",
|
|
760
1051
|
"hasDynamicHelp": false,
|
|
761
1052
|
"multiple": false,
|
|
762
1053
|
"type": "option"
|
|
763
|
-
},
|
|
764
|
-
"json": {
|
|
765
|
-
"char": "j",
|
|
766
|
-
"description": "Output in JSON format",
|
|
767
|
-
"name": "json",
|
|
768
|
-
"allowNo": false,
|
|
769
|
-
"type": "boolean"
|
|
770
1054
|
}
|
|
771
1055
|
},
|
|
772
1056
|
"hasDynamicHelp": false,
|
|
@@ -776,7 +1060,7 @@
|
|
|
776
1060
|
"pluginName": "@loopress/cli",
|
|
777
1061
|
"pluginType": "core",
|
|
778
1062
|
"strict": true,
|
|
779
|
-
"enableJsonFlag":
|
|
1063
|
+
"enableJsonFlag": true,
|
|
780
1064
|
"dryRunFlag": {
|
|
781
1065
|
"dry-run": {
|
|
782
1066
|
"char": "d",
|
|
@@ -926,19 +1210,19 @@
|
|
|
926
1210
|
"$ lps page list"
|
|
927
1211
|
],
|
|
928
1212
|
"flags": {
|
|
1213
|
+
"json": {
|
|
1214
|
+
"description": "Format output as json.",
|
|
1215
|
+
"helpGroup": "GLOBAL",
|
|
1216
|
+
"name": "json",
|
|
1217
|
+
"allowNo": false,
|
|
1218
|
+
"type": "boolean"
|
|
1219
|
+
},
|
|
929
1220
|
"env": {
|
|
930
1221
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
931
1222
|
"name": "env",
|
|
932
1223
|
"hasDynamicHelp": false,
|
|
933
1224
|
"multiple": false,
|
|
934
1225
|
"type": "option"
|
|
935
|
-
},
|
|
936
|
-
"json": {
|
|
937
|
-
"char": "j",
|
|
938
|
-
"description": "Output in JSON format",
|
|
939
|
-
"name": "json",
|
|
940
|
-
"allowNo": false,
|
|
941
|
-
"type": "boolean"
|
|
942
1226
|
}
|
|
943
1227
|
},
|
|
944
1228
|
"hasDynamicHelp": false,
|
|
@@ -948,7 +1232,7 @@
|
|
|
948
1232
|
"pluginName": "@loopress/cli",
|
|
949
1233
|
"pluginType": "core",
|
|
950
1234
|
"strict": true,
|
|
951
|
-
"enableJsonFlag":
|
|
1235
|
+
"enableJsonFlag": true,
|
|
952
1236
|
"dryRunFlag": {
|
|
953
1237
|
"dry-run": {
|
|
954
1238
|
"char": "d",
|
|
@@ -986,6 +1270,13 @@
|
|
|
986
1270
|
"$ lps page pull"
|
|
987
1271
|
],
|
|
988
1272
|
"flags": {
|
|
1273
|
+
"json": {
|
|
1274
|
+
"description": "Format output as json.",
|
|
1275
|
+
"helpGroup": "GLOBAL",
|
|
1276
|
+
"name": "json",
|
|
1277
|
+
"allowNo": false,
|
|
1278
|
+
"type": "boolean"
|
|
1279
|
+
},
|
|
989
1280
|
"env": {
|
|
990
1281
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
991
1282
|
"name": "env",
|
|
@@ -1015,7 +1306,7 @@
|
|
|
1015
1306
|
"pluginName": "@loopress/cli",
|
|
1016
1307
|
"pluginType": "core",
|
|
1017
1308
|
"strict": true,
|
|
1018
|
-
"enableJsonFlag":
|
|
1309
|
+
"enableJsonFlag": true,
|
|
1019
1310
|
"dryRunFlag": {
|
|
1020
1311
|
"dry-run": {
|
|
1021
1312
|
"char": "d",
|
|
@@ -1053,6 +1344,13 @@
|
|
|
1053
1344
|
"$ lps page push"
|
|
1054
1345
|
],
|
|
1055
1346
|
"flags": {
|
|
1347
|
+
"json": {
|
|
1348
|
+
"description": "Format output as json.",
|
|
1349
|
+
"helpGroup": "GLOBAL",
|
|
1350
|
+
"name": "json",
|
|
1351
|
+
"allowNo": false,
|
|
1352
|
+
"type": "boolean"
|
|
1353
|
+
},
|
|
1056
1354
|
"env": {
|
|
1057
1355
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1058
1356
|
"name": "env",
|
|
@@ -1082,6 +1380,7 @@
|
|
|
1082
1380
|
"pluginName": "@loopress/cli",
|
|
1083
1381
|
"pluginType": "core",
|
|
1084
1382
|
"strict": true,
|
|
1383
|
+
"enableJsonFlag": true,
|
|
1085
1384
|
"isESM": true,
|
|
1086
1385
|
"relativePath": [
|
|
1087
1386
|
"dist",
|
|
@@ -1161,6 +1460,13 @@
|
|
|
1161
1460
|
"$ lps plugin pull --dry-run"
|
|
1162
1461
|
],
|
|
1163
1462
|
"flags": {
|
|
1463
|
+
"json": {
|
|
1464
|
+
"description": "Format output as json.",
|
|
1465
|
+
"helpGroup": "GLOBAL",
|
|
1466
|
+
"name": "json",
|
|
1467
|
+
"allowNo": false,
|
|
1468
|
+
"type": "boolean"
|
|
1469
|
+
},
|
|
1164
1470
|
"env": {
|
|
1165
1471
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1166
1472
|
"name": "env",
|
|
@@ -1183,7 +1489,7 @@
|
|
|
1183
1489
|
"pluginName": "@loopress/cli",
|
|
1184
1490
|
"pluginType": "core",
|
|
1185
1491
|
"strict": true,
|
|
1186
|
-
"enableJsonFlag":
|
|
1492
|
+
"enableJsonFlag": true,
|
|
1187
1493
|
"dryRunFlag": {
|
|
1188
1494
|
"dry-run": {
|
|
1189
1495
|
"char": "d",
|
|
@@ -1217,6 +1523,13 @@
|
|
|
1217
1523
|
"$ lps plugin push --dry-run"
|
|
1218
1524
|
],
|
|
1219
1525
|
"flags": {
|
|
1526
|
+
"json": {
|
|
1527
|
+
"description": "Format output as json.",
|
|
1528
|
+
"helpGroup": "GLOBAL",
|
|
1529
|
+
"name": "json",
|
|
1530
|
+
"allowNo": false,
|
|
1531
|
+
"type": "boolean"
|
|
1532
|
+
},
|
|
1220
1533
|
"env": {
|
|
1221
1534
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1222
1535
|
"name": "env",
|
|
@@ -1246,6 +1559,7 @@
|
|
|
1246
1559
|
"pluginName": "@loopress/cli",
|
|
1247
1560
|
"pluginType": "core",
|
|
1248
1561
|
"strict": true,
|
|
1562
|
+
"enableJsonFlag": true,
|
|
1249
1563
|
"isESM": true,
|
|
1250
1564
|
"relativePath": [
|
|
1251
1565
|
"dist",
|
|
@@ -1285,7 +1599,15 @@
|
|
|
1285
1599
|
"examples": [
|
|
1286
1600
|
"$ lps project list"
|
|
1287
1601
|
],
|
|
1288
|
-
"flags": {
|
|
1602
|
+
"flags": {
|
|
1603
|
+
"json": {
|
|
1604
|
+
"description": "Format output as json.",
|
|
1605
|
+
"helpGroup": "GLOBAL",
|
|
1606
|
+
"name": "json",
|
|
1607
|
+
"allowNo": false,
|
|
1608
|
+
"type": "boolean"
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1289
1611
|
"hasDynamicHelp": false,
|
|
1290
1612
|
"hiddenAliases": [],
|
|
1291
1613
|
"id": "project:list",
|
|
@@ -1293,7 +1615,7 @@
|
|
|
1293
1615
|
"pluginName": "@loopress/cli",
|
|
1294
1616
|
"pluginType": "core",
|
|
1295
1617
|
"strict": true,
|
|
1296
|
-
"enableJsonFlag":
|
|
1618
|
+
"enableJsonFlag": true,
|
|
1297
1619
|
"isESM": true,
|
|
1298
1620
|
"relativePath": [
|
|
1299
1621
|
"dist",
|
|
@@ -1464,6 +1786,13 @@
|
|
|
1464
1786
|
"$ lps seo list --post-type post"
|
|
1465
1787
|
],
|
|
1466
1788
|
"flags": {
|
|
1789
|
+
"json": {
|
|
1790
|
+
"description": "Format output as json.",
|
|
1791
|
+
"helpGroup": "GLOBAL",
|
|
1792
|
+
"name": "json",
|
|
1793
|
+
"allowNo": false,
|
|
1794
|
+
"type": "boolean"
|
|
1795
|
+
},
|
|
1467
1796
|
"env": {
|
|
1468
1797
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1469
1798
|
"name": "env",
|
|
@@ -1471,13 +1800,6 @@
|
|
|
1471
1800
|
"multiple": false,
|
|
1472
1801
|
"type": "option"
|
|
1473
1802
|
},
|
|
1474
|
-
"json": {
|
|
1475
|
-
"char": "j",
|
|
1476
|
-
"description": "Output in JSON format",
|
|
1477
|
-
"name": "json",
|
|
1478
|
-
"allowNo": false,
|
|
1479
|
-
"type": "boolean"
|
|
1480
|
-
},
|
|
1481
1803
|
"post-type": {
|
|
1482
1804
|
"description": "Limit to specific post types",
|
|
1483
1805
|
"name": "post-type",
|
|
@@ -1493,7 +1815,7 @@
|
|
|
1493
1815
|
"pluginName": "@loopress/cli",
|
|
1494
1816
|
"pluginType": "core",
|
|
1495
1817
|
"strict": true,
|
|
1496
|
-
"enableJsonFlag":
|
|
1818
|
+
"enableJsonFlag": true,
|
|
1497
1819
|
"dryRunFlag": {
|
|
1498
1820
|
"dry-run": {
|
|
1499
1821
|
"char": "d",
|
|
@@ -1651,19 +1973,19 @@
|
|
|
1651
1973
|
"$ lps snippet list"
|
|
1652
1974
|
],
|
|
1653
1975
|
"flags": {
|
|
1976
|
+
"json": {
|
|
1977
|
+
"description": "Format output as json.",
|
|
1978
|
+
"helpGroup": "GLOBAL",
|
|
1979
|
+
"name": "json",
|
|
1980
|
+
"allowNo": false,
|
|
1981
|
+
"type": "boolean"
|
|
1982
|
+
},
|
|
1654
1983
|
"env": {
|
|
1655
1984
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1656
1985
|
"name": "env",
|
|
1657
1986
|
"hasDynamicHelp": false,
|
|
1658
1987
|
"multiple": false,
|
|
1659
1988
|
"type": "option"
|
|
1660
|
-
},
|
|
1661
|
-
"json": {
|
|
1662
|
-
"char": "j",
|
|
1663
|
-
"description": "Output in JSON format",
|
|
1664
|
-
"name": "json",
|
|
1665
|
-
"allowNo": false,
|
|
1666
|
-
"type": "boolean"
|
|
1667
1989
|
}
|
|
1668
1990
|
},
|
|
1669
1991
|
"hasDynamicHelp": false,
|
|
@@ -1673,7 +1995,7 @@
|
|
|
1673
1995
|
"pluginName": "@loopress/cli",
|
|
1674
1996
|
"pluginType": "core",
|
|
1675
1997
|
"strict": true,
|
|
1676
|
-
"enableJsonFlag":
|
|
1998
|
+
"enableJsonFlag": true,
|
|
1677
1999
|
"dryRunFlag": {
|
|
1678
2000
|
"dry-run": {
|
|
1679
2001
|
"char": "d",
|
|
@@ -1742,6 +2064,13 @@
|
|
|
1742
2064
|
"$ lps snippet pull --path ./snippets"
|
|
1743
2065
|
],
|
|
1744
2066
|
"flags": {
|
|
2067
|
+
"json": {
|
|
2068
|
+
"description": "Format output as json.",
|
|
2069
|
+
"helpGroup": "GLOBAL",
|
|
2070
|
+
"name": "json",
|
|
2071
|
+
"allowNo": false,
|
|
2072
|
+
"type": "boolean"
|
|
2073
|
+
},
|
|
1745
2074
|
"env": {
|
|
1746
2075
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1747
2076
|
"name": "env",
|
|
@@ -1771,7 +2100,7 @@
|
|
|
1771
2100
|
"pluginName": "@loopress/cli",
|
|
1772
2101
|
"pluginType": "core",
|
|
1773
2102
|
"strict": true,
|
|
1774
|
-
"enableJsonFlag":
|
|
2103
|
+
"enableJsonFlag": true,
|
|
1775
2104
|
"dryRunFlag": {
|
|
1776
2105
|
"dry-run": {
|
|
1777
2106
|
"char": "d",
|
|
@@ -1810,6 +2139,13 @@
|
|
|
1810
2139
|
"$ lps snippet push --path ./snippets"
|
|
1811
2140
|
],
|
|
1812
2141
|
"flags": {
|
|
2142
|
+
"json": {
|
|
2143
|
+
"description": "Format output as json.",
|
|
2144
|
+
"helpGroup": "GLOBAL",
|
|
2145
|
+
"name": "json",
|
|
2146
|
+
"allowNo": false,
|
|
2147
|
+
"type": "boolean"
|
|
2148
|
+
},
|
|
1813
2149
|
"env": {
|
|
1814
2150
|
"description": "Target environment by name, overriding the globally active one (lps project switch)",
|
|
1815
2151
|
"name": "env",
|
|
@@ -1839,6 +2175,7 @@
|
|
|
1839
2175
|
"pluginName": "@loopress/cli",
|
|
1840
2176
|
"pluginType": "core",
|
|
1841
2177
|
"strict": true,
|
|
2178
|
+
"enableJsonFlag": true,
|
|
1842
2179
|
"isESM": true,
|
|
1843
2180
|
"relativePath": [
|
|
1844
2181
|
"dist",
|
|
@@ -1896,5 +2233,5 @@
|
|
|
1896
2233
|
]
|
|
1897
2234
|
}
|
|
1898
2235
|
},
|
|
1899
|
-
"version": "0.
|
|
2236
|
+
"version": "0.22.0"
|
|
1900
2237
|
}
|