Skip to content

Commit 4ecff05

Browse files
committed
Revert "snapshot"
This reverts commit 7e4d3b4.
1 parent 7e4d3b4 commit 4ecff05

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

app/main.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ import (
44
"log"
55

66
tea "github.com/charmbracelet/bubbletea"
7-
"gradient-engineer/toolbox"
87
)
98

109
func main() {
1110
// Create a new toolbox instance
12-
tb := toolbox.NewToolbox("https://gradient.engineer/toolbox_v0.tar.xz")
13-
14-
defer tb.Cleanup()
11+
toolbox := NewToolbox("https://gradient.engineer/toolbox_v0.tar.xz")
12+
defer toolbox.Cleanup()
1513

1614
// Create and run the Bubble Tea program which will handle toolbox download and diagnostics
17-
p := tea.NewProgram(NewModel(tb), tea.WithMouseCellMotion())
15+
p := tea.NewProgram(NewModel(toolbox), tea.WithMouseCellMotion())
1816
if _, err := p.Run(); err != nil {
1917
log.Fatalf("Error running Bubble Tea program: %v", err)
2018
}

toolbox/toolbox.go renamed to app/toolbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package toolbox
1+
package main
22

33
import (
44
"archive/tar"

0 commit comments

Comments
 (0)