brunobar79 / concat-cli

Command line implementation of concat module

Home Page:https://www.npmjs.org/package/concat-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

concat-cli

Just a simple wrapper around the concat module, to concatenate files via the command line

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):

$ concat-cli -f *.js -o bundle.js

Concat-cli will create the bundle.js file, if it doesn't exists, and dump the content of all the passed files into that one. If you don't provide an output file, the tool will concatenate everything into a file called 'all', with the correct extension.

Test

$ npm test

About

Command line implementation of concat module

https://www.npmjs.org/package/concat-cli


Languages

Language:JavaScript 99.9%Language:CSS 0.1%