flutter_scripts
Generated by the Very Good CLI 🤖
Run scripts defined in a pubspec.yaml just like in node.js with the run
command.
Getting Started 🚀
If the CLI application is available on pub, activate globally via:
dart pub global activate flutter_scripts
Or locally via:
dart pub global activate --source=path <path to this package>
Usage
$ flutter_scripts run
# Set command to run
$ flutter_scripts run --c update_db
# Show CLI version
$ flutter_scripts --version
# Show usage help
$ flutter_scripts --help
Add scripts to any Flutter/Dart project in the pubspec.yaml
like the following:
scripts:
generate_icons: flutter pub run flutter_launcher_icons:main
generate_files: flutter pub run build_runner build --delete-conflicting-outputs
Libraries
- flutter_scripts
- flutter_scripts, A Very Good Project created by Very Good CLI.