Changeset 78 in code for trunk/cmd/txt


Ignore:
Timestamp:
Apr 21, 2025, 9:47:16 PM (7 weeks ago)
Author:
Izuru Yakumo
Message:

Bring back the publish subcommand (adapted)

Location:
trunk/cmd/txt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmd/txt/dune

    r73 r78  
    33 (public_name txt)
    44 (modules txt authors convert conversion edit file index last listing
    5   new topics html atom gemini peers pull recent unfile)
     5  new topics html atom gemini peers publish pull recent unfile)
    66 (libraries text_parse.converter text_parse.parsers kosuzu msgpck curl str cmdliner))
  • trunk/cmd/txt/txt.ml

    r77 r78  
    1111    New.cmd;
    1212    Peers.cmd;
     13    Publish.cmd;
    1314    Pull.cmd;
    1415    Recent.cmd;
     
    2930      `P "https://en.touhouwiki.net/wiki/Forbidden_Scrollery" ]
    3031  in
    31   Cmd.group (Cmd.info "txt" ~version:"%%VERSION%%" ~doc ~man) ~default:default_cmd subs
     32  Cmd.group (Cmd.info "txt" ~version:"1.4.5" ~doc ~man) ~default:default_cmd subs
    3233
    3334let main () = exit (Cmd.eval txt)
Note: See TracChangeset for help on using the changeset viewer.