fix: template

This commit is contained in:
Rogee
2024-12-21 00:25:12 +08:00
parent 58450dd63d
commit 6f04023a42
7 changed files with 26 additions and 20 deletions

View File

@@ -18,10 +18,11 @@ import (
func CommandNewModule(root *cobra.Command) {
cmd := &cobra.Command{
Use: "module",
Short: "new module",
Args: cobra.ExactArgs(1),
RunE: commandNewModuleE,
Use: "module",
Aliases: []string{"m"},
Short: "new module",
Args: cobra.ExactArgs(1),
RunE: commandNewModuleE,
}
root.AddCommand(cmd)