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

Export to a specific file #33

Closed
joeyespo opened this issue Sep 27, 2013 · 2 comments
Closed

Export to a specific file #33

joeyespo opened this issue Sep 27, 2013 · 2 comments
Milestone

Comments

@joeyespo
Copy link
Owner

The --export option allows exporting Readme files to a single HTML page. Currently, it uses the filename of the input file, but with an .html extension. This should be extended to specify an output file.

Some thoughts

  1. When --export is used, the server isn't run, so the optional <address> argument will be unused. We could have the second argument specify a directory or file to write to in this case.
  2. We could also just have an optional --export=<filename> variation if docopt supports it.
@joeyespo
Copy link
Owner Author

Opting for (1), since (2) is ambiguous / not allowed in docopt.

@joeyespo
Copy link
Owner Author

Fixed in acb0cd04b5ef028188945705982b02940457a5d3.

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

No branches or pull requests

1 participant