author | create | update |
---|---|---|
常小伟 |
2021-04-19 |
2021-04-19 |
提升开发效率,将一些工具集成到axw-cli
中
npm install axw-cli -g
$ qc -h
options:
-v, --version output version
-h, --help output help
commands:
ptoh <entry> <output> pug to html, entry & output is [name].vue
create <fileName> create template
$ qc -v
1.0.3
$ qc ptoh entry.vue output.vue
read...0%
read...96.43%
read over
pug doing...
pug done
writing...
write over
√ pug to html success !
$ qc create index.vue
? 请选择模板类型 (Use arrow keys)
? 请选择模板类型 pug
? 请选择模板 (Use arrow keys)
? 请选择模板 pageSearch
- creating...
√ create pageSearch success !