// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// license. Its contents can be found at:
// http://creativecommons.org/publicdomain/zero/1.0/
package main
import (
"flag"
"fmt"
"github.com/jteeuwen/go-bindata"
"os"
"path/filepath"
)
func main() {
cfg, status := parseArgs()
err := bindata.Translate(cfg, status)
if err != nil {
fmt.Fprintf(os.Stderr, "bindata: %v", err)
}
}
// parseArgs create s a new, filled configuration instance
// by reading and parsing command line options.
//
// This function exits the program with an error, if
// any of the command line options are incorrect.
func parseArgs() (*bindata.Config, bindata.ProgressFunc) {
var version, quiet bool
c := bindata.NewConfig()
flag.Usage = func() {
fmt.Printf("Usage: %s [options] [