refactor: implement a simple progressbar instead of bubbletea
This commit is contained in:
parent
0504d88775
commit
339dba4e13
11 changed files with 104 additions and 116 deletions
8
main.go
8
main.go
|
|
@ -1,17 +1,13 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/Delta456/box-cli-maker/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
Box := box.New(box.Config{Px: 2, Py: 5, Type: "Single"})
|
||||
Box.Print("System Setup", "Configure and install your predefined system")
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
fmt.Println(err)
|
||||
log.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue