This commit is contained in:
vxclutch
2026-05-27 11:14:26 -04:00
parent fb7d0ee80d
commit 6da1bb9fc1
4 changed files with 24 additions and 14 deletions

View File

@@ -2,13 +2,24 @@ package main
import (
_ "embed"
"flag"
"fmt"
"lash"
"lash/internal/app"
"lash/internal/errx"
"net/http"
)
var versionFlag = flag.Bool("version", false, "Print out version and exit.")
func main() {
flag.Parse()
if *versionFlag {
fmt.Print("lash/vxc v", lash.Version)
return
}
srv := app.New()
errx.Log("Your token is \033[1;92m%s\033[0m", lash.Token)