github-tui/lib/cli.ml
Dmitrii Kovanikov 06f9cf2b45 WIP: Add CLI
2024-01-07 12:57:16 +00:00

10 lines
249 B
OCaml

open Core
let repo_param =
let open Command.Param in
anon ("owner/repo" %: string)
let command =
Command.basic
~summary:"Display GitHub TUI for the selected repository"
(Command.Param.map repo_param ~f:(fun _repo () -> Tui.start ()))