@mtillmann/chapconv
v0.0.3
Published
simple cli tool to convert between chapter formats
Maintainers
Readme
chapconv
Convert chapters between different formats. See @mtillmann/chapters for details on the supported formats.
Installation
npm install -g @mtillmann/chapconv
# then use
chapconv --helpor use the npx command to run the tool without installation:
npx @mtillmann/chapconv@latest --helpconvert
{convert-usage}```
## detect
```text
{detect-usage}```
## reading and writing
```bash
chapconv convert < input.xml > output.json
# or
chapconv convert -o output.json < input.xml
# or
cat input.xml | chapconv convert > output.json
# or
cat input.xml | chapconv convert -o output.json
# or
chapconv convert -i input.xml > output.json
# or
chapconv convert -i input.xml -o output.json