global command
This commit is contained in:
19
cmd/dkl/main.go
Normal file
19
cmd/dkl/main.go
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user