@contrail/cli 2.1.23 → 2.1.25

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.
Files changed (125) hide show
  1. package/README.md +173 -65
  2. package/dist/{commands/basecommand.d.ts → basecommand.d.ts} +5 -0
  3. package/dist/basecommand.js +80 -0
  4. package/dist/commands/app/create.d.ts +1 -1
  5. package/dist/commands/app/create.js +1 -3
  6. package/dist/commands/app/delete.d.ts +1 -1
  7. package/dist/commands/app/delete.js +1 -3
  8. package/dist/commands/app/getApiKey.d.ts +1 -1
  9. package/dist/commands/app/getApiKey.js +1 -2
  10. package/dist/commands/app/install.d.ts +1 -1
  11. package/dist/commands/app/install.js +1 -2
  12. package/dist/commands/app/publish.d.ts +1 -1
  13. package/dist/commands/app/publish.js +1 -2
  14. package/dist/commands/app/uninstall.d.ts +1 -1
  15. package/dist/commands/app/uninstall.js +1 -2
  16. package/dist/commands/app/upgrade.d.ts +1 -1
  17. package/dist/commands/app/upgrade.js +1 -2
  18. package/dist/commands/colors/deleteAll.d.ts +1 -1
  19. package/dist/commands/colors/deleteAll.js +1 -3
  20. package/dist/commands/colors/load.d.ts +1 -1
  21. package/dist/commands/colors/load.js +1 -3
  22. package/dist/commands/config/environments/list.d.ts +7 -0
  23. package/dist/commands/config/environments/list.js +22 -0
  24. package/dist/commands/config/environments/remove.d.ts +12 -0
  25. package/dist/commands/config/environments/remove.js +39 -0
  26. package/dist/commands/config/environments/set.d.ts +12 -0
  27. package/dist/commands/config/environments/set.js +32 -0
  28. package/dist/commands/config/list.d.ts +2 -1
  29. package/dist/commands/config/list.js +5 -3
  30. package/dist/commands/config/remove.d.ts +2 -1
  31. package/dist/commands/config/remove.js +5 -2
  32. package/dist/commands/config/set.d.ts +2 -1
  33. package/dist/commands/config/set.js +5 -2
  34. package/dist/commands/groups/export.d.ts +1 -1
  35. package/dist/commands/groups/export.js +1 -2
  36. package/dist/commands/groups/upload.d.ts +1 -1
  37. package/dist/commands/groups/upload.js +2 -3
  38. package/dist/commands/instance/export.d.ts +1 -1
  39. package/dist/commands/instance/export.js +1 -2
  40. package/dist/commands/instance/import.d.ts +1 -1
  41. package/dist/commands/instance/import.js +1 -2
  42. package/dist/commands/loader-process/load.d.ts +1 -1
  43. package/dist/commands/loader-process/load.js +2 -3
  44. package/dist/commands/loader-process/upload-and-load.d.ts +1 -1
  45. package/dist/commands/loader-process/upload-and-load.js +2 -3
  46. package/dist/commands/projects/export.d.ts +1 -1
  47. package/dist/commands/projects/export.js +2 -3
  48. package/dist/commands/projects/list.d.ts +1 -1
  49. package/dist/commands/projects/list.js +1 -3
  50. package/dist/commands/projects/load.d.ts +1 -1
  51. package/dist/commands/projects/load.js +2 -3
  52. package/dist/commands/types/exportOptionSetHierarchies.d.ts +1 -1
  53. package/dist/commands/types/exportOptionSetHierarchies.js +1 -3
  54. package/dist/commands/types/getAll.d.ts +1 -1
  55. package/dist/commands/types/getAll.js +1 -2
  56. package/dist/commands/types/loadAll.d.ts +1 -1
  57. package/dist/commands/types/loadAll.js +1 -2
  58. package/dist/commands/types/mergeOptionSets.d.ts +1 -1
  59. package/dist/commands/types/mergeOptionSets.js +2 -3
  60. package/dist/commands/types/mergeTypeProperties.d.ts +1 -1
  61. package/dist/commands/types/mergeTypeProperties.js +2 -3
  62. package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +1 -1
  63. package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +37 -21
  64. package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +1 -1
  65. package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +2 -3
  66. package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +1 -1
  67. package/dist/commands/types/parseOptionSetsLocalFiles.js +1 -2
  68. package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +1 -1
  69. package/dist/commands/types/parseOptionSetsToFolderStructure.js +2 -3
  70. package/dist/commands/types/parseTypesFromFiles.d.ts +1 -1
  71. package/dist/commands/types/parseTypesFromFiles.js +2 -3
  72. package/dist/commands/types/parseTypesFromLocalFiles.d.ts +1 -1
  73. package/dist/commands/types/parseTypesFromLocalFiles.js +2 -3
  74. package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +1 -1
  75. package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +2 -3
  76. package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +1 -1
  77. package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +2 -3
  78. package/dist/commands/types/uploadOptionSetHierarchies.d.ts +1 -1
  79. package/dist/commands/types/uploadOptionSetHierarchies.js +1 -2
  80. package/dist/commands/types/uploadOptionSets.d.ts +1 -1
  81. package/dist/commands/types/uploadOptionSets.js +1 -2
  82. package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +1 -1
  83. package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +2 -3
  84. package/dist/commands/types/uploadRuleSets.d.ts +1 -1
  85. package/dist/commands/types/uploadRuleSets.js +1 -2
  86. package/dist/commands/types/uploadTypePolicies.d.ts +1 -1
  87. package/dist/commands/types/uploadTypePolicies.js +1 -2
  88. package/dist/commands/types/uploadTypePropertyPolicies.d.ts +1 -1
  89. package/dist/commands/types/uploadTypePropertyPolicies.js +1 -2
  90. package/dist/commands/types/uploadTypes.d.ts +1 -1
  91. package/dist/commands/types/uploadTypes.js +1 -2
  92. package/dist/commands/types/uploadUsageInfo.d.ts +1 -1
  93. package/dist/commands/types/uploadUsageInfo.js +1 -2
  94. package/dist/commands/users/export.d.ts +1 -1
  95. package/dist/commands/users/export.js +1 -2
  96. package/dist/commands/users/upload.d.ts +1 -1
  97. package/dist/commands/users/upload.js +2 -3
  98. package/dist/commands/webhooks/create.d.ts +1 -1
  99. package/dist/commands/webhooks/create.js +1 -2
  100. package/dist/commands/webhooks/delete.d.ts +1 -1
  101. package/dist/commands/webhooks/delete.js +1 -2
  102. package/dist/commands/webhooks/getWebhookTrigger.d.ts +1 -1
  103. package/dist/commands/webhooks/getWebhookTrigger.js +2 -3
  104. package/dist/commands/webhooks/list.d.ts +1 -1
  105. package/dist/commands/webhooks/list.js +1 -2
  106. package/dist/commands/workflow-template-definitions/install.d.ts +1 -1
  107. package/dist/commands/workflow-template-definitions/install.js +1 -3
  108. package/dist/commands/workflow-template-definitions/list.d.ts +1 -1
  109. package/dist/commands/workflow-template-definitions/list.js +1 -3
  110. package/dist/commands/workflow-templates/delete.d.ts +1 -1
  111. package/dist/commands/workflow-templates/delete.js +1 -3
  112. package/dist/commands/workflow-templates/export.d.ts +1 -1
  113. package/dist/commands/workflow-templates/export.js +1 -2
  114. package/dist/commands/workflow-templates/list.d.ts +1 -1
  115. package/dist/commands/workflow-templates/list.js +1 -3
  116. package/dist/commands/workflow-templates/load.d.ts +1 -1
  117. package/dist/commands/workflow-templates/load.js +2 -3
  118. package/dist/helpers/app/app-deployer.js +2 -0
  119. package/dist/helpers/app/extensions-deployer.d.ts +9 -0
  120. package/dist/helpers/app/extensions-deployer.js +92 -0
  121. package/dist/helpers/types/type-uploader.js +20 -16
  122. package/dist/interfaces.d.ts +10 -0
  123. package/oclif.manifest.json +565 -26
  124. package/package.json +4 -4
  125. package/dist/commands/basecommand.js +0 -29
@@ -1,31 +1,6 @@
1
1
  {
2
- "version": "2.1.23",
2
+ "version": "2.1.25",
3
3
  "commands": {
4
- "basecommand": {
5
- "id": "basecommand",
6
- "strict": true,
7
- "pluginName": "@contrail/cli",
8
- "pluginAlias": "@contrail/cli",
9
- "pluginType": "core",
10
- "aliases": [],
11
- "flags": {
12
- "logLevel": {
13
- "name": "logLevel",
14
- "type": "option",
15
- "char": "l",
16
- "description": "The Log Level",
17
- "required": false,
18
- "multiple": false,
19
- "options": [
20
- "error",
21
- "warn",
22
- "info",
23
- "debug"
24
- ]
25
- }
26
- },
27
- "args": {}
28
- },
29
4
  "app:create": {
30
5
  "id": "app:create",
31
6
  "description": "Create an app from a template",
@@ -51,6 +26,14 @@
51
26
  "info",
52
27
  "debug"
53
28
  ]
29
+ },
30
+ "alwaysConfirmEnv": {
31
+ "name": "alwaysConfirmEnv",
32
+ "type": "boolean",
33
+ "char": "e",
34
+ "description": "The Environment variables",
35
+ "required": false,
36
+ "allowNo": false
54
37
  }
55
38
  },
56
39
  "args": {}
@@ -80,6 +63,14 @@
80
63
  "info",
81
64
  "debug"
82
65
  ]
66
+ },
67
+ "alwaysConfirmEnv": {
68
+ "name": "alwaysConfirmEnv",
69
+ "type": "boolean",
70
+ "char": "e",
71
+ "description": "The Environment variables",
72
+ "required": false,
73
+ "allowNo": false
83
74
  }
84
75
  },
85
76
  "args": {}
@@ -110,6 +101,14 @@
110
101
  "debug"
111
102
  ]
112
103
  },
104
+ "alwaysConfirmEnv": {
105
+ "name": "alwaysConfirmEnv",
106
+ "type": "boolean",
107
+ "char": "e",
108
+ "description": "The Environment variables",
109
+ "required": false,
110
+ "allowNo": false
111
+ },
113
112
  "appIdentifier": {
114
113
  "name": "appIdentifier",
115
114
  "type": "option",
@@ -147,6 +146,14 @@
147
146
  "debug"
148
147
  ]
149
148
  },
149
+ "alwaysConfirmEnv": {
150
+ "name": "alwaysConfirmEnv",
151
+ "type": "boolean",
152
+ "char": "e",
153
+ "description": "The Environment variables",
154
+ "required": false,
155
+ "allowNo": false
156
+ },
150
157
  "appIdentifier": {
151
158
  "name": "appIdentifier",
152
159
  "type": "option",
@@ -200,6 +207,14 @@
200
207
  "debug"
201
208
  ]
202
209
  },
210
+ "alwaysConfirmEnv": {
211
+ "name": "alwaysConfirmEnv",
212
+ "type": "boolean",
213
+ "char": "e",
214
+ "description": "The Environment variables",
215
+ "required": false,
216
+ "allowNo": false
217
+ },
203
218
  "upgrade": {
204
219
  "name": "upgrade",
205
220
  "type": "boolean",
@@ -253,6 +268,14 @@
253
268
  "debug"
254
269
  ]
255
270
  },
271
+ "alwaysConfirmEnv": {
272
+ "name": "alwaysConfirmEnv",
273
+ "type": "boolean",
274
+ "char": "e",
275
+ "description": "The Environment variables",
276
+ "required": false,
277
+ "allowNo": false
278
+ },
256
279
  "appIdentifier": {
257
280
  "name": "appIdentifier",
258
281
  "type": "option",
@@ -290,6 +313,14 @@
290
313
  "debug"
291
314
  ]
292
315
  },
316
+ "alwaysConfirmEnv": {
317
+ "name": "alwaysConfirmEnv",
318
+ "type": "boolean",
319
+ "char": "e",
320
+ "description": "The Environment variables",
321
+ "required": false,
322
+ "allowNo": false
323
+ },
293
324
  "appIdentifier": {
294
325
  "name": "appIdentifier",
295
326
  "type": "option",
@@ -334,6 +365,14 @@
334
365
  "info",
335
366
  "debug"
336
367
  ]
368
+ },
369
+ "alwaysConfirmEnv": {
370
+ "name": "alwaysConfirmEnv",
371
+ "type": "boolean",
372
+ "char": "e",
373
+ "description": "The Environment variables",
374
+ "required": false,
375
+ "allowNo": false
337
376
  }
338
377
  },
339
378
  "args": {}
@@ -363,6 +402,14 @@
363
402
  "info",
364
403
  "debug"
365
404
  ]
405
+ },
406
+ "alwaysConfirmEnv": {
407
+ "name": "alwaysConfirmEnv",
408
+ "type": "boolean",
409
+ "char": "e",
410
+ "description": "The Environment variables",
411
+ "required": false,
412
+ "allowNo": false
366
413
  }
367
414
  },
368
415
  "args": {}
@@ -392,6 +439,14 @@
392
439
  "info",
393
440
  "debug"
394
441
  ]
442
+ },
443
+ "alwaysConfirmEnv": {
444
+ "name": "alwaysConfirmEnv",
445
+ "type": "boolean",
446
+ "char": "e",
447
+ "description": "The Environment variables",
448
+ "required": false,
449
+ "allowNo": false
395
450
  }
396
451
  },
397
452
  "args": {}
@@ -422,6 +477,14 @@
422
477
  "debug"
423
478
  ]
424
479
  },
480
+ "alwaysConfirmEnv": {
481
+ "name": "alwaysConfirmEnv",
482
+ "type": "boolean",
483
+ "char": "e",
484
+ "description": "The Environment variables",
485
+ "required": false,
486
+ "allowNo": false
487
+ },
425
488
  "orgSlug": {
426
489
  "name": "orgSlug",
427
490
  "type": "boolean",
@@ -479,6 +542,14 @@
479
542
  "debug"
480
543
  ]
481
544
  },
545
+ "alwaysConfirmEnv": {
546
+ "name": "alwaysConfirmEnv",
547
+ "type": "boolean",
548
+ "char": "e",
549
+ "description": "The Environment variables",
550
+ "required": false,
551
+ "allowNo": false
552
+ },
482
553
  "orgSlug": {
483
554
  "name": "orgSlug",
484
555
  "type": "option",
@@ -536,6 +607,14 @@
536
607
  "debug"
537
608
  ]
538
609
  },
610
+ "alwaysConfirmEnv": {
611
+ "name": "alwaysConfirmEnv",
612
+ "type": "boolean",
613
+ "char": "e",
614
+ "description": "The Environment variables",
615
+ "required": false,
616
+ "allowNo": false
617
+ },
539
618
  "outFile": {
540
619
  "name": "outFile",
541
620
  "type": "option",
@@ -580,6 +659,14 @@
580
659
  "info",
581
660
  "debug"
582
661
  ]
662
+ },
663
+ "alwaysConfirmEnv": {
664
+ "name": "alwaysConfirmEnv",
665
+ "type": "boolean",
666
+ "char": "e",
667
+ "description": "The Environment variables",
668
+ "required": false,
669
+ "allowNo": false
583
670
  }
584
671
  },
585
672
  "args": {
@@ -616,6 +703,14 @@
616
703
  "debug"
617
704
  ]
618
705
  },
706
+ "alwaysConfirmEnv": {
707
+ "name": "alwaysConfirmEnv",
708
+ "type": "boolean",
709
+ "char": "e",
710
+ "description": "The Environment variables",
711
+ "required": false,
712
+ "allowNo": false
713
+ },
619
714
  "outDir": {
620
715
  "name": "outDir",
621
716
  "type": "option",
@@ -662,6 +757,14 @@
662
757
  "debug"
663
758
  ]
664
759
  },
760
+ "alwaysConfirmEnv": {
761
+ "name": "alwaysConfirmEnv",
762
+ "type": "boolean",
763
+ "char": "e",
764
+ "description": "The Environment variables",
765
+ "required": false,
766
+ "allowNo": false
767
+ },
665
768
  "dir": {
666
769
  "name": "dir",
667
770
  "type": "option",
@@ -699,6 +802,14 @@
699
802
  "info",
700
803
  "debug"
701
804
  ]
805
+ },
806
+ "alwaysConfirmEnv": {
807
+ "name": "alwaysConfirmEnv",
808
+ "type": "boolean",
809
+ "char": "e",
810
+ "description": "The Environment variables",
811
+ "required": false,
812
+ "allowNo": false
702
813
  }
703
814
  },
704
815
  "args": {
@@ -734,6 +845,14 @@
734
845
  "info",
735
846
  "debug"
736
847
  ]
848
+ },
849
+ "alwaysConfirmEnv": {
850
+ "name": "alwaysConfirmEnv",
851
+ "type": "boolean",
852
+ "char": "e",
853
+ "description": "The Environment variables",
854
+ "required": false,
855
+ "allowNo": false
737
856
  }
738
857
  },
739
858
  "args": {
@@ -774,6 +893,14 @@
774
893
  "info",
775
894
  "debug"
776
895
  ]
896
+ },
897
+ "alwaysConfirmEnv": {
898
+ "name": "alwaysConfirmEnv",
899
+ "type": "boolean",
900
+ "char": "e",
901
+ "description": "The Environment variables",
902
+ "required": false,
903
+ "allowNo": false
777
904
  }
778
905
  },
779
906
  "args": {
@@ -809,6 +936,14 @@
809
936
  "info",
810
937
  "debug"
811
938
  ]
939
+ },
940
+ "alwaysConfirmEnv": {
941
+ "name": "alwaysConfirmEnv",
942
+ "type": "boolean",
943
+ "char": "e",
944
+ "description": "The Environment variables",
945
+ "required": false,
946
+ "allowNo": false
812
947
  }
813
948
  },
814
949
  "args": {}
@@ -838,6 +973,14 @@
838
973
  "info",
839
974
  "debug"
840
975
  ]
976
+ },
977
+ "alwaysConfirmEnv": {
978
+ "name": "alwaysConfirmEnv",
979
+ "type": "boolean",
980
+ "char": "e",
981
+ "description": "The Environment variables",
982
+ "required": false,
983
+ "allowNo": false
841
984
  }
842
985
  },
843
986
  "args": {
@@ -873,6 +1016,14 @@
873
1016
  "info",
874
1017
  "debug"
875
1018
  ]
1019
+ },
1020
+ "alwaysConfirmEnv": {
1021
+ "name": "alwaysConfirmEnv",
1022
+ "type": "boolean",
1023
+ "char": "e",
1024
+ "description": "The Environment variables",
1025
+ "required": false,
1026
+ "allowNo": false
876
1027
  }
877
1028
  },
878
1029
  "args": {}
@@ -903,6 +1054,14 @@
903
1054
  "debug"
904
1055
  ]
905
1056
  },
1057
+ "alwaysConfirmEnv": {
1058
+ "name": "alwaysConfirmEnv",
1059
+ "type": "boolean",
1060
+ "char": "e",
1061
+ "description": "The Environment variables",
1062
+ "required": false,
1063
+ "allowNo": false
1064
+ },
906
1065
  "outDir": {
907
1066
  "name": "outDir",
908
1067
  "type": "option",
@@ -949,6 +1108,14 @@
949
1108
  "debug"
950
1109
  ]
951
1110
  },
1111
+ "alwaysConfirmEnv": {
1112
+ "name": "alwaysConfirmEnv",
1113
+ "type": "boolean",
1114
+ "char": "e",
1115
+ "description": "The Environment variables",
1116
+ "required": false,
1117
+ "allowNo": false
1118
+ },
952
1119
  "dir": {
953
1120
  "name": "dir",
954
1121
  "type": "option",
@@ -986,6 +1153,14 @@
986
1153
  "info",
987
1154
  "debug"
988
1155
  ]
1156
+ },
1157
+ "alwaysConfirmEnv": {
1158
+ "name": "alwaysConfirmEnv",
1159
+ "type": "boolean",
1160
+ "char": "e",
1161
+ "description": "The Environment variables",
1162
+ "required": false,
1163
+ "allowNo": false
989
1164
  }
990
1165
  },
991
1166
  "args": {
@@ -1021,6 +1196,14 @@
1021
1196
  "info",
1022
1197
  "debug"
1023
1198
  ]
1199
+ },
1200
+ "alwaysConfirmEnv": {
1201
+ "name": "alwaysConfirmEnv",
1202
+ "type": "boolean",
1203
+ "char": "e",
1204
+ "description": "The Environment variables",
1205
+ "required": false,
1206
+ "allowNo": false
1024
1207
  }
1025
1208
  },
1026
1209
  "args": {
@@ -1061,6 +1244,14 @@
1061
1244
  "info",
1062
1245
  "debug"
1063
1246
  ]
1247
+ },
1248
+ "alwaysConfirmEnv": {
1249
+ "name": "alwaysConfirmEnv",
1250
+ "type": "boolean",
1251
+ "char": "e",
1252
+ "description": "The Environment variables",
1253
+ "required": false,
1254
+ "allowNo": false
1064
1255
  }
1065
1256
  },
1066
1257
  "args": {
@@ -1096,6 +1287,14 @@
1096
1287
  "info",
1097
1288
  "debug"
1098
1289
  ]
1290
+ },
1291
+ "alwaysConfirmEnv": {
1292
+ "name": "alwaysConfirmEnv",
1293
+ "type": "boolean",
1294
+ "char": "e",
1295
+ "description": "The Environment variables",
1296
+ "required": false,
1297
+ "allowNo": false
1099
1298
  }
1100
1299
  },
1101
1300
  "args": {
@@ -1132,6 +1331,14 @@
1132
1331
  "debug"
1133
1332
  ]
1134
1333
  },
1334
+ "alwaysConfirmEnv": {
1335
+ "name": "alwaysConfirmEnv",
1336
+ "type": "boolean",
1337
+ "char": "e",
1338
+ "description": "The Environment variables",
1339
+ "required": false,
1340
+ "allowNo": false
1341
+ },
1135
1342
  "csvStyle": {
1136
1343
  "name": "csvStyle",
1137
1344
  "type": "option",
@@ -1176,6 +1383,14 @@
1176
1383
  "info",
1177
1384
  "debug"
1178
1385
  ]
1386
+ },
1387
+ "alwaysConfirmEnv": {
1388
+ "name": "alwaysConfirmEnv",
1389
+ "type": "boolean",
1390
+ "char": "e",
1391
+ "description": "The Environment variables",
1392
+ "required": false,
1393
+ "allowNo": false
1179
1394
  }
1180
1395
  },
1181
1396
  "args": {
@@ -1211,6 +1426,14 @@
1211
1426
  "info",
1212
1427
  "debug"
1213
1428
  ]
1429
+ },
1430
+ "alwaysConfirmEnv": {
1431
+ "name": "alwaysConfirmEnv",
1432
+ "type": "boolean",
1433
+ "char": "e",
1434
+ "description": "The Environment variables",
1435
+ "required": false,
1436
+ "allowNo": false
1214
1437
  }
1215
1438
  },
1216
1439
  "args": {
@@ -1246,6 +1469,14 @@
1246
1469
  "info",
1247
1470
  "debug"
1248
1471
  ]
1472
+ },
1473
+ "alwaysConfirmEnv": {
1474
+ "name": "alwaysConfirmEnv",
1475
+ "type": "boolean",
1476
+ "char": "e",
1477
+ "description": "The Environment variables",
1478
+ "required": false,
1479
+ "allowNo": false
1249
1480
  }
1250
1481
  },
1251
1482
  "args": {
@@ -1281,6 +1512,14 @@
1281
1512
  "info",
1282
1513
  "debug"
1283
1514
  ]
1515
+ },
1516
+ "alwaysConfirmEnv": {
1517
+ "name": "alwaysConfirmEnv",
1518
+ "type": "boolean",
1519
+ "char": "e",
1520
+ "description": "The Environment variables",
1521
+ "required": false,
1522
+ "allowNo": false
1284
1523
  }
1285
1524
  },
1286
1525
  "args": {
@@ -1321,6 +1560,14 @@
1321
1560
  "info",
1322
1561
  "debug"
1323
1562
  ]
1563
+ },
1564
+ "alwaysConfirmEnv": {
1565
+ "name": "alwaysConfirmEnv",
1566
+ "type": "boolean",
1567
+ "char": "e",
1568
+ "description": "The Environment variables",
1569
+ "required": false,
1570
+ "allowNo": false
1324
1571
  }
1325
1572
  },
1326
1573
  "args": {
@@ -1362,6 +1609,14 @@
1362
1609
  "debug"
1363
1610
  ]
1364
1611
  },
1612
+ "alwaysConfirmEnv": {
1613
+ "name": "alwaysConfirmEnv",
1614
+ "type": "boolean",
1615
+ "char": "e",
1616
+ "description": "The Environment variables",
1617
+ "required": false,
1618
+ "allowNo": false
1619
+ },
1365
1620
  "dir": {
1366
1621
  "name": "dir",
1367
1622
  "type": "option",
@@ -1400,6 +1655,14 @@
1400
1655
  "debug"
1401
1656
  ]
1402
1657
  },
1658
+ "alwaysConfirmEnv": {
1659
+ "name": "alwaysConfirmEnv",
1660
+ "type": "boolean",
1661
+ "char": "e",
1662
+ "description": "The Environment variables",
1663
+ "required": false,
1664
+ "allowNo": false
1665
+ },
1403
1666
  "dir": {
1404
1667
  "name": "dir",
1405
1668
  "type": "option",
@@ -1437,6 +1700,14 @@
1437
1700
  "info",
1438
1701
  "debug"
1439
1702
  ]
1703
+ },
1704
+ "alwaysConfirmEnv": {
1705
+ "name": "alwaysConfirmEnv",
1706
+ "type": "boolean",
1707
+ "char": "e",
1708
+ "description": "The Environment variables",
1709
+ "required": false,
1710
+ "allowNo": false
1440
1711
  }
1441
1712
  },
1442
1713
  "args": {
@@ -1478,6 +1749,14 @@
1478
1749
  "debug"
1479
1750
  ]
1480
1751
  },
1752
+ "alwaysConfirmEnv": {
1753
+ "name": "alwaysConfirmEnv",
1754
+ "type": "boolean",
1755
+ "char": "e",
1756
+ "description": "The Environment variables",
1757
+ "required": false,
1758
+ "allowNo": false
1759
+ },
1481
1760
  "dir": {
1482
1761
  "name": "dir",
1483
1762
  "type": "option",
@@ -1516,6 +1795,14 @@
1516
1795
  "debug"
1517
1796
  ]
1518
1797
  },
1798
+ "alwaysConfirmEnv": {
1799
+ "name": "alwaysConfirmEnv",
1800
+ "type": "boolean",
1801
+ "char": "e",
1802
+ "description": "The Environment variables",
1803
+ "required": false,
1804
+ "allowNo": false
1805
+ },
1519
1806
  "dir": {
1520
1807
  "name": "dir",
1521
1808
  "type": "option",
@@ -1554,6 +1841,14 @@
1554
1841
  "debug"
1555
1842
  ]
1556
1843
  },
1844
+ "alwaysConfirmEnv": {
1845
+ "name": "alwaysConfirmEnv",
1846
+ "type": "boolean",
1847
+ "char": "e",
1848
+ "description": "The Environment variables",
1849
+ "required": false,
1850
+ "allowNo": false
1851
+ },
1557
1852
  "dir": {
1558
1853
  "name": "dir",
1559
1854
  "type": "option",
@@ -1592,6 +1887,14 @@
1592
1887
  "debug"
1593
1888
  ]
1594
1889
  },
1890
+ "alwaysConfirmEnv": {
1891
+ "name": "alwaysConfirmEnv",
1892
+ "type": "boolean",
1893
+ "char": "e",
1894
+ "description": "The Environment variables",
1895
+ "required": false,
1896
+ "allowNo": false
1897
+ },
1595
1898
  "dir": {
1596
1899
  "name": "dir",
1597
1900
  "type": "option",
@@ -1630,6 +1933,14 @@
1630
1933
  "debug"
1631
1934
  ]
1632
1935
  },
1936
+ "alwaysConfirmEnv": {
1937
+ "name": "alwaysConfirmEnv",
1938
+ "type": "boolean",
1939
+ "char": "e",
1940
+ "description": "The Environment variables",
1941
+ "required": false,
1942
+ "allowNo": false
1943
+ },
1633
1944
  "dir": {
1634
1945
  "name": "dir",
1635
1946
  "type": "option",
@@ -1668,6 +1979,14 @@
1668
1979
  "debug"
1669
1980
  ]
1670
1981
  },
1982
+ "alwaysConfirmEnv": {
1983
+ "name": "alwaysConfirmEnv",
1984
+ "type": "boolean",
1985
+ "char": "e",
1986
+ "description": "The Environment variables",
1987
+ "required": false,
1988
+ "allowNo": false
1989
+ },
1671
1990
  "outFile": {
1672
1991
  "name": "outFile",
1673
1992
  "type": "option",
@@ -1712,6 +2031,14 @@
1712
2031
  "info",
1713
2032
  "debug"
1714
2033
  ]
2034
+ },
2035
+ "alwaysConfirmEnv": {
2036
+ "name": "alwaysConfirmEnv",
2037
+ "type": "boolean",
2038
+ "char": "e",
2039
+ "description": "The Environment variables",
2040
+ "required": false,
2041
+ "allowNo": false
1715
2042
  }
1716
2043
  },
1717
2044
  "args": {
@@ -1748,6 +2075,14 @@
1748
2075
  "debug"
1749
2076
  ]
1750
2077
  },
2078
+ "alwaysConfirmEnv": {
2079
+ "name": "alwaysConfirmEnv",
2080
+ "type": "boolean",
2081
+ "char": "e",
2082
+ "description": "The Environment variables",
2083
+ "required": false,
2084
+ "allowNo": false
2085
+ },
1751
2086
  "json": {
1752
2087
  "name": "json",
1753
2088
  "type": "boolean",
@@ -1785,6 +2120,14 @@
1785
2120
  "debug"
1786
2121
  ]
1787
2122
  },
2123
+ "alwaysConfirmEnv": {
2124
+ "name": "alwaysConfirmEnv",
2125
+ "type": "boolean",
2126
+ "char": "e",
2127
+ "description": "The Environment variables",
2128
+ "required": false,
2129
+ "allowNo": false
2130
+ },
1788
2131
  "json": {
1789
2132
  "name": "json",
1790
2133
  "type": "boolean",
@@ -1826,6 +2169,14 @@
1826
2169
  "info",
1827
2170
  "debug"
1828
2171
  ]
2172
+ },
2173
+ "alwaysConfirmEnv": {
2174
+ "name": "alwaysConfirmEnv",
2175
+ "type": "boolean",
2176
+ "char": "e",
2177
+ "description": "The Environment variables",
2178
+ "required": false,
2179
+ "allowNo": false
1829
2180
  }
1830
2181
  },
1831
2182
  "args": {
@@ -1862,6 +2213,14 @@
1862
2213
  "debug"
1863
2214
  ]
1864
2215
  },
2216
+ "alwaysConfirmEnv": {
2217
+ "name": "alwaysConfirmEnv",
2218
+ "type": "boolean",
2219
+ "char": "e",
2220
+ "description": "The Environment variables",
2221
+ "required": false,
2222
+ "allowNo": false
2223
+ },
1865
2224
  "json": {
1866
2225
  "name": "json",
1867
2226
  "type": "boolean",
@@ -1897,6 +2256,14 @@
1897
2256
  "info",
1898
2257
  "debug"
1899
2258
  ]
2259
+ },
2260
+ "alwaysConfirmEnv": {
2261
+ "name": "alwaysConfirmEnv",
2262
+ "type": "boolean",
2263
+ "char": "e",
2264
+ "description": "The Environment variables",
2265
+ "required": false,
2266
+ "allowNo": false
1900
2267
  }
1901
2268
  },
1902
2269
  "args": {}
@@ -1926,6 +2293,14 @@
1926
2293
  "info",
1927
2294
  "debug"
1928
2295
  ]
2296
+ },
2297
+ "alwaysConfirmEnv": {
2298
+ "name": "alwaysConfirmEnv",
2299
+ "type": "boolean",
2300
+ "char": "e",
2301
+ "description": "The Environment variables",
2302
+ "required": false,
2303
+ "allowNo": false
1929
2304
  }
1930
2305
  },
1931
2306
  "args": {}
@@ -1955,6 +2330,14 @@
1955
2330
  "info",
1956
2331
  "debug"
1957
2332
  ]
2333
+ },
2334
+ "alwaysConfirmEnv": {
2335
+ "name": "alwaysConfirmEnv",
2336
+ "type": "boolean",
2337
+ "char": "e",
2338
+ "description": "The Environment variables",
2339
+ "required": false,
2340
+ "allowNo": false
1958
2341
  }
1959
2342
  },
1960
2343
  "args": {}
@@ -1985,6 +2368,14 @@
1985
2368
  "debug"
1986
2369
  ]
1987
2370
  },
2371
+ "alwaysConfirmEnv": {
2372
+ "name": "alwaysConfirmEnv",
2373
+ "type": "boolean",
2374
+ "char": "e",
2375
+ "description": "The Environment variables",
2376
+ "required": false,
2377
+ "allowNo": false
2378
+ },
1988
2379
  "outFile": {
1989
2380
  "name": "outFile",
1990
2381
  "type": "option",
@@ -2029,6 +2420,14 @@
2029
2420
  "info",
2030
2421
  "debug"
2031
2422
  ]
2423
+ },
2424
+ "alwaysConfirmEnv": {
2425
+ "name": "alwaysConfirmEnv",
2426
+ "type": "boolean",
2427
+ "char": "e",
2428
+ "description": "The Environment variables",
2429
+ "required": false,
2430
+ "allowNo": false
2032
2431
  }
2033
2432
  },
2034
2433
  "args": {}
@@ -2058,6 +2457,14 @@
2058
2457
  "info",
2059
2458
  "debug"
2060
2459
  ]
2460
+ },
2461
+ "alwaysConfirmEnv": {
2462
+ "name": "alwaysConfirmEnv",
2463
+ "type": "boolean",
2464
+ "char": "e",
2465
+ "description": "The Environment variables",
2466
+ "required": false,
2467
+ "allowNo": false
2061
2468
  }
2062
2469
  },
2063
2470
  "args": {
@@ -2067,6 +2474,138 @@
2067
2474
  "required": true
2068
2475
  }
2069
2476
  }
2477
+ },
2478
+ "config:environments:list": {
2479
+ "id": "config:environments:list",
2480
+ "description": "List the environment configurations",
2481
+ "strict": true,
2482
+ "pluginName": "@contrail/cli",
2483
+ "pluginAlias": "@contrail/cli",
2484
+ "pluginType": "core",
2485
+ "aliases": [],
2486
+ "examples": [
2487
+ "$ contrail config environments list\n"
2488
+ ],
2489
+ "flags": {
2490
+ "logLevel": {
2491
+ "name": "logLevel",
2492
+ "type": "option",
2493
+ "char": "l",
2494
+ "description": "The Log Level",
2495
+ "required": false,
2496
+ "multiple": false,
2497
+ "options": [
2498
+ "error",
2499
+ "warn",
2500
+ "info",
2501
+ "debug"
2502
+ ]
2503
+ },
2504
+ "alwaysConfirmEnv": {
2505
+ "name": "alwaysConfirmEnv",
2506
+ "type": "boolean",
2507
+ "char": "e",
2508
+ "description": "The Environment variables",
2509
+ "required": false,
2510
+ "allowNo": false
2511
+ }
2512
+ },
2513
+ "args": {}
2514
+ },
2515
+ "config:environments:remove": {
2516
+ "id": "config:environments:remove",
2517
+ "description": "Remove a variable from the configuration",
2518
+ "strict": false,
2519
+ "pluginName": "@contrail/cli",
2520
+ "pluginAlias": "@contrail/cli",
2521
+ "pluginType": "core",
2522
+ "aliases": [],
2523
+ "examples": [
2524
+ "$ contrail config environments remove --name stage\n"
2525
+ ],
2526
+ "flags": {
2527
+ "logLevel": {
2528
+ "name": "logLevel",
2529
+ "type": "option",
2530
+ "char": "l",
2531
+ "description": "The Log Level",
2532
+ "required": false,
2533
+ "multiple": false,
2534
+ "options": [
2535
+ "error",
2536
+ "warn",
2537
+ "info",
2538
+ "debug"
2539
+ ]
2540
+ },
2541
+ "alwaysConfirmEnv": {
2542
+ "name": "alwaysConfirmEnv",
2543
+ "type": "boolean",
2544
+ "char": "e",
2545
+ "description": "The Environment variables",
2546
+ "required": false,
2547
+ "allowNo": false
2548
+ },
2549
+ "name": {
2550
+ "name": "name",
2551
+ "type": "option",
2552
+ "description": "The env name",
2553
+ "required": true,
2554
+ "multiple": false
2555
+ }
2556
+ },
2557
+ "args": {}
2558
+ },
2559
+ "config:environments:set": {
2560
+ "id": "config:environments:set",
2561
+ "description": "Set a environment in the configuration",
2562
+ "strict": true,
2563
+ "pluginName": "@contrail/cli",
2564
+ "pluginAlias": "@contrail/cli",
2565
+ "pluginType": "core",
2566
+ "aliases": [],
2567
+ "examples": [
2568
+ "$ contrail config environments set --name dev --url https://www.google.com"
2569
+ ],
2570
+ "flags": {
2571
+ "logLevel": {
2572
+ "name": "logLevel",
2573
+ "type": "option",
2574
+ "char": "l",
2575
+ "description": "The Log Level",
2576
+ "required": false,
2577
+ "multiple": false,
2578
+ "options": [
2579
+ "error",
2580
+ "warn",
2581
+ "info",
2582
+ "debug"
2583
+ ]
2584
+ },
2585
+ "alwaysConfirmEnv": {
2586
+ "name": "alwaysConfirmEnv",
2587
+ "type": "boolean",
2588
+ "char": "e",
2589
+ "description": "The Environment variables",
2590
+ "required": false,
2591
+ "allowNo": false
2592
+ },
2593
+ "name": {
2594
+ "name": "name",
2595
+ "type": "option",
2596
+ "description": "The env name",
2597
+ "required": true,
2598
+ "multiple": false
2599
+ },
2600
+ "url": {
2601
+ "name": "url",
2602
+ "type": "option",
2603
+ "description": "The env url",
2604
+ "required": true,
2605
+ "multiple": false
2606
+ }
2607
+ },
2608
+ "args": {}
2070
2609
  }
2071
2610
  }
2072
2611
  }