create-copy
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

c-copy 通过命令行创建模版项目

模版地址

  • nuxt3-template
  • vue3-template
  • vue2-template

第一次获取json默认数据,会生成一个__temp__文件夹(用完即删),根目录 /User/xxx/.ccopyrc 存储json数据

install

pnpm install create-copy -g

usage

c-copy create [OPTIONS] [NAME]

default options with cwd & logLevel

All this commands could use --help for more infomations

commands

create

create project with subcommands

  • template/t
  • force/f
  • offline/o
  • name

show

show cached json .ccopyrc

clean

clean cached json .ccopyrc & .cache/giget

# 显示存储json信息 .ccopyrc
c-copy show
# 删除存储的json文件 - 删除.ccopyrc
c-copy clean
# 创建模版
c-copy create xxx
c-copy create --template vue2-template xxx
# 创建时使用最新json数据
c-copy create -t vue2-template -f
# 下载到对应目录
c-copy create -t vue2-template --cwd ../../example

respect

  1. Vue
  2. vue-cli
  3. Nuxt
  4. UnJS

Dependents (0)

Package Sidebar

Install

npm i create-copy

Weekly Downloads

0

Version

0.0.11

License

MIT

Unpacked Size

23.1 kB

Total Files

18

Last publish

Collaborators

  • xjccc