func NewFlags() *Flags {
	var (
		env        = flag.String("env", "dev", "Current environment (dev, test, staging, prod)")
		configDir  = flag.String("config", "./config", "Path to directory with config files")
		projectDir = flag.String("project", ".", "Path to project directory")
	)
	flag.Parse()
	return &Flags{
		Env:        cconfig.Env(*env),
		ConfigDir:  cconfig.Dir(*configDir),
		ProjectDir: cconfig.ProjectDir(*projectDir),
	}
}
NewFlags reads the command line flags and returns Flags with the values set.
package copper
import (
	"flag"
	"github.com/gocopper/copper/cconfig"
)
type Flags struct {
	Env        cconfig.Env
	ConfigDir  cconfig.Dir
	ProjectDir cconfig.ProjectDir
}