inits/cmd/dkl/main.go

24 lines
437 B
Go
Raw Normal View History

2019-03-08 01:21:29 +00:00
package main
import (
"log"
"github.com/spf13/cobra"
2021-01-20 14:34:40 +00:00
"novit.nc/direktil/inits/pkg/cmd/applyconfig"
2020-11-14 21:43:34 +00:00
cmddynlay "novit.nc/direktil/inits/pkg/cmd/dynlay"
2019-03-08 01:21:29 +00:00
cmdinit "novit.nc/direktil/inits/pkg/cmd/init"
)
func main() {
root := &cobra.Command{}
root.AddCommand(cmdinit.Command())
2020-11-14 21:43:34 +00:00
root.AddCommand(cmddynlay.Command())
2021-01-20 14:34:40 +00:00
root.AddCommand(applyconfig.Command())
2019-03-08 01:21:29 +00:00
if err := root.Execute(); err != nil {
log.Fatal("error: ", err)
}
}