@hunliji/cli
A cli project
Last updated 2 days ago by johnsen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hunliji/cli 
SYNC missed versions from official npm registry.

xi-cli · PyPI Packagist

安装

npm install -g xi-cli

使用

xi new <project-name>

主要有以下选项:

  • 仓库类型(github、gitlab)
  • 模板地址
    • 若仓库类型选择 github 填写格式为:owner/name, 例如hunliji/xi-cli
    • 若仓库类型选择 gitlab 填写格式为: custom.com:owner/name, 例如gitlab.hunliji.com:example/test-projects
  • 项目名称(默认project-name
  • 项目版本号(默认为模板的版本号)
  • 项目描述
  • 开发人员名称
  • 是否进行git push操作(若选是,则进行下一项操作,否则跳出,开发人员后续手动进行git操作)
  • 输入新项目远端git地址

如下图所示:

图片太大,请点击查看

开发

克隆到本地

$ git clone https://github.com/hunliji/xi-cli.git

软链接xi-cli到开发环境

$ cd xi-cli
$ npm link

API

  Usage: gundam <command> [options]

  Options:

    -v, --version  output the version number
    -h, --help     output usage information

  Commands:

    new <string>   Creates a new application

License

MIT

Current Tags

  • 0.1.25                                ...           latest (2 days ago)

16 Versions

  • 0.1.25                                ...           2 days ago
  • 0.1.21                                ...           3 days ago
  • 0.1.20                                ...           4 days ago
  • 0.1.19                                ...           4 days ago
  • 0.1.17                                ...           5 days ago
  • 0.1.16                                ...           5 days ago
  • 0.1.14                                ...           5 days ago
  • 0.1.13                                ...           8 days ago
  • 0.1.12                                ...           8 days ago
  • 0.1.11                                ...           8 days ago
  • 0.1.10                                ...           9 days ago
  • 0.1.7                                ...           10 days ago
  • 0.1.6                                ...           12 days ago
  • 0.1.5                                ...           19 days ago
  • 0.1.4                                ...           a month ago
  • 0.1.3                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 16
This Month 154
Last Day 16
Last Week 95
Last Month 22
Dependencies (7)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |