// Copyright 2024 WIT.COM Inc Licensed GPL 3.0 package main import ( "embed" "os" "go.wit.com/dev/alexflint/arg" "go.wit.com/log" ) 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) } if argv.Dump != nil { if argv.Dump.Droplets { log.Info("dump droplets here ==", argv.Dump.Droplets) os.Exit(0) } log.Info("dump something here") os.Exit(0) } if argv.Create != nil { log.Info("create something here") os.Exit(0) } if argv.Start != nil { log.Info("start the vm's here:", argv.Start) os.Exit(0) } }