Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-10 16:35:30 -06:00
parent e8c7e33bfd
commit 24c2b897f0
1 changed files with 19 additions and 0 deletions

19
args.go Normal file
View File

@ -0,0 +1,19 @@
package main
/*
this parses the command line arguements
this enables command line options from other packages like 'gui' and 'log'
*/
import (
"go.wit.com/dev/alexflint/arg"
)
var args struct {
ListRepos bool `arg:"--list-repos" help:"list all repositories"`
}
func init() {
arg.MustParse(&args)
}