- Q: How can I run the cointop SSH server on port 22?
- A: Port 22 is a privileged port so you need to run with `sudo`:
@ -996,6 +997,14 @@ Frequently asked questions:
sudo cointop server -p 22
```
- Q: Why doesn't the version number work when I install with `go get`?
- A: The version number is read from the git tag during the build process but this requires the `GO111MODULE` environment variable to be set in order for Go to read the build information:
```bash
GO111MODULE=on go get github.com/miguelmota/cointop
rootCmd.Flags().StringVarP(&cmcAPIKey,"coinmarketcap-api-key","","","Set the CoinMarketCap API key")
rootCmd.Flags().StringVarP(&apiChoice,"api","",cointop.CoinGecko,"API choice. Available choices are \"coinmarketcap\" and \"coingecko\"")
rootCmd.Flags().StringVarP(&apiChoice,"api","","","API choice. Available choices are \"coinmarketcap\" and \"coingecko\"")
rootCmd.Flags().StringVarP(&colorscheme,"colorscheme","","","Colorscheme to use (default \"cointop\"). To install standard themes, do:\n\ngit clone git@github.com:cointop-sh/colors.git ~/.config/cointop/colors\n\nSee git.io/cointop#colorschemes for more info.")