@codiac.io/codiac-cli 1.2.264 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/codiac-api/common/api-client-base.d.ts +21 -7
  3. package/dist/apis/codiac-api/common/api-client-base.js +8 -6
  4. package/dist/apis/codiac-api/common/api-client-base.js.map +1 -1
  5. package/dist/apis/codiac-api/gen/client.d.ts +268 -198
  6. package/dist/apis/codiac-api/gen/client.js +2464 -970
  7. package/dist/apis/codiac-api/gen/client.js.map +1 -1
  8. package/dist/apis/codiac-api/gen/contracts.d.ts +171 -33
  9. package/dist/apis/codiac-api/gen/contracts.js +72 -76
  10. package/dist/apis/codiac-api/gen/contracts.js.map +1 -1
  11. package/dist/apis/codiac-relay/gen/client.d.ts +2 -2
  12. package/dist/apis/codiac-relay/gen/client.js.map +1 -1
  13. package/dist/cli-common/command-base.d.ts +10 -0
  14. package/dist/cli-common/command-base.js +21 -0
  15. package/dist/cli-common/command-base.js.map +1 -1
  16. package/dist/command-base-enterprise.d.ts +11 -11
  17. package/dist/command-base-enterprise.js +83 -60
  18. package/dist/command-base-enterprise.js.map +1 -1
  19. package/dist/command-base-exec-tenant.d.ts +21 -0
  20. package/dist/command-base-exec-tenant.js +72 -0
  21. package/dist/command-base-exec-tenant.js.map +1 -0
  22. package/dist/command-base-tenantless.d.ts +0 -5
  23. package/dist/command-base-tenantless.js +0 -11
  24. package/dist/command-base-tenantless.js.map +1 -1
  25. package/dist/commands/asset/deploy.js +1 -0
  26. package/dist/commands/asset/deploy.js.map +1 -1
  27. package/dist/commands/auth/cabinet/allow.d.ts +49 -0
  28. package/dist/commands/auth/cabinet/allow.js +155 -0
  29. package/dist/commands/auth/cabinet/allow.js.map +1 -0
  30. package/dist/commands/auth/cabinet/allowed.d.ts +44 -0
  31. package/dist/commands/auth/cabinet/allowed.js +187 -0
  32. package/dist/commands/auth/cabinet/allowed.js.map +1 -0
  33. package/dist/commands/auth/enterprise/allow/onEnvironments.d.ts +41 -0
  34. package/dist/commands/auth/enterprise/allow/onEnvironments.js +146 -0
  35. package/dist/commands/auth/enterprise/allow/onEnvironments.js.map +1 -0
  36. package/dist/commands/auth/enterprise/allow.d.ts +43 -0
  37. package/dist/commands/auth/enterprise/allow.js +140 -0
  38. package/dist/commands/auth/enterprise/allow.js.map +1 -0
  39. package/dist/commands/auth/enterprise/allowed.d.ts +40 -0
  40. package/dist/commands/auth/enterprise/allowed.js +171 -0
  41. package/dist/commands/auth/enterprise/allowed.js.map +1 -0
  42. package/dist/commands/auth/environment/allow/onCabinets.d.ts +43 -0
  43. package/dist/commands/auth/environment/allow/onCabinets.js +156 -0
  44. package/dist/commands/auth/environment/allow/onCabinets.js.map +1 -0
  45. package/dist/commands/auth/environment/allow.d.ts +46 -0
  46. package/dist/commands/auth/environment/allow.js +148 -0
  47. package/dist/commands/auth/environment/allow.js.map +1 -0
  48. package/dist/commands/auth/environment/allowed.d.ts +42 -0
  49. package/dist/commands/auth/environment/allowed.js +182 -0
  50. package/dist/commands/auth/environment/allowed.js.map +1 -0
  51. package/dist/commands/auth/register.d.ts +32 -0
  52. package/dist/commands/auth/register.js +170 -0
  53. package/dist/commands/auth/register.js.map +1 -0
  54. package/dist/commands/auth/role/allowed.d.ts +33 -0
  55. package/dist/commands/auth/role/allowed.js +135 -0
  56. package/dist/commands/auth/role/allowed.js.map +1 -0
  57. package/dist/commands/auth/role/assign.d.ts +26 -0
  58. package/dist/commands/auth/role/assign.js +92 -0
  59. package/dist/commands/auth/role/assign.js.map +1 -0
  60. package/dist/commands/auth/role/create.d.ts +24 -0
  61. package/dist/commands/auth/role/create.js +90 -0
  62. package/dist/commands/auth/role/create.js.map +1 -0
  63. package/dist/commands/auth/role/delete.d.ts +28 -0
  64. package/dist/commands/auth/role/delete.js +119 -0
  65. package/dist/commands/auth/role/delete.js.map +1 -0
  66. package/dist/commands/auth/role/list.d.ts +26 -0
  67. package/dist/commands/auth/role/list.js +108 -0
  68. package/dist/commands/auth/role/list.js.map +1 -0
  69. package/dist/commands/auth/role/unassign.d.ts +26 -0
  70. package/dist/commands/auth/role/unassign.js +92 -0
  71. package/dist/commands/auth/role/unassign.js.map +1 -0
  72. package/dist/commands/auth/user/invite.d.ts +24 -0
  73. package/dist/commands/auth/user/invite.js +105 -0
  74. package/dist/commands/auth/user/invite.js.map +1 -0
  75. package/dist/commands/auth/user/list.d.ts +26 -0
  76. package/dist/commands/auth/user/list.js +118 -0
  77. package/dist/commands/auth/user/list.js.map +1 -0
  78. package/dist/commands/cabinet/create.d.ts +1 -1
  79. package/dist/commands/cabinet/create.js +28 -20
  80. package/dist/commands/cabinet/create.js.map +1 -1
  81. package/dist/commands/cabinet/list.d.ts +1 -0
  82. package/dist/commands/cabinet/list.js +9 -1
  83. package/dist/commands/cabinet/list.js.map +1 -1
  84. package/dist/commands/cabinet/obliterate.js +39 -34
  85. package/dist/commands/cabinet/obliterate.js.map +1 -1
  86. package/dist/commands/config/deploy.js +5 -2
  87. package/dist/commands/config/deploy.js.map +1 -1
  88. package/dist/commands/enterprise/create.js +1 -1
  89. package/dist/commands/enterprise/create.js.map +1 -1
  90. package/dist/commands/environment/create.d.ts +1 -0
  91. package/dist/commands/environment/create.js +4 -2
  92. package/dist/commands/environment/create.js.map +1 -1
  93. package/dist/commands/secretStore/list.js +2 -2
  94. package/dist/commands/secretStore/list.js.map +1 -1
  95. package/dist/commands/tenant/create.d.ts +0 -2
  96. package/dist/commands/tenant/create.js +0 -33
  97. package/dist/commands/tenant/create.js.map +1 -1
  98. package/dist/commands/tenant/switch.d.ts +0 -2
  99. package/dist/commands/tenant/switch.js +0 -33
  100. package/dist/commands/tenant/switch.js.map +1 -1
  101. package/dist/commands/whoami.d.ts +3 -1
  102. package/dist/commands/whoami.js +8 -2
  103. package/dist/commands/whoami.js.map +1 -1
  104. package/dist/ops/data/cli-context-repo.js +2 -2
  105. package/dist/ops/data/cli-context-repo.js.map +1 -1
  106. package/dist/relay/relay-container.js +1 -1
  107. package/dist/relay/relay-container.js.map +1 -1
  108. package/dist/uilogic/rootmap-ui-utils.js +38 -8
  109. package/dist/uilogic/rootmap-ui-utils.js.map +1 -1
  110. package/dist/uilogic/tenant-contextualizer.js +8 -2
  111. package/dist/uilogic/tenant-contextualizer.js.map +1 -1
  112. package/dist/user-context-loader.d.ts +1 -1
  113. package/dist/user-context-loader.js +3 -2
  114. package/dist/user-context-loader.js.map +1 -1
  115. package/oclif.manifest.json +1597 -93
  116. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.264",
2
+ "version": "1.3.1",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -9,6 +9,7 @@
9
9
  "pluginAlias": "@codiac.io/codiac-cli",
10
10
  "pluginType": "core",
11
11
  "aliases": [],
12
+ "hiddenAliases": [],
12
13
  "flags": {
13
14
  "switch": {
14
15
  "name": "switch",
@@ -40,6 +41,7 @@
40
41
  "pluginAlias": "@codiac.io/codiac-cli",
41
42
  "pluginType": "core",
42
43
  "aliases": [],
44
+ "hiddenAliases": [],
43
45
  "flags": {
44
46
  "as": {
45
47
  "name": "as",
@@ -202,6 +204,7 @@
202
204
  "pluginAlias": "@codiac.io/codiac-cli",
203
205
  "pluginType": "core",
204
206
  "aliases": [],
207
+ "hiddenAliases": [],
205
208
  "flags": {
206
209
  "help": {
207
210
  "name": "help",
@@ -229,6 +232,7 @@
229
232
  "pluginAlias": "@codiac.io/codiac-cli",
230
233
  "pluginType": "core",
231
234
  "aliases": [],
235
+ "hiddenAliases": [],
232
236
  "flags": {
233
237
  "help": {
234
238
  "name": "help",
@@ -253,6 +257,7 @@
253
257
  "pluginAlias": "@codiac.io/codiac-cli",
254
258
  "pluginType": "core",
255
259
  "aliases": [],
260
+ "hiddenAliases": [],
256
261
  "flags": {
257
262
  "help": {
258
263
  "name": "help",
@@ -284,6 +289,7 @@
284
289
  "pluginAlias": "@codiac.io/codiac-cli",
285
290
  "pluginType": "core",
286
291
  "aliases": [],
292
+ "hiddenAliases": [],
287
293
  "flags": {
288
294
  "help": {
289
295
  "name": "help",
@@ -397,6 +403,7 @@
397
403
  "identify",
398
404
  "token"
399
405
  ],
406
+ "hiddenAliases": [],
400
407
  "flags": {
401
408
  "help": {
402
409
  "name": "help",
@@ -498,6 +505,7 @@
498
505
  "pluginAlias": "@codiac.io/codiac-cli",
499
506
  "pluginType": "core",
500
507
  "aliases": [],
508
+ "hiddenAliases": [],
501
509
  "flags": {
502
510
  "help": {
503
511
  "name": "help",
@@ -541,6 +549,7 @@
541
549
  "aliases": [
542
550
  "user:login"
543
551
  ],
552
+ "hiddenAliases": [],
544
553
  "flags": {
545
554
  "help": {
546
555
  "name": "help",
@@ -615,6 +624,7 @@
615
624
  "pluginAlias": "@codiac.io/codiac-cli",
616
625
  "pluginType": "core",
617
626
  "aliases": [],
627
+ "hiddenAliases": [],
618
628
  "examples": [
619
629
  "<%= config.bin %> <%= command.id %>"
620
630
  ],
@@ -629,6 +639,7 @@
629
639
  "pluginAlias": "@codiac.io/codiac-cli",
630
640
  "pluginType": "core",
631
641
  "aliases": [],
642
+ "hiddenAliases": [],
632
643
  "flags": {
633
644
  "help": {
634
645
  "name": "help",
@@ -660,6 +671,7 @@
660
671
  "pluginAlias": "@codiac.io/codiac-cli",
661
672
  "pluginType": "core",
662
673
  "aliases": [],
674
+ "hiddenAliases": [],
663
675
  "flags": {},
664
676
  "args": {}
665
677
  },
@@ -671,6 +683,7 @@
671
683
  "pluginAlias": "@codiac.io/codiac-cli",
672
684
  "pluginType": "core",
673
685
  "aliases": [],
686
+ "hiddenAliases": [],
674
687
  "flags": {
675
688
  "help": {
676
689
  "name": "help",
@@ -764,6 +777,7 @@
764
777
  "pluginAlias": "@codiac.io/codiac-cli",
765
778
  "pluginType": "core",
766
779
  "aliases": [],
780
+ "hiddenAliases": [],
767
781
  "flags": {
768
782
  "help": {
769
783
  "name": "help",
@@ -804,6 +818,7 @@
804
818
  "pluginAlias": "@codiac.io/codiac-cli",
805
819
  "pluginType": "core",
806
820
  "aliases": [],
821
+ "hiddenAliases": [],
807
822
  "flags": {
808
823
  "help": {
809
824
  "name": "help",
@@ -844,6 +859,7 @@
844
859
  "pluginAlias": "@codiac.io/codiac-cli",
845
860
  "pluginType": "core",
846
861
  "aliases": [],
862
+ "hiddenAliases": [],
847
863
  "flags": {
848
864
  "build": {
849
865
  "name": "build",
@@ -964,6 +980,7 @@
964
980
  "pluginAlias": "@codiac.io/codiac-cli",
965
981
  "pluginType": "core",
966
982
  "aliases": [],
983
+ "hiddenAliases": [],
967
984
  "flags": {
968
985
  "help": {
969
986
  "name": "help",
@@ -1003,6 +1020,7 @@
1003
1020
  "pluginAlias": "@codiac.io/codiac-cli",
1004
1021
  "pluginType": "core",
1005
1022
  "aliases": [],
1023
+ "hiddenAliases": [],
1006
1024
  "flags": {
1007
1025
  "help": {
1008
1026
  "name": "help",
@@ -1040,6 +1058,7 @@
1040
1058
  "pluginAlias": "@codiac.io/codiac-cli",
1041
1059
  "pluginType": "core",
1042
1060
  "aliases": [],
1061
+ "hiddenAliases": [],
1043
1062
  "flags": {
1044
1063
  "help": {
1045
1064
  "name": "help",
@@ -1073,6 +1092,7 @@
1073
1092
  "pluginAlias": "@codiac.io/codiac-cli",
1074
1093
  "pluginType": "core",
1075
1094
  "aliases": [],
1095
+ "hiddenAliases": [],
1076
1096
  "flags": {
1077
1097
  "help": {
1078
1098
  "name": "help",
@@ -1099,6 +1119,7 @@
1099
1119
  "pluginAlias": "@codiac.io/codiac-cli",
1100
1120
  "pluginType": "core",
1101
1121
  "aliases": [],
1122
+ "hiddenAliases": [],
1102
1123
  "flags": {
1103
1124
  "help": {
1104
1125
  "name": "help",
@@ -1123,6 +1144,7 @@
1123
1144
  "pluginAlias": "@codiac.io/codiac-cli",
1124
1145
  "pluginType": "core",
1125
1146
  "aliases": [],
1147
+ "hiddenAliases": [],
1126
1148
  "flags": {
1127
1149
  "help": {
1128
1150
  "name": "help",
@@ -1171,6 +1193,7 @@
1171
1193
  "pluginAlias": "@codiac.io/codiac-cli",
1172
1194
  "pluginType": "core",
1173
1195
  "aliases": [],
1196
+ "hiddenAliases": [],
1174
1197
  "flags": {
1175
1198
  "help": {
1176
1199
  "name": "help",
@@ -1202,6 +1225,7 @@
1202
1225
  "pluginAlias": "@codiac.io/codiac-cli",
1203
1226
  "pluginType": "core",
1204
1227
  "aliases": [],
1228
+ "hiddenAliases": [],
1205
1229
  "flags": {
1206
1230
  "help": {
1207
1231
  "name": "help",
@@ -1236,7 +1260,21 @@
1236
1260
  "aliases": [
1237
1261
  "user:show"
1238
1262
  ],
1239
- "flags": {},
1263
+ "hiddenAliases": [],
1264
+ "flags": {
1265
+ "output": {
1266
+ "name": "output",
1267
+ "type": "option",
1268
+ "char": "o",
1269
+ "description": "Format for the response data.",
1270
+ "multiple": false,
1271
+ "options": [
1272
+ "text",
1273
+ "json"
1274
+ ],
1275
+ "default": "text"
1276
+ }
1277
+ },
1240
1278
  "args": {}
1241
1279
  },
1242
1280
  "asset:create": {
@@ -1249,6 +1287,7 @@
1249
1287
  "aliases": [
1250
1288
  "asset:new"
1251
1289
  ],
1290
+ "hiddenAliases": [],
1252
1291
  "flags": {
1253
1292
  "help": {
1254
1293
  "name": "help",
@@ -1412,6 +1451,7 @@
1412
1451
  "pluginType": "core",
1413
1452
  "hidden": true,
1414
1453
  "aliases": [],
1454
+ "hiddenAliases": [],
1415
1455
  "flags": {
1416
1456
  "help": {
1417
1457
  "name": "help",
@@ -1552,6 +1592,7 @@
1552
1592
  "pluginAlias": "@codiac.io/codiac-cli",
1553
1593
  "pluginType": "core",
1554
1594
  "aliases": [],
1595
+ "hiddenAliases": [],
1555
1596
  "flags": {
1556
1597
  "help": {
1557
1598
  "name": "help",
@@ -1619,6 +1660,7 @@
1619
1660
  "pluginAlias": "@codiac.io/codiac-cli",
1620
1661
  "pluginType": "core",
1621
1662
  "aliases": [],
1663
+ "hiddenAliases": [],
1622
1664
  "flags": {
1623
1665
  "output": {
1624
1666
  "name": "output",
@@ -1652,6 +1694,7 @@
1652
1694
  "pluginAlias": "@codiac.io/codiac-cli",
1653
1695
  "pluginType": "core",
1654
1696
  "aliases": [],
1697
+ "hiddenAliases": [],
1655
1698
  "flags": {
1656
1699
  "help": {
1657
1700
  "name": "help",
@@ -1723,6 +1766,7 @@
1723
1766
  "asset:mon",
1724
1767
  "asset:get"
1725
1768
  ],
1769
+ "hiddenAliases": [],
1726
1770
  "flags": {
1727
1771
  "help": {
1728
1772
  "name": "help",
@@ -1879,6 +1923,115 @@
1879
1923
  }
1880
1924
  }
1881
1925
  },
1926
+ "auth:register": {
1927
+ "id": "auth:register",
1928
+ "description": "Create your own user account.",
1929
+ "strict": true,
1930
+ "pluginName": "@codiac.io/codiac-cli",
1931
+ "pluginAlias": "@codiac.io/codiac-cli",
1932
+ "pluginType": "core",
1933
+ "aliases": [],
1934
+ "hiddenAliases": [],
1935
+ "examples": [
1936
+ "<%= config.bin %> <%= command.id %>"
1937
+ ],
1938
+ "flags": {
1939
+ "email": {
1940
+ "name": "email",
1941
+ "type": "option",
1942
+ "char": "u",
1943
+ "description": "Must be a valid email. This will be your login/username on Codiac.",
1944
+ "multiple": false
1945
+ },
1946
+ "password": {
1947
+ "name": "password",
1948
+ "type": "option",
1949
+ "char": "p",
1950
+ "description": "password on Codiac in clear text. NOT RECOMMENDED: use the `passwordIn` argument instead to transmit your password via stdin.",
1951
+ "multiple": false,
1952
+ "exclusive": [
1953
+ "passwordIn"
1954
+ ]
1955
+ },
1956
+ "passwordIn": {
1957
+ "name": "passwordIn",
1958
+ "type": "boolean",
1959
+ "char": "i",
1960
+ "description": "Reads the password directly from the standard input stream. Enables users to avoid explicitly rendering it in a command string. eg: `cat mypass.txt | cod register -u joecool --passwordIn`. Invokes `--silent` mode, so interaction will be disabled.",
1961
+ "allowNo": false,
1962
+ "exclusive": [
1963
+ "password"
1964
+ ]
1965
+ },
1966
+ "company": {
1967
+ "name": "company",
1968
+ "type": "option",
1969
+ "char": "c",
1970
+ "description": "Human readable friendly title for the organization (eg: 'ACME Anvils, Inc.'). NOT used for system identification. NOTE: Users can belong to more than one organization; this one shall simply be the first for this user.",
1971
+ "multiple": false
1972
+ },
1973
+ "companyCode": {
1974
+ "name": "companyCode",
1975
+ "type": "option",
1976
+ "description": "(optional) Unique identifier for the organization within Codiac (eg: 'acme'). This value IS used for system identification, and must be unique across all of Codiac. This command will fail if this given company code is already taken (Must be 3 to 9 alphanumeric characters, no spaces or special characters).",
1977
+ "multiple": false
1978
+ },
1979
+ "firstName": {
1980
+ "name": "firstName",
1981
+ "type": "option",
1982
+ "char": "f",
1983
+ "description": "(optional; you can edit this later)",
1984
+ "multiple": false
1985
+ },
1986
+ "lastName": {
1987
+ "name": "lastName",
1988
+ "type": "option",
1989
+ "char": "l",
1990
+ "description": "(optional; you can edit this later)",
1991
+ "multiple": false
1992
+ },
1993
+ "silent": {
1994
+ "name": "silent",
1995
+ "type": "boolean",
1996
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
1997
+ "allowNo": false,
1998
+ "exclusive": [
1999
+ "echo",
2000
+ "to-script"
2001
+ ]
2002
+ },
2003
+ "echo": {
2004
+ "name": "echo",
2005
+ "type": "boolean",
2006
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
2007
+ "allowNo": false,
2008
+ "exclusive": [
2009
+ "to-script",
2010
+ "silent"
2011
+ ]
2012
+ },
2013
+ "to-script": {
2014
+ "name": "to-script",
2015
+ "type": "boolean",
2016
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
2017
+ "allowNo": false,
2018
+ "exclusive": [
2019
+ "echo",
2020
+ "silent"
2021
+ ]
2022
+ },
2023
+ "take-defaults": {
2024
+ "name": "take-defaults",
2025
+ "type": "boolean",
2026
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
2027
+ "allowNo": false,
2028
+ "exclusive": [
2029
+ "silent"
2030
+ ]
2031
+ }
2032
+ },
2033
+ "args": {}
2034
+ },
1882
2035
  "branch:current": {
1883
2036
  "id": "branch:current",
1884
2037
  "description": "Renders the name of the current branch (for the main project and for any sourced dependencies).",
@@ -1889,6 +2042,7 @@
1889
2042
  "aliases": [
1890
2043
  "branches:current"
1891
2044
  ],
2045
+ "hiddenAliases": [],
1892
2046
  "flags": {
1893
2047
  "help": {
1894
2048
  "name": "help",
@@ -1910,6 +2064,7 @@
1910
2064
  "aliases": [
1911
2065
  "branches:list"
1912
2066
  ],
2067
+ "hiddenAliases": [],
1913
2068
  "flags": {
1914
2069
  "help": {
1915
2070
  "name": "help",
@@ -1951,6 +2106,7 @@
1951
2106
  "aliases": [
1952
2107
  "cab:create"
1953
2108
  ],
2109
+ "hiddenAliases": [],
1954
2110
  "flags": {
1955
2111
  "as": {
1956
2112
  "name": "as",
@@ -1996,12 +2152,11 @@
1996
2152
  "description": "Show CLI help.",
1997
2153
  "allowNo": false
1998
2154
  },
1999
- "force": {
2000
- "name": "force",
2001
- "type": "boolean",
2002
- "char": "f",
2003
- "description": "Overwrites and reinitializes if the cabinet already exists.",
2004
- "allowNo": false
2155
+ "enterprise": {
2156
+ "name": "enterprise",
2157
+ "type": "option",
2158
+ "description": "(required only if more than one enterprise exists) The name of the enterprise under which to create this cabinet.",
2159
+ "multiple": false
2005
2160
  },
2006
2161
  "environment": {
2007
2162
  "name": "environment",
@@ -2029,7 +2184,14 @@
2029
2184
  "aliases": [
2030
2185
  "cab:list"
2031
2186
  ],
2187
+ "hiddenAliases": [],
2032
2188
  "flags": {
2189
+ "enterprise": {
2190
+ "name": "enterprise",
2191
+ "type": "option",
2192
+ "description": "(required only if more than one enterprise exists) The name of the enterprise in which to list cabinets.",
2193
+ "multiple": false
2194
+ },
2033
2195
  "output": {
2034
2196
  "name": "output",
2035
2197
  "type": "option",
@@ -2064,6 +2226,7 @@
2064
2226
  "aliases": [
2065
2227
  "cab:obliterate"
2066
2228
  ],
2229
+ "hiddenAliases": [],
2067
2230
  "flags": {
2068
2231
  "as": {
2069
2232
  "name": "as",
@@ -2136,6 +2299,7 @@
2136
2299
  "config:set",
2137
2300
  "cfg:add"
2138
2301
  ],
2302
+ "hiddenAliases": [],
2139
2303
  "flags": {
2140
2304
  "help": {
2141
2305
  "name": "help",
@@ -2283,6 +2447,7 @@
2283
2447
  "aliases": [
2284
2448
  "cfg:delete"
2285
2449
  ],
2450
+ "hiddenAliases": [],
2286
2451
  "flags": {
2287
2452
  "enterprise": {
2288
2453
  "name": "enterprise",
@@ -2430,6 +2595,7 @@
2430
2595
  "pluginAlias": "@codiac.io/codiac-cli",
2431
2596
  "pluginType": "core",
2432
2597
  "aliases": [],
2598
+ "hiddenAliases": [],
2433
2599
  "flags": {
2434
2600
  "help": {
2435
2601
  "name": "help",
@@ -2499,6 +2665,7 @@
2499
2665
  "aliases": [
2500
2666
  "cfg:add"
2501
2667
  ],
2668
+ "hiddenAliases": [],
2502
2669
  "flags": {
2503
2670
  "help": {
2504
2671
  "name": "help",
@@ -2568,6 +2735,7 @@
2568
2735
  "aliases": [
2569
2736
  "cfg:view"
2570
2737
  ],
2738
+ "hiddenAliases": [],
2571
2739
  "examples": [
2572
2740
  "$ cod config:view",
2573
2741
  "$ cod config:view port",
@@ -2682,6 +2850,7 @@
2682
2850
  "pluginAlias": "@codiac.io/codiac-cli",
2683
2851
  "pluginType": "core",
2684
2852
  "aliases": [],
2853
+ "hiddenAliases": [],
2685
2854
  "examples": [
2686
2855
  "cod csp login",
2687
2856
  "cod csp login docker",
@@ -2751,6 +2920,7 @@
2751
2920
  "pluginAlias": "@codiac.io/codiac-cli",
2752
2921
  "pluginType": "core",
2753
2922
  "aliases": [],
2923
+ "hiddenAliases": [],
2754
2924
  "examples": [
2755
2925
  "cod csp logout",
2756
2926
  "cod csp logout docker",
@@ -2789,6 +2959,7 @@
2789
2959
  "pluginAlias": "@codiac.io/codiac-cli",
2790
2960
  "pluginType": "core",
2791
2961
  "aliases": [],
2962
+ "hiddenAliases": [],
2792
2963
  "flags": {
2793
2964
  "help": {
2794
2965
  "name": "help",
@@ -2830,6 +3001,7 @@
2830
3001
  "pluginAlias": "@codiac.io/codiac-cli",
2831
3002
  "pluginType": "core",
2832
3003
  "aliases": [],
3004
+ "hiddenAliases": [],
2833
3005
  "flags": {
2834
3006
  "help": {
2835
3007
  "name": "help",
@@ -2849,6 +3021,7 @@
2849
3021
  "pluginAlias": "@codiac.io/codiac-cli",
2850
3022
  "pluginType": "core",
2851
3023
  "aliases": [],
3024
+ "hiddenAliases": [],
2852
3025
  "flags": {
2853
3026
  "help": {
2854
3027
  "name": "help",
@@ -2868,6 +3041,7 @@
2868
3041
  "pluginAlias": "@codiac.io/codiac-cli",
2869
3042
  "pluginType": "core",
2870
3043
  "aliases": [],
3044
+ "hiddenAliases": [],
2871
3045
  "flags": {
2872
3046
  "help": {
2873
3047
  "name": "help",
@@ -2901,6 +3075,7 @@
2901
3075
  "aliases": [
2902
3076
  "dep:src"
2903
3077
  ],
3078
+ "hiddenAliases": [],
2904
3079
  "flags": {
2905
3080
  "help": {
2906
3081
  "name": "help",
@@ -2932,6 +3107,7 @@
2932
3107
  "pluginAlias": "@codiac.io/codiac-cli",
2933
3108
  "pluginType": "core",
2934
3109
  "aliases": [],
3110
+ "hiddenAliases": [],
2935
3111
  "flags": {
2936
3112
  "help": {
2937
3113
  "name": "help",
@@ -2959,6 +3135,7 @@
2959
3135
  "aliases": [
2960
3136
  "dep:unsrc"
2961
3137
  ],
3138
+ "hiddenAliases": [],
2962
3139
  "flags": {
2963
3140
  "help": {
2964
3141
  "name": "help",
@@ -2998,6 +3175,7 @@
2998
3175
  "pluginAlias": "@codiac.io/codiac-cli",
2999
3176
  "pluginType": "core",
3000
3177
  "aliases": [],
3178
+ "hiddenAliases": [],
3001
3179
  "flags": {
3002
3180
  "help": {
3003
3181
  "name": "help",
@@ -3029,6 +3207,7 @@
3029
3207
  "pluginAlias": "@codiac.io/codiac-cli",
3030
3208
  "pluginType": "core",
3031
3209
  "aliases": [],
3210
+ "hiddenAliases": [],
3032
3211
  "flags": {
3033
3212
  "as": {
3034
3213
  "name": "as",
@@ -3093,6 +3272,7 @@
3093
3272
  "aliases": [
3094
3273
  "ent:list"
3095
3274
  ],
3275
+ "hiddenAliases": [],
3096
3276
  "flags": {
3097
3277
  "output": {
3098
3278
  "name": "output",
@@ -3126,6 +3306,7 @@
3126
3306
  "pluginAlias": "@codiac.io/codiac-cli",
3127
3307
  "pluginType": "core",
3128
3308
  "aliases": [],
3309
+ "hiddenAliases": [],
3129
3310
  "flags": {
3130
3311
  "help": {
3131
3312
  "name": "help",
@@ -3201,7 +3382,16 @@
3201
3382
  "aliases": [
3202
3383
  "enviro:create"
3203
3384
  ],
3385
+ "hiddenAliases": [],
3204
3386
  "flags": {
3387
+ "enterprise": {
3388
+ "name": "enterprise",
3389
+ "type": "option",
3390
+ "char": "e",
3391
+ "description": "(required only if more than one enterprise exists) The enterprise in which to create the environment.",
3392
+ "required": false,
3393
+ "multiple": false
3394
+ },
3205
3395
  "as": {
3206
3396
  "name": "as",
3207
3397
  "type": "option",
@@ -3265,6 +3455,7 @@
3265
3455
  "aliases": [
3266
3456
  "enviro:list"
3267
3457
  ],
3458
+ "hiddenAliases": [],
3268
3459
  "flags": {
3269
3460
  "output": {
3270
3461
  "name": "output",
@@ -3300,6 +3491,7 @@
3300
3491
  "aliases": [
3301
3492
  "fileshare:capture"
3302
3493
  ],
3494
+ "hiddenAliases": [],
3303
3495
  "flags": {
3304
3496
  "help": {
3305
3497
  "name": "help",
@@ -3389,6 +3581,7 @@
3389
3581
  "pluginAlias": "@codiac.io/codiac-cli",
3390
3582
  "pluginType": "core",
3391
3583
  "aliases": [],
3584
+ "hiddenAliases": [],
3392
3585
  "examples": [
3393
3586
  "<%= config.bin %> <%= command.id %>"
3394
3587
  ],
@@ -3472,6 +3665,7 @@
3472
3665
  "pluginAlias": "@codiac.io/codiac-cli",
3473
3666
  "pluginType": "core",
3474
3667
  "aliases": [],
3668
+ "hiddenAliases": [],
3475
3669
  "examples": [
3476
3670
  "<%= config.bin %> <%= command.id %>"
3477
3671
  ],
@@ -3557,6 +3751,7 @@
3557
3751
  "pluginAlias": "@codiac.io/codiac-cli",
3558
3752
  "pluginType": "core",
3559
3753
  "aliases": [],
3754
+ "hiddenAliases": [],
3560
3755
  "examples": [
3561
3756
  "<%= config.bin %> <%= command.id %>"
3562
3757
  ],
@@ -3699,6 +3894,7 @@
3699
3894
  "pluginAlias": "@codiac.io/codiac-cli",
3700
3895
  "pluginType": "core",
3701
3896
  "aliases": [],
3897
+ "hiddenAliases": [],
3702
3898
  "examples": [
3703
3899
  "<%= config.bin %> <%= command.id %>"
3704
3900
  ],
@@ -3780,6 +3976,7 @@
3780
3976
  "aliases": [
3781
3977
  "domain:map"
3782
3978
  ],
3979
+ "hiddenAliases": [],
3783
3980
  "flags": {
3784
3981
  "help": {
3785
3982
  "name": "help",
@@ -3850,6 +4047,7 @@
3850
4047
  "pluginAlias": "@codiac.io/codiac-cli",
3851
4048
  "pluginType": "core",
3852
4049
  "aliases": [],
4050
+ "hiddenAliases": [],
3853
4051
  "examples": [
3854
4052
  "<%= config.bin %> <%= command.id %>"
3855
4053
  ],
@@ -3933,6 +4131,7 @@
3933
4131
  "token:delete",
3934
4132
  "token:remove"
3935
4133
  ],
4134
+ "hiddenAliases": [],
3936
4135
  "flags": {
3937
4136
  "help": {
3938
4137
  "name": "help",
@@ -3959,6 +4158,7 @@
3959
4158
  "aliases": [
3960
4159
  "token:list"
3961
4160
  ],
4161
+ "hiddenAliases": [],
3962
4162
  "flags": {
3963
4163
  "help": {
3964
4164
  "name": "help",
@@ -3994,6 +4194,7 @@
3994
4194
  "aliases": [
3995
4195
  "pullsecret:unset"
3996
4196
  ],
4197
+ "hiddenAliases": [],
3997
4198
  "flags": {
3998
4199
  "url": {
3999
4200
  "name": "url",
@@ -4088,6 +4289,7 @@
4088
4289
  "pluginAlias": "@codiac.io/codiac-cli",
4089
4290
  "pluginType": "core",
4090
4291
  "aliases": [],
4292
+ "hiddenAliases": [],
4091
4293
  "flags": {
4092
4294
  "registry": {
4093
4295
  "name": "registry",
@@ -4142,6 +4344,7 @@
4142
4344
  "img",
4143
4345
  "img:add"
4144
4346
  ],
4347
+ "hiddenAliases": [],
4145
4348
  "flags": {
4146
4349
  "help": {
4147
4350
  "name": "help",
@@ -4258,6 +4461,7 @@
4258
4461
  "image:list",
4259
4462
  "img:list"
4260
4463
  ],
4464
+ "hiddenAliases": [],
4261
4465
  "flags": {
4262
4466
  "help": {
4263
4467
  "name": "help",
@@ -4294,6 +4498,7 @@
4294
4498
  "image:patch",
4295
4499
  "img:patch"
4296
4500
  ],
4501
+ "hiddenAliases": [],
4297
4502
  "flags": {
4298
4503
  "help": {
4299
4504
  "name": "help",
@@ -4340,6 +4545,7 @@
4340
4545
  "image:delete",
4341
4546
  "img:delete"
4342
4547
  ],
4548
+ "hiddenAliases": [],
4343
4549
  "flags": {
4344
4550
  "help": {
4345
4551
  "name": "help",
@@ -4368,6 +4574,7 @@
4368
4574
  "image:version:get",
4369
4575
  "img:version:get"
4370
4576
  ],
4577
+ "hiddenAliases": [],
4371
4578
  "flags": {
4372
4579
  "help": {
4373
4580
  "name": "help",
@@ -4405,6 +4612,7 @@
4405
4612
  "pluginAlias": "@codiac.io/codiac-cli",
4406
4613
  "pluginType": "core",
4407
4614
  "aliases": [],
4615
+ "hiddenAliases": [],
4408
4616
  "flags": {
4409
4617
  "help": {
4410
4618
  "name": "help",
@@ -4489,6 +4697,7 @@
4489
4697
  "pluginAlias": "@codiac.io/codiac-cli",
4490
4698
  "pluginType": "core",
4491
4699
  "aliases": [],
4700
+ "hiddenAliases": [],
4492
4701
  "flags": {
4493
4702
  "help": {
4494
4703
  "name": "help",
@@ -4546,6 +4755,7 @@
4546
4755
  "pluginAlias": "@codiac.io/codiac-cli",
4547
4756
  "pluginType": "core",
4548
4757
  "aliases": [],
4758
+ "hiddenAliases": [],
4549
4759
  "flags": {
4550
4760
  "help": {
4551
4761
  "name": "help",
@@ -4565,6 +4775,7 @@
4565
4775
  "pluginAlias": "@codiac.io/codiac-cli",
4566
4776
  "pluginType": "core",
4567
4777
  "aliases": [],
4778
+ "hiddenAliases": [],
4568
4779
  "flags": {
4569
4780
  "help": {
4570
4781
  "name": "help",
@@ -4608,6 +4819,7 @@
4608
4819
  "aliases": [
4609
4820
  "pkg:delete"
4610
4821
  ],
4822
+ "hiddenAliases": [],
4611
4823
  "flags": {
4612
4824
  "help": {
4613
4825
  "name": "help",
@@ -4635,6 +4847,7 @@
4635
4847
  "aliases": [
4636
4848
  "secretStore"
4637
4849
  ],
4850
+ "hiddenAliases": [],
4638
4851
  "flags": {
4639
4852
  "url": {
4640
4853
  "name": "url",
@@ -4729,6 +4942,7 @@
4729
4942
  "pluginAlias": "@codiac.io/codiac-cli",
4730
4943
  "pluginType": "core",
4731
4944
  "aliases": [],
4945
+ "hiddenAliases": [],
4732
4946
  "flags": {
4733
4947
  "name": {
4734
4948
  "name": "name",
@@ -4778,6 +4992,7 @@
4778
4992
  "pluginAlias": "@codiac.io/codiac-cli",
4779
4993
  "pluginType": "core",
4780
4994
  "aliases": [],
4995
+ "hiddenAliases": [],
4781
4996
  "examples": [
4782
4997
  "<%= config.bin %> <%= command.id %>"
4783
4998
  ],
@@ -4868,6 +5083,7 @@
4868
5083
  "pluginAlias": "@codiac.io/codiac-cli",
4869
5084
  "pluginType": "core",
4870
5085
  "aliases": [],
5086
+ "hiddenAliases": [],
4871
5087
  "flags": {
4872
5088
  "as": {
4873
5089
  "name": "as",
@@ -4955,6 +5171,7 @@
4955
5171
  "pluginAlias": "@codiac.io/codiac-cli",
4956
5172
  "pluginType": "core",
4957
5173
  "aliases": [],
5174
+ "hiddenAliases": [],
4958
5175
  "flags": {
4959
5176
  "as": {
4960
5177
  "name": "as",
@@ -5019,6 +5236,7 @@
5019
5236
  "aliases": [
5020
5237
  "probe:create"
5021
5238
  ],
5239
+ "hiddenAliases": [],
5022
5240
  "examples": [
5023
5241
  "cod asset probe create --predefined builtin-heartbeat-file-exists",
5024
5242
  "cod asset probe create -p 15 --exec --execCommand \"cat /app/data/last-heartbeat.json\"",
@@ -5373,6 +5591,7 @@
5373
5591
  "pluginAlias": "@codiac.io/codiac-cli",
5374
5592
  "pluginType": "core",
5375
5593
  "aliases": [],
5594
+ "hiddenAliases": [],
5376
5595
  "examples": [
5377
5596
  "<%= config.bin %> <%= command.id %>"
5378
5597
  ],
@@ -5476,6 +5695,7 @@
5476
5695
  "pluginAlias": "@codiac.io/codiac-cli",
5477
5696
  "pluginType": "core",
5478
5697
  "aliases": [],
5698
+ "hiddenAliases": [],
5479
5699
  "examples": [
5480
5700
  "<%= config.bin %> <%= command.id %>"
5481
5701
  ],
@@ -5593,6 +5813,7 @@
5593
5813
  "asset:vol:add",
5594
5814
  "asset:volume:add"
5595
5815
  ],
5816
+ "hiddenAliases": [],
5596
5817
  "flags": {
5597
5818
  "help": {
5598
5819
  "name": "help",
@@ -5654,6 +5875,7 @@
5654
5875
  "asset:vol:del",
5655
5876
  "asset:volumes:del"
5656
5877
  ],
5878
+ "hiddenAliases": [],
5657
5879
  "flags": {
5658
5880
  "help": {
5659
5881
  "name": "help",
@@ -5698,6 +5920,7 @@
5698
5920
  "asset:vol:list",
5699
5921
  "asset:volumes:list"
5700
5922
  ],
5923
+ "hiddenAliases": [],
5701
5924
  "flags": {
5702
5925
  "help": {
5703
5926
  "name": "help",
@@ -5754,64 +5977,66 @@
5754
5977
  "name"
5755
5978
  ]
5756
5979
  },
5757
- "cluster:scaling:update": {
5758
- "id": "cluster:scaling:update",
5759
- "description": "Configures scaling rules for cluster node groups",
5980
+ "auth:cabinet:allow": {
5981
+ "id": "auth:cabinet:allow",
5982
+ "description": "Sets permissions for a security Role on the given cabinet entity. (NOT additive: this command overwrites any existing permissions set for this role on the entity).",
5760
5983
  "strict": true,
5761
5984
  "pluginName": "@codiac.io/codiac-cli",
5762
5985
  "pluginAlias": "@codiac.io/codiac-cli",
5763
5986
  "pluginType": "core",
5764
- "hidden": true,
5765
- "aliases": [],
5987
+ "aliases": [
5988
+ "auth:cab:allow"
5989
+ ],
5990
+ "hiddenAliases": [],
5991
+ "examples": [
5992
+ "<%= config.bin %> <%= command.id %> --enteprise main --environment dev --cabinet myspike --role developer --privilege modify",
5993
+ "<%= config.bin %> <%= command.id %> -e prod -c green -r developer -p none",
5994
+ "<%= config.bin %> <%= command.id %> -e qa -c shasta -r productmanager -p read"
5995
+ ],
5766
5996
  "flags": {
5767
- "help": {
5768
- "name": "help",
5769
- "type": "boolean",
5770
- "char": "h",
5771
- "description": "Show CLI help.",
5772
- "allowNo": false
5773
- },
5774
5997
  "enterprise": {
5775
5998
  "name": "enterprise",
5776
5999
  "type": "option",
5777
- "char": "e",
5778
- "description": "(optional if there is only one) The enterprise to which the cluster belongs",
5779
- "multiple": false
5780
- },
5781
- "cluster": {
5782
- "name": "cluster",
5783
- "type": "option",
5784
- "char": "c",
5785
- "description": "(optional if there is only one) The cluster being scaled",
6000
+ "description": "Name of the enterprise in which the cabinet resides. (Required only if more than one exists).",
6001
+ "required": false,
5786
6002
  "multiple": false
5787
6003
  },
5788
- "node-group": {
5789
- "name": "node-group",
6004
+ "environment": {
6005
+ "name": "environment",
5790
6006
  "type": "option",
5791
- "char": "n",
5792
- "description": "(optional if there is only one) Name of the node group to which the scaling rules apply.",
6007
+ "char": "e",
6008
+ "description": "Name of the environment that contains the cabinet. Required in silent mode.",
6009
+ "required": false,
5793
6010
  "multiple": false
5794
6011
  },
5795
- "min": {
5796
- "name": "min",
6012
+ "cabinet": {
6013
+ "name": "cabinet",
5797
6014
  "type": "option",
5798
- "description": "Minimum number of nodes to allow (integer >= 0)",
6015
+ "char": "c",
6016
+ "description": "Name of the cabinet being protected. Required in silent mode.",
5799
6017
  "required": false,
5800
6018
  "multiple": false
5801
6019
  },
5802
- "max": {
5803
- "name": "max",
6020
+ "role": {
6021
+ "name": "role",
5804
6022
  "type": "option",
5805
- "description": "Maximum number of nodes to allow (integer >= 0)",
6023
+ "char": "r",
6024
+ "description": "Name of the Role being assigned. Required in silent mode.",
5806
6025
  "required": false,
5807
6026
  "multiple": false
5808
6027
  },
5809
- "desired": {
5810
- "name": "desired",
6028
+ "privilege": {
6029
+ "name": "privilege",
5811
6030
  "type": "option",
5812
- "description": "Number of nodes to start with and maintain (integer >= 0)",
5813
- "required": false,
5814
- "multiple": false
6031
+ "char": "p",
6032
+ "description": "The permission to assign to the Role. (\"modify\" infers permission to create, read, update, and delete. \"none\" removes any permissions set for the role)",
6033
+ "required": true,
6034
+ "multiple": false,
6035
+ "options": [
6036
+ "modify",
6037
+ "read",
6038
+ "none"
6039
+ ]
5815
6040
  },
5816
6041
  "silent": {
5817
6042
  "name": "silent",
@@ -5853,79 +6078,1163 @@
5853
6078
  ]
5854
6079
  }
5855
6080
  },
5856
- "args": {
5857
- "file": {
5858
- "name": "file",
5859
- "description": "file to read"
5860
- }
5861
- }
6081
+ "args": {}
5862
6082
  },
5863
- "config:settings:get": {
5864
- "id": "config:settings:get",
5865
- "description": "Shows the list of clusters.",
6083
+ "auth:cabinet:allowed": {
6084
+ "id": "auth:cabinet:allowed",
6085
+ "description": "Shows permissions for each security role on the given cabinet entity.",
5866
6086
  "strict": true,
5867
6087
  "pluginName": "@codiac.io/codiac-cli",
5868
6088
  "pluginAlias": "@codiac.io/codiac-cli",
5869
6089
  "pluginType": "core",
5870
- "aliases": [],
6090
+ "aliases": [
6091
+ "auth:cab:allowed"
6092
+ ],
6093
+ "hiddenAliases": [],
6094
+ "examples": [
6095
+ "<%= config.bin %> <%= command.id %> -e dev -c spike2",
6096
+ "<%= config.bin %> <%= command.id %> --enterprise modeling -e qa -c sprint5"
6097
+ ],
5871
6098
  "flags": {
5872
6099
  "enterprise": {
5873
6100
  "name": "enterprise",
5874
6101
  "type": "option",
5875
- "char": "n",
5876
- "description": "(required only when more than one enterprise exists) The name of the enterprise containing the asset.",
6102
+ "description": "Name of the Enterprise containing the cabinet. (Required only if more than one exists).",
6103
+ "required": false,
5877
6104
  "multiple": false
5878
6105
  },
5879
- "asset": {
5880
- "name": "asset",
6106
+ "environment": {
6107
+ "name": "environment",
5881
6108
  "type": "option",
5882
- "char": "a",
5883
- "description": "The name of the asset to which the settings belong.",
6109
+ "char": "e",
6110
+ "description": "Name of the Environment containing the cabinet. Required in silent mode.",
6111
+ "required": false,
5884
6112
  "multiple": false
5885
6113
  },
5886
- "file": {
5887
- "name": "file",
6114
+ "cabinet": {
6115
+ "name": "cabinet",
5888
6116
  "type": "option",
5889
- "char": "f",
5890
- "description": "The path-name to the file to which the settings belong, relative to the root of the container image.",
5891
- "multiple": false,
5892
- "exclusive": [
5893
- "type"
5894
- ]
6117
+ "char": "c",
6118
+ "description": "Name of the cabinet to view. Required in silent mode.",
6119
+ "required": false,
6120
+ "multiple": false
5895
6121
  },
5896
- "type": {
5897
- "name": "type",
5898
- "type": "option",
5899
- "char": "t",
5900
- "description": "Filters for the settings types that do not land in a config file (such as... env: OS environment variables, footprint: container footprint specs, helm: helm chart settings, label: container meta labels, annotation: container platform key-value pairs).",
5901
- "multiple": false,
5902
- "options": [
5903
- "env",
5904
- "filestore",
5905
- "footprint",
5906
- "helm",
5907
- "annotation",
5908
- "label",
5909
- "probing"
5910
- ],
6122
+ "silent": {
6123
+ "name": "silent",
6124
+ "type": "boolean",
6125
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6126
+ "allowNo": false,
5911
6127
  "exclusive": [
5912
- "file"
6128
+ "echo",
6129
+ "to-script"
5913
6130
  ]
5914
6131
  },
5915
- "enterprise-scope": {
5916
- "name": "enterprise-scope",
6132
+ "echo": {
6133
+ "name": "echo",
5917
6134
  "type": "boolean",
5918
- "char": "s",
5919
- "description": "Filters for settings scoped at the enterprise level.",
6135
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
5920
6136
  "allowNo": false,
5921
6137
  "exclusive": [
5922
- "enviro",
5923
- "cabinet"
6138
+ "to-script",
6139
+ "silent"
5924
6140
  ]
5925
6141
  },
5926
- "enviro": {
5927
- "name": "enviro",
5928
- "type": "option",
6142
+ "to-script": {
6143
+ "name": "to-script",
6144
+ "type": "boolean",
6145
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6146
+ "allowNo": false,
6147
+ "exclusive": [
6148
+ "echo",
6149
+ "silent"
6150
+ ]
6151
+ },
6152
+ "take-defaults": {
6153
+ "name": "take-defaults",
6154
+ "type": "boolean",
6155
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6156
+ "allowNo": false,
6157
+ "exclusive": [
6158
+ "silent"
6159
+ ]
6160
+ }
6161
+ },
6162
+ "args": {}
6163
+ },
6164
+ "auth:enterprise:allow": {
6165
+ "id": "auth:enterprise:allow",
6166
+ "description": "Sets permissions for a security Role on the given enterprise entity. (NOT additive: this command overwrites any existing permissions set for this role on the entity).",
6167
+ "strict": true,
6168
+ "pluginName": "@codiac.io/codiac-cli",
6169
+ "pluginAlias": "@codiac.io/codiac-cli",
6170
+ "pluginType": "core",
6171
+ "aliases": [
6172
+ "auth:ent:allow"
6173
+ ],
6174
+ "hiddenAliases": [],
6175
+ "examples": [
6176
+ "<%= config.bin %> <%= command.id %> -r deployer -p modify",
6177
+ "<%= config.bin %> <%= command.id %> -r deployer -p none"
6178
+ ],
6179
+ "flags": {
6180
+ "enterprise": {
6181
+ "name": "enterprise",
6182
+ "type": "option",
6183
+ "char": "e",
6184
+ "description": "Name of the Enterprise being protected. Required in silent mode.",
6185
+ "required": false,
6186
+ "multiple": false
6187
+ },
6188
+ "role": {
6189
+ "name": "role",
6190
+ "type": "option",
6191
+ "char": "r",
6192
+ "description": "Name of the Role being assigned. Required in silent mode.",
6193
+ "required": false,
6194
+ "multiple": false
6195
+ },
6196
+ "privilege": {
6197
+ "name": "privilege",
6198
+ "type": "option",
6199
+ "char": "p",
6200
+ "description": "The permission to assign to the Role. (\"modify\" infers permission to create, read, update, and delete. \"none\" removes any permissions set for the role)",
6201
+ "required": true,
6202
+ "multiple": false,
6203
+ "options": [
6204
+ "modify",
6205
+ "read",
6206
+ "none"
6207
+ ]
6208
+ },
6209
+ "silent": {
6210
+ "name": "silent",
6211
+ "type": "boolean",
6212
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6213
+ "allowNo": false,
6214
+ "exclusive": [
6215
+ "echo",
6216
+ "to-script"
6217
+ ]
6218
+ },
6219
+ "echo": {
6220
+ "name": "echo",
6221
+ "type": "boolean",
6222
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6223
+ "allowNo": false,
6224
+ "exclusive": [
6225
+ "to-script",
6226
+ "silent"
6227
+ ]
6228
+ },
6229
+ "to-script": {
6230
+ "name": "to-script",
6231
+ "type": "boolean",
6232
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6233
+ "allowNo": false,
6234
+ "exclusive": [
6235
+ "echo",
6236
+ "silent"
6237
+ ]
6238
+ },
6239
+ "take-defaults": {
6240
+ "name": "take-defaults",
6241
+ "type": "boolean",
6242
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6243
+ "allowNo": false,
6244
+ "exclusive": [
6245
+ "silent"
6246
+ ]
6247
+ }
6248
+ },
6249
+ "args": {}
6250
+ },
6251
+ "auth:enterprise:allowed": {
6252
+ "id": "auth:enterprise:allowed",
6253
+ "description": "Shows permissions for each security role on the given enterprise entity.",
6254
+ "strict": true,
6255
+ "pluginName": "@codiac.io/codiac-cli",
6256
+ "pluginAlias": "@codiac.io/codiac-cli",
6257
+ "pluginType": "core",
6258
+ "aliases": [
6259
+ "auth:ent:allowed"
6260
+ ],
6261
+ "hiddenAliases": [],
6262
+ "examples": [
6263
+ "<%= config.bin %> <%= command.id %>",
6264
+ "<%= config.bin %> <%= command.id %> --enterprise modeling"
6265
+ ],
6266
+ "flags": {
6267
+ "enterprise": {
6268
+ "name": "enterprise",
6269
+ "type": "option",
6270
+ "char": "e",
6271
+ "description": "Name of the Enterprise to view. Required in silent mode.",
6272
+ "required": false,
6273
+ "multiple": false
6274
+ },
6275
+ "silent": {
6276
+ "name": "silent",
6277
+ "type": "boolean",
6278
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6279
+ "allowNo": false,
6280
+ "exclusive": [
6281
+ "echo",
6282
+ "to-script"
6283
+ ]
6284
+ },
6285
+ "echo": {
6286
+ "name": "echo",
6287
+ "type": "boolean",
6288
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6289
+ "allowNo": false,
6290
+ "exclusive": [
6291
+ "to-script",
6292
+ "silent"
6293
+ ]
6294
+ },
6295
+ "to-script": {
6296
+ "name": "to-script",
6297
+ "type": "boolean",
6298
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6299
+ "allowNo": false,
6300
+ "exclusive": [
6301
+ "echo",
6302
+ "silent"
6303
+ ]
6304
+ },
6305
+ "take-defaults": {
6306
+ "name": "take-defaults",
6307
+ "type": "boolean",
6308
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6309
+ "allowNo": false,
6310
+ "exclusive": [
6311
+ "silent"
6312
+ ]
6313
+ }
6314
+ },
6315
+ "args": {}
6316
+ },
6317
+ "auth:environment:allow": {
6318
+ "id": "auth:environment:allow",
6319
+ "description": "Sets permissions for a security Role on the given environment entity. (NOT additive: this command overwrites any existing permissions set for this role on the entity).",
6320
+ "strict": true,
6321
+ "pluginName": "@codiac.io/codiac-cli",
6322
+ "pluginAlias": "@codiac.io/codiac-cli",
6323
+ "pluginType": "core",
6324
+ "aliases": [
6325
+ "auth:enviro:allow"
6326
+ ],
6327
+ "hiddenAliases": [],
6328
+ "examples": [
6329
+ "<%= config.bin %> <%= command.id %> --enteprise main --environment dev --role developer --privilege modify",
6330
+ "<%= config.bin %> <%= command.id %> -e prod -r developer -p none",
6331
+ "<%= config.bin %> <%= command.id %> -e qa -r productmanager -p read"
6332
+ ],
6333
+ "flags": {
6334
+ "enterprise": {
6335
+ "name": "enterprise",
6336
+ "type": "option",
6337
+ "description": "Name of the Enterprise containing the environemnt. (Required only if more than one exists).",
6338
+ "required": false,
6339
+ "multiple": false
6340
+ },
6341
+ "environment": {
6342
+ "name": "environment",
6343
+ "type": "option",
6344
+ "char": "e",
6345
+ "description": "Name of the Environment being protected. Required in silent mode.",
6346
+ "required": false,
6347
+ "multiple": false
6348
+ },
6349
+ "role": {
6350
+ "name": "role",
6351
+ "type": "option",
6352
+ "char": "r",
6353
+ "description": "Name of the Role being assigned. Required in silent mode.",
6354
+ "required": false,
6355
+ "multiple": false
6356
+ },
6357
+ "privilege": {
6358
+ "name": "privilege",
6359
+ "type": "option",
6360
+ "char": "p",
6361
+ "description": "The permission to assign to the Role. (\"modify\" infers permission to create, read, update, and delete. \"none\" removes any permissions set for the role)",
6362
+ "required": true,
6363
+ "multiple": false,
6364
+ "options": [
6365
+ "modify",
6366
+ "read",
6367
+ "none"
6368
+ ]
6369
+ },
6370
+ "silent": {
6371
+ "name": "silent",
6372
+ "type": "boolean",
6373
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6374
+ "allowNo": false,
6375
+ "exclusive": [
6376
+ "echo",
6377
+ "to-script"
6378
+ ]
6379
+ },
6380
+ "echo": {
6381
+ "name": "echo",
6382
+ "type": "boolean",
6383
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6384
+ "allowNo": false,
6385
+ "exclusive": [
6386
+ "to-script",
6387
+ "silent"
6388
+ ]
6389
+ },
6390
+ "to-script": {
6391
+ "name": "to-script",
6392
+ "type": "boolean",
6393
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6394
+ "allowNo": false,
6395
+ "exclusive": [
6396
+ "echo",
6397
+ "silent"
6398
+ ]
6399
+ },
6400
+ "take-defaults": {
6401
+ "name": "take-defaults",
6402
+ "type": "boolean",
6403
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6404
+ "allowNo": false,
6405
+ "exclusive": [
6406
+ "silent"
6407
+ ]
6408
+ }
6409
+ },
6410
+ "args": {}
6411
+ },
6412
+ "auth:environment:allowed": {
6413
+ "id": "auth:environment:allowed",
6414
+ "description": "Shows permissions for each security role on the given environment entity.",
6415
+ "strict": true,
6416
+ "pluginName": "@codiac.io/codiac-cli",
6417
+ "pluginAlias": "@codiac.io/codiac-cli",
6418
+ "pluginType": "core",
6419
+ "aliases": [
6420
+ "auth:env:allowed"
6421
+ ],
6422
+ "hiddenAliases": [],
6423
+ "examples": [
6424
+ "<%= config.bin %> <%= command.id %> -e dev",
6425
+ "<%= config.bin %> <%= command.id %> --enterprise modeling -e dev"
6426
+ ],
6427
+ "flags": {
6428
+ "enterprise": {
6429
+ "name": "enterprise",
6430
+ "type": "option",
6431
+ "description": "Name of the Enterprise containing the environment. (Required only if more than one exists).",
6432
+ "required": false,
6433
+ "multiple": false
6434
+ },
6435
+ "environment": {
6436
+ "name": "environment",
6437
+ "type": "option",
6438
+ "char": "e",
6439
+ "description": "Name of the Environment to view. Required in silent mode.",
6440
+ "required": false,
6441
+ "multiple": false
6442
+ },
6443
+ "silent": {
6444
+ "name": "silent",
6445
+ "type": "boolean",
6446
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6447
+ "allowNo": false,
6448
+ "exclusive": [
6449
+ "echo",
6450
+ "to-script"
6451
+ ]
6452
+ },
6453
+ "echo": {
6454
+ "name": "echo",
6455
+ "type": "boolean",
6456
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6457
+ "allowNo": false,
6458
+ "exclusive": [
6459
+ "to-script",
6460
+ "silent"
6461
+ ]
6462
+ },
6463
+ "to-script": {
6464
+ "name": "to-script",
6465
+ "type": "boolean",
6466
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6467
+ "allowNo": false,
6468
+ "exclusive": [
6469
+ "echo",
6470
+ "silent"
6471
+ ]
6472
+ },
6473
+ "take-defaults": {
6474
+ "name": "take-defaults",
6475
+ "type": "boolean",
6476
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6477
+ "allowNo": false,
6478
+ "exclusive": [
6479
+ "silent"
6480
+ ]
6481
+ }
6482
+ },
6483
+ "args": {}
6484
+ },
6485
+ "auth:role:allowed": {
6486
+ "id": "auth:role:allowed",
6487
+ "description": "Renders the privileges granted to an existing Role on each enterprise, environment, and cabinet.",
6488
+ "strict": true,
6489
+ "pluginName": "@codiac.io/codiac-cli",
6490
+ "pluginAlias": "@codiac.io/codiac-cli",
6491
+ "pluginType": "core",
6492
+ "aliases": [],
6493
+ "hiddenAliases": [],
6494
+ "examples": [
6495
+ "<%= config.bin %> <%= command.id %> -n deployer",
6496
+ "<%= config.bin %> <%= command.id %> --id abc123def456",
6497
+ "<%= config.bin %> <%= command.id %> -n deployer -e main"
6498
+ ],
6499
+ "flags": {
6500
+ "id": {
6501
+ "name": "id",
6502
+ "type": "option",
6503
+ "description": "System ID of the Role.",
6504
+ "required": false,
6505
+ "multiple": false,
6506
+ "exclusive": [
6507
+ "name"
6508
+ ]
6509
+ },
6510
+ "enterprise": {
6511
+ "name": "enterprise",
6512
+ "type": "option",
6513
+ "char": "e",
6514
+ "description": "(required only if there are more than one) Name of the Enterprise in which to view the entities to which the role has access.",
6515
+ "required": false,
6516
+ "multiple": false
6517
+ },
6518
+ "silent": {
6519
+ "name": "silent",
6520
+ "type": "boolean",
6521
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6522
+ "allowNo": false,
6523
+ "exclusive": [
6524
+ "echo",
6525
+ "to-script"
6526
+ ]
6527
+ },
6528
+ "echo": {
6529
+ "name": "echo",
6530
+ "type": "boolean",
6531
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6532
+ "allowNo": false,
6533
+ "exclusive": [
6534
+ "to-script",
6535
+ "silent"
6536
+ ]
6537
+ },
6538
+ "to-script": {
6539
+ "name": "to-script",
6540
+ "type": "boolean",
6541
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6542
+ "allowNo": false,
6543
+ "exclusive": [
6544
+ "echo",
6545
+ "silent"
6546
+ ]
6547
+ },
6548
+ "take-defaults": {
6549
+ "name": "take-defaults",
6550
+ "type": "boolean",
6551
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6552
+ "allowNo": false,
6553
+ "exclusive": [
6554
+ "silent"
6555
+ ]
6556
+ }
6557
+ },
6558
+ "args": {
6559
+ "name": {
6560
+ "name": "name",
6561
+ "description": "Name of the Role.",
6562
+ "required": false
6563
+ }
6564
+ }
6565
+ },
6566
+ "auth:role:assign": {
6567
+ "id": "auth:role:assign",
6568
+ "description": "Applies a Role to a user or group within the current tenant security context.",
6569
+ "strict": true,
6570
+ "pluginName": "@codiac.io/codiac-cli",
6571
+ "pluginAlias": "@codiac.io/codiac-cli",
6572
+ "pluginType": "core",
6573
+ "aliases": [],
6574
+ "hiddenAliases": [],
6575
+ "examples": [
6576
+ "<%= config.bin %> <%= command.id %> -r deployer -u joe.cool@yourdomain.com"
6577
+ ],
6578
+ "flags": {
6579
+ "role": {
6580
+ "name": "role",
6581
+ "type": "option",
6582
+ "char": "r",
6583
+ "description": "Name of the Role being assigned. Required in silent mode.",
6584
+ "required": false,
6585
+ "multiple": false
6586
+ },
6587
+ "user": {
6588
+ "name": "user",
6589
+ "type": "option",
6590
+ "char": "u",
6591
+ "description": "Username getting the role assignment. Required in silent mode.",
6592
+ "required": false,
6593
+ "multiple": false
6594
+ },
6595
+ "silent": {
6596
+ "name": "silent",
6597
+ "type": "boolean",
6598
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6599
+ "allowNo": false,
6600
+ "exclusive": [
6601
+ "echo",
6602
+ "to-script"
6603
+ ]
6604
+ },
6605
+ "echo": {
6606
+ "name": "echo",
6607
+ "type": "boolean",
6608
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6609
+ "allowNo": false,
6610
+ "exclusive": [
6611
+ "to-script",
6612
+ "silent"
6613
+ ]
6614
+ },
6615
+ "to-script": {
6616
+ "name": "to-script",
6617
+ "type": "boolean",
6618
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6619
+ "allowNo": false,
6620
+ "exclusive": [
6621
+ "echo",
6622
+ "silent"
6623
+ ]
6624
+ },
6625
+ "take-defaults": {
6626
+ "name": "take-defaults",
6627
+ "type": "boolean",
6628
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6629
+ "allowNo": false,
6630
+ "exclusive": [
6631
+ "silent"
6632
+ ]
6633
+ }
6634
+ },
6635
+ "args": {}
6636
+ },
6637
+ "auth:role:create": {
6638
+ "id": "auth:role:create",
6639
+ "description": "Adds a new Role to the current tenant security context. It is the Role object to which various types of access are granted, and a user or group is given rights by assigning them one or more roles.",
6640
+ "strict": true,
6641
+ "pluginName": "@codiac.io/codiac-cli",
6642
+ "pluginAlias": "@codiac.io/codiac-cli",
6643
+ "pluginType": "core",
6644
+ "aliases": [],
6645
+ "hiddenAliases": [],
6646
+ "examples": [
6647
+ "<%= config.bin %> <%= command.id %> -n deployer"
6648
+ ],
6649
+ "flags": {
6650
+ "silent": {
6651
+ "name": "silent",
6652
+ "type": "boolean",
6653
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6654
+ "allowNo": false,
6655
+ "exclusive": [
6656
+ "echo",
6657
+ "to-script"
6658
+ ]
6659
+ },
6660
+ "echo": {
6661
+ "name": "echo",
6662
+ "type": "boolean",
6663
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6664
+ "allowNo": false,
6665
+ "exclusive": [
6666
+ "to-script",
6667
+ "silent"
6668
+ ]
6669
+ },
6670
+ "to-script": {
6671
+ "name": "to-script",
6672
+ "type": "boolean",
6673
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6674
+ "allowNo": false,
6675
+ "exclusive": [
6676
+ "echo",
6677
+ "silent"
6678
+ ]
6679
+ },
6680
+ "take-defaults": {
6681
+ "name": "take-defaults",
6682
+ "type": "boolean",
6683
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6684
+ "allowNo": false,
6685
+ "exclusive": [
6686
+ "silent"
6687
+ ]
6688
+ }
6689
+ },
6690
+ "args": {
6691
+ "name": {
6692
+ "name": "name",
6693
+ "description": "Name to give the new role.",
6694
+ "required": false
6695
+ }
6696
+ }
6697
+ },
6698
+ "auth:role:delete": {
6699
+ "id": "auth:role:delete",
6700
+ "description": "Deletes an existing Role from the current tenant security context. A role cannot be deleted if it is still assigned to an existing user or group.",
6701
+ "strict": true,
6702
+ "pluginName": "@codiac.io/codiac-cli",
6703
+ "pluginAlias": "@codiac.io/codiac-cli",
6704
+ "pluginType": "core",
6705
+ "aliases": [],
6706
+ "hiddenAliases": [],
6707
+ "examples": [
6708
+ "<%= config.bin %> <%= command.id %> -n deployer",
6709
+ "<%= config.bin %> <%= command.id %> --id abc123def456"
6710
+ ],
6711
+ "flags": {
6712
+ "id": {
6713
+ "name": "id",
6714
+ "type": "option",
6715
+ "description": "System ID of the Role.",
6716
+ "required": false,
6717
+ "multiple": false,
6718
+ "exclusive": [
6719
+ "name"
6720
+ ]
6721
+ },
6722
+ "silent": {
6723
+ "name": "silent",
6724
+ "type": "boolean",
6725
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6726
+ "allowNo": false,
6727
+ "exclusive": [
6728
+ "echo",
6729
+ "to-script"
6730
+ ]
6731
+ },
6732
+ "echo": {
6733
+ "name": "echo",
6734
+ "type": "boolean",
6735
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6736
+ "allowNo": false,
6737
+ "exclusive": [
6738
+ "to-script",
6739
+ "silent"
6740
+ ]
6741
+ },
6742
+ "to-script": {
6743
+ "name": "to-script",
6744
+ "type": "boolean",
6745
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6746
+ "allowNo": false,
6747
+ "exclusive": [
6748
+ "echo",
6749
+ "silent"
6750
+ ]
6751
+ },
6752
+ "take-defaults": {
6753
+ "name": "take-defaults",
6754
+ "type": "boolean",
6755
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6756
+ "allowNo": false,
6757
+ "exclusive": [
6758
+ "silent"
6759
+ ]
6760
+ }
6761
+ },
6762
+ "args": {
6763
+ "name": {
6764
+ "name": "name",
6765
+ "description": "Name of the Role.",
6766
+ "required": false
6767
+ }
6768
+ }
6769
+ },
6770
+ "auth:role:list": {
6771
+ "id": "auth:role:list",
6772
+ "description": "Retrieves the existing Roles within the current tenant security context.",
6773
+ "strict": true,
6774
+ "pluginName": "@codiac.io/codiac-cli",
6775
+ "pluginAlias": "@codiac.io/codiac-cli",
6776
+ "pluginType": "core",
6777
+ "aliases": [],
6778
+ "hiddenAliases": [],
6779
+ "examples": [
6780
+ "<%= config.bin %> <%= command.id %>",
6781
+ "<%= config.bin %> <%= command.id %> -o json",
6782
+ "<%= config.bin %> <%= command.id %> -o yaml > roles.yaml"
6783
+ ],
6784
+ "flags": {
6785
+ "output": {
6786
+ "name": "output",
6787
+ "type": "option",
6788
+ "char": "o",
6789
+ "description": "format in which to render the data.",
6790
+ "multiple": false,
6791
+ "options": [
6792
+ "json",
6793
+ "yaml",
6794
+ "text"
6795
+ ],
6796
+ "default": "text"
6797
+ },
6798
+ "silent": {
6799
+ "name": "silent",
6800
+ "type": "boolean",
6801
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6802
+ "allowNo": false,
6803
+ "exclusive": [
6804
+ "echo",
6805
+ "to-script"
6806
+ ]
6807
+ },
6808
+ "echo": {
6809
+ "name": "echo",
6810
+ "type": "boolean",
6811
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6812
+ "allowNo": false,
6813
+ "exclusive": [
6814
+ "to-script",
6815
+ "silent"
6816
+ ]
6817
+ },
6818
+ "to-script": {
6819
+ "name": "to-script",
6820
+ "type": "boolean",
6821
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6822
+ "allowNo": false,
6823
+ "exclusive": [
6824
+ "echo",
6825
+ "silent"
6826
+ ]
6827
+ },
6828
+ "take-defaults": {
6829
+ "name": "take-defaults",
6830
+ "type": "boolean",
6831
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6832
+ "allowNo": false,
6833
+ "exclusive": [
6834
+ "silent"
6835
+ ]
6836
+ }
6837
+ },
6838
+ "args": {}
6839
+ },
6840
+ "auth:role:unassign": {
6841
+ "id": "auth:role:unassign",
6842
+ "description": "Removes a Role from a user or group within the current tenant security context.",
6843
+ "strict": true,
6844
+ "pluginName": "@codiac.io/codiac-cli",
6845
+ "pluginAlias": "@codiac.io/codiac-cli",
6846
+ "pluginType": "core",
6847
+ "aliases": [],
6848
+ "hiddenAliases": [],
6849
+ "examples": [
6850
+ "<%= config.bin %> <%= command.id %> -r deployer -u joe.cool@yourdomain.com"
6851
+ ],
6852
+ "flags": {
6853
+ "role": {
6854
+ "name": "role",
6855
+ "type": "option",
6856
+ "char": "r",
6857
+ "description": "Name of the Role being assigned. Required in silent mode.",
6858
+ "required": false,
6859
+ "multiple": false
6860
+ },
6861
+ "user": {
6862
+ "name": "user",
6863
+ "type": "option",
6864
+ "char": "u",
6865
+ "description": "Username getting the role assignment. Required in silent mode.",
6866
+ "required": false,
6867
+ "multiple": false
6868
+ },
6869
+ "silent": {
6870
+ "name": "silent",
6871
+ "type": "boolean",
6872
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6873
+ "allowNo": false,
6874
+ "exclusive": [
6875
+ "echo",
6876
+ "to-script"
6877
+ ]
6878
+ },
6879
+ "echo": {
6880
+ "name": "echo",
6881
+ "type": "boolean",
6882
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6883
+ "allowNo": false,
6884
+ "exclusive": [
6885
+ "to-script",
6886
+ "silent"
6887
+ ]
6888
+ },
6889
+ "to-script": {
6890
+ "name": "to-script",
6891
+ "type": "boolean",
6892
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6893
+ "allowNo": false,
6894
+ "exclusive": [
6895
+ "echo",
6896
+ "silent"
6897
+ ]
6898
+ },
6899
+ "take-defaults": {
6900
+ "name": "take-defaults",
6901
+ "type": "boolean",
6902
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6903
+ "allowNo": false,
6904
+ "exclusive": [
6905
+ "silent"
6906
+ ]
6907
+ }
6908
+ },
6909
+ "args": {}
6910
+ },
6911
+ "auth:user:invite": {
6912
+ "id": "auth:user:invite",
6913
+ "description": "Adds a user to the current organization. Users must be invited to an organization (*with the exception of the original creator of the organization, who gets automatically added as the administrator*). NOTE: Users are designated by their email address and can be part of multiple organizations. If the the given email is not yet registered in Codiac, the an invite email will be sent prompting the user to register with Codiac and join the current organziation. NOTE: Use the `cod auth register` to join yourself.",
6914
+ "strict": true,
6915
+ "pluginName": "@codiac.io/codiac-cli",
6916
+ "pluginAlias": "@codiac.io/codiac-cli",
6917
+ "pluginType": "core",
6918
+ "aliases": [],
6919
+ "hiddenAliases": [],
6920
+ "examples": [
6921
+ "<%= config.bin %> <%= command.id %>"
6922
+ ],
6923
+ "flags": {
6924
+ "email": {
6925
+ "name": "email",
6926
+ "type": "option",
6927
+ "char": "e",
6928
+ "description": "This will be the user's login/username on Codiac.",
6929
+ "multiple": false
6930
+ },
6931
+ "firstName": {
6932
+ "name": "firstName",
6933
+ "type": "option",
6934
+ "char": "f",
6935
+ "description": "(optional; you can edit this later)",
6936
+ "multiple": false
6937
+ },
6938
+ "lastName": {
6939
+ "name": "lastName",
6940
+ "type": "option",
6941
+ "char": "l",
6942
+ "description": "(optional; you can edit this later)",
6943
+ "multiple": false
6944
+ },
6945
+ "role": {
6946
+ "name": "role",
6947
+ "type": "option",
6948
+ "char": "r",
6949
+ "description": "Each security role to assign to the user. Use this flag multiple times, once for each role to assign.",
6950
+ "multiple": true
6951
+ },
6952
+ "silent": {
6953
+ "name": "silent",
6954
+ "type": "boolean",
6955
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
6956
+ "allowNo": false,
6957
+ "exclusive": [
6958
+ "echo",
6959
+ "to-script"
6960
+ ]
6961
+ },
6962
+ "echo": {
6963
+ "name": "echo",
6964
+ "type": "boolean",
6965
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
6966
+ "allowNo": false,
6967
+ "exclusive": [
6968
+ "to-script",
6969
+ "silent"
6970
+ ]
6971
+ },
6972
+ "to-script": {
6973
+ "name": "to-script",
6974
+ "type": "boolean",
6975
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6976
+ "allowNo": false,
6977
+ "exclusive": [
6978
+ "echo",
6979
+ "silent"
6980
+ ]
6981
+ },
6982
+ "take-defaults": {
6983
+ "name": "take-defaults",
6984
+ "type": "boolean",
6985
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
6986
+ "allowNo": false,
6987
+ "exclusive": [
6988
+ "silent"
6989
+ ]
6990
+ }
6991
+ },
6992
+ "args": {}
6993
+ },
6994
+ "auth:user:list": {
6995
+ "id": "auth:user:list",
6996
+ "description": "Retrieves the existing users within the current tenant security context.",
6997
+ "strict": true,
6998
+ "pluginName": "@codiac.io/codiac-cli",
6999
+ "pluginAlias": "@codiac.io/codiac-cli",
7000
+ "pluginType": "core",
7001
+ "aliases": [],
7002
+ "hiddenAliases": [],
7003
+ "examples": [
7004
+ "<%= config.bin %> <%= command.id %>",
7005
+ "<%= config.bin %> <%= command.id %> -o json",
7006
+ "<%= config.bin %> <%= command.id %> -o yaml > users.yaml"
7007
+ ],
7008
+ "flags": {
7009
+ "output": {
7010
+ "name": "output",
7011
+ "type": "option",
7012
+ "char": "o",
7013
+ "description": "format in which to render the data.",
7014
+ "multiple": false,
7015
+ "options": [
7016
+ "json",
7017
+ "yaml",
7018
+ "text"
7019
+ ],
7020
+ "default": "text"
7021
+ },
7022
+ "silent": {
7023
+ "name": "silent",
7024
+ "type": "boolean",
7025
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
7026
+ "allowNo": false,
7027
+ "exclusive": [
7028
+ "echo",
7029
+ "to-script"
7030
+ ]
7031
+ },
7032
+ "echo": {
7033
+ "name": "echo",
7034
+ "type": "boolean",
7035
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
7036
+ "allowNo": false,
7037
+ "exclusive": [
7038
+ "to-script",
7039
+ "silent"
7040
+ ]
7041
+ },
7042
+ "to-script": {
7043
+ "name": "to-script",
7044
+ "type": "boolean",
7045
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
7046
+ "allowNo": false,
7047
+ "exclusive": [
7048
+ "echo",
7049
+ "silent"
7050
+ ]
7051
+ },
7052
+ "take-defaults": {
7053
+ "name": "take-defaults",
7054
+ "type": "boolean",
7055
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
7056
+ "allowNo": false,
7057
+ "exclusive": [
7058
+ "silent"
7059
+ ]
7060
+ }
7061
+ },
7062
+ "args": {}
7063
+ },
7064
+ "cluster:scaling:update": {
7065
+ "id": "cluster:scaling:update",
7066
+ "description": "Configures scaling rules for cluster node groups",
7067
+ "strict": true,
7068
+ "pluginName": "@codiac.io/codiac-cli",
7069
+ "pluginAlias": "@codiac.io/codiac-cli",
7070
+ "pluginType": "core",
7071
+ "hidden": true,
7072
+ "aliases": [],
7073
+ "hiddenAliases": [],
7074
+ "flags": {
7075
+ "help": {
7076
+ "name": "help",
7077
+ "type": "boolean",
7078
+ "char": "h",
7079
+ "description": "Show CLI help.",
7080
+ "allowNo": false
7081
+ },
7082
+ "enterprise": {
7083
+ "name": "enterprise",
7084
+ "type": "option",
7085
+ "char": "e",
7086
+ "description": "(optional if there is only one) The enterprise to which the cluster belongs",
7087
+ "multiple": false
7088
+ },
7089
+ "cluster": {
7090
+ "name": "cluster",
7091
+ "type": "option",
7092
+ "char": "c",
7093
+ "description": "(optional if there is only one) The cluster being scaled",
7094
+ "multiple": false
7095
+ },
7096
+ "node-group": {
7097
+ "name": "node-group",
7098
+ "type": "option",
7099
+ "char": "n",
7100
+ "description": "(optional if there is only one) Name of the node group to which the scaling rules apply.",
7101
+ "multiple": false
7102
+ },
7103
+ "min": {
7104
+ "name": "min",
7105
+ "type": "option",
7106
+ "description": "Minimum number of nodes to allow (integer >= 0)",
7107
+ "required": false,
7108
+ "multiple": false
7109
+ },
7110
+ "max": {
7111
+ "name": "max",
7112
+ "type": "option",
7113
+ "description": "Maximum number of nodes to allow (integer >= 0)",
7114
+ "required": false,
7115
+ "multiple": false
7116
+ },
7117
+ "desired": {
7118
+ "name": "desired",
7119
+ "type": "option",
7120
+ "description": "Number of nodes to start with and maintain (integer >= 0)",
7121
+ "required": false,
7122
+ "multiple": false
7123
+ },
7124
+ "silent": {
7125
+ "name": "silent",
7126
+ "type": "boolean",
7127
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
7128
+ "allowNo": false,
7129
+ "exclusive": [
7130
+ "echo",
7131
+ "to-script"
7132
+ ]
7133
+ },
7134
+ "echo": {
7135
+ "name": "echo",
7136
+ "type": "boolean",
7137
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
7138
+ "allowNo": false,
7139
+ "exclusive": [
7140
+ "to-script",
7141
+ "silent"
7142
+ ]
7143
+ },
7144
+ "to-script": {
7145
+ "name": "to-script",
7146
+ "type": "boolean",
7147
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
7148
+ "allowNo": false,
7149
+ "exclusive": [
7150
+ "echo",
7151
+ "silent"
7152
+ ]
7153
+ },
7154
+ "take-defaults": {
7155
+ "name": "take-defaults",
7156
+ "type": "boolean",
7157
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
7158
+ "allowNo": false,
7159
+ "exclusive": [
7160
+ "silent"
7161
+ ]
7162
+ }
7163
+ },
7164
+ "args": {
7165
+ "file": {
7166
+ "name": "file",
7167
+ "description": "file to read"
7168
+ }
7169
+ }
7170
+ },
7171
+ "config:settings:get": {
7172
+ "id": "config:settings:get",
7173
+ "description": "Shows the list of clusters.",
7174
+ "strict": true,
7175
+ "pluginName": "@codiac.io/codiac-cli",
7176
+ "pluginAlias": "@codiac.io/codiac-cli",
7177
+ "pluginType": "core",
7178
+ "aliases": [],
7179
+ "hiddenAliases": [],
7180
+ "flags": {
7181
+ "enterprise": {
7182
+ "name": "enterprise",
7183
+ "type": "option",
7184
+ "char": "n",
7185
+ "description": "(required only when more than one enterprise exists) The name of the enterprise containing the asset.",
7186
+ "multiple": false
7187
+ },
7188
+ "asset": {
7189
+ "name": "asset",
7190
+ "type": "option",
7191
+ "char": "a",
7192
+ "description": "The name of the asset to which the settings belong.",
7193
+ "multiple": false
7194
+ },
7195
+ "file": {
7196
+ "name": "file",
7197
+ "type": "option",
7198
+ "char": "f",
7199
+ "description": "The path-name to the file to which the settings belong, relative to the root of the container image.",
7200
+ "multiple": false,
7201
+ "exclusive": [
7202
+ "type"
7203
+ ]
7204
+ },
7205
+ "type": {
7206
+ "name": "type",
7207
+ "type": "option",
7208
+ "char": "t",
7209
+ "description": "Filters for the settings types that do not land in a config file (such as... env: OS environment variables, footprint: container footprint specs, helm: helm chart settings, label: container meta labels, annotation: container platform key-value pairs).",
7210
+ "multiple": false,
7211
+ "options": [
7212
+ "env",
7213
+ "filestore",
7214
+ "footprint",
7215
+ "helm",
7216
+ "annotation",
7217
+ "label",
7218
+ "probing"
7219
+ ],
7220
+ "exclusive": [
7221
+ "file"
7222
+ ]
7223
+ },
7224
+ "enterprise-scope": {
7225
+ "name": "enterprise-scope",
7226
+ "type": "boolean",
7227
+ "char": "s",
7228
+ "description": "Filters for settings scoped at the enterprise level.",
7229
+ "allowNo": false,
7230
+ "exclusive": [
7231
+ "enviro",
7232
+ "cabinet"
7233
+ ]
7234
+ },
7235
+ "enviro": {
7236
+ "name": "enviro",
7237
+ "type": "option",
5929
7238
  "char": "e",
5930
7239
  "description": "Filters for settings scoped to the given environment name.",
5931
7240
  "multiple": false,
@@ -6030,6 +7339,7 @@
6030
7339
  "aliases": [
6031
7340
  "enviro:cluster:attach"
6032
7341
  ],
7342
+ "hiddenAliases": [],
6033
7343
  "flags": {
6034
7344
  "enterprise": {
6035
7345
  "name": "enterprise",
@@ -6106,6 +7416,7 @@
6106
7416
  "aliases": [
6107
7417
  "enviro:cluster:detach"
6108
7418
  ],
7419
+ "hiddenAliases": [],
6109
7420
  "flags": {
6110
7421
  "enterprise": {
6111
7422
  "name": "enterprise",
@@ -6182,6 +7493,7 @@
6182
7493
  "aliases": [
6183
7494
  "pullsecret"
6184
7495
  ],
7496
+ "hiddenAliases": [],
6185
7497
  "flags": {
6186
7498
  "registry": {
6187
7499
  "name": "registry",
@@ -6287,6 +7599,7 @@
6287
7599
  "aliases": [
6288
7600
  "pullsecret:unset"
6289
7601
  ],
7602
+ "hiddenAliases": [],
6290
7603
  "flags": {
6291
7604
  "registry": {
6292
7605
  "name": "registry",
@@ -6361,6 +7674,7 @@
6361
7674
  "image:version:bump",
6362
7675
  "img:version:bump"
6363
7676
  ],
7677
+ "hiddenAliases": [],
6364
7678
  "flags": {
6365
7679
  "help": {
6366
7680
  "name": "help",
@@ -6429,6 +7743,7 @@
6429
7743
  "aliases": [
6430
7744
  "cluster:create"
6431
7745
  ],
7746
+ "hiddenAliases": [],
6432
7747
  "flags": {
6433
7748
  "help": {
6434
7749
  "name": "help",
@@ -6578,6 +7893,7 @@
6578
7893
  "aliases": [
6579
7894
  "cluster:deinit"
6580
7895
  ],
7896
+ "hiddenAliases": [],
6581
7897
  "flags": {
6582
7898
  "help": {
6583
7899
  "name": "help",
@@ -6638,6 +7954,7 @@
6638
7954
  "aliases": [
6639
7955
  "cluster:destroy"
6640
7956
  ],
7957
+ "hiddenAliases": [],
6641
7958
  "flags": {
6642
7959
  "help": {
6643
7960
  "name": "help",
@@ -6716,6 +8033,7 @@
6716
8033
  "aliases": [
6717
8034
  "cluster:forget"
6718
8035
  ],
8036
+ "hiddenAliases": [],
6719
8037
  "flags": {
6720
8038
  "name": {
6721
8039
  "name": "name",
@@ -6765,6 +8083,7 @@
6765
8083
  "aliases": [
6766
8084
  "cluster:grant"
6767
8085
  ],
8086
+ "hiddenAliases": [],
6768
8087
  "flags": {
6769
8088
  "help": {
6770
8089
  "name": "help",
@@ -6819,6 +8138,7 @@
6819
8138
  "aliases": [
6820
8139
  "cluster:init"
6821
8140
  ],
8141
+ "hiddenAliases": [],
6822
8142
  "flags": {
6823
8143
  "help": {
6824
8144
  "name": "help",
@@ -6879,6 +8199,7 @@
6879
8199
  "aliases": [
6880
8200
  "cluster:list"
6881
8201
  ],
8202
+ "hiddenAliases": [],
6882
8203
  "flags": {
6883
8204
  "output": {
6884
8205
  "name": "output",
@@ -6914,6 +8235,7 @@
6914
8235
  "aliases": [
6915
8236
  "cluster:recreate"
6916
8237
  ],
8238
+ "hiddenAliases": [],
6917
8239
  "flags": {
6918
8240
  "help": {
6919
8241
  "name": "help",
@@ -7030,6 +8352,188 @@
7030
8352
  }
7031
8353
  },
7032
8354
  "dependsOn": []
8355
+ },
8356
+ "auth:enterprise:allow:onEnvironments": {
8357
+ "id": "auth:enterprise:allow:onEnvironments",
8358
+ "description": "Sets permissions for a security Role to be applied to any new environments created within the given enterprise. Only modifies default permissions on FUTURE for new environments; DOES NOT modify permissions on any existing environments. (NOT additive: this command overwrites any existing new-environment permissions set for this role).",
8359
+ "strict": true,
8360
+ "pluginName": "@codiac.io/codiac-cli",
8361
+ "pluginAlias": "@codiac.io/codiac-cli",
8362
+ "pluginType": "core",
8363
+ "aliases": [
8364
+ "auth:ent:allow:onenvs"
8365
+ ],
8366
+ "hiddenAliases": [],
8367
+ "examples": [
8368
+ "<%= config.bin %> <%= command.id %> --enterprise main --role developer --privilege modify",
8369
+ "<%= config.bin %> <%= command.id %> -r developer -p none",
8370
+ "<%= config.bin %> <%= command.id %> --enterprise dyno -r productmanager -p read"
8371
+ ],
8372
+ "flags": {
8373
+ "enterprise": {
8374
+ "name": "enterprise",
8375
+ "type": "option",
8376
+ "description": "Name of the Enterprise containing the environemnt. (Required only if more than one exists).",
8377
+ "required": false,
8378
+ "multiple": false
8379
+ },
8380
+ "role": {
8381
+ "name": "role",
8382
+ "type": "option",
8383
+ "char": "r",
8384
+ "description": "Name of the Role being assigned. Required in silent mode.",
8385
+ "required": false,
8386
+ "multiple": false
8387
+ },
8388
+ "privilege": {
8389
+ "name": "privilege",
8390
+ "type": "option",
8391
+ "char": "p",
8392
+ "description": "The permission to assign to the Role. (\"modify\" infers permission to create, read, update, and delete. \"none\" removes any permissions set for the role)",
8393
+ "required": true,
8394
+ "multiple": false,
8395
+ "options": [
8396
+ "modify",
8397
+ "read",
8398
+ "none"
8399
+ ]
8400
+ },
8401
+ "silent": {
8402
+ "name": "silent",
8403
+ "type": "boolean",
8404
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8405
+ "allowNo": false,
8406
+ "exclusive": [
8407
+ "echo",
8408
+ "to-script"
8409
+ ]
8410
+ },
8411
+ "echo": {
8412
+ "name": "echo",
8413
+ "type": "boolean",
8414
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8415
+ "allowNo": false,
8416
+ "exclusive": [
8417
+ "to-script",
8418
+ "silent"
8419
+ ]
8420
+ },
8421
+ "to-script": {
8422
+ "name": "to-script",
8423
+ "type": "boolean",
8424
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8425
+ "allowNo": false,
8426
+ "exclusive": [
8427
+ "echo",
8428
+ "silent"
8429
+ ]
8430
+ },
8431
+ "take-defaults": {
8432
+ "name": "take-defaults",
8433
+ "type": "boolean",
8434
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
8435
+ "allowNo": false,
8436
+ "exclusive": [
8437
+ "silent"
8438
+ ]
8439
+ }
8440
+ },
8441
+ "args": {}
8442
+ },
8443
+ "auth:environment:allow:onCabinets": {
8444
+ "id": "auth:environment:allow:onCabinets",
8445
+ "description": "Sets permissions for a security Role to be applied to any new cabinets created within the given environment. Only modifies default permissions on FUTURE for new cabinets; DOES NOT modify permissions on any existing cabinets. (NOT additive: this command overwrites any existing new-cabinet permissions set for this role).",
8446
+ "strict": true,
8447
+ "pluginName": "@codiac.io/codiac-cli",
8448
+ "pluginAlias": "@codiac.io/codiac-cli",
8449
+ "pluginType": "core",
8450
+ "aliases": [
8451
+ "auth:enviro:allow:oncabs"
8452
+ ],
8453
+ "hiddenAliases": [],
8454
+ "examples": [
8455
+ "<%= config.bin %> <%= command.id %> --enterprise main --environment dev --role developer --privilege modify",
8456
+ "<%= config.bin %> <%= command.id %> -e prod -r developer -p none",
8457
+ "<%= config.bin %> <%= command.id %> -e qa -r productmanager -p read"
8458
+ ],
8459
+ "flags": {
8460
+ "enterprise": {
8461
+ "name": "enterprise",
8462
+ "type": "option",
8463
+ "description": "Name of the Enterprise containing the environemnt. (Required only if more than one exists).",
8464
+ "required": false,
8465
+ "multiple": false
8466
+ },
8467
+ "environment": {
8468
+ "name": "environment",
8469
+ "type": "option",
8470
+ "char": "e",
8471
+ "description": "Name of the Environment whose new cabinets are to be protected. Required in silent mode.",
8472
+ "required": false,
8473
+ "multiple": false
8474
+ },
8475
+ "role": {
8476
+ "name": "role",
8477
+ "type": "option",
8478
+ "char": "r",
8479
+ "description": "Name of the Role being assigned. Required in silent mode.",
8480
+ "required": false,
8481
+ "multiple": false
8482
+ },
8483
+ "privilege": {
8484
+ "name": "privilege",
8485
+ "type": "option",
8486
+ "char": "p",
8487
+ "description": "The permission to assign to the Role. (\"modify\" infers permission to create, read, update, and delete. \"none\" removes any permissions set for the role)",
8488
+ "required": true,
8489
+ "multiple": false,
8490
+ "options": [
8491
+ "modify",
8492
+ "read",
8493
+ "none"
8494
+ ]
8495
+ },
8496
+ "silent": {
8497
+ "name": "silent",
8498
+ "type": "boolean",
8499
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8500
+ "allowNo": false,
8501
+ "exclusive": [
8502
+ "echo",
8503
+ "to-script"
8504
+ ]
8505
+ },
8506
+ "echo": {
8507
+ "name": "echo",
8508
+ "type": "boolean",
8509
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8510
+ "allowNo": false,
8511
+ "exclusive": [
8512
+ "to-script",
8513
+ "silent"
8514
+ ]
8515
+ },
8516
+ "to-script": {
8517
+ "name": "to-script",
8518
+ "type": "boolean",
8519
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8520
+ "allowNo": false,
8521
+ "exclusive": [
8522
+ "echo",
8523
+ "silent"
8524
+ ]
8525
+ },
8526
+ "take-defaults": {
8527
+ "name": "take-defaults",
8528
+ "type": "boolean",
8529
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode). This behavior does NOT apply to scenarios that the command needs to override invalid user input; such cases will always prompt for confirmation. eg: when no argument was provided for file or type, and only one exists, the system will render the autoselected file unless this flag is set.",
8530
+ "allowNo": false,
8531
+ "exclusive": [
8532
+ "silent"
8533
+ ]
8534
+ }
8535
+ },
8536
+ "args": {}
7033
8537
  }
7034
8538
  }
7035
8539
  }