@codiac.io/codiac-cli 1.3.188 → 1.3.190
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 +9728 -2022
- 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/commands/snapshot/tag.d.ts +42 -0
- package/dist/commands/snapshot/tag.js +169 -0
- package/dist/commands/snapshot/tag.js.map +1 -0
- package/dist/commands/snapshot/tags.d.ts +1 -0
- package/dist/commands/snapshot/tags.js +1 -0
- package/dist/commands/snapshot/tags.js.map +1 -1
- package/dist/commands/snapshot/untag.d.ts +43 -0
- package/dist/commands/snapshot/untag.js +194 -0
- package/dist/commands/snapshot/untag.js.map +1 -0
- package/dist/relay/relay-container.js +1 -1
- package/oclif.manifest.json +753 -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.190",
|
|
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.",
|
|
@@ -7868,6 +8424,100 @@
|
|
|
7868
8424
|
},
|
|
7869
8425
|
"args": {}
|
|
7870
8426
|
},
|
|
8427
|
+
"snapshot:tag": {
|
|
8428
|
+
"id": "snapshot:tag",
|
|
8429
|
+
"description": "Adds a tag to a snapshot, creating the tag record if it does not already exist on that snapshot.",
|
|
8430
|
+
"strict": true,
|
|
8431
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
8432
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
8433
|
+
"pluginType": "core",
|
|
8434
|
+
"aliases": [
|
|
8435
|
+
"cluster:stack:tag"
|
|
8436
|
+
],
|
|
8437
|
+
"hiddenAliases": [],
|
|
8438
|
+
"examples": [
|
|
8439
|
+
{
|
|
8440
|
+
"description": "Interactive — select a snapshot then enter a tag name.",
|
|
8441
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise"
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
"description": "Non-interactive (scripted).",
|
|
8445
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --silent"
|
|
8446
|
+
},
|
|
8447
|
+
{
|
|
8448
|
+
"description": "Renders the equivalent silent command and then executes.",
|
|
8449
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --echo"
|
|
8450
|
+
},
|
|
8451
|
+
{
|
|
8452
|
+
"description": "Renders the equivalent silent command without executing.",
|
|
8453
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --to-script"
|
|
8454
|
+
}
|
|
8455
|
+
],
|
|
8456
|
+
"flags": {
|
|
8457
|
+
"help": {
|
|
8458
|
+
"name": "help",
|
|
8459
|
+
"type": "boolean",
|
|
8460
|
+
"char": "h",
|
|
8461
|
+
"description": "Show CLI help.",
|
|
8462
|
+
"allowNo": false
|
|
8463
|
+
},
|
|
8464
|
+
"enterprise": {
|
|
8465
|
+
"name": "enterprise",
|
|
8466
|
+
"type": "option",
|
|
8467
|
+
"char": "e",
|
|
8468
|
+
"description": "Code name of the enterprise containing the target snapshot.",
|
|
8469
|
+
"required": false,
|
|
8470
|
+
"multiple": false
|
|
8471
|
+
},
|
|
8472
|
+
"version": {
|
|
8473
|
+
"name": "version",
|
|
8474
|
+
"type": "option",
|
|
8475
|
+
"char": "v",
|
|
8476
|
+
"description": "Version identifier of the snapshot to tag (e.g., 5CJRH7XB).",
|
|
8477
|
+
"required": false,
|
|
8478
|
+
"multiple": false
|
|
8479
|
+
},
|
|
8480
|
+
"tag": {
|
|
8481
|
+
"name": "tag",
|
|
8482
|
+
"type": "option",
|
|
8483
|
+
"char": "t",
|
|
8484
|
+
"description": "Name of the tag to add to the snapshot.",
|
|
8485
|
+
"required": false,
|
|
8486
|
+
"multiple": false
|
|
8487
|
+
},
|
|
8488
|
+
"silent": {
|
|
8489
|
+
"name": "silent",
|
|
8490
|
+
"type": "boolean",
|
|
8491
|
+
"description": "Executes without any user interaction; fails on missing or invalid arguments.",
|
|
8492
|
+
"allowNo": false,
|
|
8493
|
+
"exclusive": [
|
|
8494
|
+
"echo",
|
|
8495
|
+
"to-script"
|
|
8496
|
+
]
|
|
8497
|
+
},
|
|
8498
|
+
"echo": {
|
|
8499
|
+
"name": "echo",
|
|
8500
|
+
"type": "boolean",
|
|
8501
|
+
"description": "Renders the equivalent non-interactive command for future use before executing.",
|
|
8502
|
+
"allowNo": false,
|
|
8503
|
+
"exclusive": [
|
|
8504
|
+
"to-script",
|
|
8505
|
+
"silent"
|
|
8506
|
+
]
|
|
8507
|
+
},
|
|
8508
|
+
"to-script": {
|
|
8509
|
+
"name": "to-script",
|
|
8510
|
+
"type": "boolean",
|
|
8511
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
8512
|
+
"allowNo": false,
|
|
8513
|
+
"exclusive": [
|
|
8514
|
+
"echo",
|
|
8515
|
+
"silent"
|
|
8516
|
+
]
|
|
8517
|
+
}
|
|
8518
|
+
},
|
|
8519
|
+
"args": {}
|
|
8520
|
+
},
|
|
7871
8521
|
"snapshot:tags": {
|
|
7872
8522
|
"id": "snapshot:tags",
|
|
7873
8523
|
"description": "manage snapshot version tags",
|
|
@@ -7875,6 +8525,7 @@
|
|
|
7875
8525
|
"pluginName": "@codiac.io/codiac-cli",
|
|
7876
8526
|
"pluginAlias": "@codiac.io/codiac-cli",
|
|
7877
8527
|
"pluginType": "core",
|
|
8528
|
+
"hidden": true,
|
|
7878
8529
|
"aliases": [],
|
|
7879
8530
|
"hiddenAliases": [],
|
|
7880
8531
|
"examples": [
|
|
@@ -7964,6 +8615,100 @@
|
|
|
7964
8615
|
},
|
|
7965
8616
|
"args": {}
|
|
7966
8617
|
},
|
|
8618
|
+
"snapshot:untag": {
|
|
8619
|
+
"id": "snapshot:untag",
|
|
8620
|
+
"description": "Removes a single tag from a snapshot.",
|
|
8621
|
+
"strict": true,
|
|
8622
|
+
"pluginName": "@codiac.io/codiac-cli",
|
|
8623
|
+
"pluginAlias": "@codiac.io/codiac-cli",
|
|
8624
|
+
"pluginType": "core",
|
|
8625
|
+
"aliases": [
|
|
8626
|
+
"cluster:stack:untag"
|
|
8627
|
+
],
|
|
8628
|
+
"hiddenAliases": [],
|
|
8629
|
+
"examples": [
|
|
8630
|
+
{
|
|
8631
|
+
"description": "Interactive — select a snapshot then select the tag to remove.",
|
|
8632
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise"
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
"description": "Non-interactive (scripted).",
|
|
8636
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --silent"
|
|
8637
|
+
},
|
|
8638
|
+
{
|
|
8639
|
+
"description": "Renders the equivalent silent command and then executes.",
|
|
8640
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --echo"
|
|
8641
|
+
},
|
|
8642
|
+
{
|
|
8643
|
+
"description": "Renders the equivalent silent command without executing.",
|
|
8644
|
+
"command": "<%= config.bin %> <%= command.id %> -e myEnterprise -v 5CJRH7XB -t production --to-script"
|
|
8645
|
+
}
|
|
8646
|
+
],
|
|
8647
|
+
"flags": {
|
|
8648
|
+
"help": {
|
|
8649
|
+
"name": "help",
|
|
8650
|
+
"type": "boolean",
|
|
8651
|
+
"char": "h",
|
|
8652
|
+
"description": "Show CLI help.",
|
|
8653
|
+
"allowNo": false
|
|
8654
|
+
},
|
|
8655
|
+
"enterprise": {
|
|
8656
|
+
"name": "enterprise",
|
|
8657
|
+
"type": "option",
|
|
8658
|
+
"char": "e",
|
|
8659
|
+
"description": "Code name of the enterprise containing the target snapshot.",
|
|
8660
|
+
"required": false,
|
|
8661
|
+
"multiple": false
|
|
8662
|
+
},
|
|
8663
|
+
"version": {
|
|
8664
|
+
"name": "version",
|
|
8665
|
+
"type": "option",
|
|
8666
|
+
"char": "v",
|
|
8667
|
+
"description": "Version identifier of the snapshot from which to remove a tag (e.g., 5CJRH7XB).",
|
|
8668
|
+
"required": false,
|
|
8669
|
+
"multiple": false
|
|
8670
|
+
},
|
|
8671
|
+
"tag": {
|
|
8672
|
+
"name": "tag",
|
|
8673
|
+
"type": "option",
|
|
8674
|
+
"char": "t",
|
|
8675
|
+
"description": "Name of the tag to remove from the snapshot.",
|
|
8676
|
+
"required": false,
|
|
8677
|
+
"multiple": false
|
|
8678
|
+
},
|
|
8679
|
+
"silent": {
|
|
8680
|
+
"name": "silent",
|
|
8681
|
+
"type": "boolean",
|
|
8682
|
+
"description": "Executes without any user interaction; fails on missing or invalid arguments.",
|
|
8683
|
+
"allowNo": false,
|
|
8684
|
+
"exclusive": [
|
|
8685
|
+
"echo",
|
|
8686
|
+
"to-script"
|
|
8687
|
+
]
|
|
8688
|
+
},
|
|
8689
|
+
"echo": {
|
|
8690
|
+
"name": "echo",
|
|
8691
|
+
"type": "boolean",
|
|
8692
|
+
"description": "Renders the equivalent non-interactive command for future use before executing.",
|
|
8693
|
+
"allowNo": false,
|
|
8694
|
+
"exclusive": [
|
|
8695
|
+
"to-script",
|
|
8696
|
+
"silent"
|
|
8697
|
+
]
|
|
8698
|
+
},
|
|
8699
|
+
"to-script": {
|
|
8700
|
+
"name": "to-script",
|
|
8701
|
+
"type": "boolean",
|
|
8702
|
+
"description": "Renders the equivalent non-interactive command without executing it.",
|
|
8703
|
+
"allowNo": false,
|
|
8704
|
+
"exclusive": [
|
|
8705
|
+
"echo",
|
|
8706
|
+
"silent"
|
|
8707
|
+
]
|
|
8708
|
+
}
|
|
8709
|
+
},
|
|
8710
|
+
"args": {}
|
|
8711
|
+
},
|
|
7967
8712
|
"tenant:create": {
|
|
7968
8713
|
"id": "tenant:create",
|
|
7969
8714
|
"description": "Registers a new tenant with the current user as the administrator.",
|
|
@@ -12548,6 +13293,13 @@
|
|
|
12548
13293
|
"required": false,
|
|
12549
13294
|
"allowNo": false
|
|
12550
13295
|
},
|
|
13296
|
+
"forget-cabinets": {
|
|
13297
|
+
"name": "forget-cabinets",
|
|
13298
|
+
"type": "boolean",
|
|
13299
|
+
"description": "Permanently delete cabinet records instead of just orphaning them (clearing the cluster assignment).",
|
|
13300
|
+
"required": false,
|
|
13301
|
+
"allowNo": false
|
|
13302
|
+
},
|
|
12551
13303
|
"silent": {
|
|
12552
13304
|
"name": "silent",
|
|
12553
13305
|
"type": "boolean",
|