Git Product home page Git Product logo

zjj-cli's Introduction

ZJJ-CLI

项目概述

一个脚手架项目,可以快速的生成项目模板

功能特性

  1. 通过commander,inquirer等插件实现与用户的交互
  2. 借助于github的api,获取用于用户选择的repo列表,tag列表
  3. 确定模板后后下载到当前目录

1. 如何与用户交互

  • commander,负责注册识别命令,这里主要就是一个create命令
  • inquirer,向用户问询并提供选项让用户选择

2. 主要使用了哪些api

3. 如果我要使用,需要哪些准备工作

  1. 需要在github创建一个组织,替换掉代码我的zjjZone
  2. 在组织中上传一些repo
  3. 需要在每个repo打上tag

如何使用

1. 安装依赖

npm install

2. 关联/取消关联

npm link

npm unlink -g 

3. 在任意目录去创建项目

zli create prjectName

zjj-cli's People

Contributors

spuerzjj avatar

Watchers

 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.