@kandian/viola-cli
viola 脚手架工具
Last updated a year ago by gisonyeung .
ISC · Original npm · Tarball · package.json
$ cnpm install @kandian/viola-cli 
SYNC missed versions from official npm registry.

viola-cli

viola 脚手架

install

$ npm install @kandian/viola-cli -g

usage

Usage: viola <command> [options]

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

Commands:
  init            generate a new project
  add             add a new page
  publish-bundle  publish a bundle by local js file
  publish-zip     publish bundles by local zip file
  help [cmd]      display help for [cmd]

init a new project

Usage: viola-init <project-name>

Options:
  -c, --clone  use git clone
  --offline    use cached template
  -h, --help   output usage information

  Examples:

  # create a new project with an official template
  $ viola init my-project

add a new page fragment

Usage: viola-add <page-name>

Options:
  -c, --clone  use git clone
  -h, --help   output usage information

  Examples:

  # add a new page template
  $ cd my-project
  $ viola add kandianPage

publish a bundle by local js file

Usage: viola-publish-bundle <file-path>

Options:
  -d, --dev   dev mode, use localhost:80 api
  -h, --help  output usage information

  Examples:

    # publish a bundle by local js file
    $ viola publish-bundle ./dist/viola_vue.js

publish bundles by local zip file

Usage: viola-publish-zip <file-path>

Options:
  -d, --dev   dev mode, use localhost:80 api
  -h, --help  output usage information
  
  Examples:

    # publish a zip by local zip file
    $ viola publish-zip ./dist/offline.zip

Current Tags

  • 1.3.0                                ...           latest (a year ago)

16 Versions

  • 1.3.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 16
Last Month 21
Dependencies (20)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |