-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.test.js.snap
24 lines (21 loc) · 1019 Bytes
/
index.test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`webpconvert --help 1`] = `
"Convert jpg/png images in specified directory to webp
Usage: webpconvert [source] [target] [options]
Options:
-p, --prefix Specify the prefix of output filename. [string] [default: ""]
-s, --suffix Specify the suffix of output filename. [string] [default: ""]
-q, --quality Specify the quality of webp image. Lower values yield better compression but the least image quality. [number] [default: 80]
-r, --recursive Include files in sub-folders. Will be ignored if the [source] is a file. [boolean] [default: false]
-m, --mute Disable output messages. [boolean] [default: false]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
webpconvert
webpconvert sample-images
webpconvert sample-images -q 50
webpconvert sample-images --prefix="img-" --suffix="-compressed"
webpconvert sample-images output
webpconvert sample-images/KittenJPG.jpg
"
`;