@codiac.io/codiac-cli 1.2.259 → 1.2.260

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.259",
2
+ "version": "1.2.260",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -3381,6 +3381,148 @@
3381
3381
  "accessKey"
3382
3382
  ]
3383
3383
  },
3384
+ "host:delete": {
3385
+ "id": "host:delete",
3386
+ "description": "Removes a host naming strategy mapping. ie: UN-maps a domain strategy that was previously assigned to a given scope (eg: enterprise, environment, or cabinet.",
3387
+ "strict": true,
3388
+ "pluginName": "@codiac.io/codiac-cli",
3389
+ "pluginAlias": "@codiac.io/codiac-cli",
3390
+ "pluginType": "core",
3391
+ "aliases": [],
3392
+ "examples": [
3393
+ "<%= config.bin %> <%= command.id %>"
3394
+ ],
3395
+ "flags": {
3396
+ "enterprise": {
3397
+ "name": "enterprise",
3398
+ "type": "option",
3399
+ "char": "e",
3400
+ "description": "The name of the enterprise on which to apply this naming strategy. NOTE: You can leave this blank if there is only one.",
3401
+ "multiple": false
3402
+ },
3403
+ "domain": {
3404
+ "name": "domain",
3405
+ "type": "option",
3406
+ "char": "d",
3407
+ "description": "domain name to remove (without any wildcards), eg: `yoursite.com`",
3408
+ "multiple": false,
3409
+ "exclusive": [
3410
+ "id"
3411
+ ]
3412
+ },
3413
+ "naming": {
3414
+ "name": "naming",
3415
+ "type": "option",
3416
+ "char": "n",
3417
+ "description": "The host naming strategy to apply.",
3418
+ "required": false,
3419
+ "multiple": false,
3420
+ "options": [
3421
+ "cab_dot_cluster_dot_domain_slash_service",
3422
+ "cab_dot_cluster_dot_enterprise_dot_domain_slash_service",
3423
+ "cab_dot_domain_slash_service",
3424
+ "domain_slash_service",
3425
+ "globally_shared_domain_slash_service",
3426
+ "service_dot_domain",
3427
+ "shared_ingress_ip",
3428
+ "svc_dot_cab_dot_domain"
3429
+ ],
3430
+ "exclusive": [
3431
+ "id"
3432
+ ]
3433
+ },
3434
+ "enterprise-scope": {
3435
+ "name": "enterprise-scope",
3436
+ "type": "boolean",
3437
+ "char": "s",
3438
+ "description": "Applies the naming strategy at the enterprise level.",
3439
+ "allowNo": false,
3440
+ "exclusive": [
3441
+ "id",
3442
+ "environment",
3443
+ "cabinet"
3444
+ ]
3445
+ },
3446
+ "environment": {
3447
+ "name": "environment",
3448
+ "type": "option",
3449
+ "char": "v",
3450
+ "description": "The name of the environment on which to apply this naming strategy. Must be qualified by also setting enterprise. NOTE: You can leave this blank if there is only one.",
3451
+ "multiple": false,
3452
+ "exclusive": [
3453
+ "id",
3454
+ "enterprise-scope",
3455
+ "cabinet"
3456
+ ]
3457
+ },
3458
+ "cabinet": {
3459
+ "name": "cabinet",
3460
+ "type": "option",
3461
+ "char": "c",
3462
+ "description": "The name of the cabinet on which to apply this naming strategy. Must be qualified by also setting enterprise. NOTE: You can leave this blank if there is only one. If cabinet names are not unique, use the --enterprise/-e argument to fully qualify the cabinet name.",
3463
+ "multiple": false,
3464
+ "exclusive": [
3465
+ "id",
3466
+ "enterprise-scope",
3467
+ "environment"
3468
+ ]
3469
+ },
3470
+ "id": {
3471
+ "name": "id",
3472
+ "type": "option",
3473
+ "description": "The system id of the domain mapping itself. You can enter this parameter instead of the other domain mapping descriptors.",
3474
+ "multiple": false,
3475
+ "exclusive": [
3476
+ "enterprise",
3477
+ "domain",
3478
+ "naming",
3479
+ "enterprise-scope",
3480
+ "environment",
3481
+ "cabinet"
3482
+ ]
3483
+ },
3484
+ "silent": {
3485
+ "name": "silent",
3486
+ "type": "boolean",
3487
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
3488
+ "allowNo": false,
3489
+ "exclusive": [
3490
+ "echo",
3491
+ "to-script"
3492
+ ]
3493
+ },
3494
+ "echo": {
3495
+ "name": "echo",
3496
+ "type": "boolean",
3497
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
3498
+ "allowNo": false,
3499
+ "exclusive": [
3500
+ "to-script",
3501
+ "silent"
3502
+ ]
3503
+ },
3504
+ "to-script": {
3505
+ "name": "to-script",
3506
+ "type": "boolean",
3507
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
3508
+ "allowNo": false,
3509
+ "exclusive": [
3510
+ "echo",
3511
+ "silent"
3512
+ ]
3513
+ },
3514
+ "take-defaults": {
3515
+ "name": "take-defaults",
3516
+ "type": "boolean",
3517
+ "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.",
3518
+ "allowNo": false,
3519
+ "exclusive": [
3520
+ "silent"
3521
+ ]
3522
+ }
3523
+ },
3524
+ "args": {}
3525
+ },
3384
3526
  "host:list": {
3385
3527
  "id": "host:list",
3386
3528
  "description": "Retrieves the list of host mapping strategies defined on a given enterprise.",
@@ -3408,9 +3550,10 @@
3408
3550
  "multiple": false,
3409
3551
  "options": [
3410
3552
  "json",
3411
- "yaml"
3553
+ "yaml",
3554
+ "auto"
3412
3555
  ],
3413
- "default": "json"
3556
+ "default": "auto"
3414
3557
  },
3415
3558
  "silent": {
3416
3559
  "name": "silent",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codiac.io/codiac-cli",
3
3
  "description": "Local command line interface for managing enterprise assets and environments",
4
- "version": "1.2.259",
4
+ "version": "1.2.260",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",