feat: Add version output
This commit is contained in:
parent
ee45d29e6f
commit
55bfb36522
5 changed files with 27 additions and 7 deletions
|
@ -5,6 +5,8 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/HikariKnight/quickpassthrough/internal/configs"
|
||||
"github.com/HikariKnight/quickpassthrough/internal/logger"
|
||||
"github.com/HikariKnight/quickpassthrough/internal/version"
|
||||
"github.com/HikariKnight/quickpassthrough/pkg/command"
|
||||
"github.com/HikariKnight/quickpassthrough/pkg/menu"
|
||||
"github.com/gookit/color"
|
||||
|
@ -17,7 +19,8 @@ func Welcome() {
|
|||
|
||||
// Write title
|
||||
title := color.New(color.BgHiBlue, color.White, color.Bold)
|
||||
title.Println("Welcome to Quickpassthrough!")
|
||||
title.Printf("Welcome to Quickpassthrough %s!\n", version.Version)
|
||||
logger.Printf("Welcome to Quickpassthrough %s!\n", version.Version)
|
||||
|
||||
// Write welcome message
|
||||
color.Print(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue