Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Commit 07f71b0

Browse files
committed
chore: maintenance updates
1 parent 1c5fb77 commit 07f71b0

File tree

7 files changed

+202
-214
lines changed

7 files changed

+202
-214
lines changed

bin/cli.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,28 @@ if (args.help) {
3030
console.log('Quasar Icon Genie: v.' + info.version)
3131
console.log(' License: MIT')
3232
console.log(`
33-
The Icon Genie is a node utility to create a batch of icons for your app.
33+
The Icon Genie is a node utility to create a batch of icons for your app.
3434
Designed to work seamlessly with the Quasar Framework, but probably
3535
useful for other build pipelines.
36-
37-
Flags:
36+
37+
Flags:
3838
-p, --preset Choose a preset output or make your own
3939
[minify|splash|svg|svgduochrome|favicon]
40-
[spa|pwa|cordova|proton|electron|bex|kitchensink|custom]
40+
[spa|pwa|cordova|electron|bex|kitchensink|custom]
4141
-s, --source Your source image as a large square png
4242
-t, --target The destination directory for the files created
4343
-o, --options Path to file that overrides defaults (if custom)
44-
-m, --minify Minify strategy to use.
44+
-m, --minify Minify strategy to use.
4545
[pngcrush|pngquant|optipng|zopfli]
4646
-d, --mode Minify mode if minify preset [folder|singlefile]
4747
-v, --version Display version information
4848
-h, --help Display this information
49-
-l, --validate Check the image is valid for processing
50-
49+
-l, --validate Check the image is valid for processing
50+
5151
Usage:
52-
53-
$ icongenie -p=kitchensink -s=icon-1280x1280.png -t=./outputFolder -m=pngquant
54-
$ icongenie -p=minify -s=icon-1240x1240.png -t=./output -m=pngquant -d=singlefile
52+
53+
$ icongenie -p=kitchensink -s=icon-1280x1280.png -t=./outputFolder -m=pngquant
54+
$ icongenie -p=minify -s=icon-1240x1240.png -t=./output -m=pngquant -d=singlefile
5555
`)
5656
process.exit(0)
5757
}
@@ -121,9 +121,6 @@ switch (args.preset) {
121121
case 'cordova':
122122
icongenie.cordova(args.source, args.target, args.minify)
123123
break
124-
case 'proton':
125-
icongenie.proton(args.source, args.target, args.minify)
126-
break
127124
case 'electron':
128125
icongenie.electron(args.source, args.target, args.minify)
129126
break

0 commit comments

Comments
 (0)