start with upgdrade (broken right now)

This commit is contained in:
Robin Olsen
2026-03-18 11:23:10 +01:00
parent 0c01583ba3
commit 40d25cc716
45 changed files with 218 additions and 218 deletions

View File

@@ -7,11 +7,11 @@ import (
"math/rand"
"time"
"charm.land/huh/v2"
"github.com/LazyBachelor/LazyPM/cmd/pm/tasks"
"github.com/LazyBachelor/LazyPM/internal/commands/survey"
"github.com/LazyBachelor/LazyPM/internal/storage"
"github.com/LazyBachelor/LazyPM/pkg/task"
"github.com/charmbracelet/huh"
"github.com/spf13/cobra"
)
@@ -54,7 +54,7 @@ func runStartCmd(cmd *cobra.Command, args []string) error {
Title("Do you want to continue without submitting your responses?").
Description("You can fix your database connection and submit your responses later with the submit command.").
Value(&continueWithoutSubmitting).
WithTheme(huh.ThemeBase16()).
WithTheme(huh.ThemeBase16(true)).
RunAccessible(cmd.OutOrStdout(), cmd.InOrStdin()); err != nil {
return fmt.Errorf("failed to read user input: %w", err)
}