@pdfbutler/migration-cli 0.0.5 → 0.0.7

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 CHANGED
@@ -21,14 +21,13 @@ 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
-
25
24
  ```
26
25
  npm install @salesforce/cli --global
27
26
  ```
28
27
 
29
28
  For install the plugin run:
30
29
  ```
31
- sf plugins link @pdfbutler/migration-cli
30
+ sf plugins install @pdfbutler/migration-cli
32
31
  ```
33
32
  To see your installed plugins and their versions, run:
34
33
  ```
@@ -39,20 +38,24 @@ To see which versions of the core Salesforce-provided plugins are installed on y
39
38
  sf plugins --core
40
39
  ```
41
40
 
42
- After the installation is complete, you can call this plugin using its name in the terminal or command prompt. For example:
41
+ 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
+ One of the options to authorize an org is by running a CLI command and entering your credentials in the browser that automatically opens:
43
+ ```
44
+ sf org login web
45
+ ```
46
+
47
+ 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:
43
48
 
44
49
  ```
45
50
  $ sf butler pb export [options]
46
51
  $ sf butler pb import [options]
47
52
  ```
48
53
 
49
- Now you can use this plugin to export and import PDF Butler configurations in Salesforce.
50
-
51
54
  ## Commands
52
55
 
53
56
  ## butler pb export
54
57
 
55
- Export PDF Butler configurations to a file.
58
+ Export PDF Butler configurations.
56
59
 
57
60
  ```
58
61
  USAGE
@@ -60,38 +63,38 @@ $ sf butler pb export [--target | -t <value>] [--id | -i <value>] [--out | -o <v
60
63
 
61
64
  FLAGS
62
65
  -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Required)
63
- -i, --id=<value> The ID of the PDF Butler configuration to export. (Required)
64
- -o, --out=<value> The output file path for the exported configuration. (Required)
65
- -s, --stage=<value> The stage or environment for export. (Required)
66
- -a, --auth-env-var=<value> The environment variable name for authentication. (Required)
67
- -e, --endpoint=<value> The URL endpoint for export. (Required)
66
+ -i, --id=<value> The ID of the PDF Butler docuemnt configuration to export. (Required)
67
+ -o, --out=<value> The value specifies the path to the folder with the exported configuration and archive name. (Required)
68
+ -s, --stage=<value> The CADMUS stage. (Required)
69
+ -a, --auth-env-var=<value> The PDF Butler credentials for backend authentication. (Required)
70
+ -e, --endpoint=<value> The URL PDF Butler endpoint for export. (Required)
68
71
 
69
72
  -u, --unzip Use this flag to unzip the exported configuration. (Optional)
70
- -b, --backend Use this flag to specify a backend export. (Optional)
73
+ -b, --backend Use this flag to specify PDF Butler backend export. (Optional)
71
74
 
72
75
  DESCRIPTION
73
76
  Export DocConfigs and related DataSource files from your organization.
74
77
 
75
- You must run this command from within a project.
78
+ You must run this command from the termianl.
76
79
 
77
80
  By default, all your exported data is stored in a zip file.
78
81
  To unzip the data to a directory during the export process, use the -u | flag --unzip.
79
82
 
80
- To initiate an export, ensure you specify the necessary parameters, including the target org, configuration ID,
81
- output file path, define authentication environment variables, specify endpoints and stage.
83
+ To initiate an export, ensure you specify the necessary parameters, including the target org, PDF Butler docuemnt configuration ID,
84
+ output path, define PDF Butler credentials for backend authentication, specify endpoints and stage.
82
85
  Additionally, you have the flexibility to enable or disable backend exports and even choose to unzip the exported configuration.
83
86
 
84
87
  EXAMPLES
85
88
  Run with --unzip and --backend flags
86
89
 
87
- $ sf butler pb export -t username@sandbox.com -i '61cfcb7b-10f7-****-****-***********'
88
- -o 'export1/out1' -s 'TEST' -e 'https://www.pdfbutler.com'
89
- -a 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD' -b -u
90
+ $ sf butler pb export -t sfusername@sandbox.com -i 'document_configuration_id'
91
+ -o 'export_folder_name/archive_or_folder_name' -s 'TEST' -e 'https://www.pdfbutler.com'
92
+ -a 'pdf_butler_user_name-ADMIN:admin_password' -b -u
90
93
 
91
94
  # Created:
92
- Directory 'sfdc/export1'{
95
+ Directory 'sfdc/export_folder_name'{
93
96
  file 'docconfig.json',
94
- Unziped directory 'out1'{
97
+ Unziped directory 'archive_name'{
95
98
  Directory 'ConfigTypes',
96
99
  Directory 'DataSources',
97
100
  file 'doc-config.json',
@@ -101,13 +104,14 @@ EXAMPLES
101
104
 
102
105
  Run with --backend flag only
103
106
 
104
- $ sf butler pb export -t username@sandbox.com -i '61cfcb7b-10f7-****-****-***********'
105
- -o 'export1/out1' -s 'TEST' -e 'https://www.pdfbutler.com'
106
- -a 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD' -b
107
+ $ sf butler pb export -t sfusername@sandbox.com -i 'document_configuration_id'
108
+ -o 'export_folder_name/archive_or_folder_name' -s 'TEST' -e 'https://www.pdfbutler.com'
109
+ -a 'pdf_butler_user_name-ADMIN:admin_password' -b
107
110
 
108
111
  # Created:
109
- Directory 'sfdc/export1'{
110
- zip file'out1.zip'{
112
+ Directory 'sfdc/export_folder_name'{
113
+ file 'docconfig.json',
114
+ zip file'archive_name.zip'{
111
115
  Directory 'ConfigTypes',
112
116
  Directory 'DataSources',
113
117
  file 'doc-config.json',
@@ -117,24 +121,25 @@ EXAMPLES
117
121
 
118
122
  Run with --unzip flag only
119
123
 
120
- $ sf butler pb export -t username@sandbox.com -i '61cfcb7b-10f7-****-****-***********'
121
- -o 'export1/out1' -s 'TEST' -e 'https://www.pdfbutler.com'
122
- -a 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD' -u
124
+ $ sf butler pb export -t sfusername@sandbox.com -i 'document_configuration_id'
125
+ -o 'export_folder_name/archive_or_folder_name' -s 'TEST' -e 'https://www.pdfbutler.com'
126
+ -a 'pdf_butler_user_name-ADMIN:admin_password' -u
123
127
 
124
128
  # Created:
125
- Directory 'sfdc/export1'{
126
- file 'doc-config.json'
129
+ Directory 'sfdc/export_folder_name'{
130
+ file 'docconfig.json',
127
131
  }
128
132
 
129
133
  Run without optional flags
130
134
 
131
- $ sf butler pb export -t username@sandbox.com -i '61cfcb7b-10f7-****-****-***********'
132
- -o 'export1/out1' -s 'TEST' -e 'https://www.pdfbutler.com'
133
- -a 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD'
135
+ $ sf butler pb export -t sfusername@sandbox.com -i 'document_configuration_id'
136
+ -o 'export_folder_name/archive_or_folder_name' -s 'TEST' -e 'https://www.pdfbutler.com'
137
+ -a 'pdf_butler_user_name-ADMIN:admin_password'
134
138
 
135
139
  # Created:
136
- Directory 'sfdc/export1'{
137
- zip file 'out1.zip'{
140
+ Directory 'sfdc/export_folder_name'{
141
+ file 'docconfig.json',
142
+ zip file 'archive_name.zip'{
138
143
  file 'doc-config.json'
139
144
  }
140
145
  }
@@ -145,28 +150,29 @@ FLAG DESCRIPTIONS
145
150
  This flag is required to authenticate and access the PDF Butler configurations.
146
151
 
147
152
  -i, --id <value>
148
- Specifies the unique ID of the PDF Butler configuration to be exported.
153
+ Specifies the unique ID of the PDF Butler document configuration to be exported.
149
154
  This ID uniquely identifies the configuration you want to export. It is a required parameter.
150
155
 
151
156
  -o, --out <value>
152
- Specifies the output file path for the exported configuration.
157
+ 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 .
153
159
  This flag is required to determine where the exported configuration will be saved.
154
160
 
155
161
  -s, --stage <value>
156
162
  Specifies the stage or environment for the export process.
157
- This flag helps in categorizing or labeling the exported data according to different stages of your workflow.
163
+ This flag helps in categorizing or labeling the exported data according to different stages. For example: TEST, UAT, PROD.
158
164
  It is a required parameter.
159
165
 
160
166
  -e, --endpoint <value>
161
- Specifies a URL endpoint for export. It is a required parameter.
167
+ Specifies a URL for the PDF Butler endpoint for export. For example: https://www.pdfbutler.com. It is a required parameter.
162
168
 
163
169
  -a, --auth-env-var <value>
164
- Specifies the name of the environment variable containing authentication credentials.
165
- This flag allows you to reference an environment variable that stores authentication information.
170
+ Specifies the PDF Butler credentials for backend authentication. For authenification should be used PDF butler username and admin password.
171
+ String shouldn't contain whitespase. Format: 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD'. For example: test_user_dev-ADMIN:test_pass.
166
172
  It is a required parameter.
167
173
 
168
174
  -b, --backend
169
- Enables backend export. If specified, the export operation may use a backend process for exporting the configuration.
175
+ Enables backend export. If specified, the export operation may use a PDF Butler backend process for exporting the configuration.
170
176
 
171
177
  -u, --unzip
172
178
  Use this flag to indicate that the exported configuration should be unzipped.
@@ -175,7 +181,7 @@ FLAG DESCRIPTIONS
175
181
 
176
182
  ## butler pb import
177
183
 
178
- Import PDF Butler configurations and related DataSource files.
184
+ Import PDF Butler document configurations and related DataSource files.
179
185
 
180
186
  ```
181
187
  USAGE
@@ -183,25 +189,25 @@ $ sf butler pb import [--target | -t <value>] [--auth-env-var | -a <value>] [--e
183
189
 
184
190
  FLAGS
185
191
  -t, --target=<value> The Salesforce org username credentials to connect to the target org. (Required)
186
- -a, --auth-env-var=<value> The environment variable name for authentication. (Required)
187
- -e, --endpoint=<value> The URL endpoint for import. (Required)
188
- -s, --stage=<value> The stage or environment for import. (Required)
189
- -f, --config=<value> The path to the configuration file or directory containing configurations to import. (Required)
192
+ -a, --auth-env-var=<value> The PDF Butler credentials for backend authentication. (Required)
193
+ -e, --endpoint=<value> The URL PDF Butler endpoint for import. (Required)
194
+ -s, --stage=<value> The CADMUS stage. (Required)
195
+ -f, --config=<value> The path to the configuration file or directory containing configurations to import. (Required)
190
196
 
191
197
  DESCRIPTION
192
198
  Import DocConfigs and related DataSource files into your organization.
193
199
 
194
- You must run this command from within a project.
200
+ You must run this command from the termianl.
195
201
 
196
202
  To initiate an import, ensure you specify the necessary parameters, including the target org,
197
- authentication environment variable, endpoint, stage, and the path to the configuration file or directory.
203
+ define PDF Butler credentials for backend authentication, endpoint, stage, and the path to the configuration file or directory.
198
204
  All the targets are required parameters.
199
205
 
200
206
  EXAMPLE
201
- Import configurations ot an organization:
207
+ Import configurations to the organization:
202
208
 
203
- $ sf butler pb import -t username@sandbox.com -f ./sfdc/export1/out1
204
- -e 'https://www.pdfbutler.com' -a 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD' -s 'UAT'
209
+ $ sf butler pb import -t sfusername@sandbox.com -f ./sfdc/export_folder_name/archive_or_folder_name
210
+ -e 'https://www.pdfbutler.com' -a 'pdf_butler_user_name-ADMIN:admin_password' -s 'UAT'
205
211
 
206
212
  FLAG DESCRIPTIONS
207
213
  -t, --target <value>
@@ -209,14 +215,17 @@ FLAG DESCRIPTIONS
209
215
  org where the PDF Butler configurations will be imported. This flag is required for authentication.
210
216
 
211
217
  -a, --auth-env-var <value>
212
- Specifies the name of the environment variable containing authentication credentials.
213
- This flag allows you to reference an environment variable that stores authentication information.
218
+ Specifies the PDF Butler credentials for backend authentication. For authenification should be used PDF butler username and admin password.
219
+ String shouldn't contain whitespase. Format: 'YOUR_USERNAME + -ADMIN + ':' + YOUR_ADMIN_PASSWORD'. For example: test_user_dev-ADMIN:test_pass.
220
+ It is a required parameter.
214
221
 
215
222
  -e, --endpoint <value>
216
223
  Specifies a URL endpoint for import. Use this flag if you need to specify a custom import endpoint.
217
224
 
218
225
  -s, --stage <value>
219
- Specifies the stage or environment for the import process. This flag helps categorize or label the imported data.
226
+ Specifies the stage or environment for the export process.
227
+ This flag helps in categorizing or labeling the exported data according to different stages. For example: TEST, UAT, PROD.
228
+ It is a required parameter.
220
229
 
221
230
  -f, --config <value>
222
231
  Specifies the path to the configuration file or directory containing configurations to import.
@@ -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,u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2
- "version": "0.0.5",
2
+ "version": "0.0.7",
3
3
  "commands": {
4
4
  "butler:pb:export": {
5
5
  "id": "butler:pb:export",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdfbutler/migration-cli",
3
3
  "description": "[![NPM](https://img.shields.io/npm/v/pdfbutler-migration-cli.svg?label=pdfbutler-migration-cli)](https://www.npmjs.com/package/pdfbutler-migration-cli) [![Downloads/week](https://img.shields.io/npm/dw/pdfbutler-migration-cli.svg)](https://npmjs.org/package/pdfbutler-migration-cli) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/pdfbutler-migration-cli/main/LICENSE.txt)",
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "script": {
6
6
  "postinstall": "sf plugins link @pdfbutler/migration-cli"
7
7
  },