use cobra for cli

delete pkg/runner and put funcs in task
add start command
This commit is contained in:
Robin Olsen
2026-02-17 10:24:15 +01:00
parent d5daa49b64
commit a38e32aa78
5 changed files with 101 additions and 73 deletions

17
cmd/survey/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"context"
"log"
"github.com/charmbracelet/fang"
)
func main() {
ctx := context.Background()
if err := fang.Execute(ctx, rootCmd,
fang.WithColorSchemeFunc(fang.AnsiColorScheme)); err != nil {
log.Fatalf("Failed to execute command: %v\n", err)
}
}