1.0.2 • Published 5 years ago
hold-pic v1.0.2
hold-pic
a command line tool to download picture from placeholder.com.
Installation
You'll first need to install hold-pic:
# with npm
$ npm i -g hold-pic
# or with yarn
$ yarn global add hold-pic
Usage
hold [options] <width> [height]
see help
hold -h
basic use
hold 100 110
set image gif extension
hold -g 100 / hold --gif 100
set image jpg extension
hold -j 100 / hold --jpg 100
set image jpeg extension
hold -J 100 / hold --jpeg 100
set image png extension
hold -p 100 / hold --png 100
set background color
hold -b ff0000 100 / hold --bg-color ff0000 100
set text color
hold -c ff0000 100 / hold -- color ff0000 100
set image custom text
hold 100 200 -t hello+world / hold 100 200 --text hello+world
upload to nos
hold -u 100