holdingsCmd.Flags().BoolVarP(&hideBalances,"hide-balances","",hideBalances,"Hide portfolio balances. Useful for when sharing screen or taking screenshotss")
@ -106,6 +107,7 @@ See git.io/cointop for more info.`,
RefreshRate:refreshRateP,
PerPage:perPage,
MaxPages:maxPages,
HidePortfolioBalances:hidePortfolioBalances,
})
iferr!=nil{
returnerr
@ -123,6 +125,7 @@ See git.io/cointop for more info.`,
rootCmd.Flags().BoolVarP(&hideChart,"hide-chart","",hideChart,"Hide the chart view")
rootCmd.Flags().BoolVarP(&hideTable,"hide-table","",hideTable,"Hide the table view")
rootCmd.Flags().BoolVarP(&hideStatusbar,"hide-statusbar","",hideStatusbar,"Hide the bottom statusbar")
rootCmd.Flags().BoolVarP(&hidePortfolioBalances,"hide-portfolio-balances","",hidePortfolioBalances,"Hide portfolio balances. Useful for when sharing screen or taking screenshots")
rootCmd.Flags().BoolVarP(&onlyTable,"only-table","",onlyTable,"Show only the table. Hides the chart and top and bottom bars")
rootCmd.Flags().BoolVarP(&onlyChart,"only-chart","",onlyChart,"Show only the chart. Hides the table and top and bottom bars")
Your portfolio is autosaved after you edit holdings. You can also press <kbd>ctrl</kbd>+<kbd>s</kbd> to manually save your portfolio holdings to the config file.
## How do I hide my portfolio balances (private mode)?
You can run cointop with the `--hide-portfolio-balances` flag to toggle hide/show portfolio balances or use the keyboard shortcut <kbd>Ctrl</kbd>+<kbd>space</kbd> on the portfolio page.
## I'm getting question marks or weird symbols instead of the correct characters.
Make sure that your terminal has the encoding set to UTF-8 and that your terminal font supports UTF-8.