@codiac.io/codiac-cli 1.3.169 → 1.3.171

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 (59) hide show
  1. package/README.md +1 -1
  2. package/dist/cli-common/built-in-cli-user-input.d.ts +1 -1
  3. package/dist/cli-common/built-in-cli-user-input.js +1 -0
  4. package/dist/cli-common/built-in-cli-user-input.js.map +1 -1
  5. package/dist/cli-common/prompt-select-fuzzy.js +2 -0
  6. package/dist/cli-common/prompt-select-fuzzy.js.map +1 -1
  7. package/dist/commands/asset/recycle.js +1 -0
  8. package/dist/commands/asset/recycle.js.map +1 -1
  9. package/dist/commands/asset/volume/create.js.map +1 -1
  10. package/dist/commands/asset/volume/delete.js.map +1 -1
  11. package/dist/commands/cli.js +1 -0
  12. package/dist/commands/cli.js.map +1 -1
  13. package/dist/commands/cluster/stack/capture.js +2 -0
  14. package/dist/commands/cluster/stack/capture.js.map +1 -1
  15. package/dist/commands/commit.js +1 -0
  16. package/dist/commands/commit.js.map +1 -1
  17. package/dist/commands/config/add.js.map +1 -1
  18. package/dist/commands/config/delete.js.map +1 -1
  19. package/dist/commands/config/view.js.map +1 -1
  20. package/dist/commands/dep/remove.js +1 -0
  21. package/dist/commands/dep/remove.js.map +1 -1
  22. package/dist/commands/dep/source.js +1 -0
  23. package/dist/commands/dep/source.js.map +1 -1
  24. package/dist/commands/dep/syncup.js +1 -0
  25. package/dist/commands/dep/syncup.js.map +1 -1
  26. package/dist/commands/dep/unsource.js +1 -0
  27. package/dist/commands/dep/unsource.js.map +1 -1
  28. package/dist/commands/dep/upgrade.js +2 -0
  29. package/dist/commands/dep/upgrade.js.map +1 -1
  30. package/dist/commands/deploy.js +3 -1
  31. package/dist/commands/deploy.js.map +1 -1
  32. package/dist/commands/identity/delete.js.map +1 -1
  33. package/dist/commands/imageRegistry/forget.js +0 -1
  34. package/dist/commands/imageRegistry/forget.js.map +1 -1
  35. package/dist/commands/imageRegistry/pullSecret/set.js +0 -1
  36. package/dist/commands/imageRegistry/pullSecret/set.js.map +1 -1
  37. package/dist/commands/imageRegistry/pullSecret/unset.js +3 -6
  38. package/dist/commands/imageRegistry/pullSecret/unset.js.map +1 -1
  39. package/dist/commands/kit/create.js +1 -0
  40. package/dist/commands/kit/create.js.map +1 -1
  41. package/dist/commands/merge.js +1 -0
  42. package/dist/commands/merge.js.map +1 -1
  43. package/dist/commands/pkg/remove.js +1 -0
  44. package/dist/commands/pkg/remove.js.map +1 -1
  45. package/dist/commands/pull.js.map +1 -1
  46. package/dist/commands/secretStore/capture.js +1 -3
  47. package/dist/commands/secretStore/capture.js.map +1 -1
  48. package/dist/commands/secretStore/forget.js +2 -4
  49. package/dist/commands/secretStore/forget.js.map +1 -1
  50. package/dist/commands/snapshot/tags.d.ts +89 -0
  51. package/dist/commands/snapshot/tags.js +543 -0
  52. package/dist/commands/snapshot/tags.js.map +1 -0
  53. package/dist/commands/stage.js +1 -0
  54. package/dist/commands/stage.js.map +1 -1
  55. package/dist/commands/switch.js.map +1 -1
  56. package/dist/commands/unstage.js +1 -0
  57. package/dist/commands/unstage.js.map +1 -1
  58. package/oclif.manifest.json +97 -1
  59. package/package.json +12 -9
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.169",
2
+ "version": "1.3.171",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -6356,6 +6356,102 @@
6356
6356
  },
6357
6357
  "args": {}
6358
6358
  },
6359
+ "snapshot:tags": {
6360
+ "id": "snapshot:tags",
6361
+ "description": "manage snapshot version tags",
6362
+ "strict": true,
6363
+ "pluginName": "@codiac.io/codiac-cli",
6364
+ "pluginAlias": "@codiac.io/codiac-cli",
6365
+ "pluginType": "core",
6366
+ "aliases": [],
6367
+ "hiddenAliases": [],
6368
+ "examples": [
6369
+ "<%= config.bin %> <%= command.id %>",
6370
+ "<%= config.bin %> <%= command.id %> --silent --addTags prod --addTags stable --filterVersions 10036A9Z --filterVersions 000000",
6371
+ "<%= config.bin %> <%= command.id %> --silent --removeTags deprecated --removeTags stable --filterCabinet west",
6372
+ "echo -n '{\"filters\":{\"versions\":[\"587JZ95N\"]},\"add\":[\"tag1\",\"tag2\"]}' | <%= config.bin %> <%= command.id %> --silent --addTags tag3 --filterVersions 00000000",
6373
+ "<%= config.bin %> <%= command.id %> --to-script --filterVersions 10036A9Z"
6374
+ ],
6375
+ "flags": {
6376
+ "filterCabinets": {
6377
+ "name": "filterCabinets",
6378
+ "type": "option",
6379
+ "char": "c",
6380
+ "description": "Filter by cabinet",
6381
+ "multiple": true
6382
+ },
6383
+ "filterDates": {
6384
+ "name": "filterDates",
6385
+ "type": "option",
6386
+ "char": "d",
6387
+ "description": "Filter by exact date",
6388
+ "multiple": true
6389
+ },
6390
+ "filterVersions": {
6391
+ "name": "filterVersions",
6392
+ "type": "option",
6393
+ "char": "v",
6394
+ "description": "Filter by version",
6395
+ "multiple": true
6396
+ },
6397
+ "filterTags": {
6398
+ "name": "filterTags",
6399
+ "type": "option",
6400
+ "char": "t",
6401
+ "description": "Filter by tag",
6402
+ "multiple": true
6403
+ },
6404
+ "silent": {
6405
+ "name": "silent",
6406
+ "type": "boolean",
6407
+ "char": "s",
6408
+ "description": "Run in silent mode without interactive prompts",
6409
+ "allowNo": false
6410
+ },
6411
+ "addTags": {
6412
+ "name": "addTags",
6413
+ "type": "option",
6414
+ "description": "Tags to add",
6415
+ "multiple": true,
6416
+ "dependsOn": [
6417
+ "silent"
6418
+ ]
6419
+ },
6420
+ "removeTags": {
6421
+ "name": "removeTags",
6422
+ "type": "option",
6423
+ "description": "Tags to remove",
6424
+ "multiple": true,
6425
+ "dependsOn": [
6426
+ "silent"
6427
+ ]
6428
+ },
6429
+ "toScript": {
6430
+ "name": "toScript",
6431
+ "type": "boolean",
6432
+ "description": "Generate script command without executing",
6433
+ "allowNo": false
6434
+ },
6435
+ "to-script": {
6436
+ "name": "to-script",
6437
+ "type": "boolean",
6438
+ "description": "scripts interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
6439
+ "allowNo": false,
6440
+ "exclusive": [
6441
+ "echo",
6442
+ "silent"
6443
+ ]
6444
+ },
6445
+ "pageSize": {
6446
+ "name": "pageSize",
6447
+ "type": "option",
6448
+ "description": "Number of records per page",
6449
+ "multiple": false,
6450
+ "default": 10
6451
+ }
6452
+ },
6453
+ "args": {}
6454
+ },
6359
6455
  "tenant:create": {
6360
6456
  "id": "tenant:create",
6361
6457
  "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.169",
4
+ "version": "1.3.171",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",
@@ -45,11 +45,6 @@
45
45
  "@oclif/plugin-help": "^5.2.10",
46
46
  "@oclif/plugin-update": "^3.2.4",
47
47
  "@oclif/plugin-version": "^1.3.5",
48
- "@types/ini": "^1.3.31",
49
- "@types/json-stringify-safe": "^5.0.0",
50
- "@types/request-promise": "^4.1.48",
51
- "@types/rimraf": "^3.0.2",
52
- "@types/ws": "^8.5.10",
53
48
  "case": "^1.6.3",
54
49
  "chalk": "^4.1.2",
55
50
  "change-case": "^5.4.4",
@@ -60,12 +55,14 @@
60
55
  "escape-string-regexp": "^4.0.0",
61
56
  "figlet": "1.5.2",
62
57
  "filehound": "^1.17.4",
58
+ "flexsearch": "^0.8.212",
63
59
  "fs-extra": "^9.0.1",
64
60
  "fuzzy": "^0.1.3",
65
61
  "guid-typescript": "^1.0.9",
66
62
  "ini": "^2.0.0",
67
- "inquirer": "^7.3.3",
68
- "inquirer-autocomplete-prompt": "^1.3.0",
63
+ "inquirer": "^8.2.7",
64
+ "inquirer-autocomplete-prompt": "^2.0.1",
65
+ "inquirer-select-pro": "^1.0.0-alpha.9",
69
66
  "inversify": "^5.1.1",
70
67
  "jmespath": "^0.16.0",
71
68
  "json-stringify-safe": "^5.0.1",
@@ -97,13 +94,19 @@
97
94
  "@types/dockerode": "^3.3.35",
98
95
  "@types/figlet": "^1.5.1",
99
96
  "@types/fs-extra": "^11.0.1",
100
- "@types/inquirer": "^7.3.1",
97
+ "@types/ini": "^1.3.31",
98
+ "@types/inquirer": "^8.2.12",
99
+ "@types/inquirer-autocomplete-prompt": "^2.0.2",
101
100
  "@types/jmespath": "^0.15.2",
101
+ "@types/json-stringify-safe": "^5.0.0",
102
102
  "@types/lodash": "4.17.16",
103
103
  "@types/mocha": "^10.0.4",
104
104
  "@types/node": "^18.18.9",
105
+ "@types/request-promise": "^4.1.48",
106
+ "@types/rimraf": "^3.0.2",
105
107
  "@types/semver": "^7.3.6",
106
108
  "@types/tsv": "^0.2.4",
109
+ "@types/ws": "^8.5.10",
107
110
  "barrelsby": "^2.2.0",
108
111
  "chai": "^4.3.10",
109
112
  "copy-webpack-plugin": "^6.3.0",