Skip to content

Commit

Permalink
Bug fixed on edit command after each operation it will delete search …
Browse files Browse the repository at this point in the history
…boxes
  • Loading branch information
Erdem Köşk committed Jul 10, 2024
1 parent 8e91ed9 commit 358153a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Command interface {

var rootCmd = &cobra.Command{
Use: "envolve",
Version: "1.0.16",
Version: "1.0.17",
Short: "Envolve CLI is a tool for effortless .env file management.",
Long: fmt.Sprintf(`%sEnvolve%s is your solution for effortless .env file management. With %sEnvolve%s, you can seamlessly gather, arrange, and fine-tune environment variables
across all your projects, ensuring that your configuration data is always at your fingertips without the risk of loss. `,
Expand Down
4 changes: 4 additions & 0 deletions internal/command/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ func (command EditCommand) Execute(cmd *cobra.Command, args []string) {
}

resultBox.SetText("[green]Successfully updated env files")

searchBox.SetText("")
valueSearchBox.SetText("")
valueBox.SetText("")
}).
AddButton("Update by Value", func() {
value := valueSearchBox.GetText()
Expand Down

0 comments on commit 358153a

Please sign in to comment.