@contrail/cli 2.4.0 → 3.0.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 +550 -196
- package/dist/auth/login.d.ts +1 -0
- package/dist/auth/login.js +119 -48
- package/dist/auth/login.spec.d.ts +1 -0
- package/dist/auth/login.spec.js +10 -0
- package/dist/baseFlags.d.ts +10 -0
- package/dist/baseFlags.js +25 -0
- package/dist/basecommand.d.ts +5 -2
- package/dist/basecommand.js +51 -47
- package/dist/commands/app/create.d.ts +2 -2
- package/dist/commands/app/create.js +1 -1
- package/dist/commands/app/delete.d.ts +4 -0
- package/dist/commands/app/delete.js +3 -0
- package/dist/commands/app/getApiKey.d.ts +2 -0
- package/dist/commands/app/getApiKey.js +3 -3
- package/dist/commands/app/init.d.ts +5 -1
- package/dist/commands/app/init.js +6 -3
- package/dist/commands/app/install.d.ts +1 -1
- package/dist/commands/app/install.js +10 -11
- package/dist/commands/app/publish.d.ts +2 -0
- package/dist/commands/app/publish.js +3 -3
- package/dist/commands/app/uninstall.d.ts +2 -0
- package/dist/commands/app/uninstall.js +5 -5
- package/dist/commands/app/upgrade.d.ts +2 -0
- package/dist/commands/app/upgrade.js +8 -8
- package/dist/commands/app/version/major.d.ts +4 -0
- package/dist/commands/app/version/major.js +3 -0
- package/dist/commands/app/version/minor.d.ts +4 -0
- package/dist/commands/app/version/minor.js +3 -0
- package/dist/commands/app/version/patch.d.ts +4 -0
- package/dist/commands/app/version/patch.js +3 -0
- package/dist/commands/config/create.d.ts +12 -0
- package/dist/commands/config/create.js +27 -0
- package/dist/commands/config/describe.d.ts +14 -0
- package/dist/commands/config/describe.js +46 -0
- package/dist/commands/config/list.d.ts +4 -0
- package/dist/commands/config/list.js +5 -1
- package/dist/commands/config/set.d.ts +3 -2
- package/dist/commands/config/set.js +17 -13
- package/dist/commands/config/use.d.ts +14 -0
- package/dist/commands/config/use.js +47 -0
- package/dist/commands/file/upload.d.ts +15 -0
- package/dist/commands/file/upload.js +69 -0
- package/dist/commands/groups/export.d.ts +2 -0
- package/dist/commands/groups/export.js +2 -2
- package/dist/commands/groups/{upload.d.ts → import.d.ts} +4 -0
- package/dist/commands/groups/{upload.js → import.js} +60 -23
- package/dist/commands/instance/export.d.ts +2 -0
- package/dist/commands/instance/export.js +4 -4
- package/dist/commands/instance/import.d.ts +2 -0
- package/dist/commands/instance/import.js +8 -8
- package/dist/commands/load/colors.d.ts +14 -0
- package/dist/commands/load/colors.js +53 -0
- package/dist/commands/load/custom-entity.d.ts +14 -0
- package/dist/commands/load/custom-entity.js +55 -0
- package/dist/commands/load/line-sheet.d.ts +14 -0
- package/dist/commands/load/line-sheet.js +55 -0
- package/dist/commands/{loader-process → load}/upload-and-load.d.ts +4 -0
- package/dist/commands/{loader-process → load}/upload-and-load.js +6 -4
- package/dist/commands/projects/export.d.ts +4 -1
- package/dist/commands/projects/export.js +4 -3
- package/dist/commands/projects/list.d.ts +4 -0
- package/dist/commands/projects/list.js +3 -0
- package/dist/commands/projects/load.d.ts +4 -0
- package/dist/commands/projects/load.js +5 -3
- package/dist/commands/types/exportOptionSetHierarchies.d.ts +4 -0
- package/dist/commands/types/exportOptionSetHierarchies.js +3 -0
- package/dist/commands/types/getAll.d.ts +9 -27
- package/dist/commands/types/getAll.js +6 -313
- package/dist/commands/types/getOptionSets.d.ts +16 -0
- package/dist/commands/types/getOptionSets.js +171 -0
- package/dist/commands/types/loadAll.d.ts +2 -0
- package/dist/commands/types/loadAll.js +2 -2
- package/dist/commands/types/mergeOptionSets.d.ts +4 -0
- package/dist/commands/types/mergeOptionSets.js +5 -3
- package/dist/commands/types/mergeTypeProperties.d.ts +4 -0
- package/dist/commands/types/mergeTypeProperties.js +11 -9
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +4 -0
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +4 -2
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +4 -0
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +4 -2
- package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +2 -0
- package/dist/commands/types/parseOptionSetsLocalFiles.js +4 -4
- package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +4 -0
- package/dist/commands/types/parseOptionSetsToFolderStructure.js +6 -4
- package/dist/commands/types/parseTypesFromFiles.d.ts +4 -0
- package/dist/commands/types/parseTypesFromFiles.js +4 -2
- package/dist/commands/types/parseTypesFromLocalFiles.d.ts +4 -0
- package/dist/commands/types/parseTypesFromLocalFiles.js +4 -2
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +4 -0
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +5 -3
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +4 -0
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +5 -3
- package/dist/commands/types/uploadOptionSetHierarchies.d.ts +2 -0
- package/dist/commands/types/uploadOptionSetHierarchies.js +2 -2
- package/dist/commands/types/uploadOptionSets.d.ts +2 -0
- package/dist/commands/types/uploadOptionSets.js +2 -2
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +4 -0
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +4 -2
- package/dist/commands/types/uploadRuleSets.d.ts +2 -0
- package/dist/commands/types/uploadRuleSets.js +2 -2
- package/dist/commands/types/uploadTypePolicies.d.ts +2 -0
- package/dist/commands/types/uploadTypePolicies.js +2 -2
- package/dist/commands/types/uploadTypePropertyPolicies.d.ts +2 -0
- package/dist/commands/types/uploadTypePropertyPolicies.js +2 -2
- package/dist/commands/types/uploadTypes.d.ts +2 -0
- package/dist/commands/types/uploadTypes.js +2 -2
- package/dist/commands/types/uploadUsageInfo.d.ts +2 -0
- package/dist/commands/types/uploadUsageInfo.js +2 -2
- package/dist/commands/users/export.d.ts +2 -0
- package/dist/commands/users/export.js +2 -2
- package/dist/commands/users/{upload.d.ts → import.d.ts} +4 -0
- package/dist/commands/users/{upload.js → import.js} +4 -2
- package/dist/commands/webhooks/create.d.ts +2 -0
- package/dist/commands/webhooks/create.js +2 -2
- package/dist/commands/webhooks/delete.d.ts +2 -0
- package/dist/commands/webhooks/delete.js +5 -5
- package/dist/commands/webhooks/getWebhookTrigger.d.ts +4 -0
- package/dist/commands/webhooks/getWebhookTrigger.js +6 -4
- package/dist/commands/webhooks/list.d.ts +2 -0
- package/dist/commands/webhooks/list.js +2 -2
- package/dist/commands/workflow-template-definitions/install.d.ts +4 -0
- package/dist/commands/workflow-template-definitions/install.js +3 -0
- package/dist/commands/workflow-template-definitions/list.d.ts +4 -0
- package/dist/commands/workflow-template-definitions/list.js +3 -0
- package/dist/commands/workflow-templates/delete.d.ts +4 -0
- package/dist/commands/workflow-templates/delete.js +3 -0
- package/dist/commands/workflow-templates/export.d.ts +2 -0
- package/dist/commands/workflow-templates/export.js +4 -2
- package/dist/commands/workflow-templates/list.d.ts +4 -0
- package/dist/commands/workflow-templates/list.js +3 -0
- package/dist/commands/workflow-templates/load.d.ts +4 -0
- package/dist/commands/workflow-templates/load.js +4 -2
- package/dist/helpers/app/app-template-parsers.d.ts +1 -1
- package/dist/helpers/app/app-template-parsers.js +3 -4
- package/dist/helpers/config/config.d.ts +12 -2
- package/dist/helpers/config/config.js +158 -16
- package/dist/helpers/file-helpers.d.ts +1 -0
- package/dist/helpers/file-helpers.js +11 -1
- package/dist/helpers/load/helpers.d.ts +20 -0
- package/dist/helpers/load/helpers.js +141 -0
- package/dist/helpers/load/helpers.spec.d.ts +1 -0
- package/dist/helpers/load/helpers.spec.js +62 -0
- package/dist/helpers/load/validators.d.ts +14 -0
- package/dist/helpers/load/validators.js +182 -0
- package/dist/helpers/load/validators.spec.d.ts +1 -0
- package/dist/helpers/load/validators.spec.js +450 -0
- package/dist/helpers/types/type-uploader.js +11 -3
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.js +1 -1
- package/dist/helpers/workflow-templates/helper.js +0 -4
- package/dist/interfaces.d.ts +1 -0
- package/dist/templates/typescript/app.yml +17 -19
- package/dist/templates/typescript/package.json +14 -0
- package/dist/templates/typescript/src/actions/logItem.ts +1 -2
- package/oclif.manifest.json +1955 -250
- package/package.json +4 -2
- package/dist/commands/colors/deleteAll.d.ts +0 -6
- package/dist/commands/colors/deleteAll.js +0 -31
- package/dist/commands/colors/load.d.ts +0 -6
- package/dist/commands/colors/load.js +0 -30
- package/dist/commands/config/environments/list.d.ts +0 -7
- package/dist/commands/config/environments/list.js +0 -19
- package/dist/commands/config/environments/remove.d.ts +0 -12
- package/dist/commands/config/environments/remove.js +0 -36
- package/dist/commands/config/environments/set.d.ts +0 -12
- package/dist/commands/config/environments/set.js +0 -29
- package/dist/commands/config/remove.d.ts +0 -15
- package/dist/commands/config/remove.js +0 -28
- package/dist/commands/loader-process/load.d.ts +0 -9
- package/dist/commands/loader-process/load.js +0 -39
- package/dist/helpers/loader-process/helpers.d.ts +0 -2
- package/dist/helpers/loader-process/helpers.js +0 -99
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/
|
|
20
|
+
@contrail/cli/3.0.1 darwin-x64 node-v18.15.0
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -44,21 +44,21 @@ To get instructions on how to set up autocomplete for your shell, run `contrail
|
|
|
44
44
|
* [`contrail app version minor`](#contrail-app-version-minor)
|
|
45
45
|
* [`contrail app version patch`](#contrail-app-version-patch)
|
|
46
46
|
* [`contrail autocomplete [SHELL]`](#contrail-autocomplete-shell)
|
|
47
|
-
* [`contrail
|
|
48
|
-
* [`contrail
|
|
49
|
-
* [`contrail config environments list`](#contrail-config-environments-list)
|
|
50
|
-
* [`contrail config environments remove`](#contrail-config-environments-remove)
|
|
51
|
-
* [`contrail config environments set`](#contrail-config-environments-set)
|
|
47
|
+
* [`contrail config create`](#contrail-config-create)
|
|
48
|
+
* [`contrail config describe [NAME]`](#contrail-config-describe-name)
|
|
52
49
|
* [`contrail config list`](#contrail-config-list)
|
|
53
|
-
* [`contrail config remove`](#contrail-config-remove)
|
|
54
50
|
* [`contrail config set`](#contrail-config-set)
|
|
51
|
+
* [`contrail config use [NAME]`](#contrail-config-use-name)
|
|
52
|
+
* [`contrail file upload FILELOCATION CONTENTTYPE`](#contrail-file-upload-filelocation-contenttype)
|
|
55
53
|
* [`contrail groups export`](#contrail-groups-export)
|
|
56
|
-
* [`contrail groups
|
|
54
|
+
* [`contrail groups import GROUPSFILE`](#contrail-groups-import-groupsfile)
|
|
57
55
|
* [`contrail help [COMMANDS]`](#contrail-help-commands)
|
|
58
56
|
* [`contrail instance export`](#contrail-instance-export)
|
|
59
57
|
* [`contrail instance import`](#contrail-instance-import)
|
|
60
|
-
* [`contrail
|
|
61
|
-
* [`contrail
|
|
58
|
+
* [`contrail load colors DATAFILE CONFIGFILE`](#contrail-load-colors-datafile-configfile)
|
|
59
|
+
* [`contrail load custom-entity DATAFILE CONFIGFILE`](#contrail-load-custom-entity-datafile-configfile)
|
|
60
|
+
* [`contrail load line-sheet DATAFILE CONFIGFILE`](#contrail-load-line-sheet-datafile-configfile)
|
|
61
|
+
* [`contrail load upload-and-load INCOMINGFILE CONFIGFILENAME`](#contrail-load-upload-and-load-incomingfile-configfilename)
|
|
62
62
|
* [`contrail plugins`](#contrail-plugins)
|
|
63
63
|
* [`contrail plugins:install PLUGIN...`](#contrail-pluginsinstall-plugin)
|
|
64
64
|
* [`contrail plugins:inspect PLUGIN...`](#contrail-pluginsinspect-plugin)
|
|
@@ -73,6 +73,7 @@ To get instructions on how to set up autocomplete for your shell, run `contrail
|
|
|
73
73
|
* [`contrail projects load TEMPLATEFILELOCATION`](#contrail-projects-load-templatefilelocation)
|
|
74
74
|
* [`contrail types exportOptionSetHierarchies`](#contrail-types-exportoptionsethierarchies)
|
|
75
75
|
* [`contrail types getAll`](#contrail-types-getall)
|
|
76
|
+
* [`contrail types getOptionSets`](#contrail-types-getoptionsets)
|
|
76
77
|
* [`contrail types loadAll`](#contrail-types-loadall)
|
|
77
78
|
* [`contrail types mergeOptionSets FILE`](#contrail-types-mergeoptionsets-file)
|
|
78
79
|
* [`contrail types mergeTypeProperties FILE TYPEPATHS`](#contrail-types-mergetypeproperties-file-typepaths)
|
|
@@ -93,7 +94,7 @@ To get instructions on how to set up autocomplete for your shell, run `contrail
|
|
|
93
94
|
* [`contrail types uploadTypes`](#contrail-types-uploadtypes)
|
|
94
95
|
* [`contrail types uploadUsageInfo`](#contrail-types-uploadusageinfo)
|
|
95
96
|
* [`contrail users export`](#contrail-users-export)
|
|
96
|
-
* [`contrail users
|
|
97
|
+
* [`contrail users import USERSFILE`](#contrail-users-import-usersfile)
|
|
97
98
|
* [`contrail webhooks create`](#contrail-webhooks-create)
|
|
98
99
|
* [`contrail webhooks delete [WEBHOOKID]`](#contrail-webhooks-delete-webhookid)
|
|
99
100
|
* [`contrail webhooks getWebhookTrigger [WEBHOOKID]`](#contrail-webhooks-getwebhooktrigger-webhookid)
|
|
@@ -111,7 +112,13 @@ Create an app from a template
|
|
|
111
112
|
|
|
112
113
|
```
|
|
113
114
|
USAGE
|
|
114
|
-
$ contrail app create
|
|
115
|
+
$ contrail app create [-l error|warn|info|debug] [-e true|false]
|
|
116
|
+
|
|
117
|
+
FLAGS
|
|
118
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
119
|
+
<options: true|false>
|
|
120
|
+
-l, --logLevel=<option> The Log Level
|
|
121
|
+
<options: error|warn|info|debug>
|
|
115
122
|
|
|
116
123
|
DESCRIPTION
|
|
117
124
|
Create an app from a template
|
|
@@ -126,7 +133,13 @@ Delete the app from the app marketplace
|
|
|
126
133
|
|
|
127
134
|
```
|
|
128
135
|
USAGE
|
|
129
|
-
$ contrail app delete
|
|
136
|
+
$ contrail app delete [-l error|warn|info|debug] [-e true|false]
|
|
137
|
+
|
|
138
|
+
FLAGS
|
|
139
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
140
|
+
<options: true|false>
|
|
141
|
+
-l, --logLevel=<option> The Log Level
|
|
142
|
+
<options: error|warn|info|debug>
|
|
130
143
|
|
|
131
144
|
DESCRIPTION
|
|
132
145
|
Delete the app from the app marketplace
|
|
@@ -141,10 +154,14 @@ Get an api key for an app
|
|
|
141
154
|
|
|
142
155
|
```
|
|
143
156
|
USAGE
|
|
144
|
-
$ contrail app getApiKey [-a <value>]
|
|
157
|
+
$ contrail app getApiKey [-l error|warn|info|debug] [-e true|false] [-a <value>]
|
|
145
158
|
|
|
146
159
|
FLAGS
|
|
147
|
-
-a, --appIdentifier=<value>
|
|
160
|
+
-a, --appIdentifier=<value> The app identifier
|
|
161
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
162
|
+
<options: true|false>
|
|
163
|
+
-l, --logLevel=<option> The Log Level
|
|
164
|
+
<options: error|warn|info|debug>
|
|
148
165
|
|
|
149
166
|
DESCRIPTION
|
|
150
167
|
Get an api key for an app
|
|
@@ -155,14 +172,20 @@ EXAMPLES
|
|
|
155
172
|
|
|
156
173
|
## `contrail app init`
|
|
157
174
|
|
|
158
|
-
|
|
175
|
+
Initialize an app directory from a template
|
|
159
176
|
|
|
160
177
|
```
|
|
161
178
|
USAGE
|
|
162
|
-
$ contrail app init
|
|
179
|
+
$ contrail app init [-l error|warn|info|debug] [-e true|false]
|
|
180
|
+
|
|
181
|
+
FLAGS
|
|
182
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
183
|
+
<options: true|false>
|
|
184
|
+
-l, --logLevel=<option> The Log Level
|
|
185
|
+
<options: error|warn|info|debug>
|
|
163
186
|
|
|
164
187
|
DESCRIPTION
|
|
165
|
-
|
|
188
|
+
Initialize an app directory from a template
|
|
166
189
|
|
|
167
190
|
EXAMPLES
|
|
168
191
|
$ contrail app init
|
|
@@ -174,14 +197,15 @@ Install an app from the marketplace
|
|
|
174
197
|
|
|
175
198
|
```
|
|
176
199
|
USAGE
|
|
177
|
-
$ contrail app install [-l error|warn|info|debug] [-e] [-i <value>] [-w]
|
|
200
|
+
$ contrail app install [-l error|warn|info|debug] [-e true|false] [-i <value>] [-w]
|
|
178
201
|
|
|
179
202
|
FLAGS
|
|
180
|
-
-e, --alwaysConfirmEnv
|
|
181
|
-
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
203
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
204
|
+
<options: true|false>
|
|
205
|
+
-i, --appIdentifier=<value> The identifier of the app to install
|
|
206
|
+
-l, --logLevel=<option> The Log Level
|
|
207
|
+
<options: error|warn|info|debug>
|
|
208
|
+
-w, --installWorkflowTemplates "Install the app's accompanying workflows"
|
|
185
209
|
|
|
186
210
|
DESCRIPTION
|
|
187
211
|
Install an app from the marketplace
|
|
@@ -196,12 +220,17 @@ Publish the app
|
|
|
196
220
|
|
|
197
221
|
```
|
|
198
222
|
USAGE
|
|
199
|
-
$ contrail app publish [-u] [-v] [-d]
|
|
223
|
+
$ contrail app publish [-l error|warn|info|debug] [-e true|false] [-u] [-v] [-d]
|
|
200
224
|
|
|
201
225
|
FLAGS
|
|
202
|
-
-d, --dryRun
|
|
203
|
-
-
|
|
204
|
-
|
|
226
|
+
-d, --dryRun Dry run the upgrade without actually updating the app.
|
|
227
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
228
|
+
<options: true|false>
|
|
229
|
+
-l, --logLevel=<option> The Log Level
|
|
230
|
+
<options: error|warn|info|debug>
|
|
231
|
+
-u, --upgrade In addition to deploying, upgrade the installed version of the app in this org to the
|
|
232
|
+
latest one.
|
|
233
|
+
-v, --verbose Debug the app deployment step and do not remove the intermediate build artifacts.
|
|
205
234
|
|
|
206
235
|
DESCRIPTION
|
|
207
236
|
Publish the app
|
|
@@ -216,11 +245,15 @@ Uninstall an app that is currently installed
|
|
|
216
245
|
|
|
217
246
|
```
|
|
218
247
|
USAGE
|
|
219
|
-
$ contrail app uninstall [-i <value>]
|
|
248
|
+
$ contrail app uninstall [-l error|warn|info|debug] [-e true|false] [-i <value>]
|
|
220
249
|
|
|
221
250
|
FLAGS
|
|
222
|
-
-
|
|
223
|
-
|
|
251
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
252
|
+
<options: true|false>
|
|
253
|
+
-i, --appIdentifier=<value> "The identifier of the app to uninstall. The identifier can be found on the app's
|
|
254
|
+
page in the marketplace."
|
|
255
|
+
-l, --logLevel=<option> The Log Level
|
|
256
|
+
<options: error|warn|info|debug>
|
|
224
257
|
|
|
225
258
|
DESCRIPTION
|
|
226
259
|
Uninstall an app that is currently installed
|
|
@@ -235,11 +268,15 @@ Upgrade an installed app
|
|
|
235
268
|
|
|
236
269
|
```
|
|
237
270
|
USAGE
|
|
238
|
-
$ contrail app upgrade [-i <value>] [-l]
|
|
271
|
+
$ contrail app upgrade [-l error|warn|info|debug] [-e true|false] [-i <value>] [-l]
|
|
239
272
|
|
|
240
273
|
FLAGS
|
|
241
|
-
-
|
|
242
|
-
|
|
274
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
275
|
+
<options: true|false>
|
|
276
|
+
-i, --appIdentifier=<value> The appIdentifier of the app to install
|
|
277
|
+
-l, --latest Upgrade to the latest version of the app
|
|
278
|
+
-l, --logLevel=<option> The Log Level
|
|
279
|
+
<options: error|warn|info|debug>
|
|
243
280
|
|
|
244
281
|
DESCRIPTION
|
|
245
282
|
Upgrade an installed app
|
|
@@ -254,7 +291,13 @@ Upgrade the Major app version
|
|
|
254
291
|
|
|
255
292
|
```
|
|
256
293
|
USAGE
|
|
257
|
-
$ contrail app version major
|
|
294
|
+
$ contrail app version major [-l error|warn|info|debug] [-e true|false]
|
|
295
|
+
|
|
296
|
+
FLAGS
|
|
297
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
298
|
+
<options: true|false>
|
|
299
|
+
-l, --logLevel=<option> The Log Level
|
|
300
|
+
<options: error|warn|info|debug>
|
|
258
301
|
|
|
259
302
|
DESCRIPTION
|
|
260
303
|
Upgrade the Major app version
|
|
@@ -269,7 +312,13 @@ Upgrade the Minor app version
|
|
|
269
312
|
|
|
270
313
|
```
|
|
271
314
|
USAGE
|
|
272
|
-
$ contrail app version minor
|
|
315
|
+
$ contrail app version minor [-l error|warn|info|debug] [-e true|false]
|
|
316
|
+
|
|
317
|
+
FLAGS
|
|
318
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
319
|
+
<options: true|false>
|
|
320
|
+
-l, --logLevel=<option> The Log Level
|
|
321
|
+
<options: error|warn|info|debug>
|
|
273
322
|
|
|
274
323
|
DESCRIPTION
|
|
275
324
|
Upgrade the Minor app version
|
|
@@ -284,7 +333,13 @@ Upgrade the Patch app version
|
|
|
284
333
|
|
|
285
334
|
```
|
|
286
335
|
USAGE
|
|
287
|
-
$ contrail app version patch
|
|
336
|
+
$ contrail app version patch [-l error|warn|info|debug] [-e true|false]
|
|
337
|
+
|
|
338
|
+
FLAGS
|
|
339
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
340
|
+
<options: true|false>
|
|
341
|
+
-l, --logLevel=<option> The Log Level
|
|
342
|
+
<options: error|warn|info|debug>
|
|
288
343
|
|
|
289
344
|
DESCRIPTION
|
|
290
345
|
Upgrade the Patch app version
|
|
@@ -322,146 +377,147 @@ EXAMPLES
|
|
|
322
377
|
|
|
323
378
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v2.1.4/src/commands/autocomplete/index.ts)_
|
|
324
379
|
|
|
325
|
-
## `contrail
|
|
380
|
+
## `contrail config create`
|
|
326
381
|
|
|
327
|
-
|
|
382
|
+
Create a new configuration file
|
|
328
383
|
|
|
329
384
|
```
|
|
330
385
|
USAGE
|
|
331
|
-
$ contrail
|
|
386
|
+
$ contrail config create --name <value> [-l error|warn|info|debug] [-e true|false]
|
|
387
|
+
|
|
388
|
+
FLAGS
|
|
389
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
390
|
+
<options: true|false>
|
|
391
|
+
-l, --logLevel=<option> The Log Level
|
|
392
|
+
<options: error|warn|info|debug>
|
|
393
|
+
--name=<value> (required) The config name
|
|
332
394
|
|
|
333
395
|
DESCRIPTION
|
|
334
|
-
|
|
396
|
+
Create a new configuration file
|
|
335
397
|
|
|
336
398
|
EXAMPLES
|
|
337
|
-
$ contrail
|
|
399
|
+
$ contrail config create --name demo-org
|
|
338
400
|
```
|
|
339
401
|
|
|
340
|
-
## `contrail
|
|
402
|
+
## `contrail config describe [NAME]`
|
|
341
403
|
|
|
342
|
-
|
|
404
|
+
Describe a configuration file
|
|
343
405
|
|
|
344
406
|
```
|
|
345
407
|
USAGE
|
|
346
|
-
$ contrail
|
|
347
|
-
|
|
348
|
-
DESCRIPTION
|
|
349
|
-
Say hello
|
|
350
|
-
|
|
351
|
-
EXAMPLES
|
|
352
|
-
$ contrail colors load
|
|
353
|
-
```
|
|
354
|
-
|
|
355
|
-
## `contrail config environments list`
|
|
408
|
+
$ contrail config describe [NAME] [-l error|warn|info|debug] [-e true|false]
|
|
356
409
|
|
|
357
|
-
|
|
410
|
+
ARGUMENTS
|
|
411
|
+
NAME The config name
|
|
358
412
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
413
|
+
FLAGS
|
|
414
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
415
|
+
<options: true|false>
|
|
416
|
+
-l, --logLevel=<option> The Log Level
|
|
417
|
+
<options: error|warn|info|debug>
|
|
362
418
|
|
|
363
419
|
DESCRIPTION
|
|
364
|
-
|
|
420
|
+
Describe a configuration file
|
|
365
421
|
|
|
366
422
|
EXAMPLES
|
|
367
|
-
$ contrail config
|
|
423
|
+
$ contrail config describe demo-org
|
|
368
424
|
```
|
|
369
425
|
|
|
370
|
-
## `contrail config
|
|
426
|
+
## `contrail config list`
|
|
371
427
|
|
|
372
|
-
|
|
428
|
+
List the configurations
|
|
373
429
|
|
|
374
430
|
```
|
|
375
431
|
USAGE
|
|
376
|
-
$ contrail config
|
|
432
|
+
$ contrail config list [-l error|warn|info|debug] [-e true|false]
|
|
377
433
|
|
|
378
434
|
FLAGS
|
|
379
|
-
--
|
|
435
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
436
|
+
<options: true|false>
|
|
437
|
+
-l, --logLevel=<option> The Log Level
|
|
438
|
+
<options: error|warn|info|debug>
|
|
380
439
|
|
|
381
440
|
DESCRIPTION
|
|
382
|
-
|
|
441
|
+
List the configurations
|
|
383
442
|
|
|
384
443
|
EXAMPLES
|
|
385
|
-
$ contrail config
|
|
444
|
+
$ contrail config list
|
|
386
445
|
```
|
|
387
446
|
|
|
388
|
-
## `contrail config
|
|
447
|
+
## `contrail config set`
|
|
389
448
|
|
|
390
|
-
Set a
|
|
449
|
+
Set a variable in the configuration
|
|
391
450
|
|
|
392
451
|
```
|
|
393
452
|
USAGE
|
|
394
|
-
$ contrail config
|
|
453
|
+
$ contrail config set [-l error|warn|info|debug] [-e true|false] [--orgSlug <value>] [--environment
|
|
454
|
+
dev|development|prod|production] [--apiUserToken <value>] [--config <value>]
|
|
395
455
|
|
|
396
456
|
FLAGS
|
|
397
|
-
--
|
|
398
|
-
|
|
457
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
458
|
+
<options: true|false>
|
|
459
|
+
-l, --logLevel=<option> The Log Level
|
|
460
|
+
<options: error|warn|info|debug>
|
|
461
|
+
--apiUserToken=<value> The API User Token
|
|
462
|
+
--config=<value> The config name
|
|
463
|
+
--environment=<option> The Environment
|
|
464
|
+
<options: dev|development|prod|production>
|
|
465
|
+
--orgSlug=<value> The org slug
|
|
399
466
|
|
|
400
467
|
DESCRIPTION
|
|
401
|
-
Set a
|
|
468
|
+
Set a variable in the configuration
|
|
402
469
|
|
|
403
470
|
EXAMPLES
|
|
404
|
-
$ contrail config
|
|
471
|
+
$ contrail config set --orgId 1234
|
|
405
472
|
```
|
|
406
473
|
|
|
407
|
-
## `contrail config
|
|
474
|
+
## `contrail config use [NAME]`
|
|
408
475
|
|
|
409
|
-
|
|
476
|
+
Use a specific configuration
|
|
410
477
|
|
|
411
478
|
```
|
|
412
479
|
USAGE
|
|
413
|
-
$ contrail config
|
|
414
|
-
|
|
415
|
-
DESCRIPTION
|
|
416
|
-
List the configurations
|
|
417
|
-
|
|
418
|
-
EXAMPLES
|
|
419
|
-
$ contrail config list
|
|
420
|
-
```
|
|
421
|
-
|
|
422
|
-
## `contrail config remove`
|
|
423
|
-
|
|
424
|
-
Remove a variable from the configuration
|
|
480
|
+
$ contrail config use [NAME] [-l error|warn|info|debug] [-e true|false]
|
|
425
481
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
$ contrail config remove [--orgSlug] [--apiGateway] [--orgId] [--apiUserToken]
|
|
482
|
+
ARGUMENTS
|
|
483
|
+
NAME The config name
|
|
429
484
|
|
|
430
485
|
FLAGS
|
|
431
|
-
--
|
|
432
|
-
|
|
433
|
-
--
|
|
434
|
-
|
|
486
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
487
|
+
<options: true|false>
|
|
488
|
+
-l, --logLevel=<option> The Log Level
|
|
489
|
+
<options: error|warn|info|debug>
|
|
435
490
|
|
|
436
491
|
DESCRIPTION
|
|
437
|
-
|
|
492
|
+
Use a specific configuration
|
|
438
493
|
|
|
439
494
|
EXAMPLES
|
|
440
|
-
$ contrail config
|
|
495
|
+
$ contrail config use demo-org
|
|
441
496
|
```
|
|
442
497
|
|
|
443
|
-
## `contrail
|
|
498
|
+
## `contrail file upload FILELOCATION CONTENTTYPE`
|
|
444
499
|
|
|
445
|
-
|
|
500
|
+
Uploads a file to the VibeIQ platform
|
|
446
501
|
|
|
447
502
|
```
|
|
448
503
|
USAGE
|
|
449
|
-
$ contrail
|
|
450
|
-
|
|
504
|
+
$ contrail file upload FILELOCATION CONTENTTYPE [-l error|warn|info|debug] [-e true|false]
|
|
505
|
+
|
|
506
|
+
ARGUMENTS
|
|
507
|
+
FILELOCATION The location of the file on upload
|
|
508
|
+
CONTENTTYPE [default: application/text] The Content Type of the file being uploaded. Defaults to application/text
|
|
451
509
|
|
|
452
510
|
FLAGS
|
|
453
|
-
-
|
|
454
|
-
|
|
455
|
-
--
|
|
456
|
-
|
|
457
|
-
--orgId=<value> The org Id
|
|
458
|
-
--orgSlug=<value> The org slug
|
|
511
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
512
|
+
<options: true|false>
|
|
513
|
+
-l, --logLevel=<option> The Log Level
|
|
514
|
+
<options: error|warn|info|debug>
|
|
459
515
|
|
|
460
516
|
DESCRIPTION
|
|
461
|
-
|
|
517
|
+
Uploads a file to the VibeIQ platform
|
|
462
518
|
|
|
463
519
|
EXAMPLES
|
|
464
|
-
$ contrail
|
|
520
|
+
$ contrail file upload <FILE_LOCATION>
|
|
465
521
|
```
|
|
466
522
|
|
|
467
523
|
## `contrail groups export`
|
|
@@ -470,11 +526,15 @@ Export all groups in the org.
|
|
|
470
526
|
|
|
471
527
|
```
|
|
472
528
|
USAGE
|
|
473
|
-
$ contrail groups export [-f <value>] [--overwrite]
|
|
529
|
+
$ contrail groups export [-l error|warn|info|debug] [-e true|false] [-f <value>] [--overwrite]
|
|
474
530
|
|
|
475
531
|
FLAGS
|
|
476
|
-
-
|
|
477
|
-
|
|
532
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
533
|
+
<options: true|false>
|
|
534
|
+
-f, --outFile=<value> [default: groups.yml] The location for the file to be saved
|
|
535
|
+
-l, --logLevel=<option> The Log Level
|
|
536
|
+
<options: error|warn|info|debug>
|
|
537
|
+
--overwrite Replaces existing files if they exist
|
|
478
538
|
|
|
479
539
|
DESCRIPTION
|
|
480
540
|
Export all groups in the org.
|
|
@@ -483,22 +543,30 @@ EXAMPLES
|
|
|
483
543
|
$ contrail groups export
|
|
484
544
|
```
|
|
485
545
|
|
|
486
|
-
## `contrail groups
|
|
546
|
+
## `contrail groups import GROUPSFILE`
|
|
487
547
|
|
|
488
|
-
Import all groups
|
|
548
|
+
Import all groups from a yml. Uses the groups.yml file in the current directory.
|
|
489
549
|
|
|
490
550
|
```
|
|
491
551
|
USAGE
|
|
492
|
-
$ contrail groups
|
|
552
|
+
$ contrail groups import GROUPSFILE [-l error|warn|info|debug] [-e true|false]
|
|
493
553
|
|
|
494
554
|
ARGUMENTS
|
|
495
555
|
GROUPSFILE The .yml file containing the groups
|
|
496
556
|
|
|
557
|
+
FLAGS
|
|
558
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
559
|
+
<options: true|false>
|
|
560
|
+
-l, --logLevel=<option> The Log Level
|
|
561
|
+
<options: error|warn|info|debug>
|
|
562
|
+
|
|
497
563
|
DESCRIPTION
|
|
498
|
-
Import all groups
|
|
564
|
+
Import all groups from a yml. Uses the groups.yml file in the current directory.
|
|
499
565
|
|
|
500
566
|
EXAMPLES
|
|
501
567
|
$ contrail groups import <GROUPS_FILE>
|
|
568
|
+
|
|
569
|
+
$ contrail groups import --groupsFile <GROUPS_FILE>
|
|
502
570
|
```
|
|
503
571
|
|
|
504
572
|
## `contrail help [COMMANDS]`
|
|
@@ -527,12 +595,16 @@ Exports an data of an instance including types and users
|
|
|
527
595
|
|
|
528
596
|
```
|
|
529
597
|
USAGE
|
|
530
|
-
$ contrail instance export [-d <value>] [-f]
|
|
598
|
+
$ contrail instance export [-l error|warn|info|debug] [-e true|false] [-d <value>] [-f]
|
|
531
599
|
|
|
532
600
|
FLAGS
|
|
533
|
-
-d, --outDir=<value>
|
|
534
|
-
|
|
535
|
-
-
|
|
601
|
+
-d, --outDir=<value> [default: .] The directory to which to export the instance data. Defaults to the
|
|
602
|
+
current directory
|
|
603
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
604
|
+
<options: true|false>
|
|
605
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
606
|
+
-l, --logLevel=<option> The Log Level
|
|
607
|
+
<options: error|warn|info|debug>
|
|
536
608
|
|
|
537
609
|
DESCRIPTION
|
|
538
610
|
Exports an data of an instance including types and users
|
|
@@ -547,11 +619,15 @@ Import the data to an instance, including types and users
|
|
|
547
619
|
|
|
548
620
|
```
|
|
549
621
|
USAGE
|
|
550
|
-
$ contrail instance import [-d <value>]
|
|
622
|
+
$ contrail instance import [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
551
623
|
|
|
552
624
|
FLAGS
|
|
553
|
-
-d, --dir=<value>
|
|
554
|
-
|
|
625
|
+
-d, --dir=<value> [default: .] The directory from which to export the instance data. Defaults to the
|
|
626
|
+
current directory
|
|
627
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
628
|
+
<options: true|false>
|
|
629
|
+
-l, --logLevel=<option> The Log Level
|
|
630
|
+
<options: error|warn|info|debug>
|
|
555
631
|
|
|
556
632
|
DESCRIPTION
|
|
557
633
|
Import the data to an instance, including types and users
|
|
@@ -560,37 +636,99 @@ EXAMPLES
|
|
|
560
636
|
$ contrail instance import
|
|
561
637
|
```
|
|
562
638
|
|
|
563
|
-
## `contrail
|
|
639
|
+
## `contrail load colors DATAFILE CONFIGFILE`
|
|
564
640
|
|
|
565
|
-
|
|
641
|
+
Loads colors object from a CSV file and config YAML
|
|
566
642
|
|
|
567
643
|
```
|
|
568
644
|
USAGE
|
|
569
|
-
$ contrail
|
|
645
|
+
$ contrail load colors DATAFILE CONFIGFILE [-l error|warn|info|debug] [-e true|false]
|
|
570
646
|
|
|
571
647
|
ARGUMENTS
|
|
572
|
-
|
|
648
|
+
DATAFILE The CSV data file
|
|
649
|
+
CONFIGFILE The YAML configuration file
|
|
650
|
+
|
|
651
|
+
FLAGS
|
|
652
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
653
|
+
<options: true|false>
|
|
654
|
+
-l, --logLevel=<option> The Log Level
|
|
655
|
+
<options: error|warn|info|debug>
|
|
656
|
+
|
|
657
|
+
DESCRIPTION
|
|
658
|
+
Loads colors object from a CSV file and config YAML
|
|
659
|
+
|
|
660
|
+
EXAMPLES
|
|
661
|
+
$ contrail load colors <CSV file> <config yaml>
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
## `contrail load custom-entity DATAFILE CONFIGFILE`
|
|
665
|
+
|
|
666
|
+
Loads custom-entity object from a CSV file and config YAML
|
|
667
|
+
|
|
668
|
+
```
|
|
669
|
+
USAGE
|
|
670
|
+
$ contrail load custom-entity DATAFILE CONFIGFILE [-l error|warn|info|debug] [-e true|false]
|
|
671
|
+
|
|
672
|
+
ARGUMENTS
|
|
673
|
+
DATAFILE The CSV data file
|
|
674
|
+
CONFIGFILE The YAML configuration file
|
|
675
|
+
|
|
676
|
+
FLAGS
|
|
677
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
678
|
+
<options: true|false>
|
|
679
|
+
-l, --logLevel=<option> The Log Level
|
|
680
|
+
<options: error|warn|info|debug>
|
|
681
|
+
|
|
682
|
+
DESCRIPTION
|
|
683
|
+
Loads custom-entity object from a CSV file and config YAML
|
|
684
|
+
|
|
685
|
+
EXAMPLES
|
|
686
|
+
$ contrail load custom-entity <CSV file> <config yaml>
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
## `contrail load line-sheet DATAFILE CONFIGFILE`
|
|
690
|
+
|
|
691
|
+
Loads line sheet data from a CSV file and config YAML
|
|
692
|
+
|
|
693
|
+
```
|
|
694
|
+
USAGE
|
|
695
|
+
$ contrail load line-sheet DATAFILE CONFIGFILE [-l error|warn|info|debug] [-e true|false]
|
|
696
|
+
|
|
697
|
+
ARGUMENTS
|
|
698
|
+
DATAFILE The CSV data file
|
|
699
|
+
CONFIGFILE The YAML configuration file
|
|
700
|
+
|
|
701
|
+
FLAGS
|
|
702
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
703
|
+
<options: true|false>
|
|
704
|
+
-l, --logLevel=<option> The Log Level
|
|
705
|
+
<options: error|warn|info|debug>
|
|
573
706
|
|
|
574
707
|
DESCRIPTION
|
|
575
|
-
|
|
576
|
-
.yml file.
|
|
708
|
+
Loads line sheet data from a CSV file and config YAML
|
|
577
709
|
|
|
578
710
|
EXAMPLES
|
|
579
|
-
$ contrail load-
|
|
711
|
+
$ contrail load line-sheet <CSV file> <config yaml>
|
|
580
712
|
```
|
|
581
713
|
|
|
582
|
-
## `contrail
|
|
714
|
+
## `contrail load upload-and-load INCOMINGFILE CONFIGFILENAME`
|
|
583
715
|
|
|
584
716
|
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 the config path must be a reference to a .json or a .yml file
|
|
585
717
|
|
|
586
718
|
```
|
|
587
719
|
USAGE
|
|
588
|
-
$ contrail
|
|
720
|
+
$ contrail load upload-and-load INCOMINGFILE CONFIGFILENAME [-l error|warn|info|debug] [-e true|false]
|
|
589
721
|
|
|
590
722
|
ARGUMENTS
|
|
591
723
|
INCOMINGFILE The incoming file location
|
|
592
724
|
CONFIGFILENAME The configuration file location
|
|
593
725
|
|
|
726
|
+
FLAGS
|
|
727
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
728
|
+
<options: true|false>
|
|
729
|
+
-l, --logLevel=<option> The Log Level
|
|
730
|
+
<options: error|warn|info|debug>
|
|
731
|
+
|
|
594
732
|
DESCRIPTION
|
|
595
733
|
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
|
|
596
734
|
the config path must be a reference to a .json or a .yml file
|
|
@@ -848,7 +986,13 @@ Export a project.
|
|
|
848
986
|
|
|
849
987
|
```
|
|
850
988
|
USAGE
|
|
851
|
-
$ contrail projects export PROJECTNAME
|
|
989
|
+
$ contrail projects export PROJECTNAME [-l error|warn|info|debug] [-e true|false]
|
|
990
|
+
|
|
991
|
+
FLAGS
|
|
992
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
993
|
+
<options: true|false>
|
|
994
|
+
-l, --logLevel=<option> The Log Level
|
|
995
|
+
<options: error|warn|info|debug>
|
|
852
996
|
|
|
853
997
|
DESCRIPTION
|
|
854
998
|
Export a project.
|
|
@@ -863,7 +1007,13 @@ Get a list of all projects.
|
|
|
863
1007
|
|
|
864
1008
|
```
|
|
865
1009
|
USAGE
|
|
866
|
-
$ contrail projects list
|
|
1010
|
+
$ contrail projects list [-l error|warn|info|debug] [-e true|false]
|
|
1011
|
+
|
|
1012
|
+
FLAGS
|
|
1013
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1014
|
+
<options: true|false>
|
|
1015
|
+
-l, --logLevel=<option> The Log Level
|
|
1016
|
+
<options: error|warn|info|debug>
|
|
867
1017
|
|
|
868
1018
|
DESCRIPTION
|
|
869
1019
|
Get a list of all projects.
|
|
@@ -878,11 +1028,17 @@ Configure a project from a yml file.
|
|
|
878
1028
|
|
|
879
1029
|
```
|
|
880
1030
|
USAGE
|
|
881
|
-
$ contrail projects load TEMPLATEFILELOCATION
|
|
1031
|
+
$ contrail projects load TEMPLATEFILELOCATION [-l error|warn|info|debug] [-e true|false]
|
|
882
1032
|
|
|
883
1033
|
ARGUMENTS
|
|
884
1034
|
TEMPLATEFILELOCATION The location to the template file
|
|
885
1035
|
|
|
1036
|
+
FLAGS
|
|
1037
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1038
|
+
<options: true|false>
|
|
1039
|
+
-l, --logLevel=<option> The Log Level
|
|
1040
|
+
<options: error|warn|info|debug>
|
|
1041
|
+
|
|
886
1042
|
DESCRIPTION
|
|
887
1043
|
Configure a project from a yml file.
|
|
888
1044
|
|
|
@@ -896,7 +1052,13 @@ export OptionSetHierarchies into CSVs.
|
|
|
896
1052
|
|
|
897
1053
|
```
|
|
898
1054
|
USAGE
|
|
899
|
-
$ contrail types exportOptionSetHierarchies
|
|
1055
|
+
$ contrail types exportOptionSetHierarchies [-l error|warn|info|debug] [-e true|false]
|
|
1056
|
+
|
|
1057
|
+
FLAGS
|
|
1058
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1059
|
+
<options: true|false>
|
|
1060
|
+
-l, --logLevel=<option> The Log Level
|
|
1061
|
+
<options: error|warn|info|debug>
|
|
900
1062
|
|
|
901
1063
|
DESCRIPTION
|
|
902
1064
|
export OptionSetHierarchies into CSVs.
|
|
@@ -911,11 +1073,16 @@ Get all Types and associated data for your Org
|
|
|
911
1073
|
|
|
912
1074
|
```
|
|
913
1075
|
USAGE
|
|
914
|
-
$ contrail types getAll [-d <value>] [-f]
|
|
1076
|
+
$ contrail types getAll [-l error|warn|info|debug] [-e true|false] [-d <value>] [-f]
|
|
915
1077
|
|
|
916
1078
|
FLAGS
|
|
917
|
-
-d, --outDir=<value>
|
|
918
|
-
|
|
1079
|
+
-d, --outDir=<value> [default: .] The directory to which to export the type data. Defaults to the current
|
|
1080
|
+
directory
|
|
1081
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1082
|
+
<options: true|false>
|
|
1083
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
1084
|
+
-l, --logLevel=<option> The Log Level
|
|
1085
|
+
<options: error|warn|info|debug>
|
|
919
1086
|
|
|
920
1087
|
DESCRIPTION
|
|
921
1088
|
Get all Types and associated data for your Org
|
|
@@ -924,16 +1091,46 @@ EXAMPLES
|
|
|
924
1091
|
$ contrail types getAll
|
|
925
1092
|
```
|
|
926
1093
|
|
|
1094
|
+
## `contrail types getOptionSets`
|
|
1095
|
+
|
|
1096
|
+
Get all option sets and associated data for your Org
|
|
1097
|
+
|
|
1098
|
+
```
|
|
1099
|
+
USAGE
|
|
1100
|
+
$ contrail types getOptionSets [-l error|warn|info|debug] [-e true|false] [--format YAML|CSV] [-d <value>] [-f]
|
|
1101
|
+
|
|
1102
|
+
FLAGS
|
|
1103
|
+
-d, --outDir=<value> [default: .] The directory to which to export the option sets data. Defaults to the
|
|
1104
|
+
current directory
|
|
1105
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1106
|
+
<options: true|false>
|
|
1107
|
+
-f, --overwrite Replaces any existing export files in outDir
|
|
1108
|
+
-l, --logLevel=<option> The Log Level
|
|
1109
|
+
<options: error|warn|info|debug>
|
|
1110
|
+
--format=<option> <options: YAML|CSV>
|
|
1111
|
+
|
|
1112
|
+
DESCRIPTION
|
|
1113
|
+
Get all option sets and associated data for your Org
|
|
1114
|
+
|
|
1115
|
+
EXAMPLES
|
|
1116
|
+
$ contrail types getOptionSets --format <YAML or CSV>
|
|
1117
|
+
```
|
|
1118
|
+
|
|
927
1119
|
## `contrail types loadAll`
|
|
928
1120
|
|
|
929
1121
|
loads all the type data that has been exported by getAll
|
|
930
1122
|
|
|
931
1123
|
```
|
|
932
1124
|
USAGE
|
|
933
|
-
$ contrail types loadAll [-d <value>]
|
|
1125
|
+
$ contrail types loadAll [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
934
1126
|
|
|
935
1127
|
FLAGS
|
|
936
|
-
-d, --dir=<value>
|
|
1128
|
+
-d, --dir=<value> [default: .] The directory from which to load the types data. Defaults to the current
|
|
1129
|
+
directory.
|
|
1130
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1131
|
+
<options: true|false>
|
|
1132
|
+
-l, --logLevel=<option> The Log Level
|
|
1133
|
+
<options: error|warn|info|debug>
|
|
937
1134
|
|
|
938
1135
|
DESCRIPTION
|
|
939
1136
|
loads all the type data that has been exported by getAll
|
|
@@ -948,11 +1145,17 @@ Merge the OptionSets from an existing org and the OptionSets passed in. OptionSe
|
|
|
948
1145
|
|
|
949
1146
|
```
|
|
950
1147
|
USAGE
|
|
951
|
-
$ contrail types mergeOptionSets FILE
|
|
1148
|
+
$ contrail types mergeOptionSets FILE [-l error|warn|info|debug] [-e true|false]
|
|
952
1149
|
|
|
953
1150
|
ARGUMENTS
|
|
954
1151
|
FILE File to merge with the cloud option sets
|
|
955
1152
|
|
|
1153
|
+
FLAGS
|
|
1154
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1155
|
+
<options: true|false>
|
|
1156
|
+
-l, --logLevel=<option> The Log Level
|
|
1157
|
+
<options: error|warn|info|debug>
|
|
1158
|
+
|
|
956
1159
|
DESCRIPTION
|
|
957
1160
|
Merge the OptionSets from an existing org and the OptionSets passed in. OptionSets File must be .yml.
|
|
958
1161
|
|
|
@@ -966,12 +1169,18 @@ Merge the TypeProperties from an existing org and the TypeProperties passed in.
|
|
|
966
1169
|
|
|
967
1170
|
```
|
|
968
1171
|
USAGE
|
|
969
|
-
$ contrail types mergeTypeProperties FILE TYPEPATHS
|
|
1172
|
+
$ contrail types mergeTypeProperties FILE TYPEPATHS [-l error|warn|info|debug] [-e true|false]
|
|
970
1173
|
|
|
971
1174
|
ARGUMENTS
|
|
972
1175
|
FILE File to parse
|
|
973
1176
|
TYPEPATHS A list of the type paths to merge
|
|
974
1177
|
|
|
1178
|
+
FLAGS
|
|
1179
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1180
|
+
<options: true|false>
|
|
1181
|
+
-l, --logLevel=<option> The Log Level
|
|
1182
|
+
<options: error|warn|info|debug>
|
|
1183
|
+
|
|
975
1184
|
DESCRIPTION
|
|
976
1185
|
Merge the TypeProperties from an existing org and the TypeProperties passed in. Add to Types via TypePath File must be
|
|
977
1186
|
.yml
|
|
@@ -986,11 +1195,17 @@ Parse CSV file into OptionSetHierarchy
|
|
|
986
1195
|
|
|
987
1196
|
```
|
|
988
1197
|
USAGE
|
|
989
|
-
$ contrail types parseOptionSetsHierarchyLocalFile FILE
|
|
1198
|
+
$ contrail types parseOptionSetsHierarchyLocalFile FILE [-l error|warn|info|debug] [-e true|false]
|
|
990
1199
|
|
|
991
1200
|
ARGUMENTS
|
|
992
1201
|
FILE File to parse
|
|
993
1202
|
|
|
1203
|
+
FLAGS
|
|
1204
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1205
|
+
<options: true|false>
|
|
1206
|
+
-l, --logLevel=<option> The Log Level
|
|
1207
|
+
<options: error|warn|info|debug>
|
|
1208
|
+
|
|
994
1209
|
DESCRIPTION
|
|
995
1210
|
Parse CSV file into OptionSetHierarchy
|
|
996
1211
|
|
|
@@ -1004,11 +1219,17 @@ Parse CSV file into OptionSetHierarchy
|
|
|
1004
1219
|
|
|
1005
1220
|
```
|
|
1006
1221
|
USAGE
|
|
1007
|
-
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE
|
|
1222
|
+
$ contrail types parseOptionSetsHierarchyValuesToKeysLocalFile FILE [-l error|warn|info|debug] [-e true|false]
|
|
1008
1223
|
|
|
1009
1224
|
ARGUMENTS
|
|
1010
1225
|
FILE File to parse
|
|
1011
1226
|
|
|
1227
|
+
FLAGS
|
|
1228
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1229
|
+
<options: true|false>
|
|
1230
|
+
-l, --logLevel=<option> The Log Level
|
|
1231
|
+
<options: error|warn|info|debug>
|
|
1232
|
+
|
|
1012
1233
|
DESCRIPTION
|
|
1013
1234
|
Parse CSV file into OptionSetHierarchy
|
|
1014
1235
|
|
|
@@ -1022,14 +1243,19 @@ Parse CSV files into OptionSets. Style denotes the format the csv is in. If the
|
|
|
1022
1243
|
|
|
1023
1244
|
```
|
|
1024
1245
|
USAGE
|
|
1025
|
-
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle NameAndLabelAndKey|LabelsInColumn
|
|
1246
|
+
$ contrail types parseOptionSetsLocalFiles FILE --csvStyle NameAndLabelAndKey|LabelsInColumn [-l error|warn|info|debug] [-e
|
|
1247
|
+
true|false]
|
|
1026
1248
|
|
|
1027
1249
|
ARGUMENTS
|
|
1028
1250
|
FILE File to parse
|
|
1029
1251
|
|
|
1030
1252
|
FLAGS
|
|
1031
|
-
--
|
|
1032
|
-
|
|
1253
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1254
|
+
<options: true|false>
|
|
1255
|
+
-l, --logLevel=<option> The Log Level
|
|
1256
|
+
<options: error|warn|info|debug>
|
|
1257
|
+
--csvStyle=<option> (required)
|
|
1258
|
+
<options: NameAndLabelAndKey|LabelsInColumn>
|
|
1033
1259
|
|
|
1034
1260
|
DESCRIPTION
|
|
1035
1261
|
Parse CSV files into OptionSets. Style denotes the format the csv is in. If the csv file has a column for option
|
|
@@ -1067,17 +1293,23 @@ Parses a YAML file containing multiple option sets (like the output of `parseOpt
|
|
|
1067
1293
|
|
|
1068
1294
|
```
|
|
1069
1295
|
USAGE
|
|
1070
|
-
$ contrail types parseOptionSetsToFolderStructure FILE
|
|
1296
|
+
$ contrail types parseOptionSetsToFolderStructure FILE [-l error|warn|info|debug] [-e true|false]
|
|
1071
1297
|
|
|
1072
1298
|
ARGUMENTS
|
|
1073
1299
|
FILE File to parse
|
|
1074
1300
|
|
|
1301
|
+
FLAGS
|
|
1302
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1303
|
+
<options: true|false>
|
|
1304
|
+
-l, --logLevel=<option> The Log Level
|
|
1305
|
+
<options: error|warn|info|debug>
|
|
1306
|
+
|
|
1075
1307
|
DESCRIPTION
|
|
1076
1308
|
Parses a YAML file containing multiple option sets (like the output of `parseOptionSetLocalFiles`) and separates them
|
|
1077
1309
|
into multiple files in a directory. The resulting files can be uploaded using `uploadOptionSets`
|
|
1078
1310
|
|
|
1079
1311
|
EXAMPLES
|
|
1080
|
-
$ contrail types parseOptionSetsLocalFiles <File Paths>
|
|
1312
|
+
$ contrail types parseOptionSetsLocalFiles <File Paths>
|
|
1081
1313
|
```
|
|
1082
1314
|
|
|
1083
1315
|
## `contrail types parseTypesFromFiles TYPEPATHS`
|
|
@@ -1086,11 +1318,17 @@ Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
|
1086
1318
|
|
|
1087
1319
|
```
|
|
1088
1320
|
USAGE
|
|
1089
|
-
$ contrail types parseTypesFromFiles TYPEPATHS
|
|
1321
|
+
$ contrail types parseTypesFromFiles TYPEPATHS [-l error|warn|info|debug] [-e true|false]
|
|
1090
1322
|
|
|
1091
1323
|
ARGUMENTS
|
|
1092
1324
|
TYPEPATHS A list of the VibeIQ file IDs to parse
|
|
1093
1325
|
|
|
1326
|
+
FLAGS
|
|
1327
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1328
|
+
<options: true|false>
|
|
1329
|
+
-l, --logLevel=<option> The Log Level
|
|
1330
|
+
<options: error|warn|info|debug>
|
|
1331
|
+
|
|
1094
1332
|
DESCRIPTION
|
|
1095
1333
|
Parse CSV files into Types and OptionSets from VibeIQ Files.
|
|
1096
1334
|
File must be .yml.
|
|
@@ -1105,11 +1343,17 @@ Parse CSV files into Types and OptionSets from local files.
|
|
|
1105
1343
|
|
|
1106
1344
|
```
|
|
1107
1345
|
USAGE
|
|
1108
|
-
$ contrail types parseTypesFromLocalFiles TYPEPATHS
|
|
1346
|
+
$ contrail types parseTypesFromLocalFiles TYPEPATHS [-l error|warn|info|debug] [-e true|false]
|
|
1109
1347
|
|
|
1110
1348
|
ARGUMENTS
|
|
1111
1349
|
TYPEPATHS A list of the files to parse
|
|
1112
1350
|
|
|
1351
|
+
FLAGS
|
|
1352
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1353
|
+
<options: true|false>
|
|
1354
|
+
-l, --logLevel=<option> The Log Level
|
|
1355
|
+
<options: error|warn|info|debug>
|
|
1356
|
+
|
|
1113
1357
|
DESCRIPTION
|
|
1114
1358
|
Parse CSV files into Types and OptionSets from local files.
|
|
1115
1359
|
|
|
@@ -1123,12 +1367,19 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
1123
1367
|
|
|
1124
1368
|
```
|
|
1125
1369
|
USAGE
|
|
1126
|
-
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS
|
|
1370
|
+
$ contrail types parseTypesFromTemplateAndDataFromLocalFiles TEMPLATEFILE FILEPATHS [-l error|warn|info|debug] [-e
|
|
1371
|
+
true|false]
|
|
1127
1372
|
|
|
1128
1373
|
ARGUMENTS
|
|
1129
1374
|
TEMPLATEFILE The template file to use
|
|
1130
1375
|
FILEPATHS A list of data file to use
|
|
1131
1376
|
|
|
1377
|
+
FLAGS
|
|
1378
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1379
|
+
<options: true|false>
|
|
1380
|
+
-l, --logLevel=<option> The Log Level
|
|
1381
|
+
<options: error|warn|info|debug>
|
|
1382
|
+
|
|
1132
1383
|
DESCRIPTION
|
|
1133
1384
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
1134
1385
|
|
|
@@ -1142,12 +1393,18 @@ Parse CSV files into Types and OptionSets from local type template files.
|
|
|
1142
1393
|
|
|
1143
1394
|
```
|
|
1144
1395
|
USAGE
|
|
1145
|
-
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH
|
|
1396
|
+
$ contrail types parseTypesFromTemplateFromLocalFiles TEMPLATEFILE FILEPATH [-l error|warn|info|debug] [-e true|false]
|
|
1146
1397
|
|
|
1147
1398
|
ARGUMENTS
|
|
1148
1399
|
TEMPLATEFILE The template file to use
|
|
1149
1400
|
FILEPATH The data file to use
|
|
1150
1401
|
|
|
1402
|
+
FLAGS
|
|
1403
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1404
|
+
<options: true|false>
|
|
1405
|
+
-l, --logLevel=<option> The Log Level
|
|
1406
|
+
<options: error|warn|info|debug>
|
|
1407
|
+
|
|
1151
1408
|
DESCRIPTION
|
|
1152
1409
|
Parse CSV files into Types and OptionSets from local type template files.
|
|
1153
1410
|
|
|
@@ -1161,11 +1418,16 @@ Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded fr
|
|
|
1161
1418
|
|
|
1162
1419
|
```
|
|
1163
1420
|
USAGE
|
|
1164
|
-
$ contrail types uploadOptionSetHierarchies [-d <value>]
|
|
1421
|
+
$ contrail types uploadOptionSetHierarchies [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1165
1422
|
|
|
1166
1423
|
FLAGS
|
|
1167
|
-
-d, --dir=<value>
|
|
1168
|
-
|
|
1424
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set hierarchies data.
|
|
1425
|
+
Defaults to the current directory. The option set data will be loaded from
|
|
1426
|
+
$dir/option-set-hierarchies
|
|
1427
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1428
|
+
<options: true|false>
|
|
1429
|
+
-l, --logLevel=<option> The Log Level
|
|
1430
|
+
<options: error|warn|info|debug>
|
|
1169
1431
|
|
|
1170
1432
|
DESCRIPTION
|
|
1171
1433
|
Upload Option Set Hierarchies for your Org. Option set hierarchies are loaded from .yml files in the
|
|
@@ -1181,11 +1443,15 @@ Upload OptionSets for your Org. OptionSets are loaded from .yml files in the opt
|
|
|
1181
1443
|
|
|
1182
1444
|
```
|
|
1183
1445
|
USAGE
|
|
1184
|
-
$ contrail types uploadOptionSets [-d <value>]
|
|
1446
|
+
$ contrail types uploadOptionSets [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1185
1447
|
|
|
1186
1448
|
FLAGS
|
|
1187
|
-
-d, --dir=<value>
|
|
1188
|
-
|
|
1449
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the
|
|
1450
|
+
current directory. The option set data will be loaded from $dir/option-sets
|
|
1451
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1452
|
+
<options: true|false>
|
|
1453
|
+
-l, --logLevel=<option> The Log Level
|
|
1454
|
+
<options: error|warn|info|debug>
|
|
1189
1455
|
|
|
1190
1456
|
DESCRIPTION
|
|
1191
1457
|
Upload OptionSets for your Org. OptionSets are loaded from .yml files in the option-sets directory.
|
|
@@ -1200,12 +1466,18 @@ upload CSV file into OptionSetHierarchy
|
|
|
1200
1466
|
|
|
1201
1467
|
```
|
|
1202
1468
|
USAGE
|
|
1203
|
-
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME
|
|
1469
|
+
$ contrail types uploadOptionSetsHierarchyLocalFile FILE NAME [-l error|warn|info|debug] [-e true|false]
|
|
1204
1470
|
|
|
1205
1471
|
ARGUMENTS
|
|
1206
1472
|
FILE File to parse
|
|
1207
1473
|
NAME The name to be give to the option set hierarchy
|
|
1208
1474
|
|
|
1475
|
+
FLAGS
|
|
1476
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1477
|
+
<options: true|false>
|
|
1478
|
+
-l, --logLevel=<option> The Log Level
|
|
1479
|
+
<options: error|warn|info|debug>
|
|
1480
|
+
|
|
1209
1481
|
DESCRIPTION
|
|
1210
1482
|
upload CSV file into OptionSetHierarchy
|
|
1211
1483
|
|
|
@@ -1219,11 +1491,15 @@ Upload an extracted rule set
|
|
|
1219
1491
|
|
|
1220
1492
|
```
|
|
1221
1493
|
USAGE
|
|
1222
|
-
$ contrail types uploadRuleSets [-d <value>]
|
|
1494
|
+
$ contrail types uploadRuleSets [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1223
1495
|
|
|
1224
1496
|
FLAGS
|
|
1225
|
-
-d, --dir=<value>
|
|
1226
|
-
|
|
1497
|
+
-d, --dir=<value> [default: .] The directory from which to export the rule set data. Defaults to the
|
|
1498
|
+
current directory. The rule set data will be loaded from $dir/rule-sets/*.yml
|
|
1499
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1500
|
+
<options: true|false>
|
|
1501
|
+
-l, --logLevel=<option> The Log Level
|
|
1502
|
+
<options: error|warn|info|debug>
|
|
1227
1503
|
|
|
1228
1504
|
DESCRIPTION
|
|
1229
1505
|
Upload an extracted rule set
|
|
@@ -1238,11 +1514,15 @@ Upload type policies
|
|
|
1238
1514
|
|
|
1239
1515
|
```
|
|
1240
1516
|
USAGE
|
|
1241
|
-
$ contrail types uploadTypePolicies [-d <value>]
|
|
1517
|
+
$ contrail types uploadTypePolicies [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1242
1518
|
|
|
1243
1519
|
FLAGS
|
|
1244
|
-
-d, --dir=<value>
|
|
1245
|
-
|
|
1520
|
+
-d, --dir=<value> [default: .] The directory from which to export the type policy data. Defaults to the
|
|
1521
|
+
current directory. The type policy data will be loaded from $dir/type-policies/*.yml
|
|
1522
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1523
|
+
<options: true|false>
|
|
1524
|
+
-l, --logLevel=<option> The Log Level
|
|
1525
|
+
<options: error|warn|info|debug>
|
|
1246
1526
|
|
|
1247
1527
|
DESCRIPTION
|
|
1248
1528
|
Upload type policies
|
|
@@ -1257,12 +1537,16 @@ Upload type property policies
|
|
|
1257
1537
|
|
|
1258
1538
|
```
|
|
1259
1539
|
USAGE
|
|
1260
|
-
$ contrail types uploadTypePropertyPolicies [-d <value>]
|
|
1540
|
+
$ contrail types uploadTypePropertyPolicies [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1261
1541
|
|
|
1262
1542
|
FLAGS
|
|
1263
|
-
-d, --dir=<value>
|
|
1264
|
-
|
|
1265
|
-
|
|
1543
|
+
-d, --dir=<value> [default: .] The directory from which to export the type property policy data.
|
|
1544
|
+
Defaults to the current directory. The type property policy data will be loaded from
|
|
1545
|
+
$dir/type-property-policies/*.yml
|
|
1546
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1547
|
+
<options: true|false>
|
|
1548
|
+
-l, --logLevel=<option> The Log Level
|
|
1549
|
+
<options: error|warn|info|debug>
|
|
1266
1550
|
|
|
1267
1551
|
DESCRIPTION
|
|
1268
1552
|
Upload type property policies
|
|
@@ -1277,11 +1561,15 @@ Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
|
1277
1561
|
|
|
1278
1562
|
```
|
|
1279
1563
|
USAGE
|
|
1280
|
-
$ contrail types uploadTypes [-d <value>]
|
|
1564
|
+
$ contrail types uploadTypes [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1281
1565
|
|
|
1282
1566
|
FLAGS
|
|
1283
|
-
-d, --dir=<value>
|
|
1284
|
-
|
|
1567
|
+
-d, --dir=<value> [default: .] The directory from which to export the option set data. Defaults to the
|
|
1568
|
+
current directory. The option set data will be loaded from $dir/types
|
|
1569
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1570
|
+
<options: true|false>
|
|
1571
|
+
-l, --logLevel=<option> The Log Level
|
|
1572
|
+
<options: error|warn|info|debug>
|
|
1285
1573
|
|
|
1286
1574
|
DESCRIPTION
|
|
1287
1575
|
Upload Types Org. OptionSets are loaded from .yml files in the types directory.
|
|
@@ -1296,11 +1584,15 @@ Upload extracted usage info
|
|
|
1296
1584
|
|
|
1297
1585
|
```
|
|
1298
1586
|
USAGE
|
|
1299
|
-
$ contrail types uploadUsageInfo [-d <value>]
|
|
1587
|
+
$ contrail types uploadUsageInfo [-l error|warn|info|debug] [-e true|false] [-d <value>]
|
|
1300
1588
|
|
|
1301
1589
|
FLAGS
|
|
1302
|
-
-d, --dir=<value>
|
|
1303
|
-
|
|
1590
|
+
-d, --dir=<value> [default: .] The directory from which to export the usage info data. Defaults to the
|
|
1591
|
+
current directory. The usage info data will be loaded from $dir/usage-info.yml
|
|
1592
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1593
|
+
<options: true|false>
|
|
1594
|
+
-l, --logLevel=<option> The Log Level
|
|
1595
|
+
<options: error|warn|info|debug>
|
|
1304
1596
|
|
|
1305
1597
|
DESCRIPTION
|
|
1306
1598
|
Upload extracted usage info
|
|
@@ -1315,11 +1607,15 @@ Export all users in the org.
|
|
|
1315
1607
|
|
|
1316
1608
|
```
|
|
1317
1609
|
USAGE
|
|
1318
|
-
$ contrail users export [-f <value>] [--overwrite]
|
|
1610
|
+
$ contrail users export [-l error|warn|info|debug] [-e true|false] [-f <value>] [--overwrite]
|
|
1319
1611
|
|
|
1320
1612
|
FLAGS
|
|
1321
|
-
-
|
|
1322
|
-
|
|
1613
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1614
|
+
<options: true|false>
|
|
1615
|
+
-f, --outFile=<value> [default: users.yml] The location for the file to be saved
|
|
1616
|
+
-l, --logLevel=<option> The Log Level
|
|
1617
|
+
<options: error|warn|info|debug>
|
|
1618
|
+
--overwrite Replaces existing files if they exist
|
|
1323
1619
|
|
|
1324
1620
|
DESCRIPTION
|
|
1325
1621
|
Export all users in the org.
|
|
@@ -1328,17 +1624,23 @@ EXAMPLES
|
|
|
1328
1624
|
$ contrail users export
|
|
1329
1625
|
```
|
|
1330
1626
|
|
|
1331
|
-
## `contrail users
|
|
1627
|
+
## `contrail users import USERSFILE`
|
|
1332
1628
|
|
|
1333
1629
|
Import all users in the users.yml file
|
|
1334
1630
|
|
|
1335
1631
|
```
|
|
1336
1632
|
USAGE
|
|
1337
|
-
$ contrail users
|
|
1633
|
+
$ contrail users import USERSFILE [-l error|warn|info|debug] [-e true|false]
|
|
1338
1634
|
|
|
1339
1635
|
ARGUMENTS
|
|
1340
1636
|
USERSFILE The .yml file containing the users
|
|
1341
1637
|
|
|
1638
|
+
FLAGS
|
|
1639
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1640
|
+
<options: true|false>
|
|
1641
|
+
-l, --logLevel=<option> The Log Level
|
|
1642
|
+
<options: error|warn|info|debug>
|
|
1643
|
+
|
|
1342
1644
|
DESCRIPTION
|
|
1343
1645
|
Import all users in the users.yml file
|
|
1344
1646
|
|
|
@@ -1352,10 +1654,14 @@ Create a new webhook
|
|
|
1352
1654
|
|
|
1353
1655
|
```
|
|
1354
1656
|
USAGE
|
|
1355
|
-
$ contrail webhooks create [-j]
|
|
1657
|
+
$ contrail webhooks create [-l error|warn|info|debug] [-e true|false] [-j]
|
|
1356
1658
|
|
|
1357
1659
|
FLAGS
|
|
1358
|
-
-
|
|
1660
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1661
|
+
<options: true|false>
|
|
1662
|
+
-j, --json output in json format
|
|
1663
|
+
-l, --logLevel=<option> The Log Level
|
|
1664
|
+
<options: error|warn|info|debug>
|
|
1359
1665
|
|
|
1360
1666
|
DESCRIPTION
|
|
1361
1667
|
Create a new webhook
|
|
@@ -1370,13 +1676,17 @@ Delete an existing webhook. To delete a single webhook, pass its ID. To delete m
|
|
|
1370
1676
|
|
|
1371
1677
|
```
|
|
1372
1678
|
USAGE
|
|
1373
|
-
$ contrail webhooks delete [WEBHOOKID] [-j]
|
|
1679
|
+
$ contrail webhooks delete [WEBHOOKID] [-l error|warn|info|debug] [-e true|false] [-j]
|
|
1374
1680
|
|
|
1375
1681
|
ARGUMENTS
|
|
1376
1682
|
WEBHOOKID The id of the webhook to delete
|
|
1377
1683
|
|
|
1378
1684
|
FLAGS
|
|
1379
|
-
-
|
|
1685
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1686
|
+
<options: true|false>
|
|
1687
|
+
-j, --json output in json format
|
|
1688
|
+
-l, --logLevel=<option> The Log Level
|
|
1689
|
+
<options: error|warn|info|debug>
|
|
1380
1690
|
|
|
1381
1691
|
DESCRIPTION
|
|
1382
1692
|
Delete an existing webhook. To delete a single webhook, pass its ID. To delete multiple webhooks, do not pass a value
|
|
@@ -1394,11 +1704,17 @@ Crafts a webhook trigger that can be used for event workflows. This command does
|
|
|
1394
1704
|
|
|
1395
1705
|
```
|
|
1396
1706
|
USAGE
|
|
1397
|
-
$ contrail webhooks getWebhookTrigger [WEBHOOKID]
|
|
1707
|
+
$ contrail webhooks getWebhookTrigger [WEBHOOKID] [-l error|warn|info|debug] [-e true|false]
|
|
1398
1708
|
|
|
1399
1709
|
ARGUMENTS
|
|
1400
1710
|
WEBHOOKID The id of the webhook to delete
|
|
1401
1711
|
|
|
1712
|
+
FLAGS
|
|
1713
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1714
|
+
<options: true|false>
|
|
1715
|
+
-l, --logLevel=<option> The Log Level
|
|
1716
|
+
<options: error|warn|info|debug>
|
|
1717
|
+
|
|
1402
1718
|
DESCRIPTION
|
|
1403
1719
|
Crafts a webhook trigger that can be used for event workflows. This command does not alter the state of any webhook or
|
|
1404
1720
|
event workflow. It is only a utility for generating a webhook trigger.
|
|
@@ -1413,10 +1729,14 @@ List current webhooks
|
|
|
1413
1729
|
|
|
1414
1730
|
```
|
|
1415
1731
|
USAGE
|
|
1416
|
-
$ contrail webhooks list [-j]
|
|
1732
|
+
$ contrail webhooks list [-l error|warn|info|debug] [-e true|false] [-j]
|
|
1417
1733
|
|
|
1418
1734
|
FLAGS
|
|
1419
|
-
-
|
|
1735
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1736
|
+
<options: true|false>
|
|
1737
|
+
-j, --json output in json format
|
|
1738
|
+
-l, --logLevel=<option> The Log Level
|
|
1739
|
+
<options: error|warn|info|debug>
|
|
1420
1740
|
|
|
1421
1741
|
DESCRIPTION
|
|
1422
1742
|
List current webhooks
|
|
@@ -1431,7 +1751,13 @@ Install the template definitions of an app to your org
|
|
|
1431
1751
|
|
|
1432
1752
|
```
|
|
1433
1753
|
USAGE
|
|
1434
|
-
$ contrail workflow-template-definitions install
|
|
1754
|
+
$ contrail workflow-template-definitions install [-l error|warn|info|debug] [-e true|false]
|
|
1755
|
+
|
|
1756
|
+
FLAGS
|
|
1757
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1758
|
+
<options: true|false>
|
|
1759
|
+
-l, --logLevel=<option> The Log Level
|
|
1760
|
+
<options: error|warn|info|debug>
|
|
1435
1761
|
|
|
1436
1762
|
DESCRIPTION
|
|
1437
1763
|
Install the template definitions of an app to your org
|
|
@@ -1446,7 +1772,13 @@ Lists the workflow templates in the org
|
|
|
1446
1772
|
|
|
1447
1773
|
```
|
|
1448
1774
|
USAGE
|
|
1449
|
-
$ contrail workflow-template-definitions list
|
|
1775
|
+
$ contrail workflow-template-definitions list [-l error|warn|info|debug] [-e true|false]
|
|
1776
|
+
|
|
1777
|
+
FLAGS
|
|
1778
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1779
|
+
<options: true|false>
|
|
1780
|
+
-l, --logLevel=<option> The Log Level
|
|
1781
|
+
<options: error|warn|info|debug>
|
|
1450
1782
|
|
|
1451
1783
|
DESCRIPTION
|
|
1452
1784
|
Lists the workflow templates in the org
|
|
@@ -1461,7 +1793,13 @@ Delete workflow templates from your org
|
|
|
1461
1793
|
|
|
1462
1794
|
```
|
|
1463
1795
|
USAGE
|
|
1464
|
-
$ contrail workflow-templates delete
|
|
1796
|
+
$ contrail workflow-templates delete [-l error|warn|info|debug] [-e true|false]
|
|
1797
|
+
|
|
1798
|
+
FLAGS
|
|
1799
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1800
|
+
<options: true|false>
|
|
1801
|
+
-l, --logLevel=<option> The Log Level
|
|
1802
|
+
<options: error|warn|info|debug>
|
|
1465
1803
|
|
|
1466
1804
|
DESCRIPTION
|
|
1467
1805
|
Delete workflow templates from your org
|
|
@@ -1476,11 +1814,15 @@ Export all workflows in the org.
|
|
|
1476
1814
|
|
|
1477
1815
|
```
|
|
1478
1816
|
USAGE
|
|
1479
|
-
$ contrail workflow-templates export [-f <value>] [--overwrite]
|
|
1817
|
+
$ contrail workflow-templates export [-l error|warn|info|debug] [-e true|false] [-f <value>] [--overwrite]
|
|
1480
1818
|
|
|
1481
1819
|
FLAGS
|
|
1482
|
-
-
|
|
1483
|
-
|
|
1820
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1821
|
+
<options: true|false>
|
|
1822
|
+
-f, --outFile=<value> [default: workflows.yml] The location for the file to be saved
|
|
1823
|
+
-l, --logLevel=<option> The Log Level
|
|
1824
|
+
<options: error|warn|info|debug>
|
|
1825
|
+
--overwrite Replaces existing files if they exist
|
|
1484
1826
|
|
|
1485
1827
|
DESCRIPTION
|
|
1486
1828
|
Export all workflows in the org.
|
|
@@ -1495,7 +1837,13 @@ Lists the workflow templates in the org
|
|
|
1495
1837
|
|
|
1496
1838
|
```
|
|
1497
1839
|
USAGE
|
|
1498
|
-
$ contrail workflow-templates list
|
|
1840
|
+
$ contrail workflow-templates list [-l error|warn|info|debug] [-e true|false]
|
|
1841
|
+
|
|
1842
|
+
FLAGS
|
|
1843
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1844
|
+
<options: true|false>
|
|
1845
|
+
-l, --logLevel=<option> The Log Level
|
|
1846
|
+
<options: error|warn|info|debug>
|
|
1499
1847
|
|
|
1500
1848
|
DESCRIPTION
|
|
1501
1849
|
Lists the workflow templates in the org
|
|
@@ -1510,11 +1858,17 @@ Loads your workflow from a local file
|
|
|
1510
1858
|
|
|
1511
1859
|
```
|
|
1512
1860
|
USAGE
|
|
1513
|
-
$ contrail workflow-templates load FILELOCATION
|
|
1861
|
+
$ contrail workflow-templates load FILELOCATION [-l error|warn|info|debug] [-e true|false]
|
|
1514
1862
|
|
|
1515
1863
|
ARGUMENTS
|
|
1516
1864
|
FILELOCATION The workflow template file to load
|
|
1517
1865
|
|
|
1866
|
+
FLAGS
|
|
1867
|
+
-e, --alwaysConfirmEnv=<option> [default: true] The Environment variables
|
|
1868
|
+
<options: true|false>
|
|
1869
|
+
-l, --logLevel=<option> The Log Level
|
|
1870
|
+
<options: error|warn|info|debug>
|
|
1871
|
+
|
|
1518
1872
|
DESCRIPTION
|
|
1519
1873
|
Loads your workflow from a local file
|
|
1520
1874
|
|