2020-11-17 05:41:34 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"go.jolheiser.com/tmpl/cmd"
|
|
|
|
|
|
|
|
"go.jolheiser.com/beaver"
|
2020-11-18 05:28:07 +00:00
|
|
|
"go.jolheiser.com/beaver/color"
|
2020-11-17 05:41:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
app := cmd.NewApp()
|
2020-11-18 05:28:07 +00:00
|
|
|
color.Fatal = color.Error // Easier to read, doesn't need to stand out as much in a CLI
|
2020-11-17 05:41:34 +00:00
|
|
|
if err := app.Run(os.Args); err != nil {
|
|
|
|
beaver.Fatal(err)
|
|
|
|
}
|
|
|
|
}
|