@loopress/cli 0.13.0 → 0.15.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 +96 -44
- package/dist/commands/init.js +5 -5
- package/dist/commands/plugin/add.d.ts +0 -2
- package/dist/commands/plugin/add.js +6 -47
- package/dist/commands/plugin/pull.js +4 -6
- package/dist/commands/plugin/push.d.ts +1 -2
- package/dist/commands/plugin/push.js +18 -50
- package/dist/commands/project/pull.d.ts +8 -0
- package/dist/commands/project/pull.js +69 -0
- package/dist/commands/project/{sync.d.ts → push.d.ts} +1 -2
- package/dist/commands/project/{sync.js → push.js} +8 -44
- package/dist/commands/snippet/publish.js +1 -1
- package/dist/commands/status.js +6 -2
- package/dist/commands/telemetry/disable.d.ts +6 -0
- package/dist/commands/telemetry/disable.js +14 -0
- package/dist/commands/telemetry/enable.d.ts +6 -0
- package/dist/commands/telemetry/enable.js +14 -0
- package/dist/config/auth.manager.d.ts +4 -2
- package/dist/config/auth.manager.js +15 -5
- package/dist/config/project-config.manager.d.ts +7 -2
- package/dist/config/project-config.manager.js +39 -10
- package/dist/hooks/finally.js +17 -3
- package/dist/hooks/init.js +8 -16
- package/dist/lib/local-callback-server.d.ts +3 -3
- package/dist/lib/local-callback-server.js +14 -4
- package/dist/lib/open-browser.d.ts +1 -1
- package/dist/lib/open-browser.js +3 -10
- package/dist/lib/sentry.d.ts +1 -1
- package/dist/lib/sentry.js +17 -8
- package/dist/lib/wp-authorize-flow.d.ts +15 -3
- package/dist/lib/wp-authorize-flow.js +31 -24
- package/dist/lib/wp-client.d.ts +1 -1
- package/dist/lib/wp-client.js +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/global-config.generated.d.ts +13 -3
- package/dist/types/plugin.d.ts +4 -5
- package/dist/types/project-config.generated.d.ts +1 -4
- package/dist/utils/plugins.d.ts +3 -7
- package/dist/utils/plugins.js +27 -13
- package/oclif.manifest.json +236 -169
- package/package.json +6 -2
- package/schemas/global-config.schema.json +19 -3
- package/schemas/project-config.schema.json +3 -4
package/oclif.manifest.json
CHANGED
|
@@ -113,26 +113,25 @@
|
|
|
113
113
|
"status.js"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
|
-
"
|
|
116
|
+
"snippet:list": {
|
|
117
117
|
"aliases": [],
|
|
118
118
|
"args": {},
|
|
119
|
-
"description": "
|
|
119
|
+
"description": "List snippets from WordPress",
|
|
120
120
|
"examples": [
|
|
121
|
-
"$ lps
|
|
122
|
-
"$ lps composer pull --dry-run"
|
|
121
|
+
"$ lps snippet list"
|
|
123
122
|
],
|
|
124
123
|
"flags": {
|
|
125
|
-
"
|
|
126
|
-
"char": "
|
|
127
|
-
"description": "
|
|
128
|
-
"name": "
|
|
124
|
+
"json": {
|
|
125
|
+
"char": "j",
|
|
126
|
+
"description": "Output in JSON format",
|
|
127
|
+
"name": "json",
|
|
129
128
|
"allowNo": false,
|
|
130
129
|
"type": "boolean"
|
|
131
130
|
}
|
|
132
131
|
},
|
|
133
132
|
"hasDynamicHelp": false,
|
|
134
133
|
"hiddenAliases": [],
|
|
135
|
-
"id": "
|
|
134
|
+
"id": "snippet:list",
|
|
136
135
|
"pluginAlias": "@loopress/cli",
|
|
137
136
|
"pluginName": "@loopress/cli",
|
|
138
137
|
"pluginType": "core",
|
|
@@ -150,60 +149,52 @@
|
|
|
150
149
|
"relativePath": [
|
|
151
150
|
"dist",
|
|
152
151
|
"commands",
|
|
153
|
-
"
|
|
154
|
-
"
|
|
152
|
+
"snippet",
|
|
153
|
+
"list.js"
|
|
155
154
|
]
|
|
156
155
|
},
|
|
157
|
-
"
|
|
156
|
+
"snippet:publish": {
|
|
158
157
|
"aliases": [],
|
|
159
|
-
"args": {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"$ lps composer push --dry-run"
|
|
164
|
-
],
|
|
165
|
-
"flags": {
|
|
166
|
-
"dry-run": {
|
|
167
|
-
"char": "d",
|
|
168
|
-
"description": "Show what would change without making changes",
|
|
169
|
-
"name": "dry-run",
|
|
170
|
-
"allowNo": false,
|
|
171
|
-
"type": "boolean"
|
|
158
|
+
"args": {
|
|
159
|
+
"path": {
|
|
160
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
161
|
+
"name": "path"
|
|
172
162
|
}
|
|
173
163
|
},
|
|
164
|
+
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
165
|
+
"examples": [
|
|
166
|
+
"$ lps snippet publish",
|
|
167
|
+
"$ lps snippet publish --path ./snippets"
|
|
168
|
+
],
|
|
169
|
+
"flags": {},
|
|
174
170
|
"hasDynamicHelp": false,
|
|
175
171
|
"hiddenAliases": [],
|
|
176
|
-
"id": "
|
|
172
|
+
"id": "snippet:publish",
|
|
177
173
|
"pluginAlias": "@loopress/cli",
|
|
178
174
|
"pluginName": "@loopress/cli",
|
|
179
175
|
"pluginType": "core",
|
|
180
176
|
"strict": true,
|
|
177
|
+
"enableJsonFlag": false,
|
|
181
178
|
"isESM": true,
|
|
182
179
|
"relativePath": [
|
|
183
180
|
"dist",
|
|
184
181
|
"commands",
|
|
185
|
-
"
|
|
186
|
-
"
|
|
182
|
+
"snippet",
|
|
183
|
+
"publish.js"
|
|
187
184
|
]
|
|
188
185
|
},
|
|
189
|
-
"
|
|
186
|
+
"snippet:pull": {
|
|
190
187
|
"aliases": [],
|
|
191
188
|
"args": {
|
|
192
|
-
"
|
|
193
|
-
"description": "
|
|
194
|
-
"name": "
|
|
195
|
-
"required": true
|
|
196
|
-
},
|
|
197
|
-
"version": {
|
|
198
|
-
"description": "Version to pin (default: latest)",
|
|
199
|
-
"name": "version"
|
|
189
|
+
"path": {
|
|
190
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
191
|
+
"name": "path"
|
|
200
192
|
}
|
|
201
193
|
},
|
|
202
|
-
"description": "
|
|
194
|
+
"description": "Pull snippets from WordPress",
|
|
203
195
|
"examples": [
|
|
204
|
-
"$ lps
|
|
205
|
-
"$ lps
|
|
206
|
-
"$ lps plugin add contact-form-7 --dry-run"
|
|
196
|
+
"$ lps snippet pull",
|
|
197
|
+
"$ lps snippet pull --path ./snippets"
|
|
207
198
|
],
|
|
208
199
|
"flags": {
|
|
209
200
|
"dry-run": {
|
|
@@ -216,7 +207,7 @@
|
|
|
216
207
|
},
|
|
217
208
|
"hasDynamicHelp": false,
|
|
218
209
|
"hiddenAliases": [],
|
|
219
|
-
"id": "
|
|
210
|
+
"id": "snippet:pull",
|
|
220
211
|
"pluginAlias": "@loopress/cli",
|
|
221
212
|
"pluginName": "@loopress/cli",
|
|
222
213
|
"pluginType": "core",
|
|
@@ -234,17 +225,22 @@
|
|
|
234
225
|
"relativePath": [
|
|
235
226
|
"dist",
|
|
236
227
|
"commands",
|
|
237
|
-
"
|
|
238
|
-
"
|
|
228
|
+
"snippet",
|
|
229
|
+
"pull.js"
|
|
239
230
|
]
|
|
240
231
|
},
|
|
241
|
-
"
|
|
232
|
+
"snippet:push": {
|
|
242
233
|
"aliases": [],
|
|
243
|
-
"args": {
|
|
244
|
-
|
|
234
|
+
"args": {
|
|
235
|
+
"path": {
|
|
236
|
+
"description": "Path to snippets directory (overrides project config)",
|
|
237
|
+
"name": "path"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"description": "Push snippets to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
245
241
|
"examples": [
|
|
246
|
-
"$ lps
|
|
247
|
-
"$ lps
|
|
242
|
+
"$ lps snippet push",
|
|
243
|
+
"$ lps snippet push --path ./snippets"
|
|
248
244
|
],
|
|
249
245
|
"flags": {
|
|
250
246
|
"dry-run": {
|
|
@@ -257,117 +253,150 @@
|
|
|
257
253
|
},
|
|
258
254
|
"hasDynamicHelp": false,
|
|
259
255
|
"hiddenAliases": [],
|
|
260
|
-
"id": "
|
|
256
|
+
"id": "snippet:push",
|
|
257
|
+
"pluginAlias": "@loopress/cli",
|
|
258
|
+
"pluginName": "@loopress/cli",
|
|
259
|
+
"pluginType": "core",
|
|
260
|
+
"strict": true,
|
|
261
|
+
"isESM": true,
|
|
262
|
+
"relativePath": [
|
|
263
|
+
"dist",
|
|
264
|
+
"commands",
|
|
265
|
+
"snippet",
|
|
266
|
+
"push.js"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
"project:config": {
|
|
270
|
+
"aliases": [],
|
|
271
|
+
"args": {},
|
|
272
|
+
"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.",
|
|
273
|
+
"examples": [
|
|
274
|
+
"$ lps project config"
|
|
275
|
+
],
|
|
276
|
+
"flags": {},
|
|
277
|
+
"hasDynamicHelp": false,
|
|
278
|
+
"hiddenAliases": [],
|
|
279
|
+
"id": "project:config",
|
|
261
280
|
"pluginAlias": "@loopress/cli",
|
|
262
281
|
"pluginName": "@loopress/cli",
|
|
263
282
|
"pluginType": "core",
|
|
264
283
|
"strict": true,
|
|
265
284
|
"enableJsonFlag": false,
|
|
266
|
-
"dryRunFlag": {
|
|
267
|
-
"dry-run": {
|
|
268
|
-
"char": "d",
|
|
269
|
-
"description": "Show what would change without making changes",
|
|
270
|
-
"allowNo": false,
|
|
271
|
-
"type": "boolean"
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
285
|
"isESM": true,
|
|
275
286
|
"relativePath": [
|
|
276
287
|
"dist",
|
|
277
288
|
"commands",
|
|
278
|
-
"
|
|
289
|
+
"project",
|
|
290
|
+
"config.js"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"project:list": {
|
|
294
|
+
"aliases": [],
|
|
295
|
+
"args": {},
|
|
296
|
+
"description": "List configured WordPress projects",
|
|
297
|
+
"examples": [
|
|
298
|
+
"$ lps project list"
|
|
299
|
+
],
|
|
300
|
+
"flags": {},
|
|
301
|
+
"hasDynamicHelp": false,
|
|
302
|
+
"hiddenAliases": [],
|
|
303
|
+
"id": "project:list",
|
|
304
|
+
"pluginAlias": "@loopress/cli",
|
|
305
|
+
"pluginName": "@loopress/cli",
|
|
306
|
+
"pluginType": "core",
|
|
307
|
+
"strict": true,
|
|
308
|
+
"enableJsonFlag": false,
|
|
309
|
+
"isESM": true,
|
|
310
|
+
"relativePath": [
|
|
311
|
+
"dist",
|
|
312
|
+
"commands",
|
|
313
|
+
"project",
|
|
314
|
+
"list.js"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"project:pull": {
|
|
318
|
+
"aliases": [],
|
|
319
|
+
"args": {},
|
|
320
|
+
"description": "Pull projects and environments from your Loopress account that are not configured locally yet",
|
|
321
|
+
"examples": [
|
|
322
|
+
"$ lps project pull"
|
|
323
|
+
],
|
|
324
|
+
"flags": {},
|
|
325
|
+
"hasDynamicHelp": false,
|
|
326
|
+
"hiddenAliases": [],
|
|
327
|
+
"id": "project:pull",
|
|
328
|
+
"pluginAlias": "@loopress/cli",
|
|
329
|
+
"pluginName": "@loopress/cli",
|
|
330
|
+
"pluginType": "core",
|
|
331
|
+
"strict": true,
|
|
332
|
+
"enableJsonFlag": false,
|
|
333
|
+
"isESM": true,
|
|
334
|
+
"relativePath": [
|
|
335
|
+
"dist",
|
|
336
|
+
"commands",
|
|
337
|
+
"project",
|
|
279
338
|
"pull.js"
|
|
280
339
|
]
|
|
281
340
|
},
|
|
282
|
-
"
|
|
341
|
+
"project:push": {
|
|
283
342
|
"aliases": [],
|
|
284
343
|
"args": {},
|
|
285
|
-
"description": "Push
|
|
344
|
+
"description": "Push locally configured projects, environments and credentials to your Loopress account",
|
|
286
345
|
"examples": [
|
|
287
|
-
"$ lps
|
|
288
|
-
"$ lps plugin push --dry-run"
|
|
346
|
+
"$ lps project push"
|
|
289
347
|
],
|
|
290
|
-
"flags": {
|
|
291
|
-
"dry-run": {
|
|
292
|
-
"char": "d",
|
|
293
|
-
"description": "Show what would change without making changes",
|
|
294
|
-
"name": "dry-run",
|
|
295
|
-
"allowNo": false,
|
|
296
|
-
"type": "boolean"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
348
|
+
"flags": {},
|
|
299
349
|
"hasDynamicHelp": false,
|
|
300
350
|
"hiddenAliases": [],
|
|
301
|
-
"id": "
|
|
351
|
+
"id": "project:push",
|
|
302
352
|
"pluginAlias": "@loopress/cli",
|
|
303
353
|
"pluginName": "@loopress/cli",
|
|
304
354
|
"pluginType": "core",
|
|
305
355
|
"strict": true,
|
|
356
|
+
"enableJsonFlag": false,
|
|
306
357
|
"isESM": true,
|
|
307
358
|
"relativePath": [
|
|
308
359
|
"dist",
|
|
309
360
|
"commands",
|
|
310
|
-
"
|
|
361
|
+
"project",
|
|
311
362
|
"push.js"
|
|
312
363
|
]
|
|
313
364
|
},
|
|
314
|
-
"
|
|
365
|
+
"project:remove": {
|
|
315
366
|
"aliases": [],
|
|
316
367
|
"args": {},
|
|
317
|
-
"description": "
|
|
368
|
+
"description": "Remove one or more WordPress projects or environments",
|
|
318
369
|
"examples": [
|
|
319
|
-
"$ lps
|
|
370
|
+
"$ lps project remove"
|
|
320
371
|
],
|
|
321
|
-
"flags": {
|
|
322
|
-
"json": {
|
|
323
|
-
"char": "j",
|
|
324
|
-
"description": "Output in JSON format",
|
|
325
|
-
"name": "json",
|
|
326
|
-
"allowNo": false,
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
372
|
+
"flags": {},
|
|
330
373
|
"hasDynamicHelp": false,
|
|
331
374
|
"hiddenAliases": [],
|
|
332
|
-
"id": "
|
|
375
|
+
"id": "project:remove",
|
|
333
376
|
"pluginAlias": "@loopress/cli",
|
|
334
377
|
"pluginName": "@loopress/cli",
|
|
335
378
|
"pluginType": "core",
|
|
336
379
|
"strict": true,
|
|
337
380
|
"enableJsonFlag": false,
|
|
338
|
-
"dryRunFlag": {
|
|
339
|
-
"dry-run": {
|
|
340
|
-
"char": "d",
|
|
341
|
-
"description": "Show what would change without making changes",
|
|
342
|
-
"allowNo": false,
|
|
343
|
-
"type": "boolean"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
381
|
"isESM": true,
|
|
347
382
|
"relativePath": [
|
|
348
383
|
"dist",
|
|
349
384
|
"commands",
|
|
350
|
-
"
|
|
351
|
-
"
|
|
385
|
+
"project",
|
|
386
|
+
"remove.js"
|
|
352
387
|
]
|
|
353
388
|
},
|
|
354
|
-
"
|
|
389
|
+
"project:switch": {
|
|
355
390
|
"aliases": [],
|
|
356
|
-
"args": {
|
|
357
|
-
|
|
358
|
-
"description": "Path to snippets directory (overrides project config)",
|
|
359
|
-
"name": "path"
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
"description": "Publish snippets to your Loopress account so they can be deployed to other projects. Does not touch any WordPress site.",
|
|
391
|
+
"args": {},
|
|
392
|
+
"description": "Switch the active project and environment",
|
|
363
393
|
"examples": [
|
|
364
|
-
"$ lps
|
|
365
|
-
"$ lps snippet publish --path ./snippets"
|
|
394
|
+
"$ lps project switch"
|
|
366
395
|
],
|
|
367
396
|
"flags": {},
|
|
368
397
|
"hasDynamicHelp": false,
|
|
369
398
|
"hiddenAliases": [],
|
|
370
|
-
"id": "
|
|
399
|
+
"id": "project:switch",
|
|
371
400
|
"pluginAlias": "@loopress/cli",
|
|
372
401
|
"pluginName": "@loopress/cli",
|
|
373
402
|
"pluginType": "core",
|
|
@@ -377,22 +406,23 @@
|
|
|
377
406
|
"relativePath": [
|
|
378
407
|
"dist",
|
|
379
408
|
"commands",
|
|
380
|
-
"
|
|
381
|
-
"
|
|
409
|
+
"project",
|
|
410
|
+
"switch.js"
|
|
382
411
|
]
|
|
383
412
|
},
|
|
384
|
-
"
|
|
413
|
+
"plugin:add": {
|
|
385
414
|
"aliases": [],
|
|
386
415
|
"args": {
|
|
387
|
-
"
|
|
388
|
-
"description": "
|
|
389
|
-
"name": "
|
|
416
|
+
"slug": {
|
|
417
|
+
"description": "Plugin slug on WordPress.org",
|
|
418
|
+
"name": "slug",
|
|
419
|
+
"required": true
|
|
390
420
|
}
|
|
391
421
|
},
|
|
392
|
-
"description": "
|
|
422
|
+
"description": "Add a WordPress.org plugin to loopress.json",
|
|
393
423
|
"examples": [
|
|
394
|
-
"$ lps
|
|
395
|
-
"$ lps
|
|
424
|
+
"$ lps plugin add woocommerce",
|
|
425
|
+
"$ lps plugin add contact-form-7 --dry-run"
|
|
396
426
|
],
|
|
397
427
|
"flags": {
|
|
398
428
|
"dry-run": {
|
|
@@ -405,7 +435,7 @@
|
|
|
405
435
|
},
|
|
406
436
|
"hasDynamicHelp": false,
|
|
407
437
|
"hiddenAliases": [],
|
|
408
|
-
"id": "
|
|
438
|
+
"id": "plugin:add",
|
|
409
439
|
"pluginAlias": "@loopress/cli",
|
|
410
440
|
"pluginName": "@loopress/cli",
|
|
411
441
|
"pluginType": "core",
|
|
@@ -423,22 +453,17 @@
|
|
|
423
453
|
"relativePath": [
|
|
424
454
|
"dist",
|
|
425
455
|
"commands",
|
|
426
|
-
"
|
|
427
|
-
"
|
|
456
|
+
"plugin",
|
|
457
|
+
"add.js"
|
|
428
458
|
]
|
|
429
459
|
},
|
|
430
|
-
"
|
|
460
|
+
"plugin:pull": {
|
|
431
461
|
"aliases": [],
|
|
432
|
-
"args": {
|
|
433
|
-
|
|
434
|
-
"description": "Path to snippets directory (overrides project config)",
|
|
435
|
-
"name": "path"
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
"description": "Push snippets to WordPress. Local snippet files created or updated remotely are renamed on disk to the `<id>-<slug>` convention.",
|
|
462
|
+
"args": {},
|
|
463
|
+
"description": "Pull installed plugins from WordPress into loopress.json",
|
|
439
464
|
"examples": [
|
|
440
|
-
"$ lps
|
|
441
|
-
"$ lps
|
|
465
|
+
"$ lps plugin pull",
|
|
466
|
+
"$ lps plugin pull --dry-run"
|
|
442
467
|
],
|
|
443
468
|
"flags": {
|
|
444
469
|
"dry-run": {
|
|
@@ -451,54 +476,71 @@
|
|
|
451
476
|
},
|
|
452
477
|
"hasDynamicHelp": false,
|
|
453
478
|
"hiddenAliases": [],
|
|
454
|
-
"id": "
|
|
479
|
+
"id": "plugin:pull",
|
|
455
480
|
"pluginAlias": "@loopress/cli",
|
|
456
481
|
"pluginName": "@loopress/cli",
|
|
457
482
|
"pluginType": "core",
|
|
458
483
|
"strict": true,
|
|
484
|
+
"enableJsonFlag": false,
|
|
485
|
+
"dryRunFlag": {
|
|
486
|
+
"dry-run": {
|
|
487
|
+
"char": "d",
|
|
488
|
+
"description": "Show what would change without making changes",
|
|
489
|
+
"allowNo": false,
|
|
490
|
+
"type": "boolean"
|
|
491
|
+
}
|
|
492
|
+
},
|
|
459
493
|
"isESM": true,
|
|
460
494
|
"relativePath": [
|
|
461
495
|
"dist",
|
|
462
496
|
"commands",
|
|
463
|
-
"
|
|
464
|
-
"
|
|
497
|
+
"plugin",
|
|
498
|
+
"pull.js"
|
|
465
499
|
]
|
|
466
500
|
},
|
|
467
|
-
"
|
|
501
|
+
"plugin:push": {
|
|
468
502
|
"aliases": [],
|
|
469
503
|
"args": {},
|
|
470
|
-
"description": "
|
|
504
|
+
"description": "Push plugins to WordPress to match loopress.json",
|
|
471
505
|
"examples": [
|
|
472
|
-
"$ lps
|
|
506
|
+
"$ lps plugin push",
|
|
507
|
+
"$ lps plugin push --dry-run"
|
|
473
508
|
],
|
|
474
|
-
"flags": {
|
|
509
|
+
"flags": {
|
|
510
|
+
"dry-run": {
|
|
511
|
+
"char": "d",
|
|
512
|
+
"description": "Show what would change without making changes",
|
|
513
|
+
"name": "dry-run",
|
|
514
|
+
"allowNo": false,
|
|
515
|
+
"type": "boolean"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
475
518
|
"hasDynamicHelp": false,
|
|
476
519
|
"hiddenAliases": [],
|
|
477
|
-
"id": "
|
|
520
|
+
"id": "plugin:push",
|
|
478
521
|
"pluginAlias": "@loopress/cli",
|
|
479
522
|
"pluginName": "@loopress/cli",
|
|
480
523
|
"pluginType": "core",
|
|
481
524
|
"strict": true,
|
|
482
|
-
"enableJsonFlag": false,
|
|
483
525
|
"isESM": true,
|
|
484
526
|
"relativePath": [
|
|
485
527
|
"dist",
|
|
486
528
|
"commands",
|
|
487
|
-
"
|
|
488
|
-
"
|
|
529
|
+
"plugin",
|
|
530
|
+
"push.js"
|
|
489
531
|
]
|
|
490
532
|
},
|
|
491
|
-
"
|
|
533
|
+
"telemetry:disable": {
|
|
492
534
|
"aliases": [],
|
|
493
535
|
"args": {},
|
|
494
|
-
"description": "
|
|
536
|
+
"description": "Disable error reporting to Sentry",
|
|
495
537
|
"examples": [
|
|
496
|
-
"$ lps
|
|
538
|
+
"$ lps telemetry disable"
|
|
497
539
|
],
|
|
498
540
|
"flags": {},
|
|
499
541
|
"hasDynamicHelp": false,
|
|
500
542
|
"hiddenAliases": [],
|
|
501
|
-
"id": "
|
|
543
|
+
"id": "telemetry:disable",
|
|
502
544
|
"pluginAlias": "@loopress/cli",
|
|
503
545
|
"pluginName": "@loopress/cli",
|
|
504
546
|
"pluginType": "core",
|
|
@@ -508,21 +550,21 @@
|
|
|
508
550
|
"relativePath": [
|
|
509
551
|
"dist",
|
|
510
552
|
"commands",
|
|
511
|
-
"
|
|
512
|
-
"
|
|
553
|
+
"telemetry",
|
|
554
|
+
"disable.js"
|
|
513
555
|
]
|
|
514
556
|
},
|
|
515
|
-
"
|
|
557
|
+
"telemetry:enable": {
|
|
516
558
|
"aliases": [],
|
|
517
559
|
"args": {},
|
|
518
|
-
"description": "
|
|
560
|
+
"description": "Enable error reporting to Sentry",
|
|
519
561
|
"examples": [
|
|
520
|
-
"$ lps
|
|
562
|
+
"$ lps telemetry enable"
|
|
521
563
|
],
|
|
522
564
|
"flags": {},
|
|
523
565
|
"hasDynamicHelp": false,
|
|
524
566
|
"hiddenAliases": [],
|
|
525
|
-
"id": "
|
|
567
|
+
"id": "telemetry:enable",
|
|
526
568
|
"pluginAlias": "@loopress/cli",
|
|
527
569
|
"pluginName": "@loopress/cli",
|
|
528
570
|
"pluginType": "core",
|
|
@@ -532,58 +574,83 @@
|
|
|
532
574
|
"relativePath": [
|
|
533
575
|
"dist",
|
|
534
576
|
"commands",
|
|
535
|
-
"
|
|
536
|
-
"
|
|
577
|
+
"telemetry",
|
|
578
|
+
"enable.js"
|
|
537
579
|
]
|
|
538
580
|
},
|
|
539
|
-
"
|
|
581
|
+
"composer:pull": {
|
|
540
582
|
"aliases": [],
|
|
541
583
|
"args": {},
|
|
542
|
-
"description": "
|
|
584
|
+
"description": "Pull composer.lock from WordPress",
|
|
543
585
|
"examples": [
|
|
544
|
-
"$ lps
|
|
586
|
+
"$ lps composer pull",
|
|
587
|
+
"$ lps composer pull --dry-run"
|
|
545
588
|
],
|
|
546
|
-
"flags": {
|
|
589
|
+
"flags": {
|
|
590
|
+
"dry-run": {
|
|
591
|
+
"char": "d",
|
|
592
|
+
"description": "Show what would change without making changes",
|
|
593
|
+
"name": "dry-run",
|
|
594
|
+
"allowNo": false,
|
|
595
|
+
"type": "boolean"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
547
598
|
"hasDynamicHelp": false,
|
|
548
599
|
"hiddenAliases": [],
|
|
549
|
-
"id": "
|
|
600
|
+
"id": "composer:pull",
|
|
550
601
|
"pluginAlias": "@loopress/cli",
|
|
551
602
|
"pluginName": "@loopress/cli",
|
|
552
603
|
"pluginType": "core",
|
|
553
604
|
"strict": true,
|
|
554
605
|
"enableJsonFlag": false,
|
|
606
|
+
"dryRunFlag": {
|
|
607
|
+
"dry-run": {
|
|
608
|
+
"char": "d",
|
|
609
|
+
"description": "Show what would change without making changes",
|
|
610
|
+
"allowNo": false,
|
|
611
|
+
"type": "boolean"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
555
614
|
"isESM": true,
|
|
556
615
|
"relativePath": [
|
|
557
616
|
"dist",
|
|
558
617
|
"commands",
|
|
559
|
-
"
|
|
560
|
-
"
|
|
618
|
+
"composer",
|
|
619
|
+
"pull.js"
|
|
561
620
|
]
|
|
562
621
|
},
|
|
563
|
-
"
|
|
622
|
+
"composer:push": {
|
|
564
623
|
"aliases": [],
|
|
565
624
|
"args": {},
|
|
566
|
-
"description": "
|
|
625
|
+
"description": "Push composer.json and composer.lock to WordPress and run composer install",
|
|
567
626
|
"examples": [
|
|
568
|
-
"$ lps
|
|
627
|
+
"$ lps composer push",
|
|
628
|
+
"$ lps composer push --dry-run"
|
|
569
629
|
],
|
|
570
|
-
"flags": {
|
|
630
|
+
"flags": {
|
|
631
|
+
"dry-run": {
|
|
632
|
+
"char": "d",
|
|
633
|
+
"description": "Show what would change without making changes",
|
|
634
|
+
"name": "dry-run",
|
|
635
|
+
"allowNo": false,
|
|
636
|
+
"type": "boolean"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
571
639
|
"hasDynamicHelp": false,
|
|
572
640
|
"hiddenAliases": [],
|
|
573
|
-
"id": "
|
|
641
|
+
"id": "composer:push",
|
|
574
642
|
"pluginAlias": "@loopress/cli",
|
|
575
643
|
"pluginName": "@loopress/cli",
|
|
576
644
|
"pluginType": "core",
|
|
577
645
|
"strict": true,
|
|
578
|
-
"enableJsonFlag": false,
|
|
579
646
|
"isESM": true,
|
|
580
647
|
"relativePath": [
|
|
581
648
|
"dist",
|
|
582
649
|
"commands",
|
|
583
|
-
"
|
|
584
|
-
"
|
|
650
|
+
"composer",
|
|
651
|
+
"push.js"
|
|
585
652
|
]
|
|
586
653
|
}
|
|
587
654
|
},
|
|
588
|
-
"version": "0.
|
|
655
|
+
"version": "0.15.0"
|
|
589
656
|
}
|