@chenhebin/violet-cli

1.0.1-2 • Public • Published

简易版组件库脚手架

快速开始

在一个空目录运行命令,创建一个基于Webpack5和Vue2的组件库模板
github链接: https://github.com/chenhebin/violet-ui

vc create vue2-markdown-components  

什么是脚手架

以Vue Cli举例:Vue CLI 是可以从远程代码github拉取一个项目模板,提供:

vue create [projectName] [...argv]

Violet-cli

可以通过help命令进行查看脚手架支持的功能

vc -h

目前功能分为options和commands部分,主要的create动作包含在commands中

Usage: index [options] [command]

Options:
  -V, --version                 output the version number
  -c --chb                      chenhebin test command
  -d --dest <dest>              a destination folder,例如: -d /src/components  
  -f --frame <framework>        框架选择
  -h, --help                    display help for command

Commands:
  create <project> [others...]  clone a repository into a folder that <project>
  help [command]                display help for command

-----------Other-----------

下一阶段

  • 拓展更多可自定义命令

Readme

Keywords

Package Sidebar

Install

npm i @chenhebin/violet-cli

Weekly Downloads

2

Version

1.0.1-2

License

ISC

Unpacked Size

4.47 kB

Total Files

8

Last publish

Collaborators

  • chenhebin