global command

This commit is contained in:
Mikaël Cluseau
2019-03-08 12:21:29 +11:00
parent 9e597e8a4d
commit 7741051b20
41 changed files with 886 additions and 1583 deletions

19
cmd/dkl/main.go Normal file
View File

@ -0,0 +1,19 @@
package main
import (
"log"
"github.com/spf13/cobra"
cmdinit "novit.nc/direktil/inits/pkg/cmd/init"
)
func main() {
root := &cobra.Command{}
root.AddCommand(cmdinit.Command())
if err := root.Execute(); err != nil {
log.Fatal("error: ", err)
}
}