Skip to content

matejkosiarcik/universal-minifier

Repository files navigation

Universal minifier

Universal minifier for all file types

Table of contents

About

This project is in early stage of development.

Usage

For minifying files in current directory, run:

docker run --rm -v "$PWD:/project" matejkosiarcik/universal-minifier:latest

Here is a list of all available CLI options:

$ docker run --rm -v "$PWD:/project" matejkosiarcik/universal-minifier:latest --help

uniminify [options] <path..>

Minify files

Positionals:
  path  Path to file/directory to minify  [string]

Options:
      --version  Show version number  [boolean]
  -h, --help     Show usage  [boolean]
  -v, --verbose  More logging  [boolean]
  -q, --quiet    Less logging  [boolean]
  -n, --dry-run  Dry run - just analyze, does not modify files  [boolean]
  -j, --jobs     Count of cocurrent jobs to use (when set to "0" will use cpu-threads)  [number] [default: 0]

License

This project is licensed under the MIT License, see LICENSE.txt for full license details.