MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / init

Function init

cmd/cql/internal/wallet.go:58–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func init() {
59 CmdWallet.Run = runWallet
60
61 addCommonFlags(CmdWallet)
62 addConfigFlag(CmdWallet)
63
64 CmdWallet.Flag.StringVar(&tokenName, "token", "", "Get specific token balance of current account, e.g. Particle, Wave, All")
65 CmdWallet.Flag.StringVar(&databaseID, "dsn", "", "Show specified database deposit")
66}
67
68func showTokenBalance(tokenName string) {
69 var (

Callers

nothing calls this directly

Calls 2

addCommonFlagsFunction · 0.85
addConfigFlagFunction · 0.85

Tested by

no test coverage detected