invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

request: Add `--offline` flag to melos bootstrap. #714

Open fischerscode opened 1 month ago

fischerscode commented 1 month ago

Is there an existing feature request for this?

Command

melos bootstrap --offline

Description

There is the runPubGetOffline setting in melos.yaml and I'd love to see the same option for the cli.

Reasoning

This feature would be useful for CI.

Additional context and comments

My use case is a docker build and it's recommended to use --offline during these builds.

spydon commented 1 month ago

Sounds good to me, is this something that you would like to implement @fischerscode?

fischerscode commented 1 month ago

Sure, I'll give it a try.