mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2025-08-06 05:46:57 +02:00
18 lines
292 B
Go
18 lines
292 B
Go
package main
|
|
|
|
import (
|
|
"log/slog"
|
|
"os"
|
|
|
|
"github.com/apricote/hcloud-upload-image/cmd"
|
|
"github.com/apricote/hcloud-upload-image/internal/ui"
|
|
)
|
|
|
|
func init() {
|
|
slog.SetDefault(slog.New(ui.NewHandler(os.Stdout, &ui.HandlerOptions{Level: slog.LevelDebug})))
|
|
}
|
|
|
|
func main() {
|
|
cmd.Execute()
|
|
}
|