2022-10-29 18:36:00 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
|
|
|
|
"git.front.kjuulh.io/kjuulh/dagger-go/pkg/cli"
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2022-10-29 19:04:25 +02:00
|
|
|
cmd := &cobra.Command{
|
|
|
|
Use: "dagger-go",
|
|
|
|
}
|
|
|
|
|
2022-10-29 22:25:15 +02:00
|
|
|
cmd.AddCommand(cli.Build())
|
2022-10-29 19:04:25 +02:00
|
|
|
if err := cmd.Execute(); err != nil {
|
|
|
|
log.Fatal("%w", err)
|
2022-10-29 18:36:00 +02:00
|
|
|
}
|
|
|
|
}
|