Skip to content

gobblejs/gobble-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

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

gobble

To use a specific port:

gobble --port 1337
gobble -p 1337

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

License

MIT.