Skip to content

hands0meX/npm-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI

build 🔨

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
  1. 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 ./
    |--foo/
      |--test.ts
      |--bar/
        |--test.ts
      |--aaa/
        |--test.ts
    
    have to be aware of is:
  • 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 "./"
  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published