Last change
on this file since 75 was 73, checked in by Izuru Yakumo, 8 months ago |
Because sweet girls are the best, officially rebranding Logarion to Kosuzu
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
933 bytes
|
Rev | Line | |
---|
[73] | 1 | open Cmdliner
|
---|
| 2 |
|
---|
| 3 | let 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 |
|
---|
| 19 | let default_cmd = Term.(ret (const (`Help (`Pager, None))))
|
---|
| 20 |
|
---|
| 21 | let 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:kosuzu-dev@chaotic.ninja>";
|
---|
| 29 | `S Manpage.s_see_also;
|
---|
| 30 | `P "This program is named after Kosuzu Motoori from Touhou Suzunaan: Forbidden Scrollery";
|
---|
| 31 | `P "https://en.touhouwiki.net/wiki/Forbidden_Scrollery" ]
|
---|
| 32 | in
|
---|
| 33 | Cmd.group (Cmd.info "txt" ~version:"%%VERSION%%" ~doc ~man) ~default:default_cmd subs
|
---|
| 34 |
|
---|
| 35 | let main () = exit (Cmd.eval txt)
|
---|
| 36 | let () = main ()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.