The command-line bootstrapper for buddy
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.
# If necessary, first uninstall your existing buddy global install$ npm -g uninstall buddy$ npm -g install buddy-cli
Usage: buddy [options] <command> [path/to/package.json || path/to/buddy.js || path/to/buddy.json]Commands:build [config] build js and css sourceswatch [config] watch js and css source files and build changesdeploy [config] build compressed js and css sourcesls list all previously created files and directoriesclean remove all previously created files and directoriesOptions:-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
(The MIT License)
Copyright (c) 2011-2015 Pope-Industries <email@example.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.