@pdfbutler/migration-cli 0.0.19 → 0.0.21
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 +365 -119
- package/lib/commands/butler/pb/admincredentials.d.ts +24 -0
- package/lib/commands/butler/pb/admincredentials.js +160 -0
- package/lib/commands/butler/pb/admincredentials.js.map +1 -0
- package/lib/commands/butler/pb/adminsettings.d.ts +24 -0
- package/lib/commands/butler/pb/adminsettings.js +155 -0
- package/lib/commands/butler/pb/adminsettings.js.map +1 -0
- package/lib/commands/butler/pb/export.d.ts +12 -1
- package/lib/commands/butler/pb/export.js +182 -44
- package/lib/commands/butler/pb/export.js.map +1 -1
- package/lib/commands/butler/pb/exportpack.d.ts +27 -0
- package/lib/commands/butler/pb/exportpack.js +214 -0
- package/lib/commands/butler/pb/exportpack.js.map +1 -0
- package/lib/commands/butler/pb/import.d.ts +9 -1
- package/lib/commands/butler/pb/import.js +91 -10
- package/lib/commands/butler/pb/import.js.map +1 -1
- package/lib/commands/butler/pb/importpack.d.ts +27 -0
- package/lib/commands/butler/pb/importpack.js +228 -0
- package/lib/commands/butler/pb/importpack.js.map +1 -0
- package/messages/butler.pb.admincredentials.md +44 -0
- package/messages/butler.pb.adminsettings.md +44 -0
- package/messages/butler.pb.export.md +16 -0
- package/messages/butler.pb.exportpack.md +44 -0
- package/messages/butler.pb.import.md +8 -0
- package/messages/butler.pb.importpack.md +44 -0
- package/oclif.manifest.json +338 -5
- package/package.json +3 -3
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Summary of a command.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
More information about a command. Don't repeat the summary.
|
|
8
|
+
|
|
9
|
+
# flags.name.summary
|
|
10
|
+
|
|
11
|
+
Description of a flag.
|
|
12
|
+
|
|
13
|
+
# flags.name.description
|
|
14
|
+
|
|
15
|
+
More information about a flag. Don't repeat the summary.
|
|
16
|
+
|
|
17
|
+
# examples
|
|
18
|
+
|
|
19
|
+
- <%= config.bin %> <%= command.id %>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# flags.pack.summary
|
|
23
|
+
|
|
24
|
+
Customer Pack Id.
|
|
25
|
+
|
|
26
|
+
# flags.target.summary
|
|
27
|
+
|
|
28
|
+
Target.
|
|
29
|
+
|
|
30
|
+
# flags.out.summary
|
|
31
|
+
|
|
32
|
+
Out.
|
|
33
|
+
|
|
34
|
+
# flags.logs.summary
|
|
35
|
+
|
|
36
|
+
Logs.
|
|
37
|
+
|
|
38
|
+
# flags.session.summary
|
|
39
|
+
|
|
40
|
+
Session Id.
|
|
41
|
+
|
|
42
|
+
# flags.instance.summary
|
|
43
|
+
|
|
44
|
+
Instance Url.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Summary of a command.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
More information about a command. Don't repeat the summary.
|
|
8
|
+
|
|
9
|
+
# flags.name.summary
|
|
10
|
+
|
|
11
|
+
Description of a flag.
|
|
12
|
+
|
|
13
|
+
# flags.name.description
|
|
14
|
+
|
|
15
|
+
More information about a flag. Don't repeat the summary.
|
|
16
|
+
|
|
17
|
+
# examples
|
|
18
|
+
|
|
19
|
+
- <%= config.bin %> <%= command.id %>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# flags.pack.summary
|
|
23
|
+
|
|
24
|
+
Customer Pack Id.
|
|
25
|
+
|
|
26
|
+
# flags.folder.summary
|
|
27
|
+
|
|
28
|
+
Folder With Packs.
|
|
29
|
+
|
|
30
|
+
# flags.target.summary
|
|
31
|
+
|
|
32
|
+
Target.
|
|
33
|
+
|
|
34
|
+
# flags.logs.summary
|
|
35
|
+
|
|
36
|
+
Logs.
|
|
37
|
+
|
|
38
|
+
# flags.session.summary
|
|
39
|
+
|
|
40
|
+
Session Id.
|
|
41
|
+
|
|
42
|
+
# flags.instance.summary
|
|
43
|
+
|
|
44
|
+
Instance Url.
|
package/oclif.manifest.json
CHANGED
|
@@ -1,6 +1,148 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.21",
|
|
3
3
|
"commands": {
|
|
4
|
+
"butler:pb:admincredentials": {
|
|
5
|
+
"id": "butler:pb:admincredentials",
|
|
6
|
+
"summary": "Summary of a command.",
|
|
7
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
10
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
11
|
+
"pluginType": "core",
|
|
12
|
+
"aliases": [],
|
|
13
|
+
"examples": [
|
|
14
|
+
"<%= config.bin %> <%= command.id %>"
|
|
15
|
+
],
|
|
16
|
+
"flags": {
|
|
17
|
+
"json": {
|
|
18
|
+
"name": "json",
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "Format output as json.",
|
|
21
|
+
"helpGroup": "GLOBAL",
|
|
22
|
+
"allowNo": false
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"name": "name",
|
|
26
|
+
"type": "option",
|
|
27
|
+
"char": "n",
|
|
28
|
+
"summary": "Description of a flag.",
|
|
29
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
30
|
+
"required": false,
|
|
31
|
+
"multiple": false
|
|
32
|
+
},
|
|
33
|
+
"target": {
|
|
34
|
+
"name": "target",
|
|
35
|
+
"type": "option",
|
|
36
|
+
"char": "t",
|
|
37
|
+
"summary": "Target.",
|
|
38
|
+
"required": false,
|
|
39
|
+
"multiple": false
|
|
40
|
+
},
|
|
41
|
+
"username": {
|
|
42
|
+
"name": "username",
|
|
43
|
+
"type": "option",
|
|
44
|
+
"char": "u",
|
|
45
|
+
"summary": "Username.",
|
|
46
|
+
"required": true,
|
|
47
|
+
"multiple": false
|
|
48
|
+
},
|
|
49
|
+
"password": {
|
|
50
|
+
"name": "password",
|
|
51
|
+
"type": "option",
|
|
52
|
+
"char": "p",
|
|
53
|
+
"summary": "Password.",
|
|
54
|
+
"required": true,
|
|
55
|
+
"multiple": false
|
|
56
|
+
},
|
|
57
|
+
"user-password": {
|
|
58
|
+
"name": "user-password",
|
|
59
|
+
"type": "option",
|
|
60
|
+
"summary": "User Password.",
|
|
61
|
+
"required": true,
|
|
62
|
+
"multiple": false
|
|
63
|
+
},
|
|
64
|
+
"session": {
|
|
65
|
+
"name": "session",
|
|
66
|
+
"type": "option",
|
|
67
|
+
"summary": "Session Id.",
|
|
68
|
+
"multiple": false
|
|
69
|
+
},
|
|
70
|
+
"instance": {
|
|
71
|
+
"name": "instance",
|
|
72
|
+
"type": "option",
|
|
73
|
+
"summary": "Instance Url.",
|
|
74
|
+
"multiple": false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"args": {}
|
|
78
|
+
},
|
|
79
|
+
"butler:pb:adminsettings": {
|
|
80
|
+
"id": "butler:pb:adminsettings",
|
|
81
|
+
"summary": "Summary of a command.",
|
|
82
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
83
|
+
"strict": true,
|
|
84
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
85
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
86
|
+
"pluginType": "core",
|
|
87
|
+
"aliases": [],
|
|
88
|
+
"examples": [
|
|
89
|
+
"<%= config.bin %> <%= command.id %>"
|
|
90
|
+
],
|
|
91
|
+
"flags": {
|
|
92
|
+
"json": {
|
|
93
|
+
"name": "json",
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"description": "Format output as json.",
|
|
96
|
+
"helpGroup": "GLOBAL",
|
|
97
|
+
"allowNo": false
|
|
98
|
+
},
|
|
99
|
+
"url": {
|
|
100
|
+
"name": "url",
|
|
101
|
+
"type": "option",
|
|
102
|
+
"char": "u",
|
|
103
|
+
"summary": "Url.",
|
|
104
|
+
"required": true,
|
|
105
|
+
"multiple": false
|
|
106
|
+
},
|
|
107
|
+
"region": {
|
|
108
|
+
"name": "region",
|
|
109
|
+
"type": "option",
|
|
110
|
+
"char": "r",
|
|
111
|
+
"summary": "Region.",
|
|
112
|
+
"required": true,
|
|
113
|
+
"multiple": false
|
|
114
|
+
},
|
|
115
|
+
"stage": {
|
|
116
|
+
"name": "stage",
|
|
117
|
+
"type": "option",
|
|
118
|
+
"char": "s",
|
|
119
|
+
"summary": "Stage.",
|
|
120
|
+
"required": true,
|
|
121
|
+
"multiple": false
|
|
122
|
+
},
|
|
123
|
+
"target": {
|
|
124
|
+
"name": "target",
|
|
125
|
+
"type": "option",
|
|
126
|
+
"char": "t",
|
|
127
|
+
"summary": "Target.",
|
|
128
|
+
"required": false,
|
|
129
|
+
"multiple": false
|
|
130
|
+
},
|
|
131
|
+
"session": {
|
|
132
|
+
"name": "session",
|
|
133
|
+
"type": "option",
|
|
134
|
+
"summary": "Session Id.",
|
|
135
|
+
"multiple": false
|
|
136
|
+
},
|
|
137
|
+
"instance": {
|
|
138
|
+
"name": "instance",
|
|
139
|
+
"type": "option",
|
|
140
|
+
"summary": "Instance Url.",
|
|
141
|
+
"multiple": false
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"args": {}
|
|
145
|
+
},
|
|
4
146
|
"butler:pb:export": {
|
|
5
147
|
"id": "butler:pb:export",
|
|
6
148
|
"summary": "Summary of a command.",
|
|
@@ -35,7 +177,7 @@
|
|
|
35
177
|
"type": "option",
|
|
36
178
|
"char": "t",
|
|
37
179
|
"summary": "Summary for target.",
|
|
38
|
-
"required":
|
|
180
|
+
"required": false,
|
|
39
181
|
"multiple": false
|
|
40
182
|
},
|
|
41
183
|
"id": {
|
|
@@ -103,9 +245,111 @@
|
|
|
103
245
|
"char": "p",
|
|
104
246
|
"summary": "Summary for partial.",
|
|
105
247
|
"allowNo": false
|
|
248
|
+
},
|
|
249
|
+
"session": {
|
|
250
|
+
"name": "session",
|
|
251
|
+
"type": "option",
|
|
252
|
+
"summary": "Session Id.",
|
|
253
|
+
"multiple": false
|
|
254
|
+
},
|
|
255
|
+
"instance": {
|
|
256
|
+
"name": "instance",
|
|
257
|
+
"type": "option",
|
|
258
|
+
"summary": "Instance Url.",
|
|
259
|
+
"multiple": false
|
|
260
|
+
},
|
|
261
|
+
"cut": {
|
|
262
|
+
"name": "cut",
|
|
263
|
+
"type": "boolean",
|
|
264
|
+
"char": "c",
|
|
265
|
+
"summary": "Cut Zip File Name.",
|
|
266
|
+
"allowNo": false
|
|
267
|
+
},
|
|
268
|
+
"shortpaths": {
|
|
269
|
+
"name": "shortpaths",
|
|
270
|
+
"type": "boolean",
|
|
271
|
+
"summary": "Short Paths.",
|
|
272
|
+
"allowNo": false
|
|
106
273
|
}
|
|
107
274
|
},
|
|
108
|
-
"args": {}
|
|
275
|
+
"args": {},
|
|
276
|
+
"isLogsActive": false
|
|
277
|
+
},
|
|
278
|
+
"butler:pb:exportpack": {
|
|
279
|
+
"id": "butler:pb:exportpack",
|
|
280
|
+
"summary": "Summary of a command.",
|
|
281
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
282
|
+
"strict": true,
|
|
283
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
284
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
285
|
+
"pluginType": "core",
|
|
286
|
+
"aliases": [],
|
|
287
|
+
"examples": [
|
|
288
|
+
"<%= config.bin %> <%= command.id %>"
|
|
289
|
+
],
|
|
290
|
+
"flags": {
|
|
291
|
+
"json": {
|
|
292
|
+
"name": "json",
|
|
293
|
+
"type": "boolean",
|
|
294
|
+
"description": "Format output as json.",
|
|
295
|
+
"helpGroup": "GLOBAL",
|
|
296
|
+
"allowNo": false
|
|
297
|
+
},
|
|
298
|
+
"name": {
|
|
299
|
+
"name": "name",
|
|
300
|
+
"type": "option",
|
|
301
|
+
"char": "n",
|
|
302
|
+
"summary": "Description of a flag.",
|
|
303
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
304
|
+
"required": false,
|
|
305
|
+
"multiple": false
|
|
306
|
+
},
|
|
307
|
+
"pack": {
|
|
308
|
+
"name": "pack",
|
|
309
|
+
"type": "option",
|
|
310
|
+
"char": "p",
|
|
311
|
+
"summary": "Customer Pack Id.",
|
|
312
|
+
"required": true,
|
|
313
|
+
"multiple": false
|
|
314
|
+
},
|
|
315
|
+
"target": {
|
|
316
|
+
"name": "target",
|
|
317
|
+
"type": "option",
|
|
318
|
+
"char": "t",
|
|
319
|
+
"summary": "Target.",
|
|
320
|
+
"required": false,
|
|
321
|
+
"multiple": false
|
|
322
|
+
},
|
|
323
|
+
"out": {
|
|
324
|
+
"name": "out",
|
|
325
|
+
"type": "option",
|
|
326
|
+
"char": "o",
|
|
327
|
+
"summary": "Out.",
|
|
328
|
+
"required": true,
|
|
329
|
+
"multiple": false
|
|
330
|
+
},
|
|
331
|
+
"logs": {
|
|
332
|
+
"name": "logs",
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"char": "l",
|
|
335
|
+
"summary": "Logs.",
|
|
336
|
+
"allowNo": false
|
|
337
|
+
},
|
|
338
|
+
"session": {
|
|
339
|
+
"name": "session",
|
|
340
|
+
"type": "option",
|
|
341
|
+
"summary": "Session Id.",
|
|
342
|
+
"multiple": false
|
|
343
|
+
},
|
|
344
|
+
"instance": {
|
|
345
|
+
"name": "instance",
|
|
346
|
+
"type": "option",
|
|
347
|
+
"summary": "Instance Url.",
|
|
348
|
+
"multiple": false
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"args": {},
|
|
352
|
+
"isLogsActive": false
|
|
109
353
|
},
|
|
110
354
|
"butler:pb:import": {
|
|
111
355
|
"id": "butler:pb:import",
|
|
@@ -141,7 +385,7 @@
|
|
|
141
385
|
"type": "option",
|
|
142
386
|
"char": "t",
|
|
143
387
|
"summary": "Summary for target.",
|
|
144
|
-
"required":
|
|
388
|
+
"required": false,
|
|
145
389
|
"multiple": false
|
|
146
390
|
},
|
|
147
391
|
"auth-env-var": {
|
|
@@ -194,9 +438,98 @@
|
|
|
194
438
|
"char": "c",
|
|
195
439
|
"summary": "Summary for clone.",
|
|
196
440
|
"allowNo": false
|
|
441
|
+
},
|
|
442
|
+
"session": {
|
|
443
|
+
"name": "session",
|
|
444
|
+
"type": "option",
|
|
445
|
+
"summary": "Session Id.",
|
|
446
|
+
"multiple": false
|
|
447
|
+
},
|
|
448
|
+
"instance": {
|
|
449
|
+
"name": "instance",
|
|
450
|
+
"type": "option",
|
|
451
|
+
"summary": "Instance Url.",
|
|
452
|
+
"multiple": false
|
|
197
453
|
}
|
|
198
454
|
},
|
|
199
|
-
"args": {}
|
|
455
|
+
"args": {},
|
|
456
|
+
"isLogsActive": false
|
|
457
|
+
},
|
|
458
|
+
"butler:pb:importpack": {
|
|
459
|
+
"id": "butler:pb:importpack",
|
|
460
|
+
"summary": "Summary of a command.",
|
|
461
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
462
|
+
"strict": true,
|
|
463
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
464
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
465
|
+
"pluginType": "core",
|
|
466
|
+
"aliases": [],
|
|
467
|
+
"examples": [
|
|
468
|
+
"<%= config.bin %> <%= command.id %>"
|
|
469
|
+
],
|
|
470
|
+
"flags": {
|
|
471
|
+
"json": {
|
|
472
|
+
"name": "json",
|
|
473
|
+
"type": "boolean",
|
|
474
|
+
"description": "Format output as json.",
|
|
475
|
+
"helpGroup": "GLOBAL",
|
|
476
|
+
"allowNo": false
|
|
477
|
+
},
|
|
478
|
+
"name": {
|
|
479
|
+
"name": "name",
|
|
480
|
+
"type": "option",
|
|
481
|
+
"char": "n",
|
|
482
|
+
"summary": "Description of a flag.",
|
|
483
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
484
|
+
"required": false,
|
|
485
|
+
"multiple": false
|
|
486
|
+
},
|
|
487
|
+
"pack": {
|
|
488
|
+
"name": "pack",
|
|
489
|
+
"type": "option",
|
|
490
|
+
"char": "p",
|
|
491
|
+
"summary": "Customer Pack Id.",
|
|
492
|
+
"required": true,
|
|
493
|
+
"multiple": false
|
|
494
|
+
},
|
|
495
|
+
"folder": {
|
|
496
|
+
"name": "folder",
|
|
497
|
+
"type": "option",
|
|
498
|
+
"char": "f",
|
|
499
|
+
"summary": "Folder With Packs.",
|
|
500
|
+
"required": true,
|
|
501
|
+
"multiple": false
|
|
502
|
+
},
|
|
503
|
+
"target": {
|
|
504
|
+
"name": "target",
|
|
505
|
+
"type": "option",
|
|
506
|
+
"char": "t",
|
|
507
|
+
"summary": "Target.",
|
|
508
|
+
"required": false,
|
|
509
|
+
"multiple": false
|
|
510
|
+
},
|
|
511
|
+
"logs": {
|
|
512
|
+
"name": "logs",
|
|
513
|
+
"type": "boolean",
|
|
514
|
+
"char": "l",
|
|
515
|
+
"summary": "Logs.",
|
|
516
|
+
"allowNo": false
|
|
517
|
+
},
|
|
518
|
+
"session": {
|
|
519
|
+
"name": "session",
|
|
520
|
+
"type": "option",
|
|
521
|
+
"summary": "Session Id.",
|
|
522
|
+
"multiple": false
|
|
523
|
+
},
|
|
524
|
+
"instance": {
|
|
525
|
+
"name": "instance",
|
|
526
|
+
"type": "option",
|
|
527
|
+
"summary": "Instance Url.",
|
|
528
|
+
"multiple": false
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"args": {},
|
|
532
|
+
"isLogsActive": false
|
|
200
533
|
}
|
|
201
534
|
}
|
|
202
535
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pdfbutler/migration-cli",
|
|
3
3
|
"description": "[](https://www.npmjs.com/package/pdfbutler-migration-cli) [](https://npmjs.org/package/pdfbutler-migration-cli) [](https://raw.githubusercontent.com/salesforcecli/pdfbutler-migration-cli/main/LICENSE.txt)",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"script": {
|
|
6
6
|
"postinstall": "sf plugins link @pdfbutler/migration-cli"
|
|
7
7
|
},
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"@oclif/core": "^2.11.8",
|
|
10
10
|
"@salesforce/core": "^5.2.0",
|
|
11
11
|
"@salesforce/kit": "^3.0.8",
|
|
12
|
-
"@salesforce/sf-plugins-core": "^3.1.
|
|
12
|
+
"@salesforce/sf-plugins-core": "^3.1.28",
|
|
13
13
|
"adm-zip": "^0.5.10",
|
|
14
|
-
"got": "^11",
|
|
14
|
+
"got": "^11.8.6",
|
|
15
15
|
"graceful-fs": "^4.2.4",
|
|
16
16
|
"tslib": "^2"
|
|
17
17
|
},
|