1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-27 00:44:41 +01:00
gojekyll/main.go

17 lines
207 B
Go
Raw Normal View History

2017-07-13 02:40:05 +02:00
package main
import (
"fmt"
"os"
2017-07-14 01:02:30 +02:00
"github.com/osteele/gojekyll/cmd"
2017-07-13 02:40:05 +02:00
)
func main() {
2017-07-14 01:02:30 +02:00
err := cmd.ParseAndRun(os.Args[1:])
2017-07-13 02:40:05 +02:00
if err != nil {
2017-07-15 00:29:39 +02:00
fmt.Fprintln(os.Stderr, err) // nolint: gas
2017-07-13 02:40:05 +02:00
os.Exit(1)
}
}