0.0.7 • Published 1 year ago
@car_han/cli v0.0.7
CLI
Install npm i -g @car_han/cli
🚀launch
Usage: thx-cli [options] [command]
CLI to handle some os things quickly.
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
build [options] build fs and so on.
help [command] display help for command
build
fs (file system)
Usage
- build
- thx build --fs "F#foo>ts#test+(F#bar>ts#test) in ./"
- thx build
> Enter file system by emmet: F#foo>ts#test+(F#bar>ts#test)+(F#aaa>ts#test) in ./
have to be aware of is:|--foo/ |--test.ts |--bar/ |--test.ts |--aaa/ |--test.ts
- use "#" to set the name of your file|folder
- use ">" to set your sub file|folder
- use "in" to set gen target root path, default is "./"
- parse
- Parse the target folder
thx build --fsp ./foo
return F#foo>(F#aaa>ts#test)+(F#bar>ts#test)+ts#test
Not finished yet, stay tuned.