go-clone/args.go

20 lines
305 B
Go

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 {
Repo string `arg:"--repo" help:"go path for the repo"`
}
func init() {
arg.MustParse(&args)
}