mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 12:57:47 +00:00
[cli] Add --git-branch to pull command help output (#10382)
Improves the help for pull command by adding --git-branch to the output.
This commit is contained in:
@@ -22,6 +22,16 @@ export const pullCommand: Command = {
|
||||
deprecated: false,
|
||||
multi: false,
|
||||
},
|
||||
{
|
||||
name: 'git-branch',
|
||||
description:
|
||||
'Specify the Git branch to pull specific Environment Variables for',
|
||||
argument: 'branch',
|
||||
shorthand: null,
|
||||
type: 'string',
|
||||
deprecated: false,
|
||||
multi: false,
|
||||
},
|
||||
{
|
||||
name: 'yes',
|
||||
description:
|
||||
@@ -45,6 +55,10 @@ export const pullCommand: Command = {
|
||||
name: 'Pull for a specific environment',
|
||||
value: `${packageName} pull --environment=${getEnvTargetPlaceholder()}`,
|
||||
},
|
||||
{
|
||||
name: 'Pull for a preview feature branch',
|
||||
value: `${packageName} pull --environment=preview --git-branch=feature-branch`,
|
||||
},
|
||||
{
|
||||
name: 'If you want to download environment variables to a specific file, use `vercel env pull` instead',
|
||||
value: `${packageName} env pull`,
|
||||
|
||||
Reference in New Issue
Block a user