test cobra

This commit is contained in:
wangchuxiao 2023-03-07 20:07:44 +08:00
parent 320c978e94
commit 380bf1cc8c

View File

@ -32,7 +32,7 @@ func NewRootCmd() RootCmd {
return rootCmd.getConfFromCmdAndInit(cmd)
}
rootCmd.init()
rootCmd
rootCmd.Command = c
return rootCmd
}