Add command aliases
This commit is contained in:
parent
ef22971eec
commit
207713a5fb
3 changed files with 5 additions and 5 deletions
|
@ -16,8 +16,8 @@ For example, the following command will create a "myapp" directory from the
|
|||
|
||||
user@localhost$ webskel new myapp dolphins7
|
||||
|
||||
* **webskel ls** <br>
|
||||
The `webskel ls` command lists all available skeletons by name, and includes a
|
||||
* **webskel list** <br>
|
||||
The `webskel list` command lists all available skeletons by name, and includes a
|
||||
short description as well. These skeletons are located in the [share/webskel/](share/webskel)
|
||||
directory, which is typically installed relative to `/usr/local`:
|
||||
|
||||
|
|
|
@ -14,11 +14,11 @@ libexec="${localbase}"/libexec/webskel
|
|||
##
|
||||
# main
|
||||
case $1 in
|
||||
"new")
|
||||
n|new)
|
||||
"${libexec}"/commands/new "${2}" "${3}"
|
||||
;;
|
||||
"ls")
|
||||
"${libexec}"/commands/ls
|
||||
l|list)
|
||||
"${libexec}"/commands/list
|
||||
;;
|
||||
*)
|
||||
printf "Usage: webskel COMMAND [OPTIONS]\n"
|
||||
|
|
Loading…
Reference in a new issue