1.0.2 • Published 5 years ago

hold-pic v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

hold help

basic use

hold 100 110

basic use

set image gif extension

hold -g 100 / hold --gif 100

hold gif

set image jpg extension

hold -j 100 / hold --jpg 100

hold jpg

set image jpeg extension

hold -J 100 / hold --jpeg 100

hold jpeg

set image png extension

hold -p 100 / hold --png 100

hold png

set background color

hold -b ff0000 100 / hold --bg-color ff0000 100

hold background red

set text color

hold -c ff0000 100 / hold -- color ff0000 100

hold text red

set image custom text

hold 100 200 -t hello+world / hold 100 200 --text hello+world

hold custom text

upload to nos

hold -u 100

nos pic