add template option
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-10-31 21:08:44 +01:00
parent b9d4260597
commit 03fb65a9b4
5 changed files with 98 additions and 2 deletions

View File

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