source: code/trunk/cli/conversion.ml@ 19

Last change on this file since 19 was 19, checked in by fox, 3 years ago

Accept comma separated converter names, separate Atom from Html and Gemini converters.

Note: atom must be called separately now because of the separation. Example

txt convert -t htm,atom xyz

File size: 289 bytes
Line 
1open Logarion
2type t = {
3 id: string; dir: string;
4 kv: string Store.KV.t;
5 topic_roots: string list;
6 topics: (String_set.t * String_set.t) Topic_set.Map.t;
7 texts: Text.t list
8}
9
10type fn_t = {
11 ext: string;
12 page: (t -> Logarion.Text.t -> string) option;
13 indices: (t -> unit) option;
14}
Note: See TracBrowser for help on using the repository browser.