https://github.com/ragingwind/if-got-cli
Cli to get/find icons from iconfinder.com
https://github.com/ragingwind/if-got-cli
Last synced: 24 days ago
JSON representation
Cli to get/find icons from iconfinder.com
- Host: GitHub
- URL: https://github.com/ragingwind/if-got-cli
- Owner: ragingwind
- License: mit
- Created: 2016-04-24T00:38:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-24T01:16:35.000Z (about 10 years ago)
- Last Synced: 2025-09-15T11:25:06.457Z (10 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# if-got-cli [](https://travis-ci.org/ragingwind/if-got-cli)
> Cli to get/find icons from iconfinder.com

## Install
```
$ npm install --save if-got-cli
```
## Help
```sh
$ 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
```sh
## 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
```sh
$ if-got users/wrong-invalid-could-be-found-user
=> HTTPError: Response code 404 (Not Found)
```
## License
MIT © [Jimmy Moon](http://ragingwind.me)