scripts_runner 0.1.9
scripts_runner: ^0.1.9 copied to clipboard
A development scripts management tool for Dart and Flutter projects. Automatically sets up your development environment with essential tools, configurations, and best practices.
example/example.dart
import 'package:scripts_runner/scripts_runner.dart';
/// Example demonstrating how to use the scripts_runner package programmatically.
Future<void> main(List<String> args) async {
// Show usage information (same as `dart run scripts_runner --help`)
ScriptsRunner.usage();
// Run a command (uncomment to try). For safety, this does not force overwrite.
// await ScriptsRunner.run(['post-install']);
// Or pass --force programmatically
// await ScriptsRunner.run(['post-install'], force: true);
}