pub fn man(
page: Option<&str>,
list: bool,
dir: Option<&Path>,
terminal: bool,
) -> (String, i32)Expand description
What datui man prints, and its exit code: the page list (list), every page
written under dir, or one page. On a terminal (terminal) a page is shown with
man, as git help does; where there is no man (Windows, a minimal container),
as plain text, through a pager ($PAGER, less, more). For a pipe the page’s roff is
printed, for man -l - or a file.