1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 07:18:59 +01:00
gojekyll/main.go

17 lines
217 B
Go
Raw Normal View History

2017-07-13 02:40:05 +02:00
package main
import (
"fmt"
"os"
2017-07-19 22:06:43 +02:00
"github.com/osteele/gojekyll/commands"
2017-07-13 02:40:05 +02:00
)
func main() {
2017-07-19 22:06:43 +02:00
err := commands.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)
}
}