|  | @@ -6,9 +6,17 @@ name="$2"
 | 
	
		
			
				|  |  |  camelcase=$(echo $name | sed -e 's/\b\(.\)/\u\1/g' -e 's/\(.*\)/\l\1/' -e 's/\s//g')
 | 
	
		
			
				|  |  |  actiontype=$(echo $name | sed -e 's/\(.*\)/\U\1/' -e 's/\s/-/g')
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +help_message () {
 | 
	
		
			
				|  |  | +    echo "possible actions:"
 | 
	
		
			
				|  |  | +    echo "- component name"
 | 
	
		
			
				|  |  | +    echo "- reducer name"
 | 
	
		
			
				|  |  | +    echo "- action name-string [reducer-file] [prop1 prop2 ...]"
 | 
	
		
			
				|  |  | +    echo "- epic name-string"
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  if [ -z "$name" ]
 | 
	
		
			
				|  |  |  then
 | 
	
		
			
				|  |  | -    echo "needs a name"
 | 
	
		
			
				|  |  | +    help_message
 | 
	
		
			
				|  |  |      exit
 | 
	
		
			
				|  |  |  fi
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -98,11 +106,7 @@ case "$addwhat" in
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      *)
 | 
	
		
			
				|  |  | -        echo "possible actions:"
 | 
	
		
			
				|  |  | -        echo "- add component"
 | 
	
		
			
				|  |  | -        echo "- add reducer"
 | 
	
		
			
				|  |  | -        echo "- add action and include in specific reducer"
 | 
	
		
			
				|  |  | -        echo "- add epic"
 | 
	
		
			
				|  |  | +        help_message
 | 
	
		
			
				|  |  |          ;;
 | 
	
		
			
				|  |  |  esac
 | 
	
		
			
				|  |  |  
 |