Skip to content

F-happy/got-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

got-template-cli

npm npm npm

“最佳实践” 生成器,我们总结了一些关于 Redux 的最佳实践,但是每次创建这些模板文件总会 消耗大量的时间,所以我写了这样一个自动生成的工具来节约时间。

安装:

npm install -g got-template-cli

创建容器

$ got-template-cli add --name <容器名称>

eg:
$ got-template-cli add --name test

创建组件

$ got-template-cli add --name <容器名称> [--component <创建组件>]

eg:
$ got-template-cli add --name test -c
// or
$ got-template-cli add --name test --component

About

got create temp file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published