Just a simple interactive CLI for help running and building flutter projects that use dart-defines as its environments variables approach.
Activate globally via:
dart pub global activate flux_cli
Or locally via:
dart pub global activate --source=path <path to this package>
Run a flutter project getting the dart-defines arguments from .vscode/launch.json
$ flux run
# Specifying device
$ flux run -d <device_id>
Build a flutter project getting the dart-defines arguments from .vscode/launch.json
$ flux build
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
Shows CLI version
$ flux --version
Shows usage help
$ flux --help
- List devices on
flux run
command - Check for use of FVM - Currently all commands consider that user has FVM installed
- Add integration with Shorebird