feat(cli): add a box display
This commit is contained in:
parent
3081e34e2b
commit
4063a91bc4
3 changed files with 59 additions and 7 deletions
4
main.go
4
main.go
|
|
@ -3,9 +3,13 @@ package main
|
|||
import (
|
||||
"fmt"
|
||||
"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)
|
||||
os.Exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue