rosenrot/rose-nativefier

10 lines
167 B
Bash
Executable File

#!/bin/sh
test "$1" = "--help" && {
echo "usage: rose-nativefier <alias> <url>"
}
test -z "$1" || test -z "$2" || {
echo -e "#!/bin/sh\n\nrose $2" > /usr/bin/$1
}