Browse Source

added help option

Brandon Wong 8 years ago
parent
commit
7636327039
1 changed files with 7 additions and 0 deletions
  1. 7 0
      maker.sh

+ 7 - 0
maker.sh

@@ -10,6 +10,13 @@ then
     exit
 fi
 
+if [ "$projecttype" = "help" ]
+then
+    cd $maker_folder
+    ls -d1 */ | sed "s/\/$//g"
+    exit
+fi
+
 if [[ -d $maker_folder/$projecttype ]]
 then
     echo "project type AVAILABLE"