flux_cli 0.0.1 copy "flux_cli: ^0.0.1" to clipboard
flux_cli: ^0.0.1 copied to clipboard

A Very Good Project created by Very Good CLI.

Flux CLI #

Just a simple interactive CLI for help running and building flutter projects that use dart-defines as its environments variables approach.

Getting Started 🚀 #

Activate globally via:

dart pub global activate flux_cli

Or locally via:

dart pub global activate --source=path <path to this package>

Available Commands #

Run #

Run a flutter project getting the dart-defines arguments from .vscode/launch.json

$ flux run

# Specifying device
$ flux run -d <device_id>

Build #

Build a flutter project getting the dart-defines arguments from .vscode/launch.json

$ flux build

Deploy #

Builds and deploy a flutter project to android and ios stores using fastlane and getting the dart-defines arguments from .vscode/launch.json.

For this to work, your lane have to has the `deploy_`` prefix following a name of an valid environment!

$ flux deploy

Version #

Shows CLI version

$ flux --version

Help #

Shows usage help

$ flux --help

TODO #

  • List devices on flux run command
  • Check for use of FVM - Currently all commands consider that user has FVM installed
  • Add integration with Shorebird

1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A Very Good Project created by Very Good CLI.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_completion, equatable, mason_logger, pub_updater

More

Packages that depend on flux_cli