inits/cmd/dkl/main.go
Mikaël Cluseau a00ee23b14 dynlay
2021-01-20 15:34:45 +01:00

24 lines
437 B
Go

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