0.0.3 • Published 8 years ago

cache-breaker-cli v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

#Cache Breaking CLI Build Status

This module provides a command line interface to the cache-breaker plugin. It can be used for npm-only build scripts

##Install

npm install cache-breaker

##Usage

Usage: cache-breaker [options] <input-file>

Options:

  -h, --help                 output usage information
  -o, --out <filename>       output file
  -m, --match <items>        list of filenames to rewrite, separated by comma
  -p, --position <position>  type of replacement. Query string by default, can be set to one of [filename|overwrite]

##Usage Example The following appends a timestamp query string to the style.css and main.js files in inputfile.html and writes the result to outputfile.html.

cache-breaker -o outputfile.html -m 'style.css,main.js' inputfile.html
0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago