source: code/trunk/cli/txt.ml@ 68

Last change on this file since 68 was 68, checked in by yakumo.izuru, 8 months ago

Update inline documentation

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 747 bytes
Line 
1open Cmdliner
2
3let subs = [
4 Authors.cmd;
5 Convert.cmd;
6 Edit.cmd;
7 File.cmd;
8 Index.cmd;
9 Last.cmd;
10 Listing.cmd;
11 New.cmd;
12 Peers.cmd;
13 Pull.cmd;
14 Recent.cmd;
15 Topics.cmd;
16 Unfile.cmd;
17 ]
18
19let default_cmd = Term.(ret (const (`Help (`Pager, None))))
20
21let txt =
22 let doc = "Discover, collect and exchange texts" in
23 let man = [
24 `S Manpage.s_authors;
25 `P "orbifx <mailto:fox@orbitalfox.eu>";
26 `P "Izuru Yakumo <mailto:yakumo.izuru@chaotic.ninja>";
27 `S Manpage.s_bugs;
28 `P "Please report them at <mailto:logarion-dev@chaotic.ninja>"; ]
29 in
30 Cmd.group (Cmd.info "txt" ~version:"%%VERSION%%" ~doc ~man) ~default:default_cmd subs
31
32let main () = exit (Cmd.eval txt)
33let () = main ()
Note: See TracBrowser for help on using the repository browser.