From e92cfe43d94243ddc1faabdd27f13bf401827297 Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Wed, 22 Jun 2022 13:52:18 +0200 Subject: [PATCH] feat: replace ignite root cmd by ours --- cmd/okp4d/main.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cmd/okp4d/main.go b/cmd/okp4d/main.go index 6cf0d54f..74a63e68 100644 --- a/cmd/okp4d/main.go +++ b/cmd/okp4d/main.go @@ -5,21 +5,12 @@ import ( "os" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/ignite-hq/cli/ignite/pkg/cosmoscmd" "github.com/okp4/okp4d/app" "github.com/spf13/cobra" ) func main() { - rootCmd, _ := cosmoscmd.NewRootCmd( - app.Name, - app.AccountAddressPrefix, - app.DefaultNodeHome, - app.Name, - app.ModuleBasics, - app.New, - // this line is used by starport scaffolding # root/arguments - ) + rootCmd, _ := NewRootCmd() if err := Extend(rootCmd); err != nil { os.Exit(1)