Add flutter plugin (#8150)

This commit is contained in:
Andrei Lesnitsky
2019-09-24 15:46:38 +03:00
committed by Marc Cornellà
parent be9160ef90
commit f9e7c45a48
3 changed files with 65 additions and 0 deletions

21
plugins/flutter/README.md Normal file
View File

@@ -0,0 +1,21 @@
## Flutter plugin
The Flutter plugin provides completion and useful aliases
To use it, add flutter to the plugins array of your zshrc file:
```
plugins=(... flutter)
```
## Aliases
| Alias | Command | Description |
| :--------- | :--------------------- | :------------------------------------------------------------------------- |
| `fl` | `flutter` | Shorthand for flutter command |
| `flr` | `flutter run` | Runs flutter app |
| `fldoc` | `flutter doctor` | Runs flutter doctor |
| `flb` | `flutter build` | Build flutter application |
| `flattach` | `flutter attach` | Attaches flutter to a running flutter application with enabled observatory |
| `flget` | `flutter packages get` | Installs dependencies |
| `flc` | `flutter clean` | Cleans flutter porject |