diff --git a/README.md b/README.md index b429216..126ebb2 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ For example, the following command will create a "myapp" directory from the user@localhost$ webskel new myapp dolphins7 -* **webskel ls**
-The `webskel ls` command lists all available skeletons by name, and includes a +* **webskel list**
+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`: diff --git a/bin/webskel b/bin/webskel index cfac6e4..be984af 100755 --- a/bin/webskel +++ b/bin/webskel @@ -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" diff --git a/libexec/webskel/commands/ls b/libexec/webskel/commands/list similarity index 100% rename from libexec/webskel/commands/ls rename to libexec/webskel/commands/list