#40 adb: Complete forward command
This commit is contained in:
parent
ec02d24152
commit
1082ba24cd
19
_adb
19
_adb
|
@ -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
|
||||
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue