fix: pass config file flag to add/edit commands

This commit is contained in:
2025-09-03 08:33:07 +02:00
parent adde6eb666
commit 959c084466
5 changed files with 7 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ func runInteractiveMode() {
var response string
_, err := fmt.Scanln(&response)
if err == nil && (response == "y" || response == "Y") {
err := ui.RunAddForm("")
err := ui.RunAddForm("", configFile)
if err != nil {
fmt.Printf("Error adding host: %v\n", err)
}