Skip to content

request: support --no-pub #815

Open
Open
@lishaduck

Description

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

No response

Description

The Flutter and Dart CLIs offer an option to turn off calling pub get before they run, which slows them down.
It's called --no-pub, and can be passed to analyze, test (although Melos doesn't have a test command), etc.

Reasoning

I'm on a rather limited machine, so reducing redundant work is important.
pub get can take up to a minute, and while pub workspaces will unify most stuff, they'll also (probably) slow down pub get even more.

Additional context and comments

Alternatively, passing unknown flags to the underlying command might work as well.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions