cosmos-sdk/cmd/basecoin/main.go

28 lines
499 B
Go
Raw Normal View History

package main
import (
2017-01-28 18:12:58 -08:00
"os"
"github.com/tendermint/basecoin/cmd/commands"
2017-02-26 10:51:39 -08:00
"github.com/tendermint/basecoin/version"
2017-01-28 18:12:58 -08:00
"github.com/urfave/cli"
)
func main() {
2017-01-28 18:12:58 -08:00
app := cli.NewApp()
app.Name = "basecoin"
app.Usage = "basecoin [command] [args...]"
2017-02-26 10:51:39 -08:00
app.Version = version.Version
2017-01-28 18:12:58 -08:00
app.Commands = []cli.Command{
commands.InitCmd,
commands.StartCmd,
commands.TxCmd,
commands.QueryCmd,
2017-02-07 13:10:17 -08:00
commands.KeyCmd,
2017-02-13 14:04:49 -08:00
commands.VerifyCmd,
commands.BlockCmd,
commands.AccountCmd,
2017-01-28 18:12:58 -08:00
}
app.Run(os.Args)
}