package main import ( "os" "github.com/deletescape/goop/cmd" "github.com/phuslu/log" ) func main() { if log.IsTerminal(os.Stderr.Fd()) { log.DefaultLogger = log.Logger{ TimeFormat: "15:04:05", Caller: 1, Writer: &log.ConsoleWriter{ ColorOutput: true, QuoteString: true, EndWithMessage: true, }, } } cmd.Execute() }