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
flux run
command
Libraries
- flux_cli
# activate flux_cli dart pub global activate flux_cli # see usage flux_cli --help