2017-02-07 10:16:41 -08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"github.com/tendermint/basecoin/cmd/commands"
|
|
|
|
"github.com/urfave/cli"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
app := cli.NewApp()
|
|
|
|
app.Name = "counter"
|
|
|
|
app.Usage = "counter [command] [args...]"
|
|
|
|
app.Version = "0.1.0"
|
|
|
|
app.Commands = []cli.Command{
|
|
|
|
commands.StartCmd,
|
|
|
|
commands.TxCmd,
|
2017-02-07 13:10:17 -08:00
|
|
|
commands.KeyCmd,
|
2017-02-07 10:16:41 -08:00
|
|
|
commands.QueryCmd,
|
|
|
|
commands.AccountCmd,
|
|
|
|
}
|
|
|
|
app.Run(os.Args)
|
|
|
|
}
|