configurable input directory
This commit is contained in:
1
main.go
1
main.go
@ -11,6 +11,7 @@ func main() {
|
||||
// command line arguments
|
||||
flag.StringVar(&ConfigRegister.Method, "blending", "darken", "Blending methods : darken, lighten, fuckyfun")
|
||||
flag.StringVar(&ConfigRegister.OutputDir, "output", "./", "Output directory")
|
||||
flag.StringVar(&ConfigRegister.InputDir, "input", "/home/gator/Photos", "Input directory. Where to look the images from")
|
||||
flag.StringVar(&ConfigRegister.BaseImage, "base-img", "", "Path to the base image to work with. Random image if not set")
|
||||
flag.Parse()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user