Explorar o código

added help option

Brandon Wong %!s(int64=8) %!d(string=hai) anos
pai
achega
7636327039
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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"