package argvpb import ( "go.wit.com/dev/alexflint/arg" ) // try this struct out (?) var me *AutoArgs // this is a work in progress type AutoArgs struct { pb *Argv // the protobuf for the current process pp *arg.Parser // for parsing the command line args. Yay to alexf lint! id int // should be unique Argv func([]string) // the function for shell autocomplete examples func() string // some examples appExit func() // app Exit() buildtime func() (string, string) // some examples autoFunc func(*Argv) // also a function for autocomplete guiFunc func() error // enables Gui functions ARGNAME string // a good way to track the name of the binary ? VERSION string BUILDTIME string err error // store any errors from argv // hidden bool // don't update the toolkits when it's hidden }