npm install @stein197/cli
import * as arg from "@stein197/cli/arg";
arg.parse("--opt1 val1 -- str1"); // {args: ["str1"], opts: {opt1: "val1"}}
Module | Functions |
---|---|
arg | parse |
NOTE. Please, refer to docblocks in the source code for more detailed documentation.
build
runclean
,test
andts
scriptsclean
delete compiled filestest
run teststs
compile the projectts:check
run compile check