@contrail/cli 2.2.8 → 2.3.1
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 +135 -367
- package/dist/api/apps.js +1 -2
- package/dist/auth/auth.js +1 -0
- package/dist/basecommand.js +16 -19
- package/dist/commands/app/create.js +5 -5
- package/dist/commands/app/delete.js +7 -7
- package/dist/commands/app/getApiKey.js +8 -8
- package/dist/commands/app/init.js +5 -5
- package/dist/commands/app/install.js +24 -24
- package/dist/commands/app/publish.js +24 -24
- package/dist/commands/app/uninstall.js +14 -14
- package/dist/commands/app/upgrade.js +19 -19
- package/dist/commands/app/version/major.js +6 -9
- package/dist/commands/app/version/minor.js +6 -9
- package/dist/commands/app/version/patch.js +6 -9
- package/dist/commands/colors/deleteAll.js +5 -5
- package/dist/commands/colors/load.js +5 -5
- package/dist/commands/config/environments/list.js +6 -9
- package/dist/commands/config/environments/remove.js +12 -15
- package/dist/commands/config/environments/set.js +11 -14
- package/dist/commands/config/list.js +6 -9
- package/dist/commands/config/remove.js +16 -19
- package/dist/commands/config/set.js +22 -25
- package/dist/commands/groups/export.js +21 -22
- package/dist/commands/groups/upload.js +10 -11
- package/dist/commands/instance/export.js +19 -19
- package/dist/commands/instance/import.js +13 -13
- package/dist/commands/loader-process/load.js +12 -12
- package/dist/commands/loader-process/upload-and-load.js +17 -17
- package/dist/commands/projects/export.js +9 -9
- package/dist/commands/projects/list.js +5 -5
- package/dist/commands/projects/load.js +16 -17
- package/dist/commands/types/exportOptionSetHierarchies.js +5 -5
- package/dist/commands/types/getAll.js +73 -72
- package/dist/commands/types/loadAll.js +13 -13
- package/dist/commands/types/mergeOptionSets.js +9 -10
- package/dist/commands/types/mergeTypeProperties.js +11 -11
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +9 -9
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +9 -9
- package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +21 -0
- package/dist/commands/types/parseOptionSetsLocalFiles.js +97 -17
- package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +0 -1
- package/dist/commands/types/parseOptionSetsToFolderStructure.js +5 -41
- package/dist/commands/types/parseTypesFromFiles.js +13 -13
- package/dist/commands/types/parseTypesFromLocalFiles.js +10 -10
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +10 -10
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +9 -9
- package/dist/commands/types/uploadOptionSetHierarchies.js +15 -16
- package/dist/commands/types/uploadOptionSets.js +15 -13
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +13 -13
- package/dist/commands/types/uploadRuleSets.js +13 -13
- package/dist/commands/types/uploadTypePolicies.js +16 -16
- package/dist/commands/types/uploadTypePropertyPolicies.js +16 -16
- package/dist/commands/types/uploadTypes.js +13 -13
- package/dist/commands/types/uploadUsageInfo.js +13 -13
- package/dist/commands/users/export.js +19 -20
- package/dist/commands/users/upload.js +8 -8
- package/dist/commands/webhooks/create.js +5 -5
- package/dist/commands/webhooks/delete.js +11 -11
- package/dist/commands/webhooks/getWebhookTrigger.js +5 -5
- package/dist/commands/webhooks/list.js +11 -11
- package/dist/commands/workflow-template-definitions/install.js +5 -5
- package/dist/commands/workflow-template-definitions/list.js +5 -5
- package/dist/commands/workflow-templates/delete.js +5 -5
- package/dist/commands/workflow-templates/export.js +19 -20
- package/dist/commands/workflow-templates/list.js +5 -5
- package/dist/commands/workflow-templates/load.js +11 -11
- package/dist/helpers/app/actions-deployer.js +4 -4
- package/dist/helpers/app/app-deployer.js +9 -9
- package/dist/helpers/app/app-template-parsers.js +1 -1
- package/dist/helpers/app/extensions-deployer.js +5 -6
- package/dist/helpers/app/load-app-config.js +1 -1
- package/dist/helpers/loader-process/helpers.js +3 -3
- package/dist/helpers/projects/helpers.js +5 -5
- package/dist/helpers/types/type-parser.js +8 -8
- package/dist/helpers/types/type-uploader.js +19 -20
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.js +3 -4
- package/dist/helpers/workflow-templates/helper.js +11 -16
- package/dist/interface-converters.js +1 -2
- package/dist/interfaces.js +79 -0
- package/dist/logger.js +7 -6
- package/oclif.manifest.json +60 -1422
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/2.
|
|
20
|
+
@contrail/cli/2.3.1 darwin-arm64 node-v18.13.0
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -111,12 +111,7 @@ Create an app from a template
|
|
|
111
111
|
|
|
112
112
|
```
|
|
113
113
|
USAGE
|
|
114
|
-
$ contrail app create
|
|
115
|
-
|
|
116
|
-
FLAGS
|
|
117
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
118
|
-
-l, --logLevel=<option> The Log Level
|
|
119
|
-
<options: error|warn|info|debug>
|
|
114
|
+
$ contrail app create
|
|
120
115
|
|
|
121
116
|
DESCRIPTION
|
|
122
117
|
Create an app from a template
|
|
@@ -131,12 +126,7 @@ Delete the app from the app marketplace
|
|
|
131
126
|
|
|
132
127
|
```
|
|
133
128
|
USAGE
|
|
134
|
-
$ contrail app delete
|
|
135
|
-
|
|
136
|
-
FLAGS
|
|
137
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
138
|
-
-l, --logLevel=<option> The Log Level
|
|
139
|
-
<options: error|warn|info|debug>
|
|
129
|
+
$ contrail app delete
|
|
140
130
|
|
|
141
131
|
DESCRIPTION
|
|
142
132
|
Delete the app from the app marketplace
|
|
@@ -151,13 +141,10 @@ Get an api key for an app
|
|
|
151
141
|
|
|
152
142
|
```
|
|
153
143
|
USAGE
|
|
154
|
-
$ contrail app getApiKey [-
|
|
144
|
+
$ contrail app getApiKey [-a <value>]
|
|
155
145
|
|
|
156
146
|
FLAGS
|
|
157
147
|
-a, --appIdentifier=<value> The app identifier
|
|
158
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
159
|
-
-l, --logLevel=<option> The Log Level
|
|
160
|
-
<options: error|warn|info|debug>
|
|
161
148
|
|
|
162
149
|
DESCRIPTION
|
|
163
150
|
Get an api key for an app
|
|
@@ -172,12 +159,7 @@ Create an app from a template
|
|
|
172
159
|
|
|
173
160
|
```
|
|
174
161
|
USAGE
|
|
175
|
-
$ contrail app init
|
|
176
|
-
|
|
177
|
-
FLAGS
|
|
178
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
179
|
-
-l, --logLevel=<option> The Log Level
|
|
180
|
-
<options: error|warn|info|debug>
|
|
162
|
+
$ contrail app init
|
|
181
163
|
|
|
182
164
|
DESCRIPTION
|
|
183
165
|
Create an app from a template
|
|
@@ -192,14 +174,11 @@ Install an app from the marketplace
|
|
|
192
174
|
|
|
193
175
|
```
|
|
194
176
|
USAGE
|
|
195
|
-
$ contrail app install [-
|
|
177
|
+
$ contrail app install [-i <value>] [-w] [-h]
|
|
196
178
|
|
|
197
179
|
FLAGS
|
|
198
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
199
180
|
-h, --showHidden Show the option to install public but hidden apps
|
|
200
181
|
-i, --appIdentifier=<value> The identifier of the app to install
|
|
201
|
-
-l, --logLevel=<option> The Log Level
|
|
202
|
-
<options: error|warn|info|debug>
|
|
203
182
|
-w, --installWorkflowTemplates "Install the app's accompanying workflows"
|
|
204
183
|
|
|
205
184
|
DESCRIPTION
|
|
@@ -215,16 +194,12 @@ Publish the app
|
|
|
215
194
|
|
|
216
195
|
```
|
|
217
196
|
USAGE
|
|
218
|
-
$ contrail app publish [-
|
|
197
|
+
$ contrail app publish [-u] [-v] [-d]
|
|
219
198
|
|
|
220
199
|
FLAGS
|
|
221
|
-
-d, --dryRun
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
<options: error|warn|info|debug>
|
|
225
|
-
-u, --upgrade In addition to deploying, upgrade the installed version of the app in this org to the latest
|
|
226
|
-
one.
|
|
227
|
-
-v, --verbose Debug the app deployment step and do not remove the intermediate build artifacts.
|
|
200
|
+
-d, --dryRun Dry run the upgrade without actually updating the app.
|
|
201
|
+
-u, --upgrade In addition to deploying, upgrade the installed version of the app in this org to the latest one.
|
|
202
|
+
-v, --verbose Debug the app deployment step and do not remove the intermediate build artifacts.
|
|
228
203
|
|
|
229
204
|
DESCRIPTION
|
|
230
205
|
Publish the app
|
|
@@ -239,14 +214,11 @@ Uninstall an app that is currently installed
|
|
|
239
214
|
|
|
240
215
|
```
|
|
241
216
|
USAGE
|
|
242
|
-
$ contrail app uninstall [-
|
|
217
|
+
$ contrail app uninstall [-i <value>]
|
|
243
218
|
|
|
244
219
|
FLAGS
|
|
245
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
246
220
|
-i, --appIdentifier=<value> "The identifier of the app to uninstall. The identifier can be found on the app's page in
|
|
247
221
|
the marketplace."
|
|
248
|
-
-l, --logLevel=<option> The Log Level
|
|
249
|
-
<options: error|warn|info|debug>
|
|
250
222
|
|
|
251
223
|
DESCRIPTION
|
|
252
224
|
Uninstall an app that is currently installed
|
|
@@ -261,14 +233,11 @@ Upgrade an installed app
|
|
|
261
233
|
|
|
262
234
|
```
|
|
263
235
|
USAGE
|
|
264
|
-
$ contrail app upgrade [-
|
|
236
|
+
$ contrail app upgrade [-i <value>] [-l]
|
|
265
237
|
|
|
266
238
|
FLAGS
|
|
267
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
268
239
|
-i, --appIdentifier=<value> The appIdentifier of the app to install
|
|
269
240
|
-l, --latest Upgrade to the latest version of the app
|
|
270
|
-
-l, --logLevel=<option> The Log Level
|
|
271
|
-
<options: error|warn|info|debug>
|
|
272
241
|
|
|
273
242
|
DESCRIPTION
|
|
274
243
|
Upgrade an installed app
|
|
@@ -283,12 +252,7 @@ Upgrade the Major app version
|
|
|
283
252
|
|
|
284
253
|
```
|
|
285
254
|
USAGE
|
|
286
|
-
$ contrail app version major
|
|
287
|
-
|
|
288
|
-
FLAGS
|
|
289
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
290
|
-
-l, --logLevel=<option> The Log Level
|
|
291
|
-
<options: error|warn|info|debug>
|
|
255
|
+
$ contrail app version major
|
|
292
256
|
|
|
293
257
|
DESCRIPTION
|
|
294
258
|
Upgrade the Major app version
|
|
@@ -303,12 +267,7 @@ Upgrade the Minor app version
|
|
|
303
267
|
|
|
304
268
|
```
|
|
305
269
|
USAGE
|
|
306
|
-
$ contrail app version minor
|
|
307
|
-
|
|
308
|
-
FLAGS
|
|
309
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
310
|
-
-l, --logLevel=<option> The Log Level
|
|
311
|
-
<options: error|warn|info|debug>
|
|
270
|
+
$ contrail app version minor
|
|
312
271
|
|
|
313
272
|
DESCRIPTION
|
|
314
273
|
Upgrade the Minor app version
|
|
@@ -323,12 +282,7 @@ Upgrade the Patch app version
|
|
|
323
282
|
|
|
324
283
|
```
|
|
325
284
|
USAGE
|
|
326
|
-
$ contrail app version patch
|
|
327
|
-
|
|
328
|
-
FLAGS
|
|
329
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
330
|
-
-l, --logLevel=<option> The Log Level
|
|
331
|
-
<options: error|warn|info|debug>
|
|
285
|
+
$ contrail app version patch
|
|
332
286
|
|
|
333
287
|
DESCRIPTION
|
|
334
288
|
Upgrade the Patch app version
|
|
@@ -372,12 +326,7 @@ Say hello
|
|
|
372
326
|
|
|
373
327
|
```
|
|
374
328
|
USAGE
|
|
375
|
-
$ contrail colors deleteAll
|
|
376
|
-
|
|
377
|
-
FLAGS
|
|
378
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
379
|
-
-l, --logLevel=<option> The Log Level
|
|
380
|
-
<options: error|warn|info|debug>
|
|
329
|
+
$ contrail colors deleteAll
|
|
381
330
|
|
|
382
331
|
DESCRIPTION
|
|
383
332
|
Say hello
|
|
@@ -392,12 +341,7 @@ Say hello
|
|
|
392
341
|
|
|
393
342
|
```
|
|
394
343
|
USAGE
|
|
395
|
-
$ contrail colors load
|
|
396
|
-
|
|
397
|
-
FLAGS
|
|
398
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
399
|
-
-l, --logLevel=<option> The Log Level
|
|
400
|
-
<options: error|warn|info|debug>
|
|
344
|
+
$ contrail colors load
|
|
401
345
|
|
|
402
346
|
DESCRIPTION
|
|
403
347
|
Say hello
|
|
@@ -412,12 +356,7 @@ List the environment configurations
|
|
|
412
356
|
|
|
413
357
|
```
|
|
414
358
|
USAGE
|
|
415
|
-
$ contrail config environments list
|
|
416
|
-
|
|
417
|
-
FLAGS
|
|
418
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
419
|
-
-l, --logLevel=<option> The Log Level
|
|
420
|
-
<options: error|warn|info|debug>
|
|
359
|
+
$ contrail config environments list
|
|
421
360
|
|
|
422
361
|
DESCRIPTION
|
|
423
362
|
List the environment configurations
|
|
@@ -432,13 +371,10 @@ Remove a variable from the configuration
|
|
|
432
371
|
|
|
433
372
|
```
|
|
434
373
|
USAGE
|
|
435
|
-
$ contrail config environments remove --name <value>
|
|
374
|
+
$ contrail config environments remove --name <value>
|
|
436
375
|
|
|
437
376
|
FLAGS
|
|
438
|
-
|
|
439
|
-
-l, --logLevel=<option> The Log Level
|
|
440
|
-
<options: error|warn|info|debug>
|
|
441
|
-
--name=<value> (required) The env name
|
|
377
|
+
--name=<value> (required) The env name
|
|
442
378
|
|
|
443
379
|
DESCRIPTION
|
|
444
380
|
Remove a variable from the configuration
|
|
@@ -453,14 +389,11 @@ Set a environment in the configuration
|
|
|
453
389
|
|
|
454
390
|
```
|
|
455
391
|
USAGE
|
|
456
|
-
$ contrail config environments set --name <value> --url <value>
|
|
392
|
+
$ contrail config environments set --name <value> --url <value>
|
|
457
393
|
|
|
458
394
|
FLAGS
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
<options: error|warn|info|debug>
|
|
462
|
-
--name=<value> (required) The env name
|
|
463
|
-
--url=<value> (required) The env url
|
|
395
|
+
--name=<value> (required) The env name
|
|
396
|
+
--url=<value> (required) The env url
|
|
464
397
|
|
|
465
398
|
DESCRIPTION
|
|
466
399
|
Set a environment in the configuration
|
|
@@ -475,12 +408,7 @@ List the configurations
|
|
|
475
408
|
|
|
476
409
|
```
|
|
477
410
|
USAGE
|
|
478
|
-
$ contrail config list
|
|
479
|
-
|
|
480
|
-
FLAGS
|
|
481
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
482
|
-
-l, --logLevel=<option> The Log Level
|
|
483
|
-
<options: error|warn|info|debug>
|
|
411
|
+
$ contrail config list
|
|
484
412
|
|
|
485
413
|
DESCRIPTION
|
|
486
414
|
List the configurations
|
|
@@ -495,16 +423,13 @@ Remove a variable from the configuration
|
|
|
495
423
|
|
|
496
424
|
```
|
|
497
425
|
USAGE
|
|
498
|
-
$ contrail config remove [
|
|
426
|
+
$ contrail config remove [--orgSlug] [--apiGateway] [--orgId] [--apiUserToken]
|
|
499
427
|
|
|
500
428
|
FLAGS
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
--
|
|
505
|
-
--apiUserToken The API User Token
|
|
506
|
-
--orgId The org Id
|
|
507
|
-
--orgSlug The org slug
|
|
429
|
+
--apiGateway The API Gateway
|
|
430
|
+
--apiUserToken The API User Token
|
|
431
|
+
--orgId The org Id
|
|
432
|
+
--orgSlug The org slug
|
|
508
433
|
|
|
509
434
|
DESCRIPTION
|
|
510
435
|
Remove a variable from the configuration
|
|
@@ -519,11 +444,10 @@ Set a variable in the configuration
|
|
|
519
444
|
|
|
520
445
|
```
|
|
521
446
|
USAGE
|
|
522
|
-
$ contrail config set [
|
|
523
|
-
|
|
447
|
+
$ contrail config set [--orgSlug <value>] [--apiGateway <value>] [--orgId <value>] [--apiUserToken <value>]
|
|
448
|
+
[-l error|warn|info|debug]
|
|
524
449
|
|
|
525
450
|
FLAGS
|
|
526
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
527
451
|
-l, --logLevel=<option> The Log Level
|
|
528
452
|
<options: error|warn|info|debug>
|
|
529
453
|
--apiGateway=<value> The API Gateway
|
|
@@ -544,14 +468,11 @@ Export all groups in the org.
|
|
|
544
468
|
|
|
545
469
|
```
|
|
546
470
|
USAGE
|
|
547
|
-
$ contrail groups export [-
|
|
471
|
+
$ contrail groups export [-f <value>] [--overwrite]
|
|
548
472
|
|
|
549
473
|
FLAGS
|
|
550
|
-
-
|
|
551
|
-
|
|
552
|
-
-l, --logLevel=<option> The Log Level
|
|
553
|
-
<options: error|warn|info|debug>
|
|
554
|
-
--overwrite Replaces existing files if they exist
|
|
474
|
+
-f, --outFile=<value> [default: groups.yml] The location for the file to be saved
|
|
475
|
+
--overwrite Replaces existing files if they exist
|
|
555
476
|
|
|
556
477
|
DESCRIPTION
|
|
557
478
|
Export all groups in the org.
|
|
@@ -566,16 +487,11 @@ Import all groups in the groups.yml file
|
|
|
566
487
|
|
|
567
488
|
```
|
|
568
489
|
USAGE
|
|
569
|
-
$ contrail groups upload GROUPSFILE
|
|
490
|
+
$ contrail groups upload GROUPSFILE
|
|
570
491
|
|
|
571
492
|
ARGUMENTS
|
|
572
493
|
GROUPSFILE The .yml file containing the groups
|
|
573
494
|
|
|
574
|
-
FLAGS
|
|
575
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
576
|
-
-l, --logLevel=<option> The Log Level
|
|
577
|
-
<options: error|warn|info|debug>
|
|
578
|
-
|
|
579
495
|
DESCRIPTION
|
|
580
496
|
Import all groups in the groups.yml file
|
|
581
497
|
|
|
@@ -609,15 +525,12 @@ Exports an data of an instance including types and users
|
|
|
609
525
|
|
|
610
526
|
```
|
|
611
527
|
USAGE
|
|
612
|
-
$ contrail instance export [-
|
|
528
|
+
$ contrail instance export [-d <value>] [-f]
|
|
613
529
|
|
|
614
530
|
FLAGS
|
|
615
|
-
-d, --outDir=<value>
|
|
616
|
-
|
|
617
|
-
-
|
|
618
|
-
-f, --overwrite Replaces any existing export files in outDir
|
|
619
|
-
-l, --logLevel=<option> The Log Level
|
|
620
|
-
<options: error|warn|info|debug>
|
|
531
|
+
-d, --outDir=<value> [default: .] The directory to which to export the instance data. Defaults to the current
|
|
532
|
+
directory
|
|
533
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
621
534
|
|
|
622
535
|
DESCRIPTION
|
|
623
536
|
Exports an data of an instance including types and users
|
|
@@ -632,14 +545,11 @@ Import the data to an instance, including types and users
|
|
|
632
545
|
|
|
633
546
|
```
|
|
634
547
|
USAGE
|
|
635
|
-
$ contrail instance import [-
|
|
548
|
+
$ contrail instance import [-d <value>]
|
|
636
549
|
|
|
637
550
|
FLAGS
|
|
638
|
-
-d, --dir=<value>
|
|
639
|
-
|
|
640
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
641
|
-
-l, --logLevel=<option> The Log Level
|
|
642
|
-
<options: error|warn|info|debug>
|
|
551
|
+
-d, --dir=<value> [default: .] The directory from which to export the instance data. Defaults to the current
|
|
552
|
+
directory
|
|
643
553
|
|
|
644
554
|
DESCRIPTION
|
|
645
555
|
Import the data to an instance, including types and users
|
|
@@ -654,16 +564,11 @@ Upload a csv file and kick off a load job for the uploaded file. The config path
|
|
|
654
564
|
|
|
655
565
|
```
|
|
656
566
|
USAGE
|
|
657
|
-
$ contrail loader-process load CONFIGFILENAME
|
|
567
|
+
$ contrail loader-process load CONFIGFILENAME
|
|
658
568
|
|
|
659
569
|
ARGUMENTS
|
|
660
570
|
CONFIGFILENAME The configuration file location
|
|
661
571
|
|
|
662
|
-
FLAGS
|
|
663
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
664
|
-
-l, --logLevel=<option> The Log Level
|
|
665
|
-
<options: error|warn|info|debug>
|
|
666
|
-
|
|
667
572
|
DESCRIPTION
|
|
668
573
|
Upload a csv file and kick off a load job for the uploaded file. The config path must be a reference to a .json or a
|
|
669
574
|
.yml file.
|
|
@@ -678,17 +583,12 @@ Upload a csv file and kick off a load job for the uploaded file. The file path m
|
|
|
678
583
|
|
|
679
584
|
```
|
|
680
585
|
USAGE
|
|
681
|
-
$ contrail loader-process upload-and-load INCOMINGFILE CONFIGFILENAME
|
|
586
|
+
$ contrail loader-process upload-and-load INCOMINGFILE CONFIGFILENAME
|
|
682
587
|
|
|
683
588
|
ARGUMENTS
|
|
684
589
|
INCOMINGFILE The incoming file location
|
|
685
590
|
CONFIGFILENAME The configuration file location
|
|
686
591
|
|
|
687
|
-
FLAGS
|
|
688
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
689
|
-
-l, --logLevel=<option> The Log Level
|
|
690
|
-
<options: error|warn|info|debug>
|
|
691
|
-
|
|
692
592
|
DESCRIPTION
|
|
693
593
|
Upload a csv file and kick off a load job for the uploaded file. The file path must be a reference to a .csv file and
|
|
694
594
|
the config path must be a reference to a .json or a .yml file
|
|
@@ -946,12 +846,7 @@ Export a project.
|
|
|
946
846
|
|
|
947
847
|
```
|
|
948
848
|
USAGE
|
|
949
|
-
$ contrail projects export PROJECTNAME
|
|
950
|
-
|
|
951
|
-
FLAGS
|
|
952
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
953
|
-
-l, --logLevel=<option> The Log Level
|
|
954
|
-
<options: error|warn|info|debug>
|
|
849
|
+
$ contrail projects export PROJECTNAME
|
|
955
850
|
|
|
956
851
|
DESCRIPTION
|
|
957
852
|
Export a project.
|
|
@@ -966,12 +861,7 @@ Get a list of all projects.
|
|
|
966
861
|
|
|
967
862
|
```
|
|
968
863
|
USAGE
|
|
969
|
-
$ contrail projects list
|
|
970
|
-
|
|
971
|
-
FLAGS
|
|
972
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
973
|
-
-l, --logLevel=<option> The Log Level
|
|
974
|
-
<options: error|warn|info|debug>
|
|
864
|
+
$ contrail projects list
|
|
975
865
|
|
|
976
866
|
DESCRIPTION
|
|
977
867
|
Get a list of all projects.
|
|
@@ -986,16 +876,11 @@ Configure a project from a yml file.
|
|
|
986
876
|
|
|
987
877
|
```
|
|
988
878
|
USAGE
|
|
989
|
-
$ contrail projects load TEMPLATEFILELOCATION
|
|
879
|
+
$ contrail projects load TEMPLATEFILELOCATION
|
|
990
880
|
|
|
991
881
|
ARGUMENTS
|
|
992
882
|
TEMPLATEFILELOCATION The location to the template file
|
|
993
883
|
|
|
994
|
-
FLAGS
|
|
995
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
996
|
-
-l, --logLevel=<option> The Log Level
|
|
997
|
-
<options: error|warn|info|debug>
|
|
998
|
-
|
|
999
884
|
DESCRIPTION
|
|
1000
885
|
Configure a project from a yml file.
|
|
1001
886
|
|
|
@@ -1009,12 +894,7 @@ export OptionSetHierarchies into CSVs.
|
|
|
1009
894
|
|
|
1010
895
|
```
|
|
1011
896
|
USAGE
|
|
1012
|
-
$ contrail types exportOptionSetHierarchies
|
|
1013
|
-
|
|
1014
|
-
FLAGS
|
|
1015
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1016
|
-
-l, --logLevel=<option> The Log Level
|
|
1017
|
-
<options: error|warn|info|debug>
|
|
897
|
+
$ contrail types exportOptionSetHierarchies
|
|
1018
898
|
|
|
1019
899
|
DESCRIPTION
|
|
1020
900
|
export OptionSetHierarchies into CSVs.
|
|
@@ -1029,15 +909,11 @@ Get all Types and associated data for your Org
|
|
|
1029
909
|
|
|
1030
910
|
```
|
|
1031
911
|
USAGE
|
|
1032
|
-
$ contrail types getAll [-
|
|
912
|
+
$ contrail types getAll [-d <value>] [-f]
|
|
1033
913
|
|
|
1034
914
|
FLAGS
|
|
1035
|
-
-d, --outDir=<value>
|
|
1036
|
-
|
|
1037
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1038
|
-
-f, --overwrite Replaces any existing export files in outDir
|
|
1039
|
-
-l, --logLevel=<option> The Log Level
|
|
1040
|
-
<options: error|warn|info|debug>
|
|
915
|
+
-d, --outDir=<value> [default: .] The directory to which to export the type data. Defaults to the current directory
|
|
916
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
1041
917
|
|
|
1042
918
|
DESCRIPTION
|
|
1043
919
|
Get all Types and associated data for your Org
|
|
@@ -1052,14 +928,10 @@ loads all the type data that has been exported by getAll
|
|
|
1052
928
|
|
|
1053
929
|
```
|
|
1054
930
|
USAGE
|
|
1055
|
-
$ contrail types loadAll [-
|
|
931
|
+
$ contrail types loadAll [-d <value>]
|
|
1056
932
|
|
|
1057
933
|
FLAGS
|
|
1058
|
-
-d, --dir=<value>
|
|
1059
|
-
directory.
|
|
1060
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1061
|
-
-l, --logLevel=<option> The Log Level
|
|
1062
|
-
<options: error|warn|info|debug>
|
|
934
|
+
-d, --dir=<value> [default: .] The directory from which to load the types data. Defaults to the current directory.
|
|
1063
935
|
|
|
1064
936
|
DESCRIPTION
|
|
1065
937
|
loads all the type data that has been exported by getAll
|
|
@@ -1074,16 +946,11 @@ Merge the OptionSets from an existing org and the OptionSets passed in. OptionSe
|
|
|
1074
946
|
|
|
1075
947
|
```
|
|
1076
948
|
USAGE
|
|
1077
|
-
$ contrail types mergeOptionSets FILE
|
|
949
|
+
$ contrail types mergeOptionSets FILE
|
|
1078
950
|
|
|
1079
951
|
ARGUMENTS
|
|
1080
952
|
FILE File to merge with the cloud option sets
|
|
1081
953
|
|
|
1082
|
-
FLAGS
|
|
1083
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1084
|
-
-l, --logLevel=<option> The Log Level
|
|
1085
|
-
<options: error|warn|info|debug>
|
|
1086
|
-
|
|
1087
954
|
DESCRIPTION
|
|
1088
955
|
Merge the OptionSets from an existing org and the OptionSets passed in. OptionSets File must be .yml.
|
|
1089
956
|
|
|
@@ -1097,17 +964,12 @@ Merge the TypeProperties from an existing org and the TypeProperties passed in.
|
|
|
1097
964
|
|
|
1098
965
|
```
|
|
1099
966
|
USAGE
|
|
1100
|
-
$ contrail types mergeTypeProperties FILE TYPEPATHS
|
|
967
|
+
$ contrail types mergeTypeProperties FILE TYPEPATHS
|
|
1101
968
|
|
|
1102
969
|
ARGUMENTS
|
|
1103
970
|
FILE File to parse
|
|
1104
971
|
TYPEPATHS A list of the type paths to merge
|
|
1105
972
|
|
|
1106
|
-
FLAGS
|
|
1107
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1108
|
-
-l, --logLevel=<option> The Log Level
|
|
1109
|
-
<options: error|warn|info|debug>
|
|
1110
|
-
|
|
1111
973
|
DESCRIPTION
|
|
1112
974
|
Merge the TypeProperties from an existing org and the TypeProperties passed in. Add to Types via TypePath File must be
|
|
1113
975
|
.yml
|
|
@@ -1122,16 +984,11 @@ Parse CSV file into OptionSetHierarchy
|
|
|
1122
984
|
|
|
1123
985
|
```
|
|
1124
986
|
USAGE
|
|
1125
|
-
$ contrail types parseOptionSetsHierarchyLocalFile FILE
|
|
987
|
+
$ contrail types parseOptionSetsHierarchyLocalFile FILE
|
|
1126
988
|
|
|
1127
989
|
ARGUMENTS
|
|
1128
990
|
FILE File to parse
|
|
1129
991
|
|
|
1130
|
-
FLAGS
|
|
1131
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1132
|
-
-l, --logLevel=<option> The Log Level
|
|
1133
|
-
<options: error|warn|info|debug>
|
|
1134
|
-
|
|
1135
992
|
DESCRIPTION
|
|
1136
993
|
Parse CSV file into OptionSetHierarchy
|
|
1137
994
|
|
|
@@ -1145,16 +1002,11 @@ Parse CSV file into OptionSetHierarchy
|
|
|
1145
1002
|
|
|
1146
1003
|
```
|
|
1147
1004
|
USAGE
|
|
1148
|
-
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE
|
|
1005
|
+
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE
|
|
1149
1006
|
|
|
1150
1007
|
ARGUMENTS
|
|
1151
1008
|
FILE File to parse
|
|
1152
1009
|
|
|
1153
|
-
FLAGS
|
|
1154
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1155
|
-
-l, --logLevel=<option> The Log Level
|
|
1156
|
-
<options: error|warn|info|debug>
|
|
1157
|
-
|
|
1158
1010
|
DESCRIPTION
|
|
1159
1011
|
Parse CSV file into OptionSetHierarchy
|
|
1160
1012
|
|
|
@@ -1164,26 +1016,44 @@ EXAMPLES
|
|
|
1164
1016
|
|
|
1165
1017
|
## `contrail types parseOptionSetsLocalFiles FILE`
|
|
1166
1018
|
|
|
1167
|
-
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for
|
|
1019
|
+
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for option setname, option key, and option label, use "NameAndLabelAndKey". If the file has one column for each option set with the rows being the label value use "LabelsInColumn". In the case of LabelsInColumn, the keys are autogenerated.
|
|
1168
1020
|
|
|
1169
1021
|
```
|
|
1170
1022
|
USAGE
|
|
1171
|
-
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle
|
|
1023
|
+
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle NameAndLabelAndKey|LabelsInColumn
|
|
1172
1024
|
|
|
1173
1025
|
ARGUMENTS
|
|
1174
1026
|
FILE File to parse
|
|
1175
1027
|
|
|
1176
1028
|
FLAGS
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
<options: error|warn|info|debug>
|
|
1180
|
-
--csvStyle=<option> (required)
|
|
1181
|
-
<options: NameAndLabel|LabelsInColumn>
|
|
1029
|
+
--csvStyle=<option> (required)
|
|
1030
|
+
<options: NameAndLabelAndKey|LabelsInColumn>
|
|
1182
1031
|
|
|
1183
1032
|
DESCRIPTION
|
|
1184
|
-
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for
|
|
1185
|
-
label, use "
|
|
1186
|
-
"LabelsInColumn"
|
|
1033
|
+
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for option
|
|
1034
|
+
setname, option key, and option label, use "NameAndLabelAndKey". If the file has one column for each option set with
|
|
1035
|
+
the rows being the label value use "LabelsInColumn". In the case of LabelsInColumn, the keys are autogenerated.
|
|
1036
|
+
|
|
1037
|
+
Example file for LabelsInColumn would be
|
|
1038
|
+
|
|
1039
|
+
Gender, Countries, Brands
|
|
1040
|
+
men, spain, prada
|
|
1041
|
+
women, france, converse
|
|
1042
|
+
unisex, australia
|
|
1043
|
+
, usa
|
|
1044
|
+
, egypt
|
|
1045
|
+
|
|
1046
|
+
Example file for NameAndLabelAndKey would be
|
|
1047
|
+
|
|
1048
|
+
Gender, g_men, Men
|
|
1049
|
+
Bender, g_women, Women
|
|
1050
|
+
Gender g_uni, Unisex
|
|
1051
|
+
Countries, co_spain, Spain
|
|
1052
|
+
Countries, co_france, France
|
|
1053
|
+
Countries, co_aus, Australia
|
|
1054
|
+
Countries, co_usa, United States of America,
|
|
1055
|
+
Countries, co_egypt, Egypt
|
|
1056
|
+
|
|
1187
1057
|
|
|
1188
1058
|
EXAMPLES
|
|
1189
1059
|
$ contrail types parseOptionSetsLocalFiles <File Paths> <style>
|
|
@@ -1191,24 +1061,18 @@ EXAMPLES
|
|
|
1191
1061
|
|
|
1192
1062
|
## `contrail types parseOptionSetsToFolderStructure FILE`
|
|
1193
1063
|
|
|
1194
|
-
|
|
1064
|
+
Parses a YAML file containing multiple option sets (like the output of `parseOptionSetLocalFiles`) and separates them into multiple files in a directory. The resulting files can be uploaded using `uploadOptionSets`
|
|
1195
1065
|
|
|
1196
1066
|
```
|
|
1197
1067
|
USAGE
|
|
1198
|
-
$ contrail types parseOptionSetsToFolderStructure FILE
|
|
1068
|
+
$ contrail types parseOptionSetsToFolderStructure FILE
|
|
1199
1069
|
|
|
1200
1070
|
ARGUMENTS
|
|
1201
1071
|
FILE File to parse
|
|
1202
1072
|
|
|
1203
|
-
FLAGS
|
|
1204
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1205
|
-
-l, --logLevel=<option> The Log Level
|
|
1206
|
-
<options: error|warn|info|debug>
|
|
1207
|
-
|
|
1208
1073
|
DESCRIPTION
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
"LabelsInColumn"
|
|
1074
|
+
Parses a YAML file containing multiple option sets (like the output of `parseOptionSetLocalFiles`) and separates them
|
|
1075
|
+
into multiple files in a directory. The resulting files can be uploaded using `uploadOptionSets`
|
|
1212
1076
|
|
|
1213
1077
|
EXAMPLES
|
|
1214
1078
|
$ contrail types parseOptionSetsLocalFiles <File Paths> <style>
|
|
@@ -1220,16 +1084,11 @@ Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
|
1220
1084
|
|
|
1221
1085
|
```
|
|
1222
1086
|
USAGE
|
|
1223
|
-
$ contrail types parseTypesFromFiles TYPEPATHS
|
|
1087
|
+
$ contrail types parseTypesFromFiles TYPEPATHS
|
|
1224
1088
|
|
|
1225
1089
|
ARGUMENTS
|
|
1226
1090
|
TYPEPATHS A list of the VibeIQ file IDs to parse
|
|
1227
1091
|
|
|
1228
|
-
FLAGS
|
|
1229
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1230
|
-
-l, --logLevel=<option> The Log Level
|
|
1231
|
-
<options: error|warn|info|debug>
|
|
1232
|
-
|
|
1233
1092
|
DESCRIPTION
|
|
1234
1093
|
Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
1235
1094
|
File must be .yml.
|
|
@@ -1244,16 +1103,11 @@ Parse CSV files into Types and OptionSets from local files.
|
|
|
1244
1103
|
|
|
1245
1104
|
```
|
|
1246
1105
|
USAGE
|
|
1247
|
-
$ contrail types parseTypesFromLocalFiles TYPEPATHS
|
|
1106
|
+
$ contrail types parseTypesFromLocalFiles TYPEPATHS
|
|
1248
1107
|
|
|
1249
1108
|
ARGUMENTS
|
|
1250
1109
|
TYPEPATHS A list of the files to parse
|
|
1251
1110
|
|
|
1252
|
-
FLAGS
|
|
1253
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1254
|
-
-l, --logLevel=<option> The Log Level
|
|
1255
|
-
<options: error|warn|info|debug>
|
|
1256
|
-
|
|
1257
1111
|
DESCRIPTION
|
|
1258
1112
|
Parse CSV files into Types and OptionSets from local files.
|
|
1259
1113
|
|
|
@@ -1267,17 +1121,12 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
1267
1121
|
|
|
1268
1122
|
```
|
|
1269
1123
|
USAGE
|
|
1270
|
-
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS
|
|
1124
|
+
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS
|
|
1271
1125
|
|
|
1272
1126
|
ARGUMENTS
|
|
1273
1127
|
TEMPLATEFILE The template file to use
|
|
1274
1128
|
FILEPATHS A list of data file to use
|
|
1275
1129
|
|
|
1276
|
-
FLAGS
|
|
1277
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1278
|
-
-l, --logLevel=<option> The Log Level
|
|
1279
|
-
<options: error|warn|info|debug>
|
|
1280
|
-
|
|
1281
1130
|
DESCRIPTION
|
|
1282
1131
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
1283
1132
|
|
|
@@ -1291,17 +1140,12 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
1291
1140
|
|
|
1292
1141
|
```
|
|
1293
1142
|
USAGE
|
|
1294
|
-
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH
|
|
1143
|
+
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH
|
|
1295
1144
|
|
|
1296
1145
|
ARGUMENTS
|
|
1297
1146
|
TEMPLATEFILE The template file to use
|
|
1298
1147
|
FILEPATH The data file to use
|
|
1299
1148
|
|
|
1300
|
-
FLAGS
|
|
1301
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1302
|
-
-l, --logLevel=<option> The Log Level
|
|
1303
|
-
<options: error|warn|info|debug>
|
|
1304
|
-
|
|
1305
1149
|
DESCRIPTION
|
|
1306
1150
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
1307
1151
|
|
|
@@ -1315,14 +1159,11 @@ Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded fr
|
|
|
1315
1159
|
|
|
1316
1160
|
```
|
|
1317
1161
|
USAGE
|
|
1318
|
-
$ contrail types uploadOptionSetHierarchies [-
|
|
1162
|
+
$ contrail types uploadOptionSetHierarchies [-d <value>]
|
|
1319
1163
|
|
|
1320
1164
|
FLAGS
|
|
1321
|
-
-d, --dir=<value>
|
|
1322
|
-
|
|
1323
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1324
|
-
-l, --logLevel=<option> The Log Level
|
|
1325
|
-
<options: error|warn|info|debug>
|
|
1165
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set hierarchies data. Defaults to the
|
|
1166
|
+
current directory. The option set data will be loaded from $dir/option-set-hierarchies
|
|
1326
1167
|
|
|
1327
1168
|
DESCRIPTION
|
|
1328
1169
|
Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded from .yml files in the
|
|
@@ -1338,14 +1179,11 @@ Upload OptionSets for your Org. OptionSets are loaded from .yml files in the opt
|
|
|
1338
1179
|
|
|
1339
1180
|
```
|
|
1340
1181
|
USAGE
|
|
1341
|
-
$ contrail types uploadOptionSets [-
|
|
1182
|
+
$ contrail types uploadOptionSets [-d <value>]
|
|
1342
1183
|
|
|
1343
1184
|
FLAGS
|
|
1344
|
-
-d, --dir=<value>
|
|
1345
|
-
|
|
1346
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1347
|
-
-l, --logLevel=<option> The Log Level
|
|
1348
|
-
<options: error|warn|info|debug>
|
|
1185
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the current
|
|
1186
|
+
directory. The option set data will be loaded from $dir/option-sets
|
|
1349
1187
|
|
|
1350
1188
|
DESCRIPTION
|
|
1351
1189
|
Upload OptionSets for your Org. OptionSets are loaded from .yml files in the option-sets directory.
|
|
@@ -1360,17 +1198,12 @@ upload CSV file into OptionSetHierarchy
|
|
|
1360
1198
|
|
|
1361
1199
|
```
|
|
1362
1200
|
USAGE
|
|
1363
|
-
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME
|
|
1201
|
+
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME
|
|
1364
1202
|
|
|
1365
1203
|
ARGUMENTS
|
|
1366
1204
|
FILE File to parse
|
|
1367
1205
|
NAME The name to be give to the option set hierarchy
|
|
1368
1206
|
|
|
1369
|
-
FLAGS
|
|
1370
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1371
|
-
-l, --logLevel=<option> The Log Level
|
|
1372
|
-
<options: error|warn|info|debug>
|
|
1373
|
-
|
|
1374
1207
|
DESCRIPTION
|
|
1375
1208
|
upload CSV file into OptionSetHierarchy
|
|
1376
1209
|
|
|
@@ -1384,14 +1217,11 @@ Upload an extracted rule set
|
|
|
1384
1217
|
|
|
1385
1218
|
```
|
|
1386
1219
|
USAGE
|
|
1387
|
-
$ contrail types uploadRuleSets [-
|
|
1220
|
+
$ contrail types uploadRuleSets [-d <value>]
|
|
1388
1221
|
|
|
1389
1222
|
FLAGS
|
|
1390
|
-
-d, --dir=<value>
|
|
1391
|
-
|
|
1392
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1393
|
-
-l, --logLevel=<option> The Log Level
|
|
1394
|
-
<options: error|warn|info|debug>
|
|
1223
|
+
-d, --dir=<value> [default: .] The directory from which to export the rule set data. Defaults to the current
|
|
1224
|
+
directory. The rule set data will be loaded from $dir/rule-sets/*.yml
|
|
1395
1225
|
|
|
1396
1226
|
DESCRIPTION
|
|
1397
1227
|
Upload an extracted rule set
|
|
@@ -1406,14 +1236,11 @@ Upload type policies
|
|
|
1406
1236
|
|
|
1407
1237
|
```
|
|
1408
1238
|
USAGE
|
|
1409
|
-
$ contrail types uploadTypePolicies [-
|
|
1239
|
+
$ contrail types uploadTypePolicies [-d <value>]
|
|
1410
1240
|
|
|
1411
1241
|
FLAGS
|
|
1412
|
-
-d, --dir=<value>
|
|
1413
|
-
|
|
1414
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1415
|
-
-l, --logLevel=<option> The Log Level
|
|
1416
|
-
<options: error|warn|info|debug>
|
|
1242
|
+
-d, --dir=<value> [default: .] The directory from which to export the type policy data. Defaults to the current
|
|
1243
|
+
directory. The type policy data will be loaded from $dir/type-policies/*.yml
|
|
1417
1244
|
|
|
1418
1245
|
DESCRIPTION
|
|
1419
1246
|
Upload type policies
|
|
@@ -1428,15 +1255,12 @@ Upload type property policies
|
|
|
1428
1255
|
|
|
1429
1256
|
```
|
|
1430
1257
|
USAGE
|
|
1431
|
-
$ contrail types uploadTypePropertyPolicies [-
|
|
1258
|
+
$ contrail types uploadTypePropertyPolicies [-d <value>]
|
|
1432
1259
|
|
|
1433
1260
|
FLAGS
|
|
1434
|
-
-d, --dir=<value>
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1438
|
-
-l, --logLevel=<option> The Log Level
|
|
1439
|
-
<options: error|warn|info|debug>
|
|
1261
|
+
-d, --dir=<value> [default: .] The directory from which to export the type property policy data. Defaults to the
|
|
1262
|
+
current directory. The type property policy data will be loaded from
|
|
1263
|
+
$dir/type-property-policies/*.yml
|
|
1440
1264
|
|
|
1441
1265
|
DESCRIPTION
|
|
1442
1266
|
Upload type property policies
|
|
@@ -1451,14 +1275,11 @@ Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
|
1451
1275
|
|
|
1452
1276
|
```
|
|
1453
1277
|
USAGE
|
|
1454
|
-
$ contrail types uploadTypes [-
|
|
1278
|
+
$ contrail types uploadTypes [-d <value>]
|
|
1455
1279
|
|
|
1456
1280
|
FLAGS
|
|
1457
|
-
-d, --dir=<value>
|
|
1458
|
-
|
|
1459
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1460
|
-
-l, --logLevel=<option> The Log Level
|
|
1461
|
-
<options: error|warn|info|debug>
|
|
1281
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the current
|
|
1282
|
+
directory. The option set data will be loaded from $dir/types
|
|
1462
1283
|
|
|
1463
1284
|
DESCRIPTION
|
|
1464
1285
|
Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
@@ -1473,14 +1294,11 @@ Upload extracted usage info
|
|
|
1473
1294
|
|
|
1474
1295
|
```
|
|
1475
1296
|
USAGE
|
|
1476
|
-
$ contrail types uploadUsageInfo [-
|
|
1297
|
+
$ contrail types uploadUsageInfo [-d <value>]
|
|
1477
1298
|
|
|
1478
1299
|
FLAGS
|
|
1479
|
-
-d, --dir=<value>
|
|
1480
|
-
|
|
1481
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1482
|
-
-l, --logLevel=<option> The Log Level
|
|
1483
|
-
<options: error|warn|info|debug>
|
|
1300
|
+
-d, --dir=<value> [default: .] The directory from which to export the usage info data. Defaults to the current
|
|
1301
|
+
directory. The usage info data will be loaded from $dir/usage-info.yml
|
|
1484
1302
|
|
|
1485
1303
|
DESCRIPTION
|
|
1486
1304
|
Upload extracted usage info
|
|
@@ -1495,14 +1313,11 @@ Export all users in the org.
|
|
|
1495
1313
|
|
|
1496
1314
|
```
|
|
1497
1315
|
USAGE
|
|
1498
|
-
$ contrail users export [-
|
|
1316
|
+
$ contrail users export [-f <value>] [--overwrite]
|
|
1499
1317
|
|
|
1500
1318
|
FLAGS
|
|
1501
|
-
-
|
|
1502
|
-
|
|
1503
|
-
-l, --logLevel=<option> The Log Level
|
|
1504
|
-
<options: error|warn|info|debug>
|
|
1505
|
-
--overwrite Replaces existing files if they exist
|
|
1319
|
+
-f, --outFile=<value> [default: users.yml] The location for the file to be saved
|
|
1320
|
+
--overwrite Replaces existing files if they exist
|
|
1506
1321
|
|
|
1507
1322
|
DESCRIPTION
|
|
1508
1323
|
Export all users in the org.
|
|
@@ -1517,16 +1332,11 @@ Import all users in the users.yml file
|
|
|
1517
1332
|
|
|
1518
1333
|
```
|
|
1519
1334
|
USAGE
|
|
1520
|
-
$ contrail users upload USERSFILE
|
|
1335
|
+
$ contrail users upload USERSFILE
|
|
1521
1336
|
|
|
1522
1337
|
ARGUMENTS
|
|
1523
1338
|
USERSFILE The .yml file containing the users
|
|
1524
1339
|
|
|
1525
|
-
FLAGS
|
|
1526
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1527
|
-
-l, --logLevel=<option> The Log Level
|
|
1528
|
-
<options: error|warn|info|debug>
|
|
1529
|
-
|
|
1530
1340
|
DESCRIPTION
|
|
1531
1341
|
Import all users in the users.yml file
|
|
1532
1342
|
|
|
@@ -1540,13 +1350,10 @@ Create a new webhook
|
|
|
1540
1350
|
|
|
1541
1351
|
```
|
|
1542
1352
|
USAGE
|
|
1543
|
-
$ contrail webhooks create [-
|
|
1353
|
+
$ contrail webhooks create [-j]
|
|
1544
1354
|
|
|
1545
1355
|
FLAGS
|
|
1546
|
-
-
|
|
1547
|
-
-j, --json output in json format
|
|
1548
|
-
-l, --logLevel=<option> The Log Level
|
|
1549
|
-
<options: error|warn|info|debug>
|
|
1356
|
+
-j, --json output in json format
|
|
1550
1357
|
|
|
1551
1358
|
DESCRIPTION
|
|
1552
1359
|
Create a new webhook
|
|
@@ -1561,16 +1368,13 @@ Delete an existing webhook. To delete a single webhook, pass its ID. To delete m
|
|
|
1561
1368
|
|
|
1562
1369
|
```
|
|
1563
1370
|
USAGE
|
|
1564
|
-
$ contrail webhooks delete [WEBHOOKID] [-
|
|
1371
|
+
$ contrail webhooks delete [WEBHOOKID] [-j]
|
|
1565
1372
|
|
|
1566
1373
|
ARGUMENTS
|
|
1567
1374
|
WEBHOOKID The id of the webhook to delete
|
|
1568
1375
|
|
|
1569
1376
|
FLAGS
|
|
1570
|
-
-
|
|
1571
|
-
-j, --json output in json format
|
|
1572
|
-
-l, --logLevel=<option> The Log Level
|
|
1573
|
-
<options: error|warn|info|debug>
|
|
1377
|
+
-j, --json output in json format
|
|
1574
1378
|
|
|
1575
1379
|
DESCRIPTION
|
|
1576
1380
|
Delete an existing webhook. To delete a single webhook, pass its ID. To delete multiple webhooks, do not pass a value
|
|
@@ -1588,16 +1392,11 @@ Crafts a webhook trigger that can be used for event workflows. This command does
|
|
|
1588
1392
|
|
|
1589
1393
|
```
|
|
1590
1394
|
USAGE
|
|
1591
|
-
$ contrail webhooks getWebhookTrigger [WEBHOOKID]
|
|
1395
|
+
$ contrail webhooks getWebhookTrigger [WEBHOOKID]
|
|
1592
1396
|
|
|
1593
1397
|
ARGUMENTS
|
|
1594
1398
|
WEBHOOKID The id of the webhook to delete
|
|
1595
1399
|
|
|
1596
|
-
FLAGS
|
|
1597
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1598
|
-
-l, --logLevel=<option> The Log Level
|
|
1599
|
-
<options: error|warn|info|debug>
|
|
1600
|
-
|
|
1601
1400
|
DESCRIPTION
|
|
1602
1401
|
Crafts a webhook trigger that can be used for event workflows. This command does not alter the state of any webhook or
|
|
1603
1402
|
event workflow. It is only a utility for generating a webhook trigger.
|
|
@@ -1612,13 +1411,10 @@ List current webhooks
|
|
|
1612
1411
|
|
|
1613
1412
|
```
|
|
1614
1413
|
USAGE
|
|
1615
|
-
$ contrail webhooks list [-
|
|
1414
|
+
$ contrail webhooks list [-j]
|
|
1616
1415
|
|
|
1617
1416
|
FLAGS
|
|
1618
|
-
-
|
|
1619
|
-
-j, --json output in json format
|
|
1620
|
-
-l, --logLevel=<option> The Log Level
|
|
1621
|
-
<options: error|warn|info|debug>
|
|
1417
|
+
-j, --json output in json format
|
|
1622
1418
|
|
|
1623
1419
|
DESCRIPTION
|
|
1624
1420
|
List current webhooks
|
|
@@ -1633,12 +1429,7 @@ Install the template definitions of an app to your org
|
|
|
1633
1429
|
|
|
1634
1430
|
```
|
|
1635
1431
|
USAGE
|
|
1636
|
-
$ contrail workflow-template-definitions install
|
|
1637
|
-
|
|
1638
|
-
FLAGS
|
|
1639
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1640
|
-
-l, --logLevel=<option> The Log Level
|
|
1641
|
-
<options: error|warn|info|debug>
|
|
1432
|
+
$ contrail workflow-template-definitions install
|
|
1642
1433
|
|
|
1643
1434
|
DESCRIPTION
|
|
1644
1435
|
Install the template definitions of an app to your org
|
|
@@ -1653,12 +1444,7 @@ Lists the workflow templates in the org
|
|
|
1653
1444
|
|
|
1654
1445
|
```
|
|
1655
1446
|
USAGE
|
|
1656
|
-
$ contrail workflow-template-definitions list
|
|
1657
|
-
|
|
1658
|
-
FLAGS
|
|
1659
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1660
|
-
-l, --logLevel=<option> The Log Level
|
|
1661
|
-
<options: error|warn|info|debug>
|
|
1447
|
+
$ contrail workflow-template-definitions list
|
|
1662
1448
|
|
|
1663
1449
|
DESCRIPTION
|
|
1664
1450
|
Lists the workflow templates in the org
|
|
@@ -1673,12 +1459,7 @@ Delete workflow templates from your org
|
|
|
1673
1459
|
|
|
1674
1460
|
```
|
|
1675
1461
|
USAGE
|
|
1676
|
-
$ contrail workflow-templates delete
|
|
1677
|
-
|
|
1678
|
-
FLAGS
|
|
1679
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1680
|
-
-l, --logLevel=<option> The Log Level
|
|
1681
|
-
<options: error|warn|info|debug>
|
|
1462
|
+
$ contrail workflow-templates delete
|
|
1682
1463
|
|
|
1683
1464
|
DESCRIPTION
|
|
1684
1465
|
Delete workflow templates from your org
|
|
@@ -1693,14 +1474,11 @@ Export all workflows in the org.
|
|
|
1693
1474
|
|
|
1694
1475
|
```
|
|
1695
1476
|
USAGE
|
|
1696
|
-
$ contrail workflow-templates export [-
|
|
1477
|
+
$ contrail workflow-templates export [-f <value>] [--overwrite]
|
|
1697
1478
|
|
|
1698
1479
|
FLAGS
|
|
1699
|
-
-
|
|
1700
|
-
|
|
1701
|
-
-l, --logLevel=<option> The Log Level
|
|
1702
|
-
<options: error|warn|info|debug>
|
|
1703
|
-
--overwrite Replaces existing files if they exist
|
|
1480
|
+
-f, --outFile=<value> [default: workflows.yml] The location for the file to be saved
|
|
1481
|
+
--overwrite Replaces existing files if they exist
|
|
1704
1482
|
|
|
1705
1483
|
DESCRIPTION
|
|
1706
1484
|
Export all workflows in the org.
|
|
@@ -1715,12 +1493,7 @@ Lists the workflow templates in the org
|
|
|
1715
1493
|
|
|
1716
1494
|
```
|
|
1717
1495
|
USAGE
|
|
1718
|
-
$ contrail workflow-templates list
|
|
1719
|
-
|
|
1720
|
-
FLAGS
|
|
1721
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1722
|
-
-l, --logLevel=<option> The Log Level
|
|
1723
|
-
<options: error|warn|info|debug>
|
|
1496
|
+
$ contrail workflow-templates list
|
|
1724
1497
|
|
|
1725
1498
|
DESCRIPTION
|
|
1726
1499
|
Lists the workflow templates in the org
|
|
@@ -1735,16 +1508,11 @@ Loads your workflow from a local file
|
|
|
1735
1508
|
|
|
1736
1509
|
```
|
|
1737
1510
|
USAGE
|
|
1738
|
-
$ contrail workflow-templates load FILELOCATION
|
|
1511
|
+
$ contrail workflow-templates load FILELOCATION
|
|
1739
1512
|
|
|
1740
1513
|
ARGUMENTS
|
|
1741
1514
|
FILELOCATION The workflow template file to load
|
|
1742
1515
|
|
|
1743
|
-
FLAGS
|
|
1744
|
-
-e, --alwaysConfirmEnv The Environment variables
|
|
1745
|
-
-l, --logLevel=<option> The Log Level
|
|
1746
|
-
<options: error|warn|info|debug>
|
|
1747
|
-
|
|
1748
1516
|
DESCRIPTION
|
|
1749
1517
|
Loads your workflow from a local file
|
|
1750
1518
|
|