blob: 1b1c7e09349b453ebb494ef02903a4faa7febd21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package main
import "github.com/alexflint/go-arg"
func main() {
var args struct {
Input string `arg:"positional"`
Output []string `arg:"positional"`
Verbose bool `arg:"-v,help:verbosity level"`
Dataset string `arg:"help:dataset to use"`
Optimize int `arg:"-O,help:optimization level"`
}
arg.MustParse(&args)
}
|