mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-07-04 03:32:30 +00:00
21 lines
379 B
Go
21 lines
379 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
|
|
|
|
"github.com/planetmint/planetmint-go/cmd/planetmint-god/cmd"
|
|
|
|
app "github.com/planetmint/planetmint-go/app"
|
|
)
|
|
|
|
func main() {
|
|
rootCmd := cmd.NewRootCmd()
|
|
if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil {
|
|
fmt.Fprintln(rootCmd.OutOrStderr(), err)
|
|
os.Exit(1)
|
|
}
|
|
}
|