hua-cli
A simple CLI hua's projects.
Last updated 6 months ago by arcturis .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hua-cli 
SYNC missed versions from official npm registry.

hua-cli

命令行工具,用于从模板快速生成项目

安装

$ npm install -g hua-cli

使用

hua

Usage: hua <command> [options]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  init           generate a new project from a template
  list           list available official templates
  page           create a new page, include html, scss, js file
  publish        publish project to remote server
  help [cmd]     display help for [cmd]

init

# 从模板新建项目
$ hua init <my-project>

list

# 列出所有可用的模板
$ hua list

page

# 创建新页面
$ hua page <pageName>

publish

# 发布dist目录到远程服务器
$ hua publish

todo

  • [x] 支持 hua publish 命令
  • [x] 支持 hua page 命令

Current Tags

  • 1.0.7                                ...           latest (6 months ago)

5 Versions

  • 1.0.7                                ...           6 months ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 5
Dependencies (23)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |