@ -66,6 +79,7 @@ See git.io/cointop for more info.`,
ct,err:=cointop.NewCointop(&cointop.Config{
ct,err:=cointop.NewCointop(&cointop.Config{
CacheDir:cacheDir,
CacheDir:cacheDir,
ColorsDir:colorsDir,
NoCache:noCache,
NoCache:noCache,
ConfigFilepath:config,
ConfigFilepath:config,
CoinMarketCapAPIKey:cmcAPIKey,
CoinMarketCapAPIKey:cmcAPIKey,
@ -103,6 +117,7 @@ See git.io/cointop for more info.`,
rootCmd.Flags().StringVarP(&apiChoice,"api","","","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","","",fmt.Sprintf("Colorscheme to use (default \"cointop\").\n%s",cointop.ColorschemeHelpString()))
rootCmd.Flags().StringVarP(&colorscheme,"colorscheme","","",fmt.Sprintf("Colorscheme to use (default \"cointop\").\n%s",cointop.ColorschemeHelpString()))