diff --git a/README.md b/README.md index 3809869..1b81e9c 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,28 @@ const E = require('epub-metadata-generator') E.write(filepath, ISBN); ``` +Alternatively, you can use the provided command-line-executable: + +```sh +generate-epub-xml 9780596101190 /tmp/9780596101190.xml +cat /tmp/9780596101190.xml +``` + +```xml + + + 9780596101190 + 0596101198 + Dan Woods + Gautam Guliani + Open Source for the Enterprise + Managing Risks, Reaping Rewards + subtitle + eng + O'Reilly Media, Inc. + +``` + ## License Licensed under the [MIT License](https://nemo.mit-license.org/). See LICENSE file for details.