gobble-cli
Command line interface for gobble
Last updated 3 years ago by rich_harris .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gobble-cli 
SYNC missed versions from official npm registry.

gobble-cli

The command line interface for Gobble, used for serving and building a project with a gobblefile.

Installation

npm i -g gobble-cli

Usage

Serving a project

This will start a server and watch for changes, using the gobblefile.js in the current folder (or one of its ancestors).

# you could also do `gobble serve` - it's the same thing
gobble

To use a specific port:

gobble --port 1337
gobble -p 1337

Building a project

To build the project to the out folder:

gobble build out

Set the --force flag to clear out the target folder if it exists and is not empty:

gobble build out --force
gobble build out -f

Build to a specific folder, and watch for changes

Like gobble build, except that the build will be updated whenever the source files change.

gobble watch out

License

MIT.

Current Tags

  • 0.8.0                                ...           latest (3 years ago)

25 Versions

  • 0.8.0                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           4 years ago
  • 0.5.0                                ...           4 years ago
  • 0.4.4                                ...           4 years ago
  • 0.4.3                                ...           4 years ago
  • 0.4.2                                ...           4 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.5                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.11                                ...           5 years ago
  • 0.2.10                                ...           5 years ago
  • 0.2.9                                ...           5 years ago
  • 0.2.8                                ...           5 years ago
  • 0.2.7                                ...           5 years ago
  • 0.2.6                                ...           5 years ago
  • 0.2.4                                ...           5 years ago
  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Downloads
Today 0
This Week 28
This Month 47
Last Day 0
Last Week 10
Last Month 21
Dependencies (14)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |