Skip to content

eggplants/sh-xmas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh-xmas

Docker Image Size (latest by date) Docker Image Version (latest by date)

  • Plant X'mas tree(s) on your Terminal

Install

From GitHub

curl -sSLo xmas https://git.io/JDi1J
sudo install xmas /usr/local/bin
xmas # launch

From Docker(Hub)

docker run --rm -it eggplanter/sh-xmas # launch

Usage

$ xmas -m -n 5 -l 3
      ★      	      ★      	      ★      	      ★      	      ★      
    / \     	    / \     	    / \     	    /&\     	    / \     
   / i。\    	   /&@i\    	   /  ⸮\    	   /& ⸛\    	   /   \    
  /     \   	  / ⸮⸛  \   	  /&    \   	  /   ⁂ \   	  / 。  ⸮\   
 /   @⸮i⁂\  	 /   ⸛ 。 \  	 /  ⁂&&⸮@\  	 /i& ⸮@ i\  	 /i⸮&⸮ i \  
/ i       \ 	/@i。 ⸮    \ 	/ i & 。  @\ 	/⸛⸛  ⸮ ⸛@ \ 	/&⁂。ii ⁂& \ 
^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^
     | |	     | |	     | |	     | |	     | |
      ★      	      ★      	      ★      	      ★      	      ★      
    / \     	    /@\     	    /&\     	    /⸮\     	    / \     
   / @i\    	   / ⸮⸮\    	   /& 。\    	   /  ⸛\    	   /&  \    
  /  ⁂  \   	  /     \   	  /⁂ i@ \   	  /   ⸮ \   	  /⁂。&i⸛\   
 / ⁂⁂⸮⁂  \  	 / ⁂i   &\  	 / ⁂ ⁂   \  	 / ⁂。 i& \  	 /i  @  ⁂\  
/   。 。  ⸛\ 	/  ⁂⸮。i⸮  \ 	/⁂  i⸛⁂   \ 	/      &⸛ \ 	/  @ ⸛⸛ i \ 
^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^
     | |	     | |	     | |	     | |	     | |
      ★      	      ★      	      ★      	      ★      	      ★      
    / \     	    /i\     	    / \     	    /。\     	    / \     
   /& ⸮\    	   /  。\    	   /  ⸛\    	   /&⁂&\    	   / @⁂\    
  /   ⸮i\   	  /@。@ i\   	  /     \   	  / @⸮  \   	  / @   \   
 /       \  	 /⸛i⸮i⸮ ⸛\  	 /ii⸛    \  	 /ii  &i&\  	 /  @ 。⸮ \  
/  @⸛     \ 	/     ⸮  @\ 	/⸛ ⸛ & ⸮ ⁂\ 	/         \ 	/  @  &i& \ 
^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^	^^^^^| |^^^^^
     | |	     | |	     | |	     | |	     | |

Help

$ xmas -h

xmas -- Plant X'mas tree(s)

Usage: xmas [options]

Options:
 -s, --size <POSITIVE INT>    game level (default=5)
 -n, --number <POSITIVE INT>  number of tree (default=1)
 -l, --line <POSITIVE INT>    number of line (default=1)
 -a, --animation              enable animation
 -i, --interval <NATURAL INT> animation interval (default=1)
 -m, --monochrome             disable color
 -h, --help     display this help and exit
 -v, --version  output version infromation and exit

Version:
 0.0.5

Screenshot

image

License

MIT


Other implementation