everest-web/docs/mkpage.sh

15 lines
186 B
Bash
Raw Normal View History

2023-05-24 13:19:24 -04:00
#!/bin/sh
usage() {
printf "usage: ${0} NEW_PAGE_NAME\n"
}
if [ "${1}" == "" ]; then
usage "$@"
exit 1
fi
printf "Creating new page...\n"
cp -v template.html ${1}
printf "Done.\n"