This commit is contained in:
jahruz67
2026-03-26 09:56:19 -07:00
commit 2d36041f6a
50 changed files with 6563 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
package settings
import (
"fmt"
"wis-free-v3/internal/config"
)
// ShowSettings displays current settings
func ShowSettings(cfg *config.Config) {
fmt.Println("\n=== wis-free-v3 Settings ===")
fmt.Printf("API Key: %s...%s\n", cfg.APIKey[:8], cfg.APIKey[len(cfg.APIKey)-4:])
fmt.Printf("Whisper Model: %s\n", cfg.WhisperModel)
fmt.Printf("AI Model: %s\n", cfg.AIModel)
fmt.Printf("Shortcut: %s\n", cfg.Shortcut)
fmt.Println("===========================")
}
// EditSettings provides a simple way to modify settings
func EditSettings(cfg *config.Config) error {
// For now, just return the config
// In a full implementation, this would open a dialog or prompt
fmt.Println("To edit settings, modify: ~/.wis-free-v3/config.json")
return nil
}