Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept user flags and arguments #2

Open
montanaflynn opened this issue Feb 23, 2016 · 1 comment
Open

Accept user flags and arguments #2

montanaflynn opened this issue Feb 23, 2016 · 1 comment

Comments

@montanaflynn
Copy link
Owner

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.

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
@montanaflynn
Copy link
Owner Author

Added basic parsing in 6a5147c but it can still be cleaned up a bit around the edges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant