From 73b81913fa941504dfd2aa84fab9692b34fdcff6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 30 Oct 2024 02:28:53 -0500 Subject: initial commit --- main.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 0000000..839682e --- /dev/null +++ b/main.go @@ -0,0 +1,25 @@ +// 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) + } +} -- cgit v1.2.3