bust/pkg/cli/root.go

18 lines
266 B
Go
Raw Normal View History

2022-10-30 18:33:59 +01:00
package cli
2022-10-31 21:08:44 +01:00
import (
"git.front.kjuulh.io/kjuulh/bust/pkg/cli/templatecmd"
"github.com/spf13/cobra"
)
2022-10-30 18:33:59 +01:00
func NewCli() *cobra.Command {
cmd := &cobra.Command{
2022-10-31 21:08:44 +01:00
Use: "bust",
2022-10-30 18:33:59 +01:00
}
cmd.AddCommand(Build())
2022-10-31 21:08:44 +01:00
cmd.AddCommand(templatecmd.NewTemplateCmd())
2022-10-30 18:33:59 +01:00
return cmd
}