Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A global command line interface for the buddy(1) tool
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin remove flag
lib refactor out find; remove ls/clean commands
test add nested test
.gitignore add tests
.npmignore add tests
.travis.yml add travis support
LICENSE update date
README.md update docs
index.js refactor out find; remove ls/clean commands
package.json release 2.0.0

README.md

NPM Version

buddy-cli

The buddy-cli allows local versions of the buddy command to be run directly from the command line without any additional setup. This allows different versions of the buddy tool to be run from different projects, without any conflict.

Installation

# If necessary, first uninstall your existing buddy global install
$ npm -g uninstall buddy

$ npm -g install buddy-cli

Usage

Usage: buddy [options] <command> [path/to/package.json || path/to/buddy.js || path/to/buddy.json]

Commands:

  build [config]         build js and css sources
  watch [config]         watch js and css source files and build changes
  deploy [config]        build compressed js and css sources

Options:

  -h, --help             output usage information
  -V, --version          output the version number
  -t, --targets [types]  optional comma separated list of target(s) to build [js,css,html]
  -c, --compress         compress output for production deployment
  -l, --lint             check output for syntax and logic errors
  -r, --reload           reload all connected live-reload clients on file change during watch [ADD-ON buddy-server]
  -s, --serve            create a webserver to serve static files during watch [ADD-ON buddy-server]
  -S, --script           run script on build completion
  -L, --lazy             convert js modules for lazy evaluation
  -v, --verbose          print all messages for debugging

Once installed, run buddy as described here

License

(The MIT License)

Copyright (c) 2011-2015 Pope-Industries <alex@pope-industries.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.