From 626ee8441f299b2a6e808b962140cc403090a54d Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Fri, 2 Sep 2011 10:40:17 +0200 Subject: [PATCH] #23 github: complete 'create' command --- _github | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/_github b/_github index 8b2e3a3..aae7a2e 100644 --- a/_github +++ b/_github @@ -81,8 +81,15 @@ _github() { && ret=0 ;; (create) - # TODO Not implemented - _message "${words[1]} command argument" && ret=0 + _arguments \ + '1:repo name' \ + '--markdown[create README.markdown]' \ + '--mdown[create README.mdown]' \ + '--private[create private repository]' \ + '--rdoc[create README.rdoc]' \ + '--rst[create README.rst]' \ + '--textile[create README.textile]' \ + && ret=0 ;; (create-from-local) # TODO Not implemented