$ cargo run --release -- --help
Finished `release` profile [optimized] target(s) in 0.03s
Running `target/release/minifier --help`
Minifier tool/lib for JS/CSS/JSON files
Usage: minifier [OPTIONS] <FILE>...
Arguments:
<FILE>...
Input Files...
Options:
-t, --type <FileType>
File Extention without dot. This option is optional.
If you don't provide this option, all input files
type will detect via extension of input file.
Possible values:
- css: All the files will be consider as CSS, regardless of their extension.
- js: All the files will be consider as JavaScript, regardless of their extension.
- json: All the files will be consider as JSON, regardless of their extension.
-o, --out <output>
Output file or directory (Default is parent dir of input files)
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
Options
Screencast from 08-03-2024 07:00:52 PM.webm