package main import ( "fmt" "os" "github.com/tendermint/basecoin/cmd/commands" "github.com/tendermint/basecoin/version" "github.com/urfave/cli" ) func main() { app := cli.NewApp() app.Name = "basecoin" app.Usage = "basecoin [command] [args...]" app.Version = version.Version app.Commands = []cli.Command{ commands.InitCmd, commands.StartCmd, commands.TxCmd, commands.QueryCmd, commands.KeyCmd, commands.VerifyCmd, commands.BlockCmd, commands.AccountCmd, commands.UnsafeResetAllCmd, } err := app.Run(os.Args) if err != nil { fmt.Println(err) os.Exit(1) } }