- Timestamp:
- Jun 20, 2022, 9:53:27 AM (3 years ago)
- Location:
- trunk/cli
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/convert.ml
r3 r10 63 63 ~doc:"don't create indices in target format") in 64 64 Term.(const convert_dir $ types $ noindex $ directory), 65 Term.info "convert" ~doc:"convert t xts"65 Term.info "convert" ~doc:"convert texts" 66 66 ~man:[ `S "DESCRIPTION"; `P "Convert texts within a directory to another format. 67 67 Directory must contain an index.pck. Run `txt index` first." ] -
trunk/cli/publish.ml
r6 r10 27 27 let term = 28 28 let ids = Arg.(value & pos_all string [] & info [] ~docv:"text ids") in 29 let doc = "convert texts into standar t public dirs public_{html,gemini,gopher} if they exists" in29 let doc = "convert texts into standard public dirs public_{html,gemini,gopher} if they exist" in 30 30 Term.(const publish $ ids), Term.info "publish" ~doc ~man:[ `S "DESCRIPTION"; `P doc ] -
trunk/cli/read.ml
r9 r10 34 34 ~docv:"comma-separated topics" ~doc:"texts with topics") in 35 35 Term.(const print $ recurse $ time $ reverse $ number $ authed $ topics $ id), 36 Term.info "read" ~doc: "list texts" ~man:[ `S "DESCRIPTION";36 Term.info "read" ~doc: "read a text" ~man:[ `S "DESCRIPTION"; 37 37 `P "List header information for current directory. If -R is used, list header 38 38 information for texts found in subdirectories too, along with their filepaths" ]
Note:
See TracChangeset
for help on using the changeset viewer.