You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
462 B

package main
import (
"flag"
"fmt"
"github.com/tendermint/tendermint/config"
)
func main() {
// Parse config flags
config.ParseFlags()
args := flag.Args()
if len(args) == 0 {
fmt.Println(`Tendermint
Commands:
daemon Run the tendermint node daemon
gen_account Generate new account keypair
tendermint --help for command options`)
return
}
switch args[0] {
case "daemon":
daemon()
case "gen_account":
gen_account()
}
}