gowebd/args.go

20 lines
308 B
Go
Raw Normal View History

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)
}