mirror of
https://github.com/chshersh/github-tui.git
synced 2024-09-11 18:37:56 +03:00
10 lines
249 B
OCaml
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 ())) |