working commit
This commit is contained in:
@@ -35,6 +35,7 @@ type Util struct {
|
||||
FileUtil
|
||||
ImageUtil
|
||||
AccountUtil
|
||||
GrantUtil
|
||||
rootCmd cobra.Command
|
||||
}
|
||||
|
||||
@@ -54,9 +55,13 @@ func (util *Util) Build() error {
|
||||
rootCmd.AddCommand(util.CreateFileCmds())
|
||||
rootCmd.AddCommand(util.CreateFilesCmds())
|
||||
rootCmd.AddCommand(util.CreateImageCmds())
|
||||
|
||||
rootCmd.AddCommand(util.CreateAccountCmds())
|
||||
rootCmd.AddCommand(util.CreateAccountsCmds())
|
||||
|
||||
rootCmd.AddCommand(util.CreateGrantCmds())
|
||||
rootCmd.AddCommand(util.CreateGrantsCmds())
|
||||
|
||||
util.rootCmd = rootCmd
|
||||
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user