working commit
This commit is contained in:
@@ -65,4 +65,3 @@ func (util *Util) BuildCmds() *cobra.Command {
|
||||
util.rootCmd = rootCmd
|
||||
return util.rootCmd
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"mbase/cmd/mbaseadmin/account"
|
||||
"mbase/cmd/mbaseadmin/account"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@@ -34,8 +34,8 @@ func (util *Util) Build() error {
|
||||
}
|
||||
rootCmd.CompletionOptions.DisableDefaultCmd = true
|
||||
|
||||
accountUtil := account.NewUtil()
|
||||
rootCmd.AddCommand(accountUtil.BuildCmds())
|
||||
accountUtil := account.NewUtil()
|
||||
rootCmd.AddCommand(accountUtil.BuildCmds())
|
||||
|
||||
util.rootCmd = rootCmd
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user