summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-21 15:06:01 +0300
committerPaul Buetow <paul@buetow.org>2025-07-21 15:06:01 +0300
commitf3e301168ad742a556b336761e28f739eb1d7143 (patch)
tree36992608c8ddaab8b5d44221d4eab6f98eb5c8b9 /cmd
parentb562f3b57f8e4f106aad8856e55b51f1d9d9a367 (diff)
feat: improve consistency between CLI and GUI modes
- Fix batch mode to store cards in ~/.local/state/totalrecall/cards/ matching GUI behavior - Add --no-auto-play flag to disable automatic audio playback (enabled by default) - Simplify phonetic fetching in CLI to match GUI (IPA only, no detailed explanations) - Remove redundant --gui flag as GUI is already the default mode - Align image generation settings: both modes now use DALL-E 2 with 512x512 resolution 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/totalrecall/main.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmd/totalrecall/main.go b/cmd/totalrecall/main.go
index f53a71c..35364a3 100644
--- a/cmd/totalrecall/main.go
+++ b/cmd/totalrecall/main.go
@@ -49,11 +49,6 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error {
// Create processor
proc := processor.NewProcessor(flags)
- // Handle --gui flag
- if flags.GUIMode {
- return proc.RunGUIMode()
- }
-
// Handle batch processing
if flags.BatchFile != "" {
// Process batch file
@@ -84,6 +79,6 @@ func runCommand(cmd *cobra.Command, args []string, flags *cli.Flags) error {
}
}
- fmt.Println("\nDone! Materials saved to:", flags.OutputDir)
+ fmt.Printf("\nDone! Materials saved to: %s\n", flags.OutputDir)
return nil
}