Skip to content

Commit d7c2e75

Browse files
committed
Merge branch 'main' of github.com:vercel/vercel into update/next-option-description
2 parents 7fbae34 + 0c7b4bc commit d7c2e75

File tree

28 files changed

+416
-213
lines changed

28 files changed

+416
-213
lines changed

.changeset/chilly-comics-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vercel': patch
3+
---
4+
5+
Don't print empty "Options" section in `--help` output (after filtering)

.changeset/flat-olives-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vercel': minor
3+
---
4+
5+
Migrate `vercel promote` subcommands to their own command specifications

.changeset/tall-coins-sip.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vercel': patch
3+
---
4+
5+
Consistent help output for `--limit` option

.changeset/twenty-drinks-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vercel': minor
3+
---
4+
5+
Migrate `vercel target` subcommands to their own command specifications

.changeset/witty-parents-buy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For details on how to use Vercel, check out our [documentation](https://vercel.c
3333

3434
This project uses [pnpm](https://pnpm.io/) to install dependencies and run scripts.
3535

36-
You can use the `dev` script to run local changes as if you were invoking Vercel CLI. For example, `vercel deploy --cwd=/path/to/project` could be run with local changes with `pnpm dev deploy --cwd=/path/to/project`.
36+
You can use the `vercel` script to run local changes as if you were invoking Vercel CLI. For example, `vercel deploy --cwd=/path/to/project` could be run with local changes with `pnpm vercel deploy --cwd=/path/to/project`.
3737

3838
When contributing to this repository, please first discuss the change you wish to make via [GitHub Discussions](https://github.com/vercel/vercel/discussions/new) with the owners of this repository before submitting a Pull Request.
3939

packages/cli/src/commands/alias/command.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,7 @@ export const listSubcommand = {
2525
aliases: ['ls'],
2626
description: 'Show all aliases',
2727
arguments: [],
28-
options: [
29-
{
30-
...limitOption,
31-
description:
32-
'Number of results to return per page (default: 20, max: 100)',
33-
argument: 'NUMBER',
34-
},
35-
nextOption,
36-
],
28+
options: [limitOption, nextOption],
3729
examples: [],
3830
} as const;
3931

packages/cli/src/commands/certs/command.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,7 @@ export const listSubcommand = {
7777
aliases: ['list'],
7878
description: 'Show all available certificates',
7979
arguments: [],
80-
options: [
81-
{
82-
...limitOption,
83-
description:
84-
'Number of results to return per page (default: 20, max: 100)',
85-
argument: 'VALUE',
86-
},
87-
nextOption,
88-
],
80+
options: [limitOption, nextOption],
8981
examples: [
9082
{
9183
name: 'Paginate results, where `1584722256178` is the time in milliseconds since the UNIX epoch.',

packages/cli/src/commands/deploy/command.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ export const deployCommand = {
135135
deprecated: false,
136136
description: 'Specify the target deployment environment',
137137
},
138-
{
139-
...confirmOption,
140-
deprecated: true,
141-
description: 'Use default options to skip all prompts',
142-
},
138+
confirmOption,
143139
],
144140
examples: [
145141
{

packages/cli/src/commands/dev/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const devCommand = {
2222
},
2323
yesOption,
2424
{ name: 'port', shorthand: 'p', type: String, deprecated: true },
25-
{ ...confirmOption, deprecated: true },
25+
confirmOption,
2626
],
2727
examples: [
2828
{

0 commit comments

Comments
 (0)