summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/xmr
AgeCommit message (Expand)Author
2022-05-16add sh scripts curl xmr rate, and xmr wallet cli with daemonxyz
e>
#!/bin/sh
# note message string must come after options

cmd=git

while getopts cls f; do
	case $f in
		l|s) cmd="cfg -$f";;
		\?) exit 1;;
	esac
done
shift $((OPTIND-1))

mes="${1:-update}"

$cmd add -u
$cmd commit -m "$mes"
$cmd push