bust/pkg/cli/root.go
kjuulh 03fb65a9b4
All checks were successful
continuous-integration/drone/push Build is passing
add template option
2022-10-31 21:08:44 +01:00

18 lines
266 B
Go

package cli
import (
"git.front.kjuulh.io/kjuulh/bust/pkg/cli/templatecmd"
"github.com/spf13/cobra"
)
func NewCli() *cobra.Command {
cmd := &cobra.Command{
Use: "bust",
}
cmd.AddCommand(Build())
cmd.AddCommand(templatecmd.NewTemplateCmd())
return cmd
}