#!/bin/sh
if [ $# = 0 ]; then
TEXT=`cat -`
else
TEXT="$@"
fi
@TERMUX_API@ Clipboard --es text "$TEXT"