You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,10 @@ Track token prices in your favorite exchanges from the terminal. Best CLI tool f
34
34
35
35
If you have [Go](https://golang.org/) (1.9+) installed:
36
36
```bash
37
-
$ go get github.com/polyrabbit/token-ticker
37
+
$ go get -u github.com/polyrabbit/token-ticker
38
38
```
39
39
40
-
Or download executable from the [release page](https://github.com/polyrabbit/token-ticker/releases/latest)
40
+
Or download executable from the [release page](https://github.com/polyrabbit/token-ticker/releases/latest), and put it into your `PATH`.
41
41
42
42
### Usage
43
43
@@ -61,7 +61,7 @@ Options:
61
61
-t, --timeout int HTTP request timeout in seconds (default 20)
62
62
63
63
Exchange.Token Pairs:
64
-
Specify which exchange and token pair to query, different exchanges use different forms to express tokens, refer to their URLs to find the format, eg. to get BitCoin price from Bitfinex and CoinMarketCap you should use query string "Bitfinex.BTCUSDT CoinMarketCap.Bitcoin"
64
+
Specify which exchange and token pair to query, different exchanges use different forms to express tokens/trading pairs, refer to their URLs to find the format, eg. to get BitCoin price from Bitfinex and CoinMarketCap you should use query string "Bitfinex.BTCUSDT CoinMarketCap.Bitcoin"
65
65
66
66
Find help/updates from here - https://github.com/polyrabbit/token-ticker
fmt.Fprintln(os.Stderr, " Specify which exchange and token pair to query, different exchanges use different forms to express tokens, refer to their URLs to find the format"+
161
+
fmt.Fprintln(os.Stderr, " Specify which exchange and token pair to query, different exchanges use different forms to express tokens/trading pairs, refer to their URLs to find the format"+
161
162
" (eg. to get BitCoin price from Bitfinex and CoinMarketCap you should use query string \"Bitfinex.BTCUSDT CoinMarketCap.Bitcoin\").")
162
163
fmt.Fprintln(os.Stderr, "\nFind help/updates from here - https://github.com/polyrabbit/token-ticker")
163
164
os.Exit(0)
@@ -170,6 +171,7 @@ func init() {
170
171
TimestampFormat: "15:04:05",
171
172
}
172
173
logrus.SetFormatter(formatter)
174
+
logrus.SetOutput(colorable.NewColorableStderr()) // For Windows
173
175
174
176
showVersion:=pflag.BoolP("version", "v", false, "Show version number")
0 commit comments