aboutsummaryrefslogtreecommitdiffstats
path: root/src/_flutter
diff options
context:
space:
mode:
authorKamlesh <kamleshkc2002@gmail.com>2020-07-20 00:13:15 -0400
committerKamlesh <kamleshkc2002@gmail.com>2020-07-20 00:13:15 -0400
commit231db68806f69a3b99e0ac10dd5b9a8cb514b351 (patch)
tree4145e96fad762ec7e6180e721288a131b7701440 /src/_flutter
parentMerge pull request #753 from syohex/syohex/update-node (diff)
downloadzsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar.gz
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar.bz2
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar.lz
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar.xz
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.tar.zst
zsh-completions-231db68806f69a3b99e0ac10dd5b9a8cb514b351.zip
Update new completions for Flutter
closes https://github.com/zsh-users/zsh-completions/issues/682 Add new completions for the Flutter CLI
Diffstat (limited to 'src/_flutter')
-rw-r--r--src/_flutter33
1 files changed, 31 insertions, 2 deletions
diff --git a/src/_flutter b/src/_flutter
index c63a5d9..1d813f1 100644
--- a/src/_flutter
+++ b/src/_flutter
@@ -340,7 +340,31 @@ _arguments -C -A "-*" \
'(-h --help)'{-h,--help}'[Print this usage information.]' \
&& ret=0
;;
-
+ (assemble)
+ _arguments -C \
+ '(-h --help)'{-h,--help}'[Print this usage information.]' \
+ && ret=0
+ ;;
+ (attach)
+ _arguments -C \
+ '(-h --help)'{-h,--help}'[Print this usage information.]' \
+ && ret=0
+ ;;
+ (bash-completion)
+ _arguments -C \
+ '(-h --help)'{-h,--help}'[Print this usage information.]' \
+ && ret=0
+ ;;
+ (emulators)
+ _arguments -C \
+ '(-h --help)'{-h,--help}'[Print this usage information.]' \
+ && ret=0
+ ;;
+ (version)
+ _arguments -C \
+ '(-h --help)'{-h,--help}'[Print this usage information.]' \
+ && ret=0
+ ;;
esac
;;
esac
@@ -380,7 +404,12 @@ _root_commands() {
'test:Run Flutter unit tests for the current project.'
'trace:Start and stop tracing for a running Flutter app.'
'update-packages:Update the packages inside the Flutter repo.'
- 'upgrade:Upgrade your copy of Flutter.')
+ 'upgrade:Upgrade your copy of Flutter.'
+ 'assemble:Assemble and build flutter resources.'
+ 'attach:Attach to a running application.'
+ 'bash-completion:Output command line shell completion setup scripts.'
+ 'emulators:List, launch and create emulators.'
+ 'version:List or switch flutter versions.')
_describe -t commands 'command' commands "$@"
}