@codiac.io/codiac-cli 1.3.187 → 1.3.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9643 -2069
- package/dist/apis/codiac-api/gen/contracts/types.gen.d.ts +2 -0
- package/dist/apis/codiac-api/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-api-nats/gen/contracts/types.gen.d.ts +2 -0
- package/dist/apis/codiac-api-nats/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay/gen/client.d.ts +11 -1
- package/dist/apis/codiac-relay/gen/client.js +30 -0
- package/dist/apis/codiac-relay/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +20 -0
- package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay/i-client.d.ts +10 -0
- package/dist/apis/codiac-relay-nats/gen/client.d.ts +6 -0
- package/dist/apis/codiac-relay-nats/gen/client.js +36 -0
- package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -1
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +29 -0
- package/dist/commands/cabinet/create.js +16 -12
- package/dist/commands/cabinet/create.js.map +1 -1
- package/dist/commands/cabinet/define.d.ts +42 -0
- package/dist/commands/cabinet/define.js +149 -0
- package/dist/commands/cabinet/define.js.map +1 -0
- package/dist/commands/cabinet/destroy.d.ts +39 -0
- package/dist/commands/cabinet/destroy.js +101 -0
- package/dist/commands/cabinet/destroy.js.map +1 -0
- package/dist/commands/cabinet/detach.d.ts +39 -0
- package/dist/commands/cabinet/detach.js +102 -0
- package/dist/commands/cabinet/detach.js.map +1 -0
- package/dist/commands/cabinet/forget.d.ts +39 -0
- package/dist/commands/cabinet/forget.js +101 -0
- package/dist/commands/cabinet/forget.js.map +1 -0
- package/dist/commands/noc/cluster/forget.d.ts +8 -2
- package/dist/commands/noc/cluster/forget.js +43 -25
- package/dist/commands/noc/cluster/forget.js.map +1 -1
- package/dist/relay/relay-container.js +1 -1
- package/oclif.manifest.json +564 -1
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.3.
|
|
2
|
+
"version": "1.3.189",
|
|
3
3
|
"commands": {
|
|
4
4
|
"branch": {
|
|
5
5
|
"id": "branch",
|
|
@@ -2986,6 +2986,562 @@
|
|
|
2986
2986
|
}
|
|
2987
2987
|
}
|
|
2988
2988
|
},
|
|
2989
|
+
"cabinet:define": {
|
|
2990
|
+
"id": "cabinet:define",
|
|
2991
|
+
"description": "Records the cabinet metadata without provisioning any k8s infrastructure. Use when the target cluster has no physical instance yet, or to stage a cabinet definition ahead of provisioning.",
|
|
2992
|
+
"strict": true,
|
|
2993
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
2994
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
2995
|
+
"pluginType": "core",
|
|
2996
|
+
"aliases": [
|
|
2997
|
+
"cab:define"
|
|
2998
|
+
],
|
|
2999
|
+
"hiddenAliases": [],
|
|
3000
|
+
"examples": [
|
|
3001
|
+
{
|
|
3002
|
+
"description": "Define a cabinet interactively.",
|
|
3003
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"description": "Define a cabinet interactively and assemble a non-interactive command string.",
|
|
3007
|
+
"command": "<%= config.bin %> <%= command.id %> --echo"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"description": "Assemble a non-interactive command string without defining (dry run).",
|
|
3011
|
+
"command": "<%= config.bin %> <%= command.id %> --to-script"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"description": "Define a cabinet silently (scripted).",
|
|
3015
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev-environment --cluster my-cluster --silent"
|
|
3016
|
+
}
|
|
3017
|
+
],
|
|
3018
|
+
"flags": {
|
|
3019
|
+
"as": {
|
|
3020
|
+
"name": "as",
|
|
3021
|
+
"type": "option",
|
|
3022
|
+
"description": "Fires this command with an argument list that was previously remembered using the --rememberAs flag.",
|
|
3023
|
+
"multiple": false
|
|
3024
|
+
},
|
|
3025
|
+
"remember": {
|
|
3026
|
+
"name": "remember",
|
|
3027
|
+
"type": "boolean",
|
|
3028
|
+
"description": "Saves the arguments, so they are invoked as defaults whenever this command gets called.",
|
|
3029
|
+
"allowNo": false
|
|
3030
|
+
},
|
|
3031
|
+
"rememberAs": {
|
|
3032
|
+
"name": "rememberAs",
|
|
3033
|
+
"type": "option",
|
|
3034
|
+
"description": "Saves the given argument list so that it can be called by name.",
|
|
3035
|
+
"multiple": false
|
|
3036
|
+
},
|
|
3037
|
+
"unremember": {
|
|
3038
|
+
"name": "unremember",
|
|
3039
|
+
"type": "option",
|
|
3040
|
+
"description": "Administrative only: DOES NOT fire the actual command. Simply clears the arguments that were previously stored under the given name (use \"--unRemember default\" to clear default argument list memorized with the --remember flag).",
|
|
3041
|
+
"multiple": false
|
|
3042
|
+
},
|
|
3043
|
+
"withoutdefaults": {
|
|
3044
|
+
"name": "withoutdefaults",
|
|
3045
|
+
"type": "boolean",
|
|
3046
|
+
"description": "Prevents any relevant saved defaults from being invoked for this call.",
|
|
3047
|
+
"allowNo": false
|
|
3048
|
+
},
|
|
3049
|
+
"verbose": {
|
|
3050
|
+
"name": "verbose",
|
|
3051
|
+
"type": "boolean",
|
|
3052
|
+
"char": "v",
|
|
3053
|
+
"description": "Renders additional logging levels (detail, trace, and debug) to the console output.",
|
|
3054
|
+
"allowNo": false
|
|
3055
|
+
},
|
|
3056
|
+
"help": {
|
|
3057
|
+
"name": "help",
|
|
3058
|
+
"type": "boolean",
|
|
3059
|
+
"char": "h",
|
|
3060
|
+
"description": "Show CLI help.",
|
|
3061
|
+
"allowNo": false
|
|
3062
|
+
},
|
|
3063
|
+
"enterprise": {
|
|
3064
|
+
"name": "enterprise",
|
|
3065
|
+
"type": "option",
|
|
3066
|
+
"description": "(required only if more than one enterprise exists) The enterprise under which to define the cabinet.",
|
|
3067
|
+
"multiple": false
|
|
3068
|
+
},
|
|
3069
|
+
"environment": {
|
|
3070
|
+
"name": "environment",
|
|
3071
|
+
"type": "option",
|
|
3072
|
+
"char": "e",
|
|
3073
|
+
"description": "The environment this cabinet belongs to.",
|
|
3074
|
+
"multiple": false
|
|
3075
|
+
},
|
|
3076
|
+
"cluster": {
|
|
3077
|
+
"name": "cluster",
|
|
3078
|
+
"type": "option",
|
|
3079
|
+
"char": "c",
|
|
3080
|
+
"description": "The cluster to assign this cabinet to. Defaults to the only cluster in the environment when there is exactly one.",
|
|
3081
|
+
"multiple": false
|
|
3082
|
+
},
|
|
3083
|
+
"silent": {
|
|
3084
|
+
"name": "silent",
|
|
3085
|
+
"type": "boolean",
|
|
3086
|
+
"description": "Non-interactive mode; executes without prompts and fails on any missing or invalid arguments.",
|
|
3087
|
+
"allowNo": false,
|
|
3088
|
+
"exclusive": [
|
|
3089
|
+
"echo",
|
|
3090
|
+
"to-script"
|
|
3091
|
+
]
|
|
3092
|
+
},
|
|
3093
|
+
"echo": {
|
|
3094
|
+
"name": "echo",
|
|
3095
|
+
"type": "boolean",
|
|
3096
|
+
"description": "Renders the equivalent non-interactive command before executing.",
|
|
3097
|
+
"allowNo": false,
|
|
3098
|
+
"exclusive": [
|
|
3099
|
+
"to-script",
|
|
3100
|
+
"silent"
|
|
3101
|
+
]
|
|
3102
|
+
},
|
|
3103
|
+
"to-script": {
|
|
3104
|
+
"name": "to-script",
|
|
3105
|
+
"type": "boolean",
|
|
3106
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
3107
|
+
"allowNo": false,
|
|
3108
|
+
"exclusive": [
|
|
3109
|
+
"echo",
|
|
3110
|
+
"silent"
|
|
3111
|
+
]
|
|
3112
|
+
},
|
|
3113
|
+
"take-defaults": {
|
|
3114
|
+
"name": "take-defaults",
|
|
3115
|
+
"type": "boolean",
|
|
3116
|
+
"description": "Accepts default values without confirmation prompts (irrelevant in --silent mode).",
|
|
3117
|
+
"allowNo": false,
|
|
3118
|
+
"exclusive": [
|
|
3119
|
+
"silent"
|
|
3120
|
+
]
|
|
3121
|
+
}
|
|
3122
|
+
},
|
|
3123
|
+
"args": {
|
|
3124
|
+
"cabinet": {
|
|
3125
|
+
"name": "cabinet",
|
|
3126
|
+
"description": "The name of the cabinet to define.",
|
|
3127
|
+
"required": false
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
"cabinet:destroy": {
|
|
3132
|
+
"id": "cabinet:destroy",
|
|
3133
|
+
"description": "Tears down the k8s namespace for a cabinet without deleting the cabinet metadata record. The definition is preserved so the cabinet can be restored to the same or a different cluster later.",
|
|
3134
|
+
"strict": true,
|
|
3135
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
3136
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
3137
|
+
"pluginType": "core",
|
|
3138
|
+
"aliases": [
|
|
3139
|
+
"cab:destroy"
|
|
3140
|
+
],
|
|
3141
|
+
"hiddenAliases": [],
|
|
3142
|
+
"examples": [
|
|
3143
|
+
{
|
|
3144
|
+
"description": "Destroy a cabinet interactively.",
|
|
3145
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"description": "Destroy a cabinet silently (scripted).",
|
|
3149
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev --silent"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"description": "Move a running cabinet to a different cluster.",
|
|
3153
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev --silent && cod cabinet detach my-cab --enterprise main --environment dev --silent && cod cabinet cluster attach my-cab --enterprise main --environment dev --cluster new-cluster --silent && cod cabinet restore --cabinet my-cab --enterprise main --environment dev --silent"
|
|
3154
|
+
}
|
|
3155
|
+
],
|
|
3156
|
+
"flags": {
|
|
3157
|
+
"as": {
|
|
3158
|
+
"name": "as",
|
|
3159
|
+
"type": "option",
|
|
3160
|
+
"description": "Fires this command with an argument list that was previously remembered using the --rememberAs flag.",
|
|
3161
|
+
"multiple": false
|
|
3162
|
+
},
|
|
3163
|
+
"remember": {
|
|
3164
|
+
"name": "remember",
|
|
3165
|
+
"type": "boolean",
|
|
3166
|
+
"description": "Saves the arguments, so they are invoked as defaults whenever this command gets called.",
|
|
3167
|
+
"allowNo": false
|
|
3168
|
+
},
|
|
3169
|
+
"rememberAs": {
|
|
3170
|
+
"name": "rememberAs",
|
|
3171
|
+
"type": "option",
|
|
3172
|
+
"description": "Saves the given argument list so that it can be called by name.",
|
|
3173
|
+
"multiple": false
|
|
3174
|
+
},
|
|
3175
|
+
"unremember": {
|
|
3176
|
+
"name": "unremember",
|
|
3177
|
+
"type": "option",
|
|
3178
|
+
"description": "Administrative only: DOES NOT fire the actual command. Simply clears the arguments that were previously stored under the given name (use \"--unRemember default\" to clear default argument list memorized with the --remember flag).",
|
|
3179
|
+
"multiple": false
|
|
3180
|
+
},
|
|
3181
|
+
"withoutdefaults": {
|
|
3182
|
+
"name": "withoutdefaults",
|
|
3183
|
+
"type": "boolean",
|
|
3184
|
+
"description": "Prevents any relevant saved defaults from being invoked for this call.",
|
|
3185
|
+
"allowNo": false
|
|
3186
|
+
},
|
|
3187
|
+
"verbose": {
|
|
3188
|
+
"name": "verbose",
|
|
3189
|
+
"type": "boolean",
|
|
3190
|
+
"char": "v",
|
|
3191
|
+
"description": "Renders additional logging levels (detail, trace, and debug) to the console output.",
|
|
3192
|
+
"allowNo": false
|
|
3193
|
+
},
|
|
3194
|
+
"help": {
|
|
3195
|
+
"name": "help",
|
|
3196
|
+
"type": "boolean",
|
|
3197
|
+
"char": "h",
|
|
3198
|
+
"description": "Show CLI help.",
|
|
3199
|
+
"allowNo": false
|
|
3200
|
+
},
|
|
3201
|
+
"enterprise": {
|
|
3202
|
+
"name": "enterprise",
|
|
3203
|
+
"type": "option",
|
|
3204
|
+
"description": "The enterprise that owns the cabinet.",
|
|
3205
|
+
"multiple": false
|
|
3206
|
+
},
|
|
3207
|
+
"environment": {
|
|
3208
|
+
"name": "environment",
|
|
3209
|
+
"type": "option",
|
|
3210
|
+
"char": "e",
|
|
3211
|
+
"description": "The environment the cabinet belongs to.",
|
|
3212
|
+
"multiple": false
|
|
3213
|
+
},
|
|
3214
|
+
"cabinet": {
|
|
3215
|
+
"name": "cabinet",
|
|
3216
|
+
"type": "option",
|
|
3217
|
+
"char": "b",
|
|
3218
|
+
"description": "The name of the cabinet to destroy.",
|
|
3219
|
+
"multiple": false
|
|
3220
|
+
},
|
|
3221
|
+
"silent": {
|
|
3222
|
+
"name": "silent",
|
|
3223
|
+
"type": "boolean",
|
|
3224
|
+
"description": "Non-interactive mode; fails on any missing or invalid arguments.",
|
|
3225
|
+
"allowNo": false,
|
|
3226
|
+
"exclusive": [
|
|
3227
|
+
"echo",
|
|
3228
|
+
"to-script"
|
|
3229
|
+
]
|
|
3230
|
+
},
|
|
3231
|
+
"echo": {
|
|
3232
|
+
"name": "echo",
|
|
3233
|
+
"type": "boolean",
|
|
3234
|
+
"description": "Renders the equivalent non-interactive command before executing.",
|
|
3235
|
+
"allowNo": false,
|
|
3236
|
+
"exclusive": [
|
|
3237
|
+
"to-script",
|
|
3238
|
+
"silent"
|
|
3239
|
+
]
|
|
3240
|
+
},
|
|
3241
|
+
"to-script": {
|
|
3242
|
+
"name": "to-script",
|
|
3243
|
+
"type": "boolean",
|
|
3244
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
3245
|
+
"allowNo": false,
|
|
3246
|
+
"exclusive": [
|
|
3247
|
+
"echo",
|
|
3248
|
+
"silent"
|
|
3249
|
+
]
|
|
3250
|
+
},
|
|
3251
|
+
"take-defaults": {
|
|
3252
|
+
"name": "take-defaults",
|
|
3253
|
+
"type": "boolean",
|
|
3254
|
+
"description": "Accepts default values without confirmation prompts.",
|
|
3255
|
+
"allowNo": false,
|
|
3256
|
+
"exclusive": [
|
|
3257
|
+
"silent"
|
|
3258
|
+
]
|
|
3259
|
+
}
|
|
3260
|
+
},
|
|
3261
|
+
"args": {
|
|
3262
|
+
"cabinet": {
|
|
3263
|
+
"name": "cabinet",
|
|
3264
|
+
"description": "The name of the cabinet to destroy.",
|
|
3265
|
+
"required": false
|
|
3266
|
+
}
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
"cabinet:detach": {
|
|
3270
|
+
"id": "cabinet:detach",
|
|
3271
|
+
"description": "Clears the cluster assignment from a cabinet definition, making it available to re-attach to a different cluster. Does not touch any k8s infrastructure.",
|
|
3272
|
+
"strict": true,
|
|
3273
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
3274
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
3275
|
+
"pluginType": "core",
|
|
3276
|
+
"aliases": [
|
|
3277
|
+
"cab:detach"
|
|
3278
|
+
],
|
|
3279
|
+
"hiddenAliases": [],
|
|
3280
|
+
"examples": [
|
|
3281
|
+
{
|
|
3282
|
+
"description": "Detach a cabinet interactively.",
|
|
3283
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"description": "Detach a cabinet silently (scripted).",
|
|
3287
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev --silent"
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"description": "Move a cabinet to a different cluster.",
|
|
3291
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev --silent && cod cabinet cluster attach my-cab --enterprise main --environment dev --cluster new-cluster && cod cabinet restore --cabinet my-cab --enterprise main --environment dev"
|
|
3292
|
+
}
|
|
3293
|
+
],
|
|
3294
|
+
"flags": {
|
|
3295
|
+
"as": {
|
|
3296
|
+
"name": "as",
|
|
3297
|
+
"type": "option",
|
|
3298
|
+
"description": "Fires this command with an argument list that was previously remembered using the --rememberAs flag.",
|
|
3299
|
+
"multiple": false
|
|
3300
|
+
},
|
|
3301
|
+
"remember": {
|
|
3302
|
+
"name": "remember",
|
|
3303
|
+
"type": "boolean",
|
|
3304
|
+
"description": "Saves the arguments, so they are invoked as defaults whenever this command gets called.",
|
|
3305
|
+
"allowNo": false
|
|
3306
|
+
},
|
|
3307
|
+
"rememberAs": {
|
|
3308
|
+
"name": "rememberAs",
|
|
3309
|
+
"type": "option",
|
|
3310
|
+
"description": "Saves the given argument list so that it can be called by name.",
|
|
3311
|
+
"multiple": false
|
|
3312
|
+
},
|
|
3313
|
+
"unremember": {
|
|
3314
|
+
"name": "unremember",
|
|
3315
|
+
"type": "option",
|
|
3316
|
+
"description": "Administrative only: DOES NOT fire the actual command. Simply clears the arguments that were previously stored under the given name (use \"--unRemember default\" to clear default argument list memorized with the --remember flag).",
|
|
3317
|
+
"multiple": false
|
|
3318
|
+
},
|
|
3319
|
+
"withoutdefaults": {
|
|
3320
|
+
"name": "withoutdefaults",
|
|
3321
|
+
"type": "boolean",
|
|
3322
|
+
"description": "Prevents any relevant saved defaults from being invoked for this call.",
|
|
3323
|
+
"allowNo": false
|
|
3324
|
+
},
|
|
3325
|
+
"verbose": {
|
|
3326
|
+
"name": "verbose",
|
|
3327
|
+
"type": "boolean",
|
|
3328
|
+
"char": "v",
|
|
3329
|
+
"description": "Renders additional logging levels (detail, trace, and debug) to the console output.",
|
|
3330
|
+
"allowNo": false
|
|
3331
|
+
},
|
|
3332
|
+
"help": {
|
|
3333
|
+
"name": "help",
|
|
3334
|
+
"type": "boolean",
|
|
3335
|
+
"char": "h",
|
|
3336
|
+
"description": "Show CLI help.",
|
|
3337
|
+
"allowNo": false
|
|
3338
|
+
},
|
|
3339
|
+
"enterprise": {
|
|
3340
|
+
"name": "enterprise",
|
|
3341
|
+
"type": "option",
|
|
3342
|
+
"description": "The enterprise that owns the cabinet.",
|
|
3343
|
+
"multiple": false
|
|
3344
|
+
},
|
|
3345
|
+
"environment": {
|
|
3346
|
+
"name": "environment",
|
|
3347
|
+
"type": "option",
|
|
3348
|
+
"char": "e",
|
|
3349
|
+
"description": "The environment the cabinet belongs to.",
|
|
3350
|
+
"multiple": false
|
|
3351
|
+
},
|
|
3352
|
+
"cabinet": {
|
|
3353
|
+
"name": "cabinet",
|
|
3354
|
+
"type": "option",
|
|
3355
|
+
"char": "b",
|
|
3356
|
+
"description": "The name of the cabinet to detach.",
|
|
3357
|
+
"multiple": false
|
|
3358
|
+
},
|
|
3359
|
+
"silent": {
|
|
3360
|
+
"name": "silent",
|
|
3361
|
+
"type": "boolean",
|
|
3362
|
+
"description": "Non-interactive mode; fails on any missing or invalid arguments.",
|
|
3363
|
+
"allowNo": false,
|
|
3364
|
+
"exclusive": [
|
|
3365
|
+
"echo",
|
|
3366
|
+
"to-script"
|
|
3367
|
+
]
|
|
3368
|
+
},
|
|
3369
|
+
"echo": {
|
|
3370
|
+
"name": "echo",
|
|
3371
|
+
"type": "boolean",
|
|
3372
|
+
"description": "Renders the equivalent non-interactive command before executing.",
|
|
3373
|
+
"allowNo": false,
|
|
3374
|
+
"exclusive": [
|
|
3375
|
+
"to-script",
|
|
3376
|
+
"silent"
|
|
3377
|
+
]
|
|
3378
|
+
},
|
|
3379
|
+
"to-script": {
|
|
3380
|
+
"name": "to-script",
|
|
3381
|
+
"type": "boolean",
|
|
3382
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
3383
|
+
"allowNo": false,
|
|
3384
|
+
"exclusive": [
|
|
3385
|
+
"echo",
|
|
3386
|
+
"silent"
|
|
3387
|
+
]
|
|
3388
|
+
},
|
|
3389
|
+
"take-defaults": {
|
|
3390
|
+
"name": "take-defaults",
|
|
3391
|
+
"type": "boolean",
|
|
3392
|
+
"description": "Accepts default values without confirmation prompts.",
|
|
3393
|
+
"allowNo": false,
|
|
3394
|
+
"exclusive": [
|
|
3395
|
+
"silent"
|
|
3396
|
+
]
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
"args": {
|
|
3400
|
+
"cabinet": {
|
|
3401
|
+
"name": "cabinet",
|
|
3402
|
+
"description": "The name of the cabinet to detach.",
|
|
3403
|
+
"required": false
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
"cabinet:forget": {
|
|
3408
|
+
"id": "cabinet:forget",
|
|
3409
|
+
"description": "Removes the cabinet metadata record from Codiac without touching any k8s infrastructure. The physical namespace (if any) remains on the cluster, unaware and unaffected.",
|
|
3410
|
+
"strict": true,
|
|
3411
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
3412
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
3413
|
+
"pluginType": "core",
|
|
3414
|
+
"aliases": [
|
|
3415
|
+
"cab:forget"
|
|
3416
|
+
],
|
|
3417
|
+
"hiddenAliases": [],
|
|
3418
|
+
"examples": [
|
|
3419
|
+
{
|
|
3420
|
+
"description": "Forget a cabinet interactively.",
|
|
3421
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"description": "Forget a cabinet silently (scripted).",
|
|
3425
|
+
"command": "<%= config.bin %> <%= command.id %> my-cab --enterprise main --environment dev --silent"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"description": "Renders the equivalent silent command without executing.",
|
|
3429
|
+
"command": "<%= config.bin %> <%= command.id %> --to-script"
|
|
3430
|
+
}
|
|
3431
|
+
],
|
|
3432
|
+
"flags": {
|
|
3433
|
+
"as": {
|
|
3434
|
+
"name": "as",
|
|
3435
|
+
"type": "option",
|
|
3436
|
+
"description": "Fires this command with an argument list that was previously remembered using the --rememberAs flag.",
|
|
3437
|
+
"multiple": false
|
|
3438
|
+
},
|
|
3439
|
+
"remember": {
|
|
3440
|
+
"name": "remember",
|
|
3441
|
+
"type": "boolean",
|
|
3442
|
+
"description": "Saves the arguments, so they are invoked as defaults whenever this command gets called.",
|
|
3443
|
+
"allowNo": false
|
|
3444
|
+
},
|
|
3445
|
+
"rememberAs": {
|
|
3446
|
+
"name": "rememberAs",
|
|
3447
|
+
"type": "option",
|
|
3448
|
+
"description": "Saves the given argument list so that it can be called by name.",
|
|
3449
|
+
"multiple": false
|
|
3450
|
+
},
|
|
3451
|
+
"unremember": {
|
|
3452
|
+
"name": "unremember",
|
|
3453
|
+
"type": "option",
|
|
3454
|
+
"description": "Administrative only: DOES NOT fire the actual command. Simply clears the arguments that were previously stored under the given name (use \"--unRemember default\" to clear default argument list memorized with the --remember flag).",
|
|
3455
|
+
"multiple": false
|
|
3456
|
+
},
|
|
3457
|
+
"withoutdefaults": {
|
|
3458
|
+
"name": "withoutdefaults",
|
|
3459
|
+
"type": "boolean",
|
|
3460
|
+
"description": "Prevents any relevant saved defaults from being invoked for this call.",
|
|
3461
|
+
"allowNo": false
|
|
3462
|
+
},
|
|
3463
|
+
"verbose": {
|
|
3464
|
+
"name": "verbose",
|
|
3465
|
+
"type": "boolean",
|
|
3466
|
+
"char": "v",
|
|
3467
|
+
"description": "Renders additional logging levels (detail, trace, and debug) to the console output.",
|
|
3468
|
+
"allowNo": false
|
|
3469
|
+
},
|
|
3470
|
+
"help": {
|
|
3471
|
+
"name": "help",
|
|
3472
|
+
"type": "boolean",
|
|
3473
|
+
"char": "h",
|
|
3474
|
+
"description": "Show CLI help.",
|
|
3475
|
+
"allowNo": false
|
|
3476
|
+
},
|
|
3477
|
+
"enterprise": {
|
|
3478
|
+
"name": "enterprise",
|
|
3479
|
+
"type": "option",
|
|
3480
|
+
"description": "The enterprise that owns the cabinet.",
|
|
3481
|
+
"multiple": false
|
|
3482
|
+
},
|
|
3483
|
+
"environment": {
|
|
3484
|
+
"name": "environment",
|
|
3485
|
+
"type": "option",
|
|
3486
|
+
"char": "e",
|
|
3487
|
+
"description": "The environment the cabinet belongs to.",
|
|
3488
|
+
"multiple": false
|
|
3489
|
+
},
|
|
3490
|
+
"cabinet": {
|
|
3491
|
+
"name": "cabinet",
|
|
3492
|
+
"type": "option",
|
|
3493
|
+
"char": "b",
|
|
3494
|
+
"description": "The name of the cabinet to forget.",
|
|
3495
|
+
"multiple": false
|
|
3496
|
+
},
|
|
3497
|
+
"silent": {
|
|
3498
|
+
"name": "silent",
|
|
3499
|
+
"type": "boolean",
|
|
3500
|
+
"description": "Non-interactive mode; fails on any missing or invalid arguments.",
|
|
3501
|
+
"allowNo": false,
|
|
3502
|
+
"exclusive": [
|
|
3503
|
+
"echo",
|
|
3504
|
+
"to-script"
|
|
3505
|
+
]
|
|
3506
|
+
},
|
|
3507
|
+
"echo": {
|
|
3508
|
+
"name": "echo",
|
|
3509
|
+
"type": "boolean",
|
|
3510
|
+
"description": "Renders the equivalent non-interactive command before executing.",
|
|
3511
|
+
"allowNo": false,
|
|
3512
|
+
"exclusive": [
|
|
3513
|
+
"to-script",
|
|
3514
|
+
"silent"
|
|
3515
|
+
]
|
|
3516
|
+
},
|
|
3517
|
+
"to-script": {
|
|
3518
|
+
"name": "to-script",
|
|
3519
|
+
"type": "boolean",
|
|
3520
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
3521
|
+
"allowNo": false,
|
|
3522
|
+
"exclusive": [
|
|
3523
|
+
"echo",
|
|
3524
|
+
"silent"
|
|
3525
|
+
]
|
|
3526
|
+
},
|
|
3527
|
+
"take-defaults": {
|
|
3528
|
+
"name": "take-defaults",
|
|
3529
|
+
"type": "boolean",
|
|
3530
|
+
"description": "Accepts default values without confirmation prompts.",
|
|
3531
|
+
"allowNo": false,
|
|
3532
|
+
"exclusive": [
|
|
3533
|
+
"silent"
|
|
3534
|
+
]
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
"args": {
|
|
3538
|
+
"cabinet": {
|
|
3539
|
+
"name": "cabinet",
|
|
3540
|
+
"description": "The name of the cabinet to forget.",
|
|
3541
|
+
"required": false
|
|
3542
|
+
}
|
|
3543
|
+
}
|
|
3544
|
+
},
|
|
2989
3545
|
"cabinet:list": {
|
|
2990
3546
|
"id": "cabinet:list",
|
|
2991
3547
|
"description": "Shows the list of cabinets and environment.",
|
|
@@ -12548,6 +13104,13 @@
|
|
|
12548
13104
|
"required": false,
|
|
12549
13105
|
"allowNo": false
|
|
12550
13106
|
},
|
|
13107
|
+
"forget-cabinets": {
|
|
13108
|
+
"name": "forget-cabinets",
|
|
13109
|
+
"type": "boolean",
|
|
13110
|
+
"description": "Permanently delete cabinet records instead of just orphaning them (clearing the cluster assignment).",
|
|
13111
|
+
"required": false,
|
|
13112
|
+
"allowNo": false
|
|
13113
|
+
},
|
|
12551
13114
|
"silent": {
|
|
12552
13115
|
"name": "silent",
|
|
12553
13116
|
"type": "boolean",
|
package/package.json
CHANGED