@contrail/cli 2.1.19 → 2.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +311 -105
- package/dist/api/apps.js +15 -15
- package/dist/api/event-workflow-action-definition.d.ts +1 -1
- package/dist/api/event-workflow-action-definition.js +1 -1
- package/dist/api/event-workflow-template-definition.d.ts +4 -3
- package/dist/api/event-workflow-templates.d.ts +5 -4
- package/dist/api/event-workflow-templates.js +2 -2
- package/dist/api/types.d.ts +10 -10
- package/dist/api/users.js +4 -2
- package/dist/auth/login.js +12 -14
- package/dist/commands/app/create.d.ts +2 -2
- package/dist/commands/app/create.js +15 -10
- package/dist/commands/app/delete.d.ts +2 -2
- package/dist/commands/app/delete.js +4 -2
- package/dist/commands/app/getApiKey.d.ts +2 -2
- package/dist/commands/app/getApiKey.js +17 -11
- package/dist/commands/app/install.d.ts +2 -2
- package/dist/commands/app/install.js +42 -25
- package/dist/commands/app/publish.d.ts +2 -2
- package/dist/commands/app/publish.js +26 -11
- package/dist/commands/app/uninstall.d.ts +2 -2
- package/dist/commands/app/uninstall.js +20 -11
- package/dist/commands/app/upgrade.d.ts +2 -2
- package/dist/commands/app/upgrade.js +46 -23
- package/dist/commands/basecommand.d.ts +7 -0
- package/dist/commands/basecommand.js +29 -0
- package/dist/commands/colors/deleteAll.d.ts +2 -2
- package/dist/commands/colors/deleteAll.js +8 -5
- package/dist/commands/colors/load.d.ts +2 -2
- package/dist/commands/colors/load.js +10 -7
- package/dist/commands/config/list.d.ts +2 -2
- package/dist/commands/config/list.js +4 -2
- package/dist/commands/config/remove.d.ts +2 -2
- package/dist/commands/config/remove.js +4 -2
- package/dist/commands/config/set.d.ts +3 -2
- package/dist/commands/config/set.js +21 -7
- package/dist/commands/groups/export.d.ts +2 -2
- package/dist/commands/groups/export.js +20 -8
- package/dist/commands/groups/upload.d.ts +3 -3
- package/dist/commands/groups/upload.js +44 -32
- package/dist/commands/instance/export.d.ts +2 -2
- package/dist/commands/instance/export.js +15 -3
- package/dist/commands/instance/import.d.ts +2 -2
- package/dist/commands/instance/import.js +9 -2
- package/dist/commands/loader-process/load.d.ts +2 -2
- package/dist/commands/loader-process/load.js +13 -6
- package/dist/commands/loader-process/upload-and-load.d.ts +2 -2
- package/dist/commands/loader-process/upload-and-load.js +18 -7
- package/dist/commands/projects/export.d.ts +2 -2
- package/dist/commands/projects/export.js +4 -2
- package/dist/commands/projects/list.d.ts +2 -2
- package/dist/commands/projects/list.js +6 -4
- package/dist/commands/projects/load.d.ts +2 -2
- package/dist/commands/projects/load.js +16 -8
- package/dist/commands/types/exportOptionSetHierarchies.d.ts +2 -2
- package/dist/commands/types/exportOptionSetHierarchies.js +15 -12
- package/dist/commands/types/getAll.d.ts +2 -2
- package/dist/commands/types/getAll.js +107 -76
- package/dist/commands/types/loadAll.d.ts +2 -2
- package/dist/commands/types/loadAll.js +12 -4
- package/dist/commands/types/mergeOptionSets.d.ts +2 -2
- package/dist/commands/types/mergeOptionSets.js +13 -10
- package/dist/commands/types/mergeTypeProperties.d.ts +2 -2
- package/dist/commands/types/mergeTypeProperties.js +12 -9
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +2 -2
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +19 -15
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +10 -0
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +102 -0
- package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +2 -2
- package/dist/commands/types/parseOptionSetsLocalFiles.js +21 -21
- package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +2 -2
- package/dist/commands/types/parseOptionSetsToFolderStructure.js +17 -18
- package/dist/commands/types/parseTypesFromFiles.d.ts +2 -2
- package/dist/commands/types/parseTypesFromFiles.js +14 -8
- package/dist/commands/types/parseTypesFromLocalFiles.d.ts +2 -2
- package/dist/commands/types/parseTypesFromLocalFiles.js +10 -7
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +2 -2
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +11 -8
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +2 -2
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +11 -8
- package/dist/commands/types/uploadOptionSetHierarchies.d.ts +2 -2
- package/dist/commands/types/uploadOptionSetHierarchies.js +44 -32
- package/dist/commands/types/uploadOptionSets.d.ts +2 -2
- package/dist/commands/types/uploadOptionSets.js +21 -13
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +2 -2
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +26 -19
- package/dist/commands/types/uploadRuleSets.d.ts +2 -2
- package/dist/commands/types/uploadRuleSets.js +34 -26
- package/dist/commands/types/uploadTypePolicies.d.ts +2 -2
- package/dist/commands/types/uploadTypePolicies.js +37 -29
- package/dist/commands/types/uploadTypePropertyPolicies.d.ts +2 -2
- package/dist/commands/types/uploadTypePropertyPolicies.js +38 -30
- package/dist/commands/types/uploadTypes.d.ts +2 -2
- package/dist/commands/types/uploadTypes.js +10 -4
- package/dist/commands/types/uploadUsageInfo.d.ts +2 -2
- package/dist/commands/types/uploadUsageInfo.js +32 -24
- package/dist/commands/users/export.d.ts +2 -2
- package/dist/commands/users/export.js +15 -4
- package/dist/commands/users/upload.d.ts +2 -2
- package/dist/commands/users/upload.js +6 -4
- package/dist/commands/webhooks/create.d.ts +2 -2
- package/dist/commands/webhooks/create.js +8 -6
- package/dist/commands/webhooks/delete.d.ts +2 -2
- package/dist/commands/webhooks/delete.js +8 -5
- package/dist/commands/webhooks/getWebhookTrigger.d.ts +2 -2
- package/dist/commands/webhooks/getWebhookTrigger.js +10 -9
- package/dist/commands/webhooks/list.d.ts +2 -2
- package/dist/commands/webhooks/list.js +8 -6
- package/dist/commands/workflow-template-definitions/install.d.ts +2 -2
- package/dist/commands/workflow-template-definitions/install.js +4 -2
- package/dist/commands/workflow-template-definitions/list.d.ts +2 -2
- package/dist/commands/workflow-template-definitions/list.js +4 -2
- package/dist/commands/workflow-templates/delete.d.ts +2 -2
- package/dist/commands/workflow-templates/delete.js +4 -2
- package/dist/commands/workflow-templates/export.d.ts +2 -2
- package/dist/commands/workflow-templates/export.js +19 -17
- package/dist/commands/workflow-templates/list.d.ts +2 -2
- package/dist/commands/workflow-templates/list.js +4 -2
- package/dist/commands/workflow-templates/load.d.ts +2 -2
- package/dist/commands/workflow-templates/load.js +8 -3
- package/dist/common.d.ts +4 -1
- package/dist/common.js +10 -1
- package/dist/helpers/app/actions-deployer.d.ts +2 -2
- package/dist/helpers/app/actions-deployer.js +12 -7
- package/dist/helpers/app/app-deployer.d.ts +1 -1
- package/dist/helpers/app/app-deployer.js +77 -49
- package/dist/helpers/app/app-template-parsers.js +3 -1
- package/dist/helpers/app/load-app-config.d.ts +2 -1
- package/dist/helpers/app/load-app-config.js +2 -2
- package/dist/helpers/app/setup-template.js +4 -3
- package/dist/helpers/colors/helpers.d.ts +10 -2
- package/dist/helpers/colors/helpers.js +11 -10
- package/dist/helpers/config/config.js +15 -10
- package/dist/helpers/file-helpers.js +7 -4
- package/dist/helpers/loader-process/helpers.js +14 -13
- package/dist/helpers/projects/helpers.d.ts +2 -1
- package/dist/helpers/projects/helpers.js +16 -15
- package/dist/helpers/types/csv-parser.js +17 -14
- package/dist/helpers/types/type-extractor.d.ts +1 -1
- package/dist/helpers/types/type-extractor.js +3 -2
- package/dist/helpers/types/type-parser.js +22 -21
- package/dist/helpers/types/type-uploader.js +19 -15
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.d.ts +1 -1
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.js +46 -28
- package/dist/helpers/workflow-templates/helper.d.ts +3 -3
- package/dist/helpers/workflow-templates/helper.js +33 -23
- package/dist/interface-converters.spec.js +15 -15
- package/dist/interfaces.d.ts +6 -0
- package/dist/logger.d.ts +3 -0
- package/dist/logger.js +32 -0
- package/dist/templates/typescript/src/actions/logItem.ts +9 -4
- package/dist/templates/typescript/src/main.ts +13 -8
- package/oclif.manifest.json +861 -31
- package/package.json +10 -7
package/README.md
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
Contrail CLI
|
|
2
|
-
=================
|
|
1
|
+
# Contrail CLI
|
|
3
2
|
|
|
4
3
|
The Contrail CLI is the best way to manage your instance data through a programmatic interface.
|
|
5
4
|
|
|
6
5
|
<!-- toc -->
|
|
6
|
+
* [Contrail CLI](#contrail-cli)
|
|
7
7
|
* [Usage](#usage)
|
|
8
8
|
* [Autocomplete](#autocomplete)
|
|
9
9
|
* [Commands](#commands)
|
|
10
10
|
<!-- tocstop -->
|
|
11
|
+
|
|
11
12
|
# Usage
|
|
13
|
+
|
|
12
14
|
<!-- usage -->
|
|
13
15
|
```sh-session
|
|
14
16
|
$ npm install -g @contrail/cli
|
|
15
17
|
$ contrail COMMAND
|
|
16
18
|
running command...
|
|
17
19
|
$ contrail (--version)
|
|
18
|
-
@contrail/cli/2.1.
|
|
20
|
+
@contrail/cli/2.1.21 darwin-arm64 node-v18.13.0
|
|
19
21
|
$ contrail --help [COMMAND]
|
|
20
22
|
USAGE
|
|
21
23
|
$ contrail COMMAND
|
|
@@ -23,9 +25,12 @@ USAGE
|
|
|
23
25
|
```
|
|
24
26
|
<!-- usagestop -->
|
|
25
27
|
|
|
26
|
-
# Autocomplete
|
|
28
|
+
# Autocomplete
|
|
29
|
+
|
|
27
30
|
To get instructions on how to set up autocomplete for your shell, run `contrail autocomplete`.
|
|
31
|
+
|
|
28
32
|
# Commands
|
|
33
|
+
|
|
29
34
|
<!-- commands -->
|
|
30
35
|
* [`contrail app create`](#contrail-app-create)
|
|
31
36
|
* [`contrail app delete`](#contrail-app-delete)
|
|
@@ -35,6 +40,7 @@ To get instructions on how to set up autocomplete for your shell, run `contrail
|
|
|
35
40
|
* [`contrail app uninstall`](#contrail-app-uninstall)
|
|
36
41
|
* [`contrail app upgrade`](#contrail-app-upgrade)
|
|
37
42
|
* [`contrail autocomplete [SHELL]`](#contrail-autocomplete-shell)
|
|
43
|
+
* [`contrail basecommand`](#contrail-basecommand)
|
|
38
44
|
* [`contrail colors deleteAll`](#contrail-colors-deleteall)
|
|
39
45
|
* [`contrail colors load`](#contrail-colors-load)
|
|
40
46
|
* [`contrail config list`](#contrail-config-list)
|
|
@@ -65,6 +71,7 @@ To get instructions on how to set up autocomplete for your shell, run `contrail
|
|
|
65
71
|
* [`contrail types mergeOptionSets FILE`](#contrail-types-mergeoptionsets-file)
|
|
66
72
|
* [`contrail types mergeTypeProperties FILE TYPEPATHS`](#contrail-types-mergetypeproperties-file-typepaths)
|
|
67
73
|
* [`contrail types parseOptionSetsHierarchyLocalFile FILE`](#contrail-types-parseoptionsetshierarchylocalfile-file)
|
|
74
|
+
* [`contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE`](#contrail-types-parseoptionsetshierarchyvaluestokeyslocalfile-file)
|
|
68
75
|
* [`contrail types parseOptionSetsLocalFiles FILE`](#contrail-types-parseoptionsetslocalfiles-file)
|
|
69
76
|
* [`contrail types parseOptionSetsToFolderStructure FILE`](#contrail-types-parseoptionsetstofolderstructure-file)
|
|
70
77
|
* [`contrail types parseTypesFromFiles TYPEPATHS`](#contrail-types-parsetypesfromfiles-typepaths)
|
|
@@ -98,7 +105,11 @@ Create an app from a template
|
|
|
98
105
|
|
|
99
106
|
```
|
|
100
107
|
USAGE
|
|
101
|
-
$ contrail app create
|
|
108
|
+
$ contrail app create [-l error|warn|info|debug]
|
|
109
|
+
|
|
110
|
+
FLAGS
|
|
111
|
+
-l, --logLevel=<option> The Log Level
|
|
112
|
+
<options: error|warn|info|debug>
|
|
102
113
|
|
|
103
114
|
DESCRIPTION
|
|
104
115
|
Create an app from a template
|
|
@@ -113,7 +124,11 @@ Delete the app from the app marketplace
|
|
|
113
124
|
|
|
114
125
|
```
|
|
115
126
|
USAGE
|
|
116
|
-
$ contrail app delete
|
|
127
|
+
$ contrail app delete [-l error|warn|info|debug]
|
|
128
|
+
|
|
129
|
+
FLAGS
|
|
130
|
+
-l, --logLevel=<option> The Log Level
|
|
131
|
+
<options: error|warn|info|debug>
|
|
117
132
|
|
|
118
133
|
DESCRIPTION
|
|
119
134
|
Delete the app from the app marketplace
|
|
@@ -128,10 +143,12 @@ Get an api key for an app
|
|
|
128
143
|
|
|
129
144
|
```
|
|
130
145
|
USAGE
|
|
131
|
-
$ contrail app getApiKey [-a <value>]
|
|
146
|
+
$ contrail app getApiKey [-l error|warn|info|debug] [-a <value>]
|
|
132
147
|
|
|
133
148
|
FLAGS
|
|
134
149
|
-a, --appIdentifier=<value> The app identifier
|
|
150
|
+
-l, --logLevel=<option> The Log Level
|
|
151
|
+
<options: error|warn|info|debug>
|
|
135
152
|
|
|
136
153
|
DESCRIPTION
|
|
137
154
|
Get an api key for an app
|
|
@@ -146,12 +163,14 @@ Install an app from the marketplace
|
|
|
146
163
|
|
|
147
164
|
```
|
|
148
165
|
USAGE
|
|
149
|
-
$ contrail app install [-i <value>] [-w] [-h]
|
|
166
|
+
$ contrail app install [-l error|warn|info|debug] [-i <value>] [-w] [-h]
|
|
150
167
|
|
|
151
168
|
FLAGS
|
|
152
169
|
-h, --showHidden Show the option to install public but hidden apps
|
|
153
170
|
-i, --appIdentifier=<value> The identifier of the app to install
|
|
154
|
-
-
|
|
171
|
+
-l, --logLevel=<option> The Log Level
|
|
172
|
+
<options: error|warn|info|debug>
|
|
173
|
+
-w, --installWorkflowTemplates "Install the app's accompanying workflows"
|
|
155
174
|
|
|
156
175
|
DESCRIPTION
|
|
157
176
|
Install an app from the marketplace
|
|
@@ -166,12 +185,15 @@ Publish the app
|
|
|
166
185
|
|
|
167
186
|
```
|
|
168
187
|
USAGE
|
|
169
|
-
$ contrail app publish [-u] [-v] [-d]
|
|
188
|
+
$ contrail app publish [-l error|warn|info|debug] [-u] [-v] [-d]
|
|
170
189
|
|
|
171
190
|
FLAGS
|
|
172
|
-
-d, --dryRun
|
|
173
|
-
-
|
|
174
|
-
|
|
191
|
+
-d, --dryRun Dry run the upgrade without actually updating the app.
|
|
192
|
+
-l, --logLevel=<option> The Log Level
|
|
193
|
+
<options: error|warn|info|debug>
|
|
194
|
+
-u, --upgrade In addition to deploying, upgrade the installed version of the app in this org to the latest
|
|
195
|
+
one.
|
|
196
|
+
-v, --verbose Debug the app deployment step and do not remove the intermediate build artifacts.
|
|
175
197
|
|
|
176
198
|
DESCRIPTION
|
|
177
199
|
Publish the app
|
|
@@ -186,11 +208,13 @@ Uninstall an app that is currently installed
|
|
|
186
208
|
|
|
187
209
|
```
|
|
188
210
|
USAGE
|
|
189
|
-
$ contrail app uninstall [-i <value>]
|
|
211
|
+
$ contrail app uninstall [-l error|warn|info|debug] [-i <value>]
|
|
190
212
|
|
|
191
213
|
FLAGS
|
|
192
|
-
-i, --appIdentifier=<value> The identifier of the app to uninstall. The identifier can be found on the app's page in
|
|
193
|
-
the marketplace.
|
|
214
|
+
-i, --appIdentifier=<value> "The identifier of the app to uninstall. The identifier can be found on the app's page in
|
|
215
|
+
the marketplace."
|
|
216
|
+
-l, --logLevel=<option> The Log Level
|
|
217
|
+
<options: error|warn|info|debug>
|
|
194
218
|
|
|
195
219
|
DESCRIPTION
|
|
196
220
|
Uninstall an app that is currently installed
|
|
@@ -205,11 +229,13 @@ Upgrade an installed app
|
|
|
205
229
|
|
|
206
230
|
```
|
|
207
231
|
USAGE
|
|
208
|
-
$ contrail app upgrade [-i <value>] [-l]
|
|
232
|
+
$ contrail app upgrade [-l error|warn|info|debug] [-i <value>] [-l]
|
|
209
233
|
|
|
210
234
|
FLAGS
|
|
211
235
|
-i, --appIdentifier=<value> The appIdentifier of the app to install
|
|
212
236
|
-l, --latest Upgrade to the latest version of the app
|
|
237
|
+
-l, --logLevel=<option> The Log Level
|
|
238
|
+
<options: error|warn|info|debug>
|
|
213
239
|
|
|
214
240
|
DESCRIPTION
|
|
215
241
|
Upgrade an installed app
|
|
@@ -247,13 +273,28 @@ EXAMPLES
|
|
|
247
273
|
|
|
248
274
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v2.1.4/src/commands/autocomplete/index.ts)_
|
|
249
275
|
|
|
276
|
+
## `contrail basecommand`
|
|
277
|
+
|
|
278
|
+
```
|
|
279
|
+
USAGE
|
|
280
|
+
$ contrail basecommand [-l error|warn|info|debug]
|
|
281
|
+
|
|
282
|
+
FLAGS
|
|
283
|
+
-l, --logLevel=<option> The Log Level
|
|
284
|
+
<options: error|warn|info|debug>
|
|
285
|
+
```
|
|
286
|
+
|
|
250
287
|
## `contrail colors deleteAll`
|
|
251
288
|
|
|
252
289
|
Say hello
|
|
253
290
|
|
|
254
291
|
```
|
|
255
292
|
USAGE
|
|
256
|
-
$ contrail colors deleteAll
|
|
293
|
+
$ contrail colors deleteAll [-l error|warn|info|debug]
|
|
294
|
+
|
|
295
|
+
FLAGS
|
|
296
|
+
-l, --logLevel=<option> The Log Level
|
|
297
|
+
<options: error|warn|info|debug>
|
|
257
298
|
|
|
258
299
|
DESCRIPTION
|
|
259
300
|
Say hello
|
|
@@ -268,7 +309,11 @@ Say hello
|
|
|
268
309
|
|
|
269
310
|
```
|
|
270
311
|
USAGE
|
|
271
|
-
$ contrail colors load
|
|
312
|
+
$ contrail colors load [-l error|warn|info|debug]
|
|
313
|
+
|
|
314
|
+
FLAGS
|
|
315
|
+
-l, --logLevel=<option> The Log Level
|
|
316
|
+
<options: error|warn|info|debug>
|
|
272
317
|
|
|
273
318
|
DESCRIPTION
|
|
274
319
|
Say hello
|
|
@@ -283,7 +328,11 @@ List the configurations
|
|
|
283
328
|
|
|
284
329
|
```
|
|
285
330
|
USAGE
|
|
286
|
-
$ contrail config list
|
|
331
|
+
$ contrail config list [-l error|warn|info|debug]
|
|
332
|
+
|
|
333
|
+
FLAGS
|
|
334
|
+
-l, --logLevel=<option> The Log Level
|
|
335
|
+
<options: error|warn|info|debug>
|
|
287
336
|
|
|
288
337
|
DESCRIPTION
|
|
289
338
|
List the configurations
|
|
@@ -298,13 +347,15 @@ Remove a variable from the configuration
|
|
|
298
347
|
|
|
299
348
|
```
|
|
300
349
|
USAGE
|
|
301
|
-
$ contrail config remove [--orgSlug] [--apiGateway] [--orgId] [--apiUserToken]
|
|
350
|
+
$ contrail config remove [-l error|warn|info|debug] [--orgSlug] [--apiGateway] [--orgId] [--apiUserToken]
|
|
302
351
|
|
|
303
352
|
FLAGS
|
|
304
|
-
--
|
|
305
|
-
|
|
306
|
-
--
|
|
307
|
-
--
|
|
353
|
+
-l, --logLevel=<option> The Log Level
|
|
354
|
+
<options: error|warn|info|debug>
|
|
355
|
+
--apiGateway The API Gateway
|
|
356
|
+
--apiUserToken The API User Token
|
|
357
|
+
--orgId The org Id
|
|
358
|
+
--orgSlug The org slug
|
|
308
359
|
|
|
309
360
|
DESCRIPTION
|
|
310
361
|
Remove a variable from the configuration
|
|
@@ -319,13 +370,16 @@ Set a variable in the configuration
|
|
|
319
370
|
|
|
320
371
|
```
|
|
321
372
|
USAGE
|
|
322
|
-
$ contrail config set [
|
|
373
|
+
$ contrail config set [-l error|warn|info|debug] [--orgSlug <value>] [--apiGateway <value>] [--orgId <value>]
|
|
374
|
+
[--apiUserToken <value>]
|
|
323
375
|
|
|
324
376
|
FLAGS
|
|
325
|
-
--
|
|
326
|
-
|
|
327
|
-
--
|
|
328
|
-
--
|
|
377
|
+
-l, --logLevel=<option> The Log Level
|
|
378
|
+
<options: error|warn|info|debug>
|
|
379
|
+
--apiGateway=<value> The API Gateway
|
|
380
|
+
--apiUserToken=<value> The API User Token
|
|
381
|
+
--orgId=<value> The org Id
|
|
382
|
+
--orgSlug=<value> The org slug
|
|
329
383
|
|
|
330
384
|
DESCRIPTION
|
|
331
385
|
Set a variable in the configuration
|
|
@@ -340,11 +394,13 @@ Export all groups in the org.
|
|
|
340
394
|
|
|
341
395
|
```
|
|
342
396
|
USAGE
|
|
343
|
-
$ contrail groups export [-f <value>] [--overwrite]
|
|
397
|
+
$ contrail groups export [-l error|warn|info|debug] [-f <value>] [--overwrite]
|
|
344
398
|
|
|
345
399
|
FLAGS
|
|
346
|
-
-f, --outFile=<value>
|
|
347
|
-
--
|
|
400
|
+
-f, --outFile=<value> [default: groups.yml] The location for the file to be saved
|
|
401
|
+
-l, --logLevel=<option> The Log Level
|
|
402
|
+
<options: error|warn|info|debug>
|
|
403
|
+
--overwrite Replaces existing files if they exist
|
|
348
404
|
|
|
349
405
|
DESCRIPTION
|
|
350
406
|
Export all groups in the org.
|
|
@@ -359,11 +415,15 @@ Import all groups in the groups.yml file
|
|
|
359
415
|
|
|
360
416
|
```
|
|
361
417
|
USAGE
|
|
362
|
-
$ contrail groups upload GROUPSFILE
|
|
418
|
+
$ contrail groups upload GROUPSFILE [-l error|warn|info|debug]
|
|
363
419
|
|
|
364
420
|
ARGUMENTS
|
|
365
421
|
GROUPSFILE The .yml file containing the groups
|
|
366
422
|
|
|
423
|
+
FLAGS
|
|
424
|
+
-l, --logLevel=<option> The Log Level
|
|
425
|
+
<options: error|warn|info|debug>
|
|
426
|
+
|
|
367
427
|
DESCRIPTION
|
|
368
428
|
Import all groups in the groups.yml file
|
|
369
429
|
|
|
@@ -397,12 +457,14 @@ Exports an data of an instance including types and users
|
|
|
397
457
|
|
|
398
458
|
```
|
|
399
459
|
USAGE
|
|
400
|
-
$ contrail instance export [-d <value>] [-f]
|
|
460
|
+
$ contrail instance export [-l error|warn|info|debug] [-d <value>] [-f]
|
|
401
461
|
|
|
402
462
|
FLAGS
|
|
403
|
-
-d, --outDir=<value>
|
|
404
|
-
|
|
405
|
-
-f, --overwrite
|
|
463
|
+
-d, --outDir=<value> [default: .] The directory to which to export the instance data. Defaults to the current
|
|
464
|
+
directory
|
|
465
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
466
|
+
-l, --logLevel=<option> The Log Level
|
|
467
|
+
<options: error|warn|info|debug>
|
|
406
468
|
|
|
407
469
|
DESCRIPTION
|
|
408
470
|
Exports an data of an instance including types and users
|
|
@@ -417,11 +479,13 @@ Import the data to an instance, including types and users
|
|
|
417
479
|
|
|
418
480
|
```
|
|
419
481
|
USAGE
|
|
420
|
-
$ contrail instance import [-d <value>]
|
|
482
|
+
$ contrail instance import [-l error|warn|info|debug] [-d <value>]
|
|
421
483
|
|
|
422
484
|
FLAGS
|
|
423
|
-
-d, --dir=<value>
|
|
424
|
-
|
|
485
|
+
-d, --dir=<value> [default: .] The directory from which to export the instance data. Defaults to the current
|
|
486
|
+
directory
|
|
487
|
+
-l, --logLevel=<option> The Log Level
|
|
488
|
+
<options: error|warn|info|debug>
|
|
425
489
|
|
|
426
490
|
DESCRIPTION
|
|
427
491
|
Import the data to an instance, including types and users
|
|
@@ -436,11 +500,15 @@ Upload a csv file and kick off a load job for the uploaded file. The config path
|
|
|
436
500
|
|
|
437
501
|
```
|
|
438
502
|
USAGE
|
|
439
|
-
$ contrail loader-process load CONFIGFILENAME
|
|
503
|
+
$ contrail loader-process load CONFIGFILENAME [-l error|warn|info|debug]
|
|
440
504
|
|
|
441
505
|
ARGUMENTS
|
|
442
506
|
CONFIGFILENAME The configuration file location
|
|
443
507
|
|
|
508
|
+
FLAGS
|
|
509
|
+
-l, --logLevel=<option> The Log Level
|
|
510
|
+
<options: error|warn|info|debug>
|
|
511
|
+
|
|
444
512
|
DESCRIPTION
|
|
445
513
|
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
|
|
446
514
|
.yml file.
|
|
@@ -455,12 +523,16 @@ Upload a csv file and kick off a load job for the uploaded file. The file path m
|
|
|
455
523
|
|
|
456
524
|
```
|
|
457
525
|
USAGE
|
|
458
|
-
$ contrail loader-process upload-and-load INCOMINGFILE CONFIGFILENAME
|
|
526
|
+
$ contrail loader-process upload-and-load INCOMINGFILE CONFIGFILENAME [-l error|warn|info|debug]
|
|
459
527
|
|
|
460
528
|
ARGUMENTS
|
|
461
529
|
INCOMINGFILE The incoming file location
|
|
462
530
|
CONFIGFILENAME The configuration file location
|
|
463
531
|
|
|
532
|
+
FLAGS
|
|
533
|
+
-l, --logLevel=<option> The Log Level
|
|
534
|
+
<options: error|warn|info|debug>
|
|
535
|
+
|
|
464
536
|
DESCRIPTION
|
|
465
537
|
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
|
|
466
538
|
the config path must be a reference to a .json or a .yml file
|
|
@@ -708,7 +780,11 @@ Export a project.
|
|
|
708
780
|
|
|
709
781
|
```
|
|
710
782
|
USAGE
|
|
711
|
-
$ contrail projects export PROJECTNAME
|
|
783
|
+
$ contrail projects export PROJECTNAME [-l error|warn|info|debug]
|
|
784
|
+
|
|
785
|
+
FLAGS
|
|
786
|
+
-l, --logLevel=<option> The Log Level
|
|
787
|
+
<options: error|warn|info|debug>
|
|
712
788
|
|
|
713
789
|
DESCRIPTION
|
|
714
790
|
Export a project.
|
|
@@ -723,7 +799,11 @@ Get a list of all projects.
|
|
|
723
799
|
|
|
724
800
|
```
|
|
725
801
|
USAGE
|
|
726
|
-
$ contrail projects list
|
|
802
|
+
$ contrail projects list [-l error|warn|info|debug]
|
|
803
|
+
|
|
804
|
+
FLAGS
|
|
805
|
+
-l, --logLevel=<option> The Log Level
|
|
806
|
+
<options: error|warn|info|debug>
|
|
727
807
|
|
|
728
808
|
DESCRIPTION
|
|
729
809
|
Get a list of all projects.
|
|
@@ -738,11 +818,15 @@ Configure a project from a yml file.
|
|
|
738
818
|
|
|
739
819
|
```
|
|
740
820
|
USAGE
|
|
741
|
-
$ contrail projects load TEMPLATEFILELOCATION
|
|
821
|
+
$ contrail projects load TEMPLATEFILELOCATION [-l error|warn|info|debug]
|
|
742
822
|
|
|
743
823
|
ARGUMENTS
|
|
744
824
|
TEMPLATEFILELOCATION The location to the template file
|
|
745
825
|
|
|
826
|
+
FLAGS
|
|
827
|
+
-l, --logLevel=<option> The Log Level
|
|
828
|
+
<options: error|warn|info|debug>
|
|
829
|
+
|
|
746
830
|
DESCRIPTION
|
|
747
831
|
Configure a project from a yml file.
|
|
748
832
|
|
|
@@ -756,7 +840,11 @@ export OptionSetHierarchies into CSVs.
|
|
|
756
840
|
|
|
757
841
|
```
|
|
758
842
|
USAGE
|
|
759
|
-
$ contrail types exportOptionSetHierarchies
|
|
843
|
+
$ contrail types exportOptionSetHierarchies [-l error|warn|info|debug]
|
|
844
|
+
|
|
845
|
+
FLAGS
|
|
846
|
+
-l, --logLevel=<option> The Log Level
|
|
847
|
+
<options: error|warn|info|debug>
|
|
760
848
|
|
|
761
849
|
DESCRIPTION
|
|
762
850
|
export OptionSetHierarchies into CSVs.
|
|
@@ -771,11 +859,14 @@ Get all Types and associated data for your Org
|
|
|
771
859
|
|
|
772
860
|
```
|
|
773
861
|
USAGE
|
|
774
|
-
$ contrail types getAll [-d <value>] [-f]
|
|
862
|
+
$ contrail types getAll [-l error|warn|info|debug] [-d <value>] [-f]
|
|
775
863
|
|
|
776
864
|
FLAGS
|
|
777
|
-
-d, --outDir=<value>
|
|
778
|
-
|
|
865
|
+
-d, --outDir=<value> [default: .] The directory to which to export the type data. Defaults to the current
|
|
866
|
+
directory
|
|
867
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
868
|
+
-l, --logLevel=<option> The Log Level
|
|
869
|
+
<options: error|warn|info|debug>
|
|
779
870
|
|
|
780
871
|
DESCRIPTION
|
|
781
872
|
Get all Types and associated data for your Org
|
|
@@ -790,10 +881,13 @@ loads all the type data that has been exported by getAll
|
|
|
790
881
|
|
|
791
882
|
```
|
|
792
883
|
USAGE
|
|
793
|
-
$ contrail types loadAll [-d <value>]
|
|
884
|
+
$ contrail types loadAll [-l error|warn|info|debug] [-d <value>]
|
|
794
885
|
|
|
795
886
|
FLAGS
|
|
796
|
-
-d, --dir=<value>
|
|
887
|
+
-d, --dir=<value> [default: .] The directory from which to load the types data. Defaults to the current
|
|
888
|
+
directory.
|
|
889
|
+
-l, --logLevel=<option> The Log Level
|
|
890
|
+
<options: error|warn|info|debug>
|
|
797
891
|
|
|
798
892
|
DESCRIPTION
|
|
799
893
|
loads all the type data that has been exported by getAll
|
|
@@ -808,11 +902,15 @@ Merge the OptionSets from an existing org and the OptionSets passed in. OptionSe
|
|
|
808
902
|
|
|
809
903
|
```
|
|
810
904
|
USAGE
|
|
811
|
-
$ contrail types mergeOptionSets FILE
|
|
905
|
+
$ contrail types mergeOptionSets FILE [-l error|warn|info|debug]
|
|
812
906
|
|
|
813
907
|
ARGUMENTS
|
|
814
908
|
FILE File to merge with the cloud option sets
|
|
815
909
|
|
|
910
|
+
FLAGS
|
|
911
|
+
-l, --logLevel=<option> The Log Level
|
|
912
|
+
<options: error|warn|info|debug>
|
|
913
|
+
|
|
816
914
|
DESCRIPTION
|
|
817
915
|
Merge the OptionSets from an existing org and the OptionSets passed in. OptionSets File must be .yml.
|
|
818
916
|
|
|
@@ -826,12 +924,16 @@ Merge the TypeProperties from an existing org and the TypeProperties passed in.
|
|
|
826
924
|
|
|
827
925
|
```
|
|
828
926
|
USAGE
|
|
829
|
-
$ contrail types mergeTypeProperties FILE TYPEPATHS
|
|
927
|
+
$ contrail types mergeTypeProperties FILE TYPEPATHS [-l error|warn|info|debug]
|
|
830
928
|
|
|
831
929
|
ARGUMENTS
|
|
832
930
|
FILE File to parse
|
|
833
931
|
TYPEPATHS A list of the type paths to merge
|
|
834
932
|
|
|
933
|
+
FLAGS
|
|
934
|
+
-l, --logLevel=<option> The Log Level
|
|
935
|
+
<options: error|warn|info|debug>
|
|
936
|
+
|
|
835
937
|
DESCRIPTION
|
|
836
938
|
Merge the TypeProperties from an existing org and the TypeProperties passed in. Add to Types via TypePath File must be
|
|
837
939
|
.yml
|
|
@@ -846,11 +948,15 @@ Parse CSV file into OptionSetHierarchy
|
|
|
846
948
|
|
|
847
949
|
```
|
|
848
950
|
USAGE
|
|
849
|
-
$ contrail types parseOptionSetsHierarchyLocalFile FILE
|
|
951
|
+
$ contrail types parseOptionSetsHierarchyLocalFile FILE [-l error|warn|info|debug]
|
|
850
952
|
|
|
851
953
|
ARGUMENTS
|
|
852
954
|
FILE File to parse
|
|
853
955
|
|
|
956
|
+
FLAGS
|
|
957
|
+
-l, --logLevel=<option> The Log Level
|
|
958
|
+
<options: error|warn|info|debug>
|
|
959
|
+
|
|
854
960
|
DESCRIPTION
|
|
855
961
|
Parse CSV file into OptionSetHierarchy
|
|
856
962
|
|
|
@@ -858,20 +964,44 @@ EXAMPLES
|
|
|
858
964
|
$ contrail types parseOptionSetsHierarchyLocalFile <File Paths>
|
|
859
965
|
```
|
|
860
966
|
|
|
967
|
+
## `contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE`
|
|
968
|
+
|
|
969
|
+
Parse CSV file into OptionSetHierarchy
|
|
970
|
+
|
|
971
|
+
```
|
|
972
|
+
USAGE
|
|
973
|
+
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE [-l error|warn|info|debug]
|
|
974
|
+
|
|
975
|
+
ARGUMENTS
|
|
976
|
+
FILE File to parse
|
|
977
|
+
|
|
978
|
+
FLAGS
|
|
979
|
+
-l, --logLevel=<option> The Log Level
|
|
980
|
+
<options: error|warn|info|debug>
|
|
981
|
+
|
|
982
|
+
DESCRIPTION
|
|
983
|
+
Parse CSV file into OptionSetHierarchy
|
|
984
|
+
|
|
985
|
+
EXAMPLES
|
|
986
|
+
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile <File Paths>
|
|
987
|
+
```
|
|
988
|
+
|
|
861
989
|
## `contrail types parseOptionSetsLocalFiles FILE`
|
|
862
990
|
|
|
863
991
|
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for name and label, use "NameAndLabel". If the file has one column for each option set with the rows being the label value use "LabelsInColumn"
|
|
864
992
|
|
|
865
993
|
```
|
|
866
994
|
USAGE
|
|
867
|
-
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle NameAndLabel|LabelsInColumn
|
|
995
|
+
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle NameAndLabel|LabelsInColumn [-l error|warn|info|debug]
|
|
868
996
|
|
|
869
997
|
ARGUMENTS
|
|
870
998
|
FILE File to parse
|
|
871
999
|
|
|
872
1000
|
FLAGS
|
|
873
|
-
--
|
|
874
|
-
|
|
1001
|
+
-l, --logLevel=<option> The Log Level
|
|
1002
|
+
<options: error|warn|info|debug>
|
|
1003
|
+
--csvStyle=<option> (required)
|
|
1004
|
+
<options: NameAndLabel|LabelsInColumn>
|
|
875
1005
|
|
|
876
1006
|
DESCRIPTION
|
|
877
1007
|
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for name and
|
|
@@ -888,11 +1018,15 @@ Parse CSV files into OptionSets. Style denotes the format the csv is in. If the
|
|
|
888
1018
|
|
|
889
1019
|
```
|
|
890
1020
|
USAGE
|
|
891
|
-
$ contrail types parseOptionSetsToFolderStructure FILE
|
|
1021
|
+
$ contrail types parseOptionSetsToFolderStructure FILE [-l error|warn|info|debug]
|
|
892
1022
|
|
|
893
1023
|
ARGUMENTS
|
|
894
1024
|
FILE File to parse
|
|
895
1025
|
|
|
1026
|
+
FLAGS
|
|
1027
|
+
-l, --logLevel=<option> The Log Level
|
|
1028
|
+
<options: error|warn|info|debug>
|
|
1029
|
+
|
|
896
1030
|
DESCRIPTION
|
|
897
1031
|
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for name and
|
|
898
1032
|
label, use "NameAndLabel". If the file has one column for each option set with the rows being the label value use
|
|
@@ -908,11 +1042,15 @@ Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
|
908
1042
|
|
|
909
1043
|
```
|
|
910
1044
|
USAGE
|
|
911
|
-
$ contrail types parseTypesFromFiles TYPEPATHS
|
|
1045
|
+
$ contrail types parseTypesFromFiles TYPEPATHS [-l error|warn|info|debug]
|
|
912
1046
|
|
|
913
1047
|
ARGUMENTS
|
|
914
1048
|
TYPEPATHS A list of the VibeIQ file IDs to parse
|
|
915
1049
|
|
|
1050
|
+
FLAGS
|
|
1051
|
+
-l, --logLevel=<option> The Log Level
|
|
1052
|
+
<options: error|warn|info|debug>
|
|
1053
|
+
|
|
916
1054
|
DESCRIPTION
|
|
917
1055
|
Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
918
1056
|
File must be .yml.
|
|
@@ -927,11 +1065,15 @@ Parse CSV files into Types and OptionSets from local files.
|
|
|
927
1065
|
|
|
928
1066
|
```
|
|
929
1067
|
USAGE
|
|
930
|
-
$ contrail types parseTypesFromLocalFiles TYPEPATHS
|
|
1068
|
+
$ contrail types parseTypesFromLocalFiles TYPEPATHS [-l error|warn|info|debug]
|
|
931
1069
|
|
|
932
1070
|
ARGUMENTS
|
|
933
1071
|
TYPEPATHS A list of the files to parse
|
|
934
1072
|
|
|
1073
|
+
FLAGS
|
|
1074
|
+
-l, --logLevel=<option> The Log Level
|
|
1075
|
+
<options: error|warn|info|debug>
|
|
1076
|
+
|
|
935
1077
|
DESCRIPTION
|
|
936
1078
|
Parse CSV files into Types and OptionSets from local files.
|
|
937
1079
|
|
|
@@ -945,12 +1087,16 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
945
1087
|
|
|
946
1088
|
```
|
|
947
1089
|
USAGE
|
|
948
|
-
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS
|
|
1090
|
+
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS [-l error|warn|info|debug]
|
|
949
1091
|
|
|
950
1092
|
ARGUMENTS
|
|
951
1093
|
TEMPLATEFILE The template file to use
|
|
952
1094
|
FILEPATHS A list of data file to use
|
|
953
1095
|
|
|
1096
|
+
FLAGS
|
|
1097
|
+
-l, --logLevel=<option> The Log Level
|
|
1098
|
+
<options: error|warn|info|debug>
|
|
1099
|
+
|
|
954
1100
|
DESCRIPTION
|
|
955
1101
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
956
1102
|
|
|
@@ -964,12 +1110,16 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
964
1110
|
|
|
965
1111
|
```
|
|
966
1112
|
USAGE
|
|
967
|
-
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH
|
|
1113
|
+
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH [-l error|warn|info|debug]
|
|
968
1114
|
|
|
969
1115
|
ARGUMENTS
|
|
970
1116
|
TEMPLATEFILE The template file to use
|
|
971
1117
|
FILEPATH The data file to use
|
|
972
1118
|
|
|
1119
|
+
FLAGS
|
|
1120
|
+
-l, --logLevel=<option> The Log Level
|
|
1121
|
+
<options: error|warn|info|debug>
|
|
1122
|
+
|
|
973
1123
|
DESCRIPTION
|
|
974
1124
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
975
1125
|
|
|
@@ -983,11 +1133,13 @@ Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded fr
|
|
|
983
1133
|
|
|
984
1134
|
```
|
|
985
1135
|
USAGE
|
|
986
|
-
$ contrail types uploadOptionSetHierarchies [-d <value>]
|
|
1136
|
+
$ contrail types uploadOptionSetHierarchies [-l error|warn|info|debug] [-d <value>]
|
|
987
1137
|
|
|
988
1138
|
FLAGS
|
|
989
|
-
-d, --dir=<value>
|
|
990
|
-
|
|
1139
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set hierarchies data. Defaults to
|
|
1140
|
+
the current directory. The option set data will be loaded from $dir/option-set-hierarchies
|
|
1141
|
+
-l, --logLevel=<option> The Log Level
|
|
1142
|
+
<options: error|warn|info|debug>
|
|
991
1143
|
|
|
992
1144
|
DESCRIPTION
|
|
993
1145
|
Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded from .yml files in the
|
|
@@ -1003,11 +1155,13 @@ Upload OptionSets for your Org. OptionSets are loaded from .yml files in the opt
|
|
|
1003
1155
|
|
|
1004
1156
|
```
|
|
1005
1157
|
USAGE
|
|
1006
|
-
$ contrail types uploadOptionSets [-d <value>]
|
|
1158
|
+
$ contrail types uploadOptionSets [-l error|warn|info|debug] [-d <value>]
|
|
1007
1159
|
|
|
1008
1160
|
FLAGS
|
|
1009
|
-
-d, --dir=<value>
|
|
1010
|
-
|
|
1161
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the current
|
|
1162
|
+
directory. The option set data will be loaded from $dir/option-sets
|
|
1163
|
+
-l, --logLevel=<option> The Log Level
|
|
1164
|
+
<options: error|warn|info|debug>
|
|
1011
1165
|
|
|
1012
1166
|
DESCRIPTION
|
|
1013
1167
|
Upload OptionSets for your Org. OptionSets are loaded from .yml files in the option-sets directory.
|
|
@@ -1022,12 +1176,16 @@ upload CSV file into OptionSetHierarchy
|
|
|
1022
1176
|
|
|
1023
1177
|
```
|
|
1024
1178
|
USAGE
|
|
1025
|
-
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME
|
|
1179
|
+
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME [-l error|warn|info|debug]
|
|
1026
1180
|
|
|
1027
1181
|
ARGUMENTS
|
|
1028
1182
|
FILE File to parse
|
|
1029
1183
|
NAME The name to be give to the option set hierarchy
|
|
1030
1184
|
|
|
1185
|
+
FLAGS
|
|
1186
|
+
-l, --logLevel=<option> The Log Level
|
|
1187
|
+
<options: error|warn|info|debug>
|
|
1188
|
+
|
|
1031
1189
|
DESCRIPTION
|
|
1032
1190
|
upload CSV file into OptionSetHierarchy
|
|
1033
1191
|
|
|
@@ -1041,11 +1199,13 @@ Upload an extracted rule set
|
|
|
1041
1199
|
|
|
1042
1200
|
```
|
|
1043
1201
|
USAGE
|
|
1044
|
-
$ contrail types uploadRuleSets [-d <value>]
|
|
1202
|
+
$ contrail types uploadRuleSets [-l error|warn|info|debug] [-d <value>]
|
|
1045
1203
|
|
|
1046
1204
|
FLAGS
|
|
1047
|
-
-d, --dir=<value>
|
|
1048
|
-
|
|
1205
|
+
-d, --dir=<value> [default: .] The directory from which to export the rule set data. Defaults to the current
|
|
1206
|
+
directory. The rule set data will be loaded from $dir/rule-sets/*.yml
|
|
1207
|
+
-l, --logLevel=<option> The Log Level
|
|
1208
|
+
<options: error|warn|info|debug>
|
|
1049
1209
|
|
|
1050
1210
|
DESCRIPTION
|
|
1051
1211
|
Upload an extracted rule set
|
|
@@ -1060,11 +1220,13 @@ Upload type policies
|
|
|
1060
1220
|
|
|
1061
1221
|
```
|
|
1062
1222
|
USAGE
|
|
1063
|
-
$ contrail types uploadTypePolicies [-d <value>]
|
|
1223
|
+
$ contrail types uploadTypePolicies [-l error|warn|info|debug] [-d <value>]
|
|
1064
1224
|
|
|
1065
1225
|
FLAGS
|
|
1066
|
-
-d, --dir=<value>
|
|
1067
|
-
|
|
1226
|
+
-d, --dir=<value> [default: .] The directory from which to export the type policy data. Defaults to the current
|
|
1227
|
+
directory. The type policy data will be loaded from $dir/type-policies/*.yml
|
|
1228
|
+
-l, --logLevel=<option> The Log Level
|
|
1229
|
+
<options: error|warn|info|debug>
|
|
1068
1230
|
|
|
1069
1231
|
DESCRIPTION
|
|
1070
1232
|
Upload type policies
|
|
@@ -1079,12 +1241,14 @@ Upload type property policies
|
|
|
1079
1241
|
|
|
1080
1242
|
```
|
|
1081
1243
|
USAGE
|
|
1082
|
-
$ contrail types uploadTypePropertyPolicies [-d <value>]
|
|
1244
|
+
$ contrail types uploadTypePropertyPolicies [-l error|warn|info|debug] [-d <value>]
|
|
1083
1245
|
|
|
1084
1246
|
FLAGS
|
|
1085
|
-
-d, --dir=<value>
|
|
1086
|
-
|
|
1087
|
-
|
|
1247
|
+
-d, --dir=<value> [default: .] The directory from which to export the type property policy data. Defaults to
|
|
1248
|
+
the current directory. The type property policy data will be loaded from
|
|
1249
|
+
$dir/type-property-policies/*.yml
|
|
1250
|
+
-l, --logLevel=<option> The Log Level
|
|
1251
|
+
<options: error|warn|info|debug>
|
|
1088
1252
|
|
|
1089
1253
|
DESCRIPTION
|
|
1090
1254
|
Upload type property policies
|
|
@@ -1099,11 +1263,13 @@ Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
|
1099
1263
|
|
|
1100
1264
|
```
|
|
1101
1265
|
USAGE
|
|
1102
|
-
$ contrail types uploadTypes [-d <value>]
|
|
1266
|
+
$ contrail types uploadTypes [-l error|warn|info|debug] [-d <value>]
|
|
1103
1267
|
|
|
1104
1268
|
FLAGS
|
|
1105
|
-
-d, --dir=<value>
|
|
1106
|
-
|
|
1269
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the current
|
|
1270
|
+
directory. The option set data will be loaded from $dir/types
|
|
1271
|
+
-l, --logLevel=<option> The Log Level
|
|
1272
|
+
<options: error|warn|info|debug>
|
|
1107
1273
|
|
|
1108
1274
|
DESCRIPTION
|
|
1109
1275
|
Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
@@ -1118,11 +1284,13 @@ Upload extracted usage info
|
|
|
1118
1284
|
|
|
1119
1285
|
```
|
|
1120
1286
|
USAGE
|
|
1121
|
-
$ contrail types uploadUsageInfo [-d <value>]
|
|
1287
|
+
$ contrail types uploadUsageInfo [-l error|warn|info|debug] [-d <value>]
|
|
1122
1288
|
|
|
1123
1289
|
FLAGS
|
|
1124
|
-
-d, --dir=<value>
|
|
1125
|
-
|
|
1290
|
+
-d, --dir=<value> [default: .] The directory from which to export the usage info data. Defaults to the current
|
|
1291
|
+
directory. The option set data will be loaded from $dir/usage-info.yml
|
|
1292
|
+
-l, --logLevel=<option> The Log Level
|
|
1293
|
+
<options: error|warn|info|debug>
|
|
1126
1294
|
|
|
1127
1295
|
DESCRIPTION
|
|
1128
1296
|
Upload extracted usage info
|
|
@@ -1137,11 +1305,13 @@ Export all users in the org.
|
|
|
1137
1305
|
|
|
1138
1306
|
```
|
|
1139
1307
|
USAGE
|
|
1140
|
-
$ contrail users export [-f <value>] [--overwrite]
|
|
1308
|
+
$ contrail users export [-l error|warn|info|debug] [-f <value>] [--overwrite]
|
|
1141
1309
|
|
|
1142
1310
|
FLAGS
|
|
1143
|
-
-f, --outFile=<value>
|
|
1144
|
-
--
|
|
1311
|
+
-f, --outFile=<value> [default: users.yml] The location for the file to be saved
|
|
1312
|
+
-l, --logLevel=<option> The Log Level
|
|
1313
|
+
<options: error|warn|info|debug>
|
|
1314
|
+
--overwrite Replaces existing files if they exist
|
|
1145
1315
|
|
|
1146
1316
|
DESCRIPTION
|
|
1147
1317
|
Export all users in the org.
|
|
@@ -1156,11 +1326,15 @@ Import all users in the users.yml file
|
|
|
1156
1326
|
|
|
1157
1327
|
```
|
|
1158
1328
|
USAGE
|
|
1159
|
-
$ contrail users upload USERSFILE
|
|
1329
|
+
$ contrail users upload USERSFILE [-l error|warn|info|debug]
|
|
1160
1330
|
|
|
1161
1331
|
ARGUMENTS
|
|
1162
1332
|
USERSFILE The .yml file containing the users
|
|
1163
1333
|
|
|
1334
|
+
FLAGS
|
|
1335
|
+
-l, --logLevel=<option> The Log Level
|
|
1336
|
+
<options: error|warn|info|debug>
|
|
1337
|
+
|
|
1164
1338
|
DESCRIPTION
|
|
1165
1339
|
Import all users in the users.yml file
|
|
1166
1340
|
|
|
@@ -1174,10 +1348,12 @@ Create a new webhook
|
|
|
1174
1348
|
|
|
1175
1349
|
```
|
|
1176
1350
|
USAGE
|
|
1177
|
-
$ contrail webhooks create [-j]
|
|
1351
|
+
$ contrail webhooks create [-l error|warn|info|debug] [-j]
|
|
1178
1352
|
|
|
1179
1353
|
FLAGS
|
|
1180
|
-
-j, --json
|
|
1354
|
+
-j, --json output in json format
|
|
1355
|
+
-l, --logLevel=<option> The Log Level
|
|
1356
|
+
<options: error|warn|info|debug>
|
|
1181
1357
|
|
|
1182
1358
|
DESCRIPTION
|
|
1183
1359
|
Create a new webhook
|
|
@@ -1192,13 +1368,15 @@ Delete an existing webhook. To delete a single webhook, pass its ID. To delete m
|
|
|
1192
1368
|
|
|
1193
1369
|
```
|
|
1194
1370
|
USAGE
|
|
1195
|
-
$ contrail webhooks delete [WEBHOOKID] [-j]
|
|
1371
|
+
$ contrail webhooks delete [WEBHOOKID] [-l error|warn|info|debug] [-j]
|
|
1196
1372
|
|
|
1197
1373
|
ARGUMENTS
|
|
1198
1374
|
WEBHOOKID The id of the webhook to delete
|
|
1199
1375
|
|
|
1200
1376
|
FLAGS
|
|
1201
|
-
-j, --json
|
|
1377
|
+
-j, --json output in json format
|
|
1378
|
+
-l, --logLevel=<option> The Log Level
|
|
1379
|
+
<options: error|warn|info|debug>
|
|
1202
1380
|
|
|
1203
1381
|
DESCRIPTION
|
|
1204
1382
|
Delete an existing webhook. To delete a single webhook, pass its ID. To delete multiple webhooks, do not pass a value
|
|
@@ -1216,11 +1394,15 @@ Crafts a webhook trigger that can be used for event workflows. This command does
|
|
|
1216
1394
|
|
|
1217
1395
|
```
|
|
1218
1396
|
USAGE
|
|
1219
|
-
$ contrail webhooks getWebhookTrigger [WEBHOOKID]
|
|
1397
|
+
$ contrail webhooks getWebhookTrigger [WEBHOOKID] [-l error|warn|info|debug]
|
|
1220
1398
|
|
|
1221
1399
|
ARGUMENTS
|
|
1222
1400
|
WEBHOOKID The id of the webhook to delete
|
|
1223
1401
|
|
|
1402
|
+
FLAGS
|
|
1403
|
+
-l, --logLevel=<option> The Log Level
|
|
1404
|
+
<options: error|warn|info|debug>
|
|
1405
|
+
|
|
1224
1406
|
DESCRIPTION
|
|
1225
1407
|
Crafts a webhook trigger that can be used for event workflows. This command does not alter the state of any webhook or
|
|
1226
1408
|
event workflow. It is only a utility for generating a webhook trigger.
|
|
@@ -1235,10 +1417,12 @@ List current webhooks
|
|
|
1235
1417
|
|
|
1236
1418
|
```
|
|
1237
1419
|
USAGE
|
|
1238
|
-
$ contrail webhooks list [-j]
|
|
1420
|
+
$ contrail webhooks list [-l error|warn|info|debug] [-j]
|
|
1239
1421
|
|
|
1240
1422
|
FLAGS
|
|
1241
|
-
-j, --json
|
|
1423
|
+
-j, --json output in json format
|
|
1424
|
+
-l, --logLevel=<option> The Log Level
|
|
1425
|
+
<options: error|warn|info|debug>
|
|
1242
1426
|
|
|
1243
1427
|
DESCRIPTION
|
|
1244
1428
|
List current webhooks
|
|
@@ -1253,7 +1437,11 @@ Install the template definitions of an app to your org
|
|
|
1253
1437
|
|
|
1254
1438
|
```
|
|
1255
1439
|
USAGE
|
|
1256
|
-
$ contrail workflow-template-definitions install
|
|
1440
|
+
$ contrail workflow-template-definitions install [-l error|warn|info|debug]
|
|
1441
|
+
|
|
1442
|
+
FLAGS
|
|
1443
|
+
-l, --logLevel=<option> The Log Level
|
|
1444
|
+
<options: error|warn|info|debug>
|
|
1257
1445
|
|
|
1258
1446
|
DESCRIPTION
|
|
1259
1447
|
Install the template definitions of an app to your org
|
|
@@ -1268,7 +1456,11 @@ Lists the workflow templates in the org
|
|
|
1268
1456
|
|
|
1269
1457
|
```
|
|
1270
1458
|
USAGE
|
|
1271
|
-
$ contrail workflow-template-definitions list
|
|
1459
|
+
$ contrail workflow-template-definitions list [-l error|warn|info|debug]
|
|
1460
|
+
|
|
1461
|
+
FLAGS
|
|
1462
|
+
-l, --logLevel=<option> The Log Level
|
|
1463
|
+
<options: error|warn|info|debug>
|
|
1272
1464
|
|
|
1273
1465
|
DESCRIPTION
|
|
1274
1466
|
Lists the workflow templates in the org
|
|
@@ -1283,7 +1475,11 @@ Delete workflow templates from your org
|
|
|
1283
1475
|
|
|
1284
1476
|
```
|
|
1285
1477
|
USAGE
|
|
1286
|
-
$ contrail workflow-templates delete
|
|
1478
|
+
$ contrail workflow-templates delete [-l error|warn|info|debug]
|
|
1479
|
+
|
|
1480
|
+
FLAGS
|
|
1481
|
+
-l, --logLevel=<option> The Log Level
|
|
1482
|
+
<options: error|warn|info|debug>
|
|
1287
1483
|
|
|
1288
1484
|
DESCRIPTION
|
|
1289
1485
|
Delete workflow templates from your org
|
|
@@ -1298,11 +1494,13 @@ Export all workflows in the org.
|
|
|
1298
1494
|
|
|
1299
1495
|
```
|
|
1300
1496
|
USAGE
|
|
1301
|
-
$ contrail workflow-templates export [-f <value>] [--overwrite]
|
|
1497
|
+
$ contrail workflow-templates export [-l error|warn|info|debug] [-f <value>] [--overwrite]
|
|
1302
1498
|
|
|
1303
1499
|
FLAGS
|
|
1304
|
-
-f, --outFile=<value>
|
|
1305
|
-
--
|
|
1500
|
+
-f, --outFile=<value> [default: workflows.yml] The location for the file to be saved
|
|
1501
|
+
-l, --logLevel=<option> The Log Level
|
|
1502
|
+
<options: error|warn|info|debug>
|
|
1503
|
+
--overwrite Replaces existing files if they exist
|
|
1306
1504
|
|
|
1307
1505
|
DESCRIPTION
|
|
1308
1506
|
Export all workflows in the org.
|
|
@@ -1317,7 +1515,11 @@ Lists the workflow templates in the org
|
|
|
1317
1515
|
|
|
1318
1516
|
```
|
|
1319
1517
|
USAGE
|
|
1320
|
-
$ contrail workflow-templates list
|
|
1518
|
+
$ contrail workflow-templates list [-l error|warn|info|debug]
|
|
1519
|
+
|
|
1520
|
+
FLAGS
|
|
1521
|
+
-l, --logLevel=<option> The Log Level
|
|
1522
|
+
<options: error|warn|info|debug>
|
|
1321
1523
|
|
|
1322
1524
|
DESCRIPTION
|
|
1323
1525
|
Lists the workflow templates in the org
|
|
@@ -1332,11 +1534,15 @@ Loads your workflow from a local file
|
|
|
1332
1534
|
|
|
1333
1535
|
```
|
|
1334
1536
|
USAGE
|
|
1335
|
-
$ contrail workflow-templates load FILELOCATION
|
|
1537
|
+
$ contrail workflow-templates load FILELOCATION [-l error|warn|info|debug]
|
|
1336
1538
|
|
|
1337
1539
|
ARGUMENTS
|
|
1338
1540
|
FILELOCATION The workflow template file to load
|
|
1339
1541
|
|
|
1542
|
+
FLAGS
|
|
1543
|
+
-l, --logLevel=<option> The Log Level
|
|
1544
|
+
<options: error|warn|info|debug>
|
|
1545
|
+
|
|
1340
1546
|
DESCRIPTION
|
|
1341
1547
|
Loads your workflow from a local file
|
|
1342
1548
|
|