if-got-cli
v0.1.2
Published
Cli to get/find icons from iconfinder.com
Downloads
2
Maintainers
Readme
if-got-cli
Cli to get/find icons from iconfinder.com
Install
$ npm install --save if-got-cli
Help
$ if-got --help
Options
--json: Print out query result in JSON or not You will get a list of result in simple text format like HTTP links or names
Examples
## Simple categories
$ if-got categories
## Simple categories with max count
if-got categories --count=30
## Categories in JSON format
$ if-got categories --json
## Search icon by query `app`
$ if-got icons search --query=app --maximum_size=512 --json --> search.json
$ if-got icons search --query=app --count=1 > search.data
## HTTP(s) Link for the icon
$ if-got icons 495310
## Open the icon with HTTP(s) Link on MAC OS
$ if-got open $(icons 495310)
## Simple iconset for romance
$ if-got iconsets romance or
## HTTP(s) Link of iconsets for romance category
$ if-got iconsets romance/icons
## Simple iconsets
$ if-got styles cartoon/iconsets
$ if-got categories romance/iconsets
$ if-got users ragingwind/iconsets
$ if-got styles cartoon/iconsets
$ if-got iconsets 28238
## Styles
$ if-got styles --count=5
## The styles
$ if-got styles/3d
$ if-got styles 3d
## The users
$ if-got users/ragingwind
Errors
$ if-got users/wrong-invalid-could-be-found-user
=> HTTPError: Response code 404 (Not Found)
License
MIT © Jimmy Moon