Offer a linux manual page for utility description.
Also, it would be nice if it wasn't Linux-specific 馃槃
Sounds good. However, it feels to me that we are in a very early stage of development and command-line options are just starting to develop. So this does not feel very urgent to me.
@sharkdp Would it be nice to have a troff man page or generate it from clap?
Would it be nice to have a troff man page or generate it from clap?
troff is what we also have for fd, correct? If so, I'd prefer the same format, yes.
Auto-generating the man page also sounds appealing because maintaining the man page for fd is quite cumbersome, to be honest. But generating via clap doesn't work yet, right?
Oh, @sharkdp I was the one who contributed to fd man page, just remembered it. Haha
https://github.com/sharkdp/fd/commit/b6c95a48002b03ea31f32cedf8c1cb5ecb9e096f
Yes, auto man page generation is still in progress https://github.com/clap-rs/clap_generate/pull/1
@pickfire I know :smile: :+1:. What would you suggest for bat?
@sharkdp If clap_generate have a auto man page generation, I definitely would suggest that. Right now if it was me, I would have wait for that support.
And please add "man" as subcommand of bat to open it 馃憤
@kgilonne No, I would definitely not do that, now there's is already rustup man xxx which I think is useless, why not just add the rust man pages to MANPATH?
I also don't see the need for a man subcommand.
I am going to close this ticket. The next version of bat will ship with a man page. Any help in improving the man page is very much appreciated!
Most helpful comment
Sounds good. However, it feels to me that we are in a very early stage of development and command-line options are just starting to develop. So this does not feel very urgent to me.