#!/bin/bash function init() { if [ "$1" == "" ]; then echo "Must enter a path to initialize" >&2 exit 1 fi mkdir -p $1/templates mkdir -p $1/scripts mkdir -p $1/files touch $1/requires mkdir -p $1/parameters/$(basename $1) } $1 $2