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

feat: add deps flag to optional get project dependencies after switch #669

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

mrgnhnt96
Copy link
Contributor

In large projects, getting the dependencies may require more than just a pub get in the root dir.

This PR adds an optional flag to get the current project dependencies. The default value is true to not disrupt current usage. The flag is negatable to not get the dependencies

Use

image

Install

image

Copy link

vercel bot commented Feb 28, 2024

@mrgnhnt96 is attempting to deploy a commit to the FlutterTools Team on Vercel.

A member of the Team first needs to authorize it.

@leoafarias
Copy link
Owner

@mrgnhnt96 Could we rename this flag just --skip-pub-get and not be negatable? I can bring that in as it makes sense, especially for different workflows.

But just FYI, fvm also offers a per-project configuration to disable this.

https://fvm.app/documentation/getting-started/configuration#config-file-fvmrc

lib/src/commands/install_command.dart Outdated Show resolved Hide resolved
@leoafarias
Copy link
Owner

@mrgnhnt96 Could you also update basic-commands.md file in the docs?

Copy link

vercel bot commented Feb 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fvm ❌ Failed (Inspect) Feb 28, 2024 10:57pm

Copy link
Owner

@leoafarias leoafarias left a comment

Choose a reason for hiding this comment

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

LGTM

@leoafarias leoafarias merged commit bc6376d into leoafarias:main Feb 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants