Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Support --project flag in vc link command #6614

Merged
merged 6 commits into from
Aug 23, 2021
Merged

Conversation

TooTallNate
Copy link
Member

@TooTallNate TooTallNate commented Aug 20, 2021

To make setting up local dev README instructions easier for new users being introduced to a Vercel project, support flags to make the vc link command be non-interactive, in the case where the project name does not match the name of the directory where the code is located:

$ vc link --scope acme --project docs

Related to https://github.com/vercel/front/pull/10732.

@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #6614 (8092840) into main (04ea3bb) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6614      +/-   ##
==========================================
- Coverage   13.54%   13.53%   -0.01%     
==========================================
  Files         263      263              
  Lines        9829     9820       -9     
  Branches     1632     1631       -1     
==========================================
- Hits         1331     1329       -2     
+ Misses       8406     8399       -7     
  Partials       92       92              
Impacted Files Coverage Δ
src/util/dev/server.ts 53.50% <0.00%> (-0.25%) ⬇️
src/commands/dev/dev.ts 0.00% <0.00%> (ø)
src/commands/link/index.ts 0.00% <0.00%> (ø)
src/util/input/input-project.ts 0.00% <0.00%> (ø)
src/util/link/setup-and-link.ts 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04ea3bb...8092840. Read the comment docs.

@TooTallNate TooTallNate changed the title [cli] Support --project/--scope flags in vc link command [cli] Support --project flag in vc link command Aug 20, 2021
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@kodiakhq kodiakhq bot merged commit 578fe8a into main Aug 23, 2021
@kodiakhq kodiakhq bot deleted the update/cli-link-argv branch August 23, 2021 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: cli semver: minor PR contains new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants