invertase / flutterfire_cli

A CLI to help with using FlutterFire in your Flutter applications.
Apache License 2.0
170 stars 47 forks source link

request: Let flutterfire_cli be installable as dev dependency #242

Open cedvdb opened 9 months ago

cedvdb commented 9 months ago

Is there an existing feature request for this?

Command

dart run flutterfire || dart run flutterfire_cli

Description

currently the filename in /bin does not match the package name. When installing flutterfire_cli as a dev dependency and then trying to run it here is the output:

$ dart run flutterfire_cli
Could not find `bin/flutterfire_cli.dart` in package `flutterfire_cli`.

Reasoning

I want to lock the version.

Additional context and comments

No response

EArminjon commented 9 months ago

Similar as https://github.com/invertase/flutterfire_cli/issues/223

frederikstonge commented 5 months ago

Technically, you can add it as a dev dependency and run dart run flutterfire_cli:flutterfire_dev.

However, the cli project uses an old version of the http package, which has dependency conflicts with most some of my packages.