-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdoc.go
29 lines (17 loc) · 924 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
Package main (doc.go) :
This is a CLI tool to search for images with Google Reverse Image Search (goris).
Images can be searched by image files and image URLs. Searched images display URLs and also can be downloaded as image files.
---------------------------------------------------------------
# Usage
Search images from an image file. You can select number of output URLs using ``-n``. The maximum number of output URLs is 100.
$ goris s -f [iamge file] -n 50
Search images from an image URL.
$ goris s -u [iamge URL]
Download searched images from an image file. Following sample downloads 10 searched images using an image file.
$ goris s -f [iamge file] -d -n 10
Retrieve web pages with matching images on Google top page. When this is not used, images are retrieved.
$ goris s -u [iamge URL] -w
$ goris s -f [iamge file] -w
---------------------------------------------------------------*/
package main