with actual cli

This commit is contained in:
2022-10-30 18:33:59 +01:00
parent 2b641df577
commit 18f7e1fc27
10 changed files with 107 additions and 66 deletions

13
pkg/cli/root.go Normal file
View File

@@ -0,0 +1,13 @@
package cli
import "github.com/spf13/cobra"
func NewCli() *cobra.Command {
cmd := &cobra.Command{
Use: "dagger",
}
cmd.AddCommand(Build())
return cmd
}