Skip to content

Commit

Permalink
#40 adb: Complete forward command
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoulaj committed Aug 9, 2011
1 parent ec02d24 commit 1082ba2
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion _adb
Expand Up @@ -116,7 +116,10 @@ _adb() {
&& ret=0
;;
(forward)
_message '<local> <remote>' && ret=0 # TODO Not implemented
_arguments \
'1: :_adb_local_forward_specs' \
'2: :_adb_remote_forward_specs' \
&& ret=0
;;
(install)
_message '[-l] [-r] [-s] <file>' && ret=0 # TODO Not implemented
Expand Down Expand Up @@ -223,6 +226,20 @@ _adb_remote_commands() {
_message 'remote command'
}

(( $+functions[_adb_local_forward_specs] )) ||
_adb_local_forward_specs() {
# TODO Not implemented
# Doc here: http://developer.android.com/guide/developing/tools/adb.html#forwardports + adb help
_message 'local forward spec'
}

(( $+functions[_adb_remote_forward_specs] )) ||
_adb_remote_forward_specs() {
# TODO Not implemented
# Doc here: http://developer.android.com/guide/developing/tools/adb.html#forwardports + adb help
_message 'remote forward spec'
}

(( $+functions[_adb_sync_directories] )) ||
_adb_sync_directories() {
_alternative \
Expand Down

0 comments on commit 1082ba2

Please sign in to comment.