git-shell-commands/desc
2022-04-02 09:15:10 +00:00

11 lines
179 B
Bash
Executable file

#!/bin/sh
if [ "$#" -eq 1 ] ; then
cat "$1/description"
elif [ "$#" -eq 2 ] ; then
echo $2 > "$1/description"
else
echo "usage: ${0} <repo path> [<description>]"
fi