dockviz/cli.go

21 lines
283 B
Go
Raw Permalink Normal View History

2014-04-21 18:30:55 +02:00
package main
import (
"os"
"github.com/jessevdk/go-flags"
)
type GlobalOptions struct {
// no options yet
}
var globalOptions GlobalOptions
var parser = flags.NewParser(&globalOptions, flags.Default)
func main() {
if _, err := parser.Parse(); err != nil {
os.Exit(1)
}
}