help (454B) - raw
1 #!/bin/sh 2 3 echo "Run 'help' for help, or 'exit' to leave. Available commands:" 4 echo 5 echo " a Add an ssh key" 6 echo " e <repo> Edit metadata of a repository" 7 echo " i <repo> Create a new repository (private by default)" 8 echo " r Re-create the stagit website" 9 echo 10 11 cd "$(dirname "$0")" 12 13 for cmd in *; do 14 case "$cmd" in 15 a|e|i|r|help) ;; 16 *) [ -f "$cmd" ] && [ -x "$cmd" ] && echo " $cmd" ;; 17 esac 18 done