Plugin Skeleton Script [Bash]

#!/bin/bash
#name: pluginSkeleton
#Author: @Kareste
#Installation: Put file in mod/
#usage ./pluginSkeleton <plugin_name>
if [ $# -eq 0 ]; then
echo "Plugin Name is Missing"
else
echo mkdir -p "$1/actions/$1/" | bash -x
echo mkdir -p "$1/classes/" | bash -x
echo mkdir -p "$1/graphics/" | bash -x
echo mkdir -p "$1/js/" | bash -x
echo mkdir -p "$1/languages/" | bash -x
echo mkdir -p "$1/lib/" | bash -x
echo mkdir -p "$1/pages/$1/" | bash -x
echo mkdir -p "$1/vendors/" | bash -x
echo mkdir -p "$1/views/default/$1/" | bash -x
echo mkdir -p "$1/views/default/forms/" | bash -x
echo mkdir -p "$1/views/default/js/" | bash -x
echo mkdir -p "$1/views/default/object/$1" | bash -x
echo mkdir -p "$1/views/default/plugins/$1/" | bash -x
echo mkdir -p "$1/views/default/widgets/$1_widget/" | bash -x
echo touch "$1/start.php" | bash -x
echo touch "$1/manifest.xml" | bash -x
echo -e "\n\n\tExample Manifest\n\tElgg\n\t1.0\n\tThis is a simple example of a manifest file. In this example, there are not screenshots, dependencies, or additional information about the plugin.\n\t\n\t\telgg_version\n\t\t2011010401\n\t\n" >> "$1/manifest.xml"
fi