vercel 58.9.2 → 58.9.3

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.
@@ -10325,6 +10325,104 @@ var usageCommand = {
10325
10325
  ]
10326
10326
  };
10327
10327
 
10328
+ // src/commands/version/command.ts
10329
+ var listSubcommand19 = {
10330
+ name: "list",
10331
+ aliases: ["ls"],
10332
+ description: "Lists Vercel CLI versions available to install",
10333
+ arguments: [],
10334
+ options: [],
10335
+ examples: []
10336
+ };
10337
+ var installedSubcommand = {
10338
+ name: "installed",
10339
+ aliases: [],
10340
+ description: "Lists installed Vercel CLI versions",
10341
+ arguments: [],
10342
+ options: [],
10343
+ examples: []
10344
+ };
10345
+ var useSubcommand = {
10346
+ name: "use",
10347
+ aliases: ["switch", "install"],
10348
+ description: "Installs and switches to a specific Vercel CLI version",
10349
+ arguments: [
10350
+ {
10351
+ name: "version",
10352
+ required: true
10353
+ }
10354
+ ],
10355
+ options: [],
10356
+ examples: [
10357
+ {
10358
+ name: "Use a specific version (pins it)",
10359
+ value: `${packageName} version use 50.1.0`
10360
+ },
10361
+ {
10362
+ name: "Return to the latest version (unpins)",
10363
+ value: `${packageName} version use latest`
10364
+ }
10365
+ ]
10366
+ };
10367
+ var updateSubcommand6 = {
10368
+ name: "update",
10369
+ aliases: ["upgrade"],
10370
+ description: "Updates the Vercel CLI to the latest version",
10371
+ arguments: [],
10372
+ options: [],
10373
+ examples: []
10374
+ };
10375
+ var autoupdateSubcommand = {
10376
+ name: "autoupdate",
10377
+ aliases: [],
10378
+ description: "Enables or disables automatic CLI updates",
10379
+ arguments: [
10380
+ {
10381
+ name: "enable|disable|status",
10382
+ required: false
10383
+ }
10384
+ ],
10385
+ options: [],
10386
+ examples: [
10387
+ {
10388
+ name: "Enable automatic updates",
10389
+ value: `${packageName} version autoupdate enable`
10390
+ },
10391
+ {
10392
+ name: "Show whether automatic updates are enabled",
10393
+ value: `${packageName} version autoupdate status`
10394
+ }
10395
+ ]
10396
+ };
10397
+ var versionCommand = {
10398
+ name: "version",
10399
+ aliases: ["versions"],
10400
+ description: "Manages the installed Vercel CLI version.",
10401
+ arguments: [],
10402
+ subcommands: [
10403
+ listSubcommand19,
10404
+ installedSubcommand,
10405
+ useSubcommand,
10406
+ updateSubcommand6,
10407
+ autoupdateSubcommand
10408
+ ],
10409
+ options: [],
10410
+ examples: [
10411
+ {
10412
+ name: "Show the current version and install details",
10413
+ value: `${packageName} version`
10414
+ },
10415
+ {
10416
+ name: "List installed versions",
10417
+ value: `${packageName} version installed`
10418
+ },
10419
+ {
10420
+ name: "Use a specific version",
10421
+ value: `${packageName} version use 50.1.0`
10422
+ }
10423
+ ]
10424
+ };
10425
+
10328
10426
  // src/commands/whoami/command.ts
10329
10427
  var whoamiCommand = {
10330
10428
  name: "whoami",
@@ -10374,7 +10472,7 @@ var environmentOption2 = {
10374
10472
  argument: "ENV",
10375
10473
  description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
10376
10474
  };
10377
- var listSubcommand19 = {
10475
+ var listSubcommand20 = {
10378
10476
  name: "list",
10379
10477
  aliases: ["ls"],
10380
10478
  description: "List all files in the Blob store",
@@ -10874,7 +10972,7 @@ var blobCommand = {
10874
10972
  description: "Interact with Vercel Blob",
10875
10973
  arguments: [],
10876
10974
  subcommands: [
10877
- listSubcommand19,
10975
+ listSubcommand20,
10878
10976
  putSubcommand,
10879
10977
  getSubcommand3,
10880
10978
  delSubcommand,
@@ -10917,7 +11015,7 @@ var blobCommand = {
10917
11015
  };
10918
11016
 
10919
11017
  // src/commands/webhooks/command.ts
10920
- var listSubcommand20 = {
11018
+ var listSubcommand21 = {
10921
11019
  name: "list",
10922
11020
  aliases: ["ls"],
10923
11021
  description: "Show all webhooks",
@@ -11003,7 +11101,7 @@ var webhooksCommand = {
11003
11101
  description: "Manage webhooks",
11004
11102
  arguments: [],
11005
11103
  subcommands: [
11006
- listSubcommand20,
11104
+ listSubcommand21,
11007
11105
  getSubcommand4,
11008
11106
  createSubcommand6,
11009
11107
  removeSubcommand15
@@ -11075,6 +11173,7 @@ var commandsStructs = [
11075
11173
  webhooksCommand,
11076
11174
  usageCommand,
11077
11175
  vcrCommand,
11176
+ versionCommand,
11078
11177
  whoamiCommand,
11079
11178
  // added because we don't have a full help command
11080
11179
  { name: "help", aliases: [] }
@@ -11396,8 +11495,14 @@ export {
11396
11495
  tracesCommand,
11397
11496
  upgradeCommand,
11398
11497
  usageCommand,
11399
- whoamiCommand,
11400
11498
  listSubcommand19,
11499
+ installedSubcommand,
11500
+ useSubcommand,
11501
+ updateSubcommand6,
11502
+ autoupdateSubcommand,
11503
+ versionCommand,
11504
+ whoamiCommand,
11505
+ listSubcommand20,
11401
11506
  putSubcommand,
11402
11507
  delSubcommand,
11403
11508
  copySubcommand,
@@ -11410,7 +11515,7 @@ export {
11410
11515
  getStoreInfoSubcommand,
11411
11516
  listStoresSubcommand,
11412
11517
  blobCommand,
11413
- listSubcommand20,
11518
+ listSubcommand21,
11414
11519
  getSubcommand4,
11415
11520
  createSubcommand6,
11416
11521
  removeSubcommand15,