#23 github: complete 'clone' command
This commit is contained in:
parent
8603aeaa13
commit
7dd0aac760
15
_github
15
_github
|
|
@ -66,8 +66,13 @@ _github() {
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(clone)
|
(clone)
|
||||||
# TODO Not implemented
|
_arguments \
|
||||||
_message "${words[1]} command argument" && ret=0
|
'1: :_github_users' \
|
||||||
|
'2: :_github_repos' \
|
||||||
|
'3: :_files -/' \
|
||||||
|
'--search[search for user or repo and clone selected repository]:user or repo' \
|
||||||
|
'--ssh[clone using the git@github.com style url]' \
|
||||||
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(config)
|
(config)
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
|
|
@ -134,6 +139,12 @@ _github_users() {
|
||||||
_message -e users 'user'
|
_message -e users 'user'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(( $+functions[_github_repos] )) ||
|
||||||
|
_github_repos() {
|
||||||
|
# TODO Not implemented
|
||||||
|
_message -e repos 'repo'
|
||||||
|
}
|
||||||
|
|
||||||
(( $+functions[_github_branches] )) ||
|
(( $+functions[_github_branches] )) ||
|
||||||
_github_branches() {
|
_github_branches() {
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue