From 3c3b9f65fcd325396b8c85dfa7105c4134a37bb8 Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Wed, 31 Aug 2011 21:33:18 +0200 Subject: [PATCH] #23 github: prepare completion of subcommands --- _github | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/_github b/_github index 962b615..9a289b1 100644 --- a/_github +++ b/_github @@ -55,6 +55,84 @@ _github() { ;; (args) curcontext="${curcontext%:*:*}:github-cmd-$words[1]:" + case $words[1] in + (admin) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (browse) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (clone) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (config) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (create) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (create-from-local) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (fetch) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (fetch_all) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (fork) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (home) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (ignore) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (info) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (issues) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (network) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (open) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (pull) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (pull-request) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (search) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + (track) + # TODO Not implemented + _message "${words[1]} command argument" && ret=0 + ;; + esac ;; esac