PKGBUILD/cmd/logger/logger.go

19 lines
251 B
Go
Raw Normal View History

2019-03-04 19:52:41 +00:00
package logger
import (
"github.com/spf13/cobra"
)
var cfg string
var loggerCmd = &cobra.Command{
Use: "logger",
Short: "Manage internal logger",
}
func InitCmd(cmd *cobra.Command, config string) {
cfg = config
cmd.AddCommand(loggerCmd)
}