diff --git a/libexec/webskel/commands/ls b/libexec/webskel/commands/ls old mode 100644 new mode 100755 index e69de29..1fc8047 --- a/libexec/webskel/commands/ls +++ b/libexec/webskel/commands/ls @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +## +# variables +localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/../../..)} +sharebase="${localbase}"/share/webskel +libexec="${localbase}"/libexec/webskel + +## +# main +echo "Skeletons " +find "${sharebase}" \ + -type d \ + -maxdepth 1 \ + -name *.skeleton \ + -exec basename {} \; diff --git a/libexec/webskel/commands/new b/libexec/webskel/commands/new old mode 100644 new mode 100755