concat-glob-cli

0.1.0 • Public • Published

concat-cli

Just a simple wrapper around the concat module, to concatenate files via the command line, and support ** glob.

Install

$ npm install -g concat-cli

Usage

Pass the files to concatenate (-f or --files parameter) to the tool, and optionally and destination file (-o or --output parameter):

Uses the argument after -f flag to make a path to pass into the glob module. If passed in through the command line, the path should be passed in as a string:

$ concat-cli -f 'path/to/js/**/*.js' -o bundle.js

If registering as an npm script (the main reason this module was created), it is not necessary to include the path a string.

Package Sidebar

Install

npm i concat-glob-cli

Weekly Downloads

892

Version

0.1.0

License

none

Last publish

Collaborators

  • striphahn