Skip to content

Commit

Permalink
Ein paar Outputs verbessert
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrorknubbel committed Aug 18, 2024
1 parent d3caa33 commit 8aad36c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ func main() {
"Master",
}

headerText := "Select an option to run the corresponding script:"
headerText := "Wähle den Ziel-Branch aus:"

cmd := exec.Command("fzf", "--height", "50%", "--ansi", "--reverse", "--pointer", "👉", "--cycle", "--header", headerText)
cmd.Stdin = strings.NewReader(strings.Join(options, "\n"))

fmt.Println("Merge Automatisierung mit GitMate 🪄")

out, err := cmd.Output()
if err != nil {
log.Fatal(err)
Expand All @@ -30,6 +32,6 @@ func main() {
case "Staging":
gitrunner.Staging()
default:
fmt.Println("No valid option selected.")
fmt.Println("Diese Option wird aktuell nicht unterstützt.")
}
}

0 comments on commit 8aad36c

Please sign in to comment.