@pdfbutler/migration-cli 0.0.19 → 0.0.20
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 +358 -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 +11 -1
- package/lib/commands/butler/pb/export.js +169 -43
- 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 +213 -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 +226 -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 +12 -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 +332 -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.20",
|
|
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,105 @@
|
|
|
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
|
|
106
267
|
}
|
|
107
268
|
},
|
|
108
|
-
"args": {}
|
|
269
|
+
"args": {},
|
|
270
|
+
"isLogsActive": false
|
|
271
|
+
},
|
|
272
|
+
"butler:pb:exportpack": {
|
|
273
|
+
"id": "butler:pb:exportpack",
|
|
274
|
+
"summary": "Summary of a command.",
|
|
275
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
276
|
+
"strict": true,
|
|
277
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
278
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
279
|
+
"pluginType": "core",
|
|
280
|
+
"aliases": [],
|
|
281
|
+
"examples": [
|
|
282
|
+
"<%= config.bin %> <%= command.id %>"
|
|
283
|
+
],
|
|
284
|
+
"flags": {
|
|
285
|
+
"json": {
|
|
286
|
+
"name": "json",
|
|
287
|
+
"type": "boolean",
|
|
288
|
+
"description": "Format output as json.",
|
|
289
|
+
"helpGroup": "GLOBAL",
|
|
290
|
+
"allowNo": false
|
|
291
|
+
},
|
|
292
|
+
"name": {
|
|
293
|
+
"name": "name",
|
|
294
|
+
"type": "option",
|
|
295
|
+
"char": "n",
|
|
296
|
+
"summary": "Description of a flag.",
|
|
297
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
298
|
+
"required": false,
|
|
299
|
+
"multiple": false
|
|
300
|
+
},
|
|
301
|
+
"pack": {
|
|
302
|
+
"name": "pack",
|
|
303
|
+
"type": "option",
|
|
304
|
+
"char": "p",
|
|
305
|
+
"summary": "Customer Pack Id.",
|
|
306
|
+
"required": true,
|
|
307
|
+
"multiple": false
|
|
308
|
+
},
|
|
309
|
+
"target": {
|
|
310
|
+
"name": "target",
|
|
311
|
+
"type": "option",
|
|
312
|
+
"char": "t",
|
|
313
|
+
"summary": "Target.",
|
|
314
|
+
"required": false,
|
|
315
|
+
"multiple": false
|
|
316
|
+
},
|
|
317
|
+
"out": {
|
|
318
|
+
"name": "out",
|
|
319
|
+
"type": "option",
|
|
320
|
+
"char": "o",
|
|
321
|
+
"summary": "Out.",
|
|
322
|
+
"required": true,
|
|
323
|
+
"multiple": false
|
|
324
|
+
},
|
|
325
|
+
"logs": {
|
|
326
|
+
"name": "logs",
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"char": "l",
|
|
329
|
+
"summary": "Logs.",
|
|
330
|
+
"allowNo": false
|
|
331
|
+
},
|
|
332
|
+
"session": {
|
|
333
|
+
"name": "session",
|
|
334
|
+
"type": "option",
|
|
335
|
+
"summary": "Session Id.",
|
|
336
|
+
"multiple": false
|
|
337
|
+
},
|
|
338
|
+
"instance": {
|
|
339
|
+
"name": "instance",
|
|
340
|
+
"type": "option",
|
|
341
|
+
"summary": "Instance Url.",
|
|
342
|
+
"multiple": false
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"args": {},
|
|
346
|
+
"isLogsActive": false
|
|
109
347
|
},
|
|
110
348
|
"butler:pb:import": {
|
|
111
349
|
"id": "butler:pb:import",
|
|
@@ -141,7 +379,7 @@
|
|
|
141
379
|
"type": "option",
|
|
142
380
|
"char": "t",
|
|
143
381
|
"summary": "Summary for target.",
|
|
144
|
-
"required":
|
|
382
|
+
"required": false,
|
|
145
383
|
"multiple": false
|
|
146
384
|
},
|
|
147
385
|
"auth-env-var": {
|
|
@@ -194,9 +432,98 @@
|
|
|
194
432
|
"char": "c",
|
|
195
433
|
"summary": "Summary for clone.",
|
|
196
434
|
"allowNo": false
|
|
435
|
+
},
|
|
436
|
+
"session": {
|
|
437
|
+
"name": "session",
|
|
438
|
+
"type": "option",
|
|
439
|
+
"summary": "Session Id.",
|
|
440
|
+
"multiple": false
|
|
441
|
+
},
|
|
442
|
+
"instance": {
|
|
443
|
+
"name": "instance",
|
|
444
|
+
"type": "option",
|
|
445
|
+
"summary": "Instance Url.",
|
|
446
|
+
"multiple": false
|
|
197
447
|
}
|
|
198
448
|
},
|
|
199
|
-
"args": {}
|
|
449
|
+
"args": {},
|
|
450
|
+
"isLogsActive": false
|
|
451
|
+
},
|
|
452
|
+
"butler:pb:importpack": {
|
|
453
|
+
"id": "butler:pb:importpack",
|
|
454
|
+
"summary": "Summary of a command.",
|
|
455
|
+
"description": "More information about a command. Don't repeat the summary.",
|
|
456
|
+
"strict": true,
|
|
457
|
+
"pluginName": "@pdfbutler/migration-cli",
|
|
458
|
+
"pluginAlias": "@pdfbutler/migration-cli",
|
|
459
|
+
"pluginType": "core",
|
|
460
|
+
"aliases": [],
|
|
461
|
+
"examples": [
|
|
462
|
+
"<%= config.bin %> <%= command.id %>"
|
|
463
|
+
],
|
|
464
|
+
"flags": {
|
|
465
|
+
"json": {
|
|
466
|
+
"name": "json",
|
|
467
|
+
"type": "boolean",
|
|
468
|
+
"description": "Format output as json.",
|
|
469
|
+
"helpGroup": "GLOBAL",
|
|
470
|
+
"allowNo": false
|
|
471
|
+
},
|
|
472
|
+
"name": {
|
|
473
|
+
"name": "name",
|
|
474
|
+
"type": "option",
|
|
475
|
+
"char": "n",
|
|
476
|
+
"summary": "Description of a flag.",
|
|
477
|
+
"description": "More information about a flag. Don't repeat the summary.",
|
|
478
|
+
"required": false,
|
|
479
|
+
"multiple": false
|
|
480
|
+
},
|
|
481
|
+
"pack": {
|
|
482
|
+
"name": "pack",
|
|
483
|
+
"type": "option",
|
|
484
|
+
"char": "p",
|
|
485
|
+
"summary": "Customer Pack Id.",
|
|
486
|
+
"required": true,
|
|
487
|
+
"multiple": false
|
|
488
|
+
},
|
|
489
|
+
"folder": {
|
|
490
|
+
"name": "folder",
|
|
491
|
+
"type": "option",
|
|
492
|
+
"char": "f",
|
|
493
|
+
"summary": "Folder With Packs.",
|
|
494
|
+
"required": true,
|
|
495
|
+
"multiple": false
|
|
496
|
+
},
|
|
497
|
+
"target": {
|
|
498
|
+
"name": "target",
|
|
499
|
+
"type": "option",
|
|
500
|
+
"char": "t",
|
|
501
|
+
"summary": "Target.",
|
|
502
|
+
"required": false,
|
|
503
|
+
"multiple": false
|
|
504
|
+
},
|
|
505
|
+
"logs": {
|
|
506
|
+
"name": "logs",
|
|
507
|
+
"type": "boolean",
|
|
508
|
+
"char": "l",
|
|
509
|
+
"summary": "Logs.",
|
|
510
|
+
"allowNo": false
|
|
511
|
+
},
|
|
512
|
+
"session": {
|
|
513
|
+
"name": "session",
|
|
514
|
+
"type": "option",
|
|
515
|
+
"summary": "Session Id.",
|
|
516
|
+
"multiple": false
|
|
517
|
+
},
|
|
518
|
+
"instance": {
|
|
519
|
+
"name": "instance",
|
|
520
|
+
"type": "option",
|
|
521
|
+
"summary": "Instance Url.",
|
|
522
|
+
"multiple": false
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"args": {},
|
|
526
|
+
"isLogsActive": false
|
|
200
527
|
}
|
|
201
528
|
}
|
|
202
529
|
}
|
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.20",
|
|
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
|
},
|