Home

tmpl @c173eee38c48424abe470b8ed2b9ef0dd48f65f8 - refs - log -
-
https://git.jolheiser.com/tmpl.git
Template automation
tmpl / main.go
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
package main

import (
	"os"

	"go.jolheiser.com/tmpl/cmd"

	"go.jolheiser.com/beaver"
	"go.jolheiser.com/beaver/color"
)

func main() {
	app := cmd.NewApp()
	color.Fatal = color.Error // Easier to read, doesn't need to stand out as much in a CLI
	if err := app.Run(os.Args); err != nil {
		beaver.Fatal(err)
	}
}