pip compatible server to serve Python packages out of GitHub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package main
|
|
|
|
|
|
import "github.com/alexflint/go-arg"
|
|
|
|
|
|
func main() {
|
|
|
var args struct {
|
|
|
Input string `arg:"positional"`
|
|
|
Output string `arg:"positional"`
|
|
|
Foo string `arg:"help:this argument is foo"`
|
|
|
VeryLongArgument int `arg:"help:this argument is very long"`
|
|
|
Bar float64 `arg:"-b"`
|
|
|
}
|
|
|
arg.MustParse(&args)
|
|
|
}
|