termux-api: Start to cleanup api calling scripts
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 19 Apr 2016 14:34:01 +0000 (16:34 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 19 Apr 2016 14:35:23 +0000 (16:35 +0200)
commit0ec2b70462bf2052dd2080460112c3a8fc87f62e
tree41741460a148948e274aed1423159c88ee92ad08
parent0ae97c5e985892744202a4d264b268f887eb3c0d
termux-api: Start to cleanup api calling scripts

Start using shell built-in getops and remove long arguments.

Make both clipboard-set and sms-send either take argument or read
from stdin.  Fixes https://github.com/termux/termux-api/issues/14
packages/termux-api/build.sh
packages/termux-api/termux-clipboard-get
packages/termux-api/termux-clipboard-set
packages/termux-api/termux-dialog
packages/termux-api/termux-notification
packages/termux-api/termux-sms-send