17 lines
205 B
Go
17 lines
205 B
Go
package templatecmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func NewTemplateCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "template",
|
|
}
|
|
|
|
cmd.AddCommand(
|
|
NewInitCmd(),
|
|
NewLsCmd(),
|
|
)
|
|
|
|
return cmd
|
|
}
|