26 lines
311 B
Go
26 lines
311 B
Go
|
// Copyright 2024 WIT.COM Inc Licensed GPL 3.0
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"embed"
|
||
|
"os"
|
||
|
|
||
|
"go.wit.com/dev/alexflint/arg"
|
||
|
)
|
||
|
|
||
|
var Version string
|
||
|
|
||
|
//go:embed resources/*
|
||
|
var resources embed.FS
|
||
|
|
||
|
func main() {
|
||
|
var pp *arg.Parser
|
||
|
pp = arg.MustParse(&argv)
|
||
|
|
||
|
if pp == nil {
|
||
|
pp.WriteHelp(os.Stdout)
|
||
|
os.Exit(0)
|
||
|
}
|
||
|
}
|