mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 21:31:03 +00:00
feat(cli): upload command
This commit is contained in:
parent
c4280aa898
commit
b6ae95f55b
10 changed files with 516 additions and 0 deletions
17
cmd/hcloud-image/main.go
Normal file
17
cmd/hcloud-image/main.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
"os"
|
||||
|
||||
"github.com/apricote/hcloud-upload-image/cmd/hcloud-image/cmd"
|
||||
"github.com/apricote/hcloud-upload-image/cmd/hcloud-image/util/ui"
|
||||
)
|
||||
|
||||
func init() {
|
||||
slog.SetDefault(slog.New(ui.NewHandler(os.Stdout, &ui.HandlerOptions{Level: slog.LevelDebug})))
|
||||
}
|
||||
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue