flux_cli

Last updated:

0 purchases

flux_cli Image
flux_cli Images
Add to Cart

Description:

flux 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
copied to clipboard
Or locally via:
dart pub global activate --source=path <path to this package>
copied to clipboard
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>
copied to clipboard
Build #
Build a flutter project getting the dart-defines arguments from .vscode/launch.json
$ flux build
copied to clipboard
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
copied to clipboard
Version #
Shows CLI version
$ flux --version
copied to clipboard
Help #
Shows usage help
$ flux --help
copied to clipboard

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.