Code Monkey home page Code Monkey logo

create-app-cli's Introduction

create-app cli

根据vueCli改写,减少部分功能.
只留下初始化部分
可以从gitlab/github/本地文件中的项目模板构建新应用

使用方法

安装

    npm i @zzwing/create-app -g

使用

    create-app init <template-name> <project-name> [-c]

如果需要通过git clone来拉取项目.请使用-c 参数

本地文件

你可以使用本地模板作为你的新项目模板

    create-app init ~/fs/path/to-custom-template my-project

通过其他仓库获取

The short hand repository string to download the repository from:

  • GitHub - github:owner/name or simply owner/name
  • GitLab - gitlab:owner/name
  • Bitbucket - bitbucket:owner/name

Examples

Using http download from Github repository at master.

create-app init path/to/repo myProject

Using git clone from Bitbucket repository at my-branch.

create-app init bitbucket:path/to/repo#my-branch myProject

Using http download from GitLab repository with custom origin.

create-app init gitlab:mygitlab.com:path/to/repo#my-branch myProject

路径具体写法请参考

download-git-repo

create-app-cli's People

Contributors

zwingz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.