(cmd *Command, args []string)
| 230 | } |
| 231 | |
| 232 | func runWallet(cmd *Command, args []string) { |
| 233 | commonFlagsInit(cmd) |
| 234 | configInit() |
| 235 | |
| 236 | fmt.Printf("\n\nwallet address: %s\n", conf.GConf.WalletAddress) |
| 237 | |
| 238 | if databaseID != "" { |
| 239 | showDatabaseDeposit(databaseID) |
| 240 | } else if tokenName == "" { |
| 241 | showAllTokenBalance() |
| 242 | showAllDatabaseDeposit() |
| 243 | } else { |
| 244 | showTokenBalance(tokenName) |
| 245 | } |
| 246 | } |
nothing calls this directly
no test coverage detected