working commit
This commit is contained in:
@@ -34,6 +34,7 @@ func main() {
|
||||
type Util struct {
|
||||
FileUtil
|
||||
ImageUtil
|
||||
AccountUtil
|
||||
rootCmd cobra.Command
|
||||
}
|
||||
|
||||
@@ -53,6 +54,8 @@ 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())
|
||||
|
||||
util.rootCmd = rootCmd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user