@pdfbutler/migration-cli 0.0.8 → 0.0.9
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 +22 -318
- package/lib/commands/butler/pb/export.js +1 -1
- package/lib/commands/butler/pb/export.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,25 +21,32 @@ yarn install
|
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
If you've installed Node.js on your computer, you can use npm to install Salesforce CLI:
|
|
24
|
+
|
|
24
25
|
```
|
|
25
26
|
npm install @salesforce/cli --global
|
|
26
27
|
```
|
|
27
28
|
|
|
28
29
|
For install the plugin run:
|
|
30
|
+
|
|
29
31
|
```
|
|
30
32
|
sf plugins install @pdfbutler/migration-cli
|
|
31
33
|
```
|
|
34
|
+
|
|
32
35
|
To see your installed plugins and their versions, run:
|
|
36
|
+
|
|
33
37
|
```
|
|
34
38
|
sf plugins
|
|
35
39
|
```
|
|
40
|
+
|
|
36
41
|
To see which versions of the core Salesforce-provided plugins are installed on your computer, run:
|
|
42
|
+
|
|
37
43
|
```
|
|
38
44
|
sf plugins --core
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
Before running commands that require access to the Salesforce org, you must be [authorized](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth.htm) in the target org.
|
|
42
48
|
One of the options to authorize an org is by running a CLI command and entering your credentials in the browser that automatically opens:
|
|
49
|
+
|
|
43
50
|
```
|
|
44
51
|
sf org login web
|
|
45
52
|
```
|
|
@@ -70,7 +77,7 @@ FLAGS
|
|
|
70
77
|
-e, --endpoint=<value> The URL PDF Butler endpoint for export. (Required)
|
|
71
78
|
|
|
72
79
|
-u, --unzip Use this flag to unzip the exported configuration. (Optional)
|
|
73
|
-
-b, --backend Use this flag to specify PDF Butler backend export. (Optional)
|
|
80
|
+
-b, --backend Use this flag to specify PDF Butler backend export. By default, this option is set to 'true,' enabling backend export. When specified, it would be set to 'false' to disable backend export. (Optional)
|
|
74
81
|
|
|
75
82
|
DESCRIPTION
|
|
76
83
|
Export DocConfigs and related DataSource files from your organization.
|
|
@@ -93,13 +100,7 @@ EXAMPLES
|
|
|
93
100
|
|
|
94
101
|
# Created:
|
|
95
102
|
Directory 'sfdc/export_folder_name'{
|
|
96
|
-
file 'docconfig.json'
|
|
97
|
-
Unziped directory 'archive_name'{
|
|
98
|
-
Directory 'ConfigTypes',
|
|
99
|
-
Directory 'DataSources',
|
|
100
|
-
file 'doc-config.json',
|
|
101
|
-
file 'TemplateName.docx'
|
|
102
|
-
}
|
|
103
|
+
file 'docconfig.json'
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
Run with --backend flag only
|
|
@@ -110,13 +111,7 @@ EXAMPLES
|
|
|
110
111
|
|
|
111
112
|
# Created:
|
|
112
113
|
Directory 'sfdc/export_folder_name'{
|
|
113
|
-
file 'docconfig.json'
|
|
114
|
-
zip file'archive_name.zip'{
|
|
115
|
-
Directory 'ConfigTypes',
|
|
116
|
-
Directory 'DataSources',
|
|
117
|
-
file 'doc-config.json',
|
|
118
|
-
file 'TemplateName.docx'
|
|
119
|
-
}
|
|
114
|
+
file 'docconfig.json'
|
|
120
115
|
}
|
|
121
116
|
|
|
122
117
|
Run with --unzip flag only
|
|
@@ -128,6 +123,12 @@ EXAMPLES
|
|
|
128
123
|
# Created:
|
|
129
124
|
Directory 'sfdc/export_folder_name'{
|
|
130
125
|
file 'docconfig.json',
|
|
126
|
+
Unziped directory 'archive_name'{
|
|
127
|
+
Directory 'ConfigTypes',
|
|
128
|
+
Directory 'DataSources',
|
|
129
|
+
file 'doc-config.json',
|
|
130
|
+
file 'TemplateName.docx'
|
|
131
|
+
}
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
Run without optional flags
|
|
@@ -139,8 +140,11 @@ EXAMPLES
|
|
|
139
140
|
# Created:
|
|
140
141
|
Directory 'sfdc/export_folder_name'{
|
|
141
142
|
file 'docconfig.json',
|
|
142
|
-
zip file
|
|
143
|
-
|
|
143
|
+
zip file'archive_name.zip'{
|
|
144
|
+
Directory 'ConfigTypes',
|
|
145
|
+
Directory 'DataSources',
|
|
146
|
+
file 'doc-config.json',
|
|
147
|
+
file 'TemplateName.docx'
|
|
144
148
|
}
|
|
145
149
|
}
|
|
146
150
|
|
|
@@ -155,7 +159,7 @@ FLAG DESCRIPTIONS
|
|
|
155
159
|
|
|
156
160
|
-o, --out <value>
|
|
157
161
|
Specifies the path to the folder with the exported configuration and the archive or folder name for data sources. By default, a sfdc folder is created which will contain folders with exported files.
|
|
158
|
-
For example, if the flag is defined with the following values '-o export/out', the result will be the following path: ./sfdc/export/out .
|
|
162
|
+
For example, if the flag is defined with the following values '-o export/out', the result will be the following path: ./sfdc/export/out .
|
|
159
163
|
This flag is required to determine where the exported configuration will be saved.
|
|
160
164
|
|
|
161
165
|
-s, --stage <value>
|
|
@@ -231,303 +235,3 @@ FLAG DESCRIPTIONS
|
|
|
231
235
|
Specifies the path to the configuration file or directory containing configurations to import.
|
|
232
236
|
This flag is required to determine which configurations to import.
|
|
233
237
|
```
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
# pdfbutler-migration-cli
|
|
238
|
-
|
|
239
|
-
[](https://www.npmjs.com/package/@pdfbutler/migration-cli) [](https://www.npmjs.com/package/@pdfbutler/migration-cli) [](https://raw.githubusercontent.com/salesforcecli/pdfbutler-migration-cli/main/LICENSE.txt)
|
|
240
|
-
|
|
241
|
-
## About
|
|
242
|
-
|
|
243
|
-
@pdfbutler/migration-cli is a Salesforce plugin designed to simplify and automate the process of migrating configurations within the PDF Butler system in the Salesforce environment. PDF Butler is a powerful tool for generating and automating documents in the Salesforce platform, and the use of this CLI plugin allows users to easily manage configurations and transfer them between different Salesforce instances or projects.
|
|
244
|
-
|
|
245
|
-
### Main features of the plugin:
|
|
246
|
-
|
|
247
|
-
Export and import configurations: The plugin enables easy export and import of PDF Butler configurations. This is particularly useful for moving settings between different Salesforce environments or projects, ensuring consistency and ease of management.
|
|
248
|
-
Migration customization: The plugin provides users with the ability to customize the migration process using various flags and parameters to meet individual needs. With this plugin, you can specify the target Salesforce account, use environment variables for authentication, define custom URLs for import or export, and other parameters of your choice.
|
|
249
|
-
|
|
250
|
-
## Installation
|
|
251
|
-
|
|
252
|
-
To install this plugin, make sure you have Node.js and npm (Node Package Manager) installed on your computer. If you don't have them, you can download Node.js from the official website, and npm will be installed along with it.
|
|
253
|
-
|
|
254
|
-
```
|
|
255
|
-
npm install
|
|
256
|
-
yarn install
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
If you've installed Node.js on your computer, you can use npm to install Salesforce CLI:
|
|
260
|
-
```
|
|
261
|
-
npm install @salesforce/cli --global
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
For install the plugin run:
|
|
265
|
-
```
|
|
266
|
-
sf plugins install @pdfbutler/migration-cli
|
|
267
|
-
```
|
|
268
|
-
To see your installed plugins and their versions, run:
|
|
269
|
-
```
|
|
270
|
-
sf plugins
|
|
271
|
-
```
|
|
272
|
-
To see which versions of the core Salesforce-provided plugins are installed on your computer, run:
|
|
273
|
-
```
|
|
274
|
-
sf plugins --core
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
Before running commands that require access to the Salesforce org, you must be [authorized](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth.htm) in the target org.
|
|
278
|
-
One of the options to authorize an org is by running a CLI command and entering your credentials in the browser that automatically opens:
|
|
279
|
-
```
|
|
280
|
-
sf org login web
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
After the installation and authorization are complete, you can call this plugin by using its name in the terminal or command prompt to export and import PDF Butler configurations in Salesforce. For example:
|
|
284
|
-
|
|
285
|
-
```
|
|
286
|
-
$ sf butler pb export [options]
|
|
287
|
-
$ sf butler pb import [options]
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
## Commands
|
|
300
|
-
|
|
301
|
-
## butler pb export
|
|
302
|
-
|
|
303
|
-
Export PDF Butler configurations.
|
|
304
|
-
|
|
305
|
-
```
|
|
306
|
-
USAGE
|
|
307
|
-
$ sf butler pb export [--target | -t <value>] [--id | -i <value>]
|
|
308
|
-
[--out | -o <value>] [--stage | -s <value>] [--backend | -b]
|
|
309
|
-
[--auth-env-var | -a <value>] [--endpoint | -e <value>] [--unzip | -u]
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
FLAGS
|
|
314
|
-
-t, --target=<value>
|
|
315
|
-
The Salesforce org username credentials to connect to the target org. (Required)
|
|
316
|
-
-i, --id=<value>
|
|
317
|
-
The ID of the PDF Butler docuemnt configuration to export. (Required)
|
|
318
|
-
-o, --out=<value>
|
|
319
|
-
The value specifies the path to the folder with the exported configuration
|
|
320
|
-
and archive name. (Required)
|
|
321
|
-
-s, --stage=<value>
|
|
322
|
-
The CADMUS stage. (Required)
|
|
323
|
-
-a, --auth-env-var=<value>
|
|
324
|
-
The PDF Butler credentials for backend authentication. (Required)
|
|
325
|
-
-e, --endpoint=<value>
|
|
326
|
-
The URL PDF Butler endpoint for export. (Required)
|
|
327
|
-
|
|
328
|
-
-u, --unzip
|
|
329
|
-
Use this flag to unzip the exported configuration. (Optional)
|
|
330
|
-
-b, --backend
|
|
331
|
-
Use this flag to specify PDF Butler backend export. (Optional)
|
|
332
|
-
|
|
333
|
-
DESCRIPTION
|
|
334
|
-
Export DocConfigs and related DataSource files from your organization.
|
|
335
|
-
|
|
336
|
-
You must run this command from the termianl.
|
|
337
|
-
|
|
338
|
-
By default, all your exported data is stored in a zip file.
|
|
339
|
-
To unzip the data to a directory during the export process,
|
|
340
|
-
use the -u | flag --unzip.
|
|
341
|
-
|
|
342
|
-
To initiate an export, ensure you specify the necessary parameters,
|
|
343
|
-
including the target org, PDF Butler docuemnt configuration ID,
|
|
344
|
-
output path, define PDF Butler credentials for backend authentication,
|
|
345
|
-
specify endpoints and stage. Additionally, you have
|
|
346
|
-
the flexibility to enable or disable backend exports and even
|
|
347
|
-
choose to unzip the exported configuration.
|
|
348
|
-
|
|
349
|
-
EXAMPLES
|
|
350
|
-
Run with --unzip and --backend flags
|
|
351
|
-
|
|
352
|
-
$ sf butler pb export -t sfusername@sandbox.com
|
|
353
|
-
-i 'document_configuration_id'
|
|
354
|
-
-o 'export_folder_name/archive_or_folder_name'
|
|
355
|
-
-s 'TEST' -e 'https://www.pdfbutler.com'
|
|
356
|
-
-a 'pdf_butler_user_name-ADMIN:admin_password' -b -u
|
|
357
|
-
|
|
358
|
-
# Created:
|
|
359
|
-
Directory 'sfdc/export_folder_name'{
|
|
360
|
-
file 'docconfig.json',
|
|
361
|
-
Unziped directory 'archive_name'{
|
|
362
|
-
Directory 'ConfigTypes',
|
|
363
|
-
Directory 'DataSources',
|
|
364
|
-
file 'doc-config.json',
|
|
365
|
-
file 'TemplateName.docx'
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
Run with --backend flag only
|
|
370
|
-
|
|
371
|
-
$ sf butler pb export -t sfusername@sandbox.com
|
|
372
|
-
-i 'document_configuration_id'
|
|
373
|
-
-o 'export_folder_name/archive_or_folder_name'
|
|
374
|
-
-s 'TEST' -e 'https://www.pdfbutler.com'
|
|
375
|
-
-a 'pdf_butler_user_name-ADMIN:admin_password' -b
|
|
376
|
-
|
|
377
|
-
# Created:
|
|
378
|
-
Directory 'sfdc/export_folder_name'{
|
|
379
|
-
file 'docconfig.json',
|
|
380
|
-
zip file'archive_name.zip'{
|
|
381
|
-
Directory 'ConfigTypes',
|
|
382
|
-
Directory 'DataSources',
|
|
383
|
-
file 'doc-config.json',
|
|
384
|
-
file 'TemplateName.docx'
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
Run with --unzip flag only
|
|
389
|
-
|
|
390
|
-
$ sf butler pb export -t sfusername@sandbox.com
|
|
391
|
-
-i 'document_configuration_id'
|
|
392
|
-
-o 'export_folder_name/archive_or_folder_name'
|
|
393
|
-
-s 'TEST' -e 'https://www.pdfbutler.com'
|
|
394
|
-
-a 'pdf_butler_user_name-ADMIN:admin_password' -u
|
|
395
|
-
|
|
396
|
-
# Created:
|
|
397
|
-
Directory 'sfdc/export_folder_name'{
|
|
398
|
-
file 'docconfig.json',
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
Run without optional flags
|
|
402
|
-
|
|
403
|
-
$ sf butler pb export -t sfusername@sandbox.com
|
|
404
|
-
-i 'document_configuration_id'
|
|
405
|
-
-o 'export_folder_name/archive_or_folder_name'
|
|
406
|
-
-s 'TEST' -e 'https://www.pdfbutler.com'
|
|
407
|
-
-a 'pdf_butler_user_name-ADMIN:admin_password'
|
|
408
|
-
|
|
409
|
-
# Created:
|
|
410
|
-
Directory 'sfdc/export_folder_name'{
|
|
411
|
-
file 'docconfig.json',
|
|
412
|
-
zip file 'archive_name.zip'{
|
|
413
|
-
file 'doc-config.json'
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
FLAG DESCRIPTIONS
|
|
418
|
-
-t, --target <value>
|
|
419
|
-
Specifies the Salesforce org username credentials to connect
|
|
420
|
-
to the target org where the PDF Butler configurations are stored.
|
|
421
|
-
This flag is required to authenticate and access
|
|
422
|
-
the PDF Butler configurations.
|
|
423
|
-
|
|
424
|
-
-i, --id <value>
|
|
425
|
-
Specifies the unique ID of the PDF Butler document configuration to be
|
|
426
|
-
exported. This ID uniquely identifies the configuration you want
|
|
427
|
-
to export. It is a required parameter.
|
|
428
|
-
|
|
429
|
-
-o, --out <value>
|
|
430
|
-
Specifies the path to the folder with the exported configuration
|
|
431
|
-
and the archive or folder name for data sources. By default,
|
|
432
|
-
a sfdc folder is created which will contain folders with exported files.
|
|
433
|
-
For example, if the flag is defined with the following values
|
|
434
|
-
'-o export/out', the result will be the following path:
|
|
435
|
-
./sfdc/export/out. This flag is required to determine
|
|
436
|
-
where the exported configuration will be saved.
|
|
437
|
-
|
|
438
|
-
-s, --stage <value>
|
|
439
|
-
Specifies the stage or environment for the export process.
|
|
440
|
-
This flag helps in categorizing or labeling the exported data according
|
|
441
|
-
to different stages. For example: TEST, UAT, PROD. It is a required
|
|
442
|
-
parameter.
|
|
443
|
-
|
|
444
|
-
-e, --endpoint <value>
|
|
445
|
-
Specifies a URL for the PDF Butler endpoint for export.
|
|
446
|
-
For example: https://www.pdfbutler.com. It is a required parameter.
|
|
447
|
-
|
|
448
|
-
-a, --auth-env-var <value>
|
|
449
|
-
Specifies the PDF Butler credentials for backend authentication.
|
|
450
|
-
For authenification should be used PDF butler username and admin
|
|
451
|
-
password. String shouldn't contain whitespase.
|
|
452
|
-
Format: 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD'.
|
|
453
|
-
For example: test_user_dev-ADMIN:test_pass. It is a required parameter.
|
|
454
|
-
|
|
455
|
-
-b, --backend
|
|
456
|
-
Enables backend export. If specified, the export operation may use
|
|
457
|
-
a PDF Butler backend process for exporting the configuration.
|
|
458
|
-
|
|
459
|
-
-u, --unzip
|
|
460
|
-
Use this flag to indicate that the exported configuration should be
|
|
461
|
-
unzipped. If specified, the exported configuration will be unzipped
|
|
462
|
-
after the export process is complete.
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
## butler pb import
|
|
466
|
-
|
|
467
|
-
Import PDF Butler document configurations and related DataSource files.
|
|
468
|
-
|
|
469
|
-
```
|
|
470
|
-
USAGE
|
|
471
|
-
$ sf butler pb import [--target | -t <value>] [--auth-env-var | -a <value>]
|
|
472
|
-
[--endpoint | -e <value>] [--stage | -s <value>] [--config | -f <value>]
|
|
473
|
-
|
|
474
|
-
FLAGS
|
|
475
|
-
-t, --target=<value>
|
|
476
|
-
The Salesforce org username credentials to connect to the target org. (Required)
|
|
477
|
-
-a, --auth-env-var=<value>
|
|
478
|
-
The PDF Butler credentials for backend authentication. (Required)
|
|
479
|
-
-e, --endpoint=<value>
|
|
480
|
-
The URL PDF Butler endpoint for import. (Required)
|
|
481
|
-
-s, --stage=<value>
|
|
482
|
-
The CADMUS stage. (Required)
|
|
483
|
-
-f, --config=<value>
|
|
484
|
-
The path to the configuration file or directory containing
|
|
485
|
-
configurations to import. (Required)
|
|
486
|
-
|
|
487
|
-
DESCRIPTION
|
|
488
|
-
Import DocConfigs and related DataSource files into your organization.
|
|
489
|
-
|
|
490
|
-
You must run this command from the termianl.
|
|
491
|
-
|
|
492
|
-
To initiate an import, ensure you specify the necessary parameters,
|
|
493
|
-
including the target org, define PDF Butler credentials for backend
|
|
494
|
-
authentication, endpoint, stage, and the path to the configuration
|
|
495
|
-
file or directory. All the targets are required parameters.
|
|
496
|
-
|
|
497
|
-
EXAMPLE
|
|
498
|
-
Import configurations to the organization:
|
|
499
|
-
|
|
500
|
-
$ sf butler pb import -t sfusername@sandbox.com
|
|
501
|
-
-f ./sfdc/export_folder_name/archive_or_folder_name
|
|
502
|
-
-e 'https://www.pdfbutler.com'
|
|
503
|
-
-a 'pdf_butler_user_name-ADMIN:admin_password' -s 'UAT'
|
|
504
|
-
|
|
505
|
-
FLAG DESCRIPTIONS
|
|
506
|
-
-t, --target <value>
|
|
507
|
-
Specifies the Salesforce org username credentials to connect
|
|
508
|
-
to the target org where the PDF Butler configurations will be imported.
|
|
509
|
-
This flag is required for authentication.
|
|
510
|
-
|
|
511
|
-
-a, --auth-env-var <value>
|
|
512
|
-
Specifies the PDF Butler credentials for backend authentication.
|
|
513
|
-
For authenification should be used PDF butler username
|
|
514
|
-
and admin password. String shouldn't contain whitespase.
|
|
515
|
-
Format: 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD'.
|
|
516
|
-
For example: test_user_dev-ADMIN:test_pass.
|
|
517
|
-
It is a required parameter.
|
|
518
|
-
|
|
519
|
-
-e, --endpoint <value>
|
|
520
|
-
Specifies a URL endpoint for import. Use this flag if you need
|
|
521
|
-
to specify a custom import endpoint.
|
|
522
|
-
|
|
523
|
-
-s, --stage <value>
|
|
524
|
-
Specifies the stage or environment for the export process.
|
|
525
|
-
This flag helps in categorizing or labeling the exported data
|
|
526
|
-
according to different stages. For example: TEST, UAT, PROD.
|
|
527
|
-
It is a required parameter.
|
|
528
|
-
|
|
529
|
-
-f, --config <value>
|
|
530
|
-
Specifies the path to the configuration file or directory
|
|
531
|
-
containing configurations to import. This flag is required
|
|
532
|
-
to determine which configurations to import.
|
|
533
|
-
```
|
|
@@ -20,7 +20,7 @@ class ButlerPbExport extends sf_plugins_core_1.SfCommand {
|
|
|
20
20
|
const docConfigResponse = await connection.apex.get(`/cadmus_core/DocConfig/Export2/${flags.id}`);
|
|
21
21
|
let zip;
|
|
22
22
|
let result = Buffer.from('');
|
|
23
|
-
if (flags.backend) {
|
|
23
|
+
if (!flags.backend) {
|
|
24
24
|
const auth = flags['auth-env-var'];
|
|
25
25
|
let base64Auth = auth;
|
|
26
26
|
if (auth?.indexOf(':')) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../../../src/commands/butler/pb/export.ts"],"names":[],"mappings":";;AAAA,2BAAoC;AACpC,6BAA8B;AAC9B,iEAA+D;AAC/D,2CAAkE;AAClE,kCAAmC;AACnC,6BAAsB;AAEtB,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,yFAAyF;AACzF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC;AAMvF,MAAqB,cAAe,SAAQ,2BAAiB;IAkDpD,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAEnD,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC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AO,CAAC;QACnB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC;QACnD,IAAI,EAAE,GAAG;KACV,CAAC;CACH,CAAC;kBAhDiB,cAAc"}
|
package/oclif.manifest.json
CHANGED
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.9",
|
|
5
5
|
"script": {
|
|
6
6
|
"postinstall": "sf plugins link @pdfbutler/migration-cli"
|
|
7
7
|
},
|