1.0.3 • Published 2 years ago

nv-cli-swi v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nv-cli-swi

  • cli tool
  • simple ersion of nv-cli-switch

install

  • npm install nv-cli-swi -g

usage

	Usage: nv_cli_swi [options] 
	Options:
	    -d, --discriminant        switch(discriminant)
	    -c, --cases               case (c)
	    -i, --indent              indent, default 4
	    -h, --help                usage

example

			nv_cli_swi -d cond -c A B C D E F G H I
			    switch(cond){
				case(A) : {
				    break;
				}
				case(B) : {
				    break;
				}
				case(C) : {
				    break;
				}
				case(D) : {
				    break;
				}
				case(E) : {
				    break;
				}
				case(F) : {
				    break;
				}
				case(G) : {
				    break;
				}
				case(H) : {
				    break;
				}
				case(I) : {
				    break;
				}
				default: {
				}
			    }

LICENSE

  • ISC
1.0.3

2 years ago