17 lines
289 B
Go
17 lines
289 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
|
|
"gitea.maximumdirect.net/eric/weatherreporter/internal/cli"
|
|
)
|
|
|
|
func main() {
|
|
if err := cli.Run(context.Background(), os.Args[1:], os.Stdout, os.Stderr); err != nil {
|
|
fmt.Fprintf(os.Stderr, "weatherreporter: %v\n", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|