Open montanaflynn opened 8 years ago
The README is a lie, the real usage is as follows:
go run main.go creates a file called meme.png in the current working directory.
go run main.go
meme.png
We want it to be like the README:
./mgen --meme fry --text "not sure if magick or golang" ./path/to/file.png
Will want to have docopt style short and long flags but the basic usage is thus:
Usage for meme-generator: meme-generator [options] ./path/to/file.png
Added basic parsing in 6a5147c2d1800ca3181fc01d34c39bf26ef9d99b but it can still be cleaned up a bit around the edges.
The README is a lie, the real usage is as follows:
go run main.go
creates a file calledmeme.png
in the current working directory.We want it to be like the README:
./mgen --meme fry --text "not sure if magick or golang" ./path/to/file.png
Will want to have docopt style short and long flags but the basic usage is thus: