forked from zquestz/s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
s.go
109 lines (104 loc) · 4.11 KB
/
s.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package main
import (
"fmt"
"os"
// Load necessary providers.
_ "github.com/zquestz/s/providers/500px"
_ "github.com/zquestz/s/providers/8tracks"
_ "github.com/zquestz/s/providers/amazon"
_ "github.com/zquestz/s/providers/archpkg"
_ "github.com/zquestz/s/providers/archwiki"
_ "github.com/zquestz/s/providers/arstechnica"
_ "github.com/zquestz/s/providers/arxiv"
_ "github.com/zquestz/s/providers/atmospherejs"
_ "github.com/zquestz/s/providers/aur"
_ "github.com/zquestz/s/providers/baidu"
_ "github.com/zquestz/s/providers/bandcamp"
_ "github.com/zquestz/s/providers/bgr"
_ "github.com/zquestz/s/providers/bing"
_ "github.com/zquestz/s/providers/buzzfeed"
_ "github.com/zquestz/s/providers/cnn"
_ "github.com/zquestz/s/providers/codepen"
_ "github.com/zquestz/s/providers/coursera"
_ "github.com/zquestz/s/providers/cplusplus"
_ "github.com/zquestz/s/providers/crunchyroll"
_ "github.com/zquestz/s/providers/debianpkg"
_ "github.com/zquestz/s/providers/digg"
_ "github.com/zquestz/s/providers/diigo"
_ "github.com/zquestz/s/providers/dockerhub"
_ "github.com/zquestz/s/providers/dribbble"
_ "github.com/zquestz/s/providers/duckduckgo"
_ "github.com/zquestz/s/providers/dumpert"
_ "github.com/zquestz/s/providers/engadget"
_ "github.com/zquestz/s/providers/facebook"
_ "github.com/zquestz/s/providers/flickr"
_ "github.com/zquestz/s/providers/flipkart"
_ "github.com/zquestz/s/providers/foursquare"
_ "github.com/zquestz/s/providers/gist"
_ "github.com/zquestz/s/providers/github"
_ "github.com/zquestz/s/providers/gmail"
_ "github.com/zquestz/s/providers/go"
_ "github.com/zquestz/s/providers/godoc"
_ "github.com/zquestz/s/providers/google"
_ "github.com/zquestz/s/providers/googledocs"
_ "github.com/zquestz/s/providers/googleplus"
_ "github.com/zquestz/s/providers/hackernews"
_ "github.com/zquestz/s/providers/ietf"
_ "github.com/zquestz/s/providers/ifttt"
_ "github.com/zquestz/s/providers/imdb"
_ "github.com/zquestz/s/providers/imgur"
_ "github.com/zquestz/s/providers/inbox"
_ "github.com/zquestz/s/providers/instagram"
_ "github.com/zquestz/s/providers/kickasstorrents"
_ "github.com/zquestz/s/providers/libgen"
_ "github.com/zquestz/s/providers/linkedin"
_ "github.com/zquestz/s/providers/lmgtfy"
_ "github.com/zquestz/s/providers/macports"
_ "github.com/zquestz/s/providers/mdn"
_ "github.com/zquestz/s/providers/medium"
_ "github.com/zquestz/s/providers/metacpan"
_ "github.com/zquestz/s/providers/msdn"
_ "github.com/zquestz/s/providers/naver"
_ "github.com/zquestz/s/providers/netflix"
_ "github.com/zquestz/s/providers/nhaccuatui"
_ "github.com/zquestz/s/providers/npm"
_ "github.com/zquestz/s/providers/npmsearch"
_ "github.com/zquestz/s/providers/npr"
_ "github.com/zquestz/s/providers/nvd"
_ "github.com/zquestz/s/providers/overstock"
_ "github.com/zquestz/s/providers/packagist"
_ "github.com/zquestz/s/providers/phandroid"
_ "github.com/zquestz/s/providers/php"
_ "github.com/zquestz/s/providers/pinterest"
_ "github.com/zquestz/s/providers/python"
_ "github.com/zquestz/s/providers/quora"
_ "github.com/zquestz/s/providers/reddit"
_ "github.com/zquestz/s/providers/rottentomatoes"
_ "github.com/zquestz/s/providers/rubygems"
_ "github.com/zquestz/s/providers/soundcloud"
_ "github.com/zquestz/s/providers/spotify"
_ "github.com/zquestz/s/providers/stackoverflow"
_ "github.com/zquestz/s/providers/steam"
_ "github.com/zquestz/s/providers/taobao"
_ "github.com/zquestz/s/providers/thepiratebay"
_ "github.com/zquestz/s/providers/theregister"
_ "github.com/zquestz/s/providers/torrentz"
_ "github.com/zquestz/s/providers/twitchtv"
_ "github.com/zquestz/s/providers/twitter"
_ "github.com/zquestz/s/providers/unity3d"
_ "github.com/zquestz/s/providers/upcloud"
_ "github.com/zquestz/s/providers/vimeo"
_ "github.com/zquestz/s/providers/wikipedia"
_ "github.com/zquestz/s/providers/wolframalpha"
_ "github.com/zquestz/s/providers/yahoo"
_ "github.com/zquestz/s/providers/yandex"
_ "github.com/zquestz/s/providers/youtube"
"github.com/zquestz/s/cmd"
)
func main() {
setupSignalHandlers()
if err := cmd.SearchCmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}