@codiac.io/codiac-cli 1.3.189 → 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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.189",
2
+ "version": "1.3.190",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -8424,6 +8424,100 @@
8424
8424
  },
8425
8425
  "args": {}
8426
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
+ },
8427
8521
  "snapshot:tags": {
8428
8522
  "id": "snapshot:tags",
8429
8523
  "description": "manage snapshot version tags",
@@ -8431,6 +8525,7 @@
8431
8525
  "pluginName": "@codiac.io/codiac-cli",
8432
8526
  "pluginAlias": "@codiac.io/codiac-cli",
8433
8527
  "pluginType": "core",
8528
+ "hidden": true,
8434
8529
  "aliases": [],
8435
8530
  "hiddenAliases": [],
8436
8531
  "examples": [
@@ -8520,6 +8615,100 @@
8520
8615
  },
8521
8616
  "args": {}
8522
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
+ },
8523
8712
  "tenant:create": {
8524
8713
  "id": "tenant:create",
8525
8714
  "description": "Registers a new tenant with the current user as the administrator.",
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.3.189",
4
+ "version": "1.3.190",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",