UNPKG

copy-cli

Version:

A CLI tool for copying files, with optional CSS/JS minification.

15 lines (11 loc) 496 B
Usage: copy [options] [path] > output_file Available options: --help, -? Displays this help information --minify, -m Assign this option "js" or "css" to minify the output [path] is an optional local or remote (http) path. The contents found at that path are written to the output_file. If no path is specified, stdin is used instead. Examples: copy /path/to/file.css > file.css copy --minify=js https://example.com/jquery.js > jquery.min.js echo hello world | copy > hello.txt