Coder Social home page Coder Social logo

max-cli's Introduction

max-cli

定制自己的脚手架,提高工作效率(windows里用git-bash不要用cmd!)
npm install max-cli -g

使用说明

命令行里的*有毒
帮助手册
  max-cli -h 或者 max-cli --help
初始化一个项目:
  max-cli init project_name 
安装配置:
  max-cli install
(进入项目目录)添加配置:
  max-cli add shttp https://github.com/ruanjiayou/net/index.js src/libs/shttp.js
更新配置:
  max-cli update shttp
移除配置:
  max-cli remove shttp
列出所有配置:
  max-cli list

引用库说明

Inquirer.js: 通用的命令行用户界面集合: 用于和用户进行交互。
chalk: 可以给终端的字体加上颜色。
log-symbols: 可以在终端上显示出 √ 或 × 等的图标。

2018-6-29 00:56:45

  不用TJ的commander 自己处理process.argv伪数组
  command('cmd <name>').description('description').action(function)

2018-7-6 10:31:07

  √ 下载文件有时会是socket hang up: content为 "socket hang up" 就失败
  √ -g安装有问题: index.js前加 #! node
  全局安装后 颜色丢失;
  √ 输入的会重复一遍: 自己处理输入

max-cli's People

Contributors

ruanjiayou avatar

Watchers

James Cloos 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.