Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k9i-0/k9i_cli
This dart package provides Grinder tasks used by K9i, allowing for the sharing of Grinder tasks across multiple projects.
https://github.com/k9i-0/k9i_cli
dart flutter grinder
Last synced: about 2 months ago
JSON representation
This dart package provides Grinder tasks used by K9i, allowing for the sharing of Grinder tasks across multiple projects.
- Host: GitHub
- URL: https://github.com/k9i-0/k9i_cli
- Owner: K9i-0
- License: mit
- Created: 2023-04-01T11:05:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T01:18:38.000Z (11 months ago)
- Last Synced: 2024-01-17T19:53:34.021Z (11 months ago)
- Topics: dart, flutter, grinder
- Language: Dart
- Homepage: https://pub.dev/packages/k9i_cli
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# k9i_cli
This dart package provides Grinder tasks used by K9i, allowing for the sharing of Grinder tasks across multiple projects.## Usage
```
import 'package:grinder/grinder.dart';
import 'package:k9i_cli/k9i_cli.dart';void main(List args) {
// Add all tasks from the k9i_cli package.
addAllTasks(enableAlias: true, useFvm: true); // set useFvm to true if you're using Flutter Version Managementgrind(args);
}
```
### Using the useFvm parameter
By default, the addAllTasks method uses the standard Flutter command. However, if you are using the Flutter Version Management (FVM), you can set the useFvm parameter to true to prefix the commands with fvm flutter. This allows you to execute tasks with the specific Flutter version set by FVM.## Available tasks
```
Available tasks:
build flutter pub run build_runner build --delete-conflicting-outputs
b Alias for build
watch flutter pub run build_runner watch --delete-conflicting-outputs
w Alias for watch
serveWeb Serve Flutter web app on local IP.
sw Alias for serveWeb
updatePods Clean and update Pods installation.
up Alias for updatePods
```