2020-02-21 04:39:03 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2020-09-12 15:23:25 +00:00
|
|
|
"os"
|
|
|
|
|
2021-04-23 03:21:53 +00:00
|
|
|
"go.jolheiser.com/vanity/cmd"
|
2020-09-12 15:23:25 +00:00
|
|
|
|
2020-02-21 04:39:03 +00:00
|
|
|
"go.jolheiser.com/beaver"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2020-09-12 15:23:25 +00:00
|
|
|
|
|
|
|
beaver.Console.Format = beaver.FormatOptions{
|
|
|
|
TimePrefix: true,
|
|
|
|
StackPrefix: true,
|
|
|
|
StackLimit: 15,
|
|
|
|
LevelPrefix: true,
|
|
|
|
LevelColor: true,
|
|
|
|
}
|
|
|
|
|
2021-04-23 03:21:53 +00:00
|
|
|
if err := cmd.New().Run(os.Args); err != nil {
|
2020-09-12 15:23:25 +00:00
|
|
|
beaver.Fatal(err)
|
2020-02-21 04:39:03 +00:00
|
|
|
}
|
2020-09-12 15:23:25 +00:00
|
|
|
}
|