Export

The following options affect only the export commands.

--directory-template <TEMPLATE>

Set the output directory template.

Contextbook
Default{{ book.author }} - {{ book.title }}
ExampleRobert Henri - The Art Spirit

For example, using the default template, the non-rendered ouput structure would look like the following:

[ouput-directory]
 ├── {{ book.author }} - {{ book.title }}
 │    ├── book.json
 │    └── annotations.json
 │
 ├── {{ book.author }} - {{ book.title }}
 │    └── ...
 └── ...

And when rendered, the ouput structure would result in the following:

[ouput-directory]
 ├── Krishnamurti - Think on These Things
 │   ├── annotations.json
 │   └── book.json
 ├── Richard P. Feynman - "Surely You're Joking, Mr. Feynman!"
 │   ├── annotations.json
 │   └── book.json
 └── Robert Henri - The Art Spirit
     ├── annotations.json
     └── book.json

--overwrite-existing

Overwrite existing files.

By default, exising files are skipped.