2016-02-07 22:54:49 -08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2017-01-28 18:12:58 -08:00
|
|
|
"os"
|
2016-02-07 22:54:49 -08:00
|
|
|
|
2017-02-07 10:16:41 -08:00
|
|
|
"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"
|
|
|
|
)
|
|
|
|
|
2016-02-07 22:54:49 -08:00
|
|
|
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{
|
2017-01-30 06:16:51 -08:00
|
|
|
commands.StartCmd,
|
2017-02-07 10:16:41 -08:00
|
|
|
commands.TxCmd,
|
2017-01-30 06:16:51 -08:00
|
|
|
commands.QueryCmd,
|
2017-02-07 13:10:17 -08:00
|
|
|
commands.KeyCmd,
|
2017-02-13 14:04:49 -08:00
|
|
|
commands.VerifyCmd,
|
|
|
|
commands.BlockCmd,
|
2017-01-30 06:16:51 -08:00
|
|
|
commands.AccountCmd,
|
2017-01-28 18:12:58 -08:00
|
|
|
}
|
|
|
|
app.Run(os.Args)
|
2016-02-07 22:54:49 -08:00
|
|
|
}
|