Skip to content

nervouself/y-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

y-init

A simple CLI for scaffolding projects implement by vue-cli.

Installation

Prerequisites: Node.js (>=4.x, 6.x preferred), npm version 3+ and Git.

$ npm install -g y-init

Usage

$ y-init <template-name>#<branch-name> <project-name>

Example:

# 从 github 下载模板、生成项目
$ y-init username/repo my-project

# 直接从 url 下载模板、生成项目
$ y-init direct:https://my.gitlab.com/username/repo#my-branch my-project --clone

# 或者直接选一个默认模板
$ y-init

# 查看帮助
$ y-init -h

Writing Templates from Scratch

see vue-cli.

License

MIT

About

A simple CLI for scaffolding projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published