From 43046cdb35547c9dfbfe474197b2d9dc696edef3 Mon Sep 17 00:00:00 2001 From: idoroiengel Date: Sun, 13 Dec 2020 17:53:59 +0200 Subject: feat(flutter): add a few more aliases (#9511) Closes #9511 --- plugins/flutter/README.md | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'plugins/flutter/README.md') diff --git a/plugins/flutter/README.md b/plugins/flutter/README.md index 9c8169afc..e5a4fd2ea 100644 --- a/plugins/flutter/README.md +++ b/plugins/flutter/README.md @@ -2,20 +2,27 @@ The Flutter plugin provides completion and useful aliases -To use it, add flutter to the plugins array of your zshrc file: +To use it, add `flutter` to the plugins array of your zshrc file: -``` +```zsh 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 project | +| Alias | Command | Description | +| :--------- | :---------------------- | :------------------------------------------------------------------------- | +| `fl` | `flutter` | Shorthand for flutter command | +| `flattach` | `flutter attach` | Attaches flutter to a running flutter application with enabled observatory | +| `flb` | `flutter build` | Build flutter application | +| `flchnl` | `flutter channel` | Switches flutter channel (requires input of desired channel) | +| `flc` | `flutter clean` | Cleans flutter project | +| `fldvcs` | `flutter devices` | List connected devices (if any) | +| `fldoc` | `flutter doctor` | Runs flutter doctor | +| `flpub` | `flutter pub` | Shorthand for flutter pub command | +| `flget` | `flutter pub get` | Installs dependencies | +| `flr` | `flutter run` | Runs flutter app | +| `flrd` | `flutter run --debug` | Runs flutter app in debug mode (default mode) | +| `flrp` | `flutter run --profile` | Runs flutter app in profile mode | +| `flrr` | `flutter run --release` | Runs flutter app in release mode | +| `flupgrd` | `flutter upgrade` | Upgrades flutter version depending on the current channel | -- cgit v1.2.3-70-g09d2