Skip to content

tg auth switch

Select the active account

tg auth switch <handle-or-did> [flags]
-h, --help help for switch
--account string Account handle or DID to use (overrides the active account and TG_ACCOUNT)
--appview string Appview host URL (overrides config file and TG_APPVIEW) (default "https://bobbin.klbr.net")
--config string Path to config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Output in JSON format