File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,15 @@ import (
44 "log"
55
66 tea "github.com/charmbracelet/bubbletea"
7- "gradient-engineer/toolbox"
87)
98
109func 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 }
Original file line number Diff line number Diff line change 1- package toolbox
1+ package main
22
33import (
44 "archive/tar"
You can’t perform that action at this time.
0 commit comments