Giter Site home page Giter Site logo

Provide a man page about bat HOT 12 CLOSED

sharkdp avatar sharkdp commented on May 4, 2024 5
Provide a man page

from bat.

Comments (12)

sharkdp avatar sharkdp commented on May 4, 2024 7

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.

from bat.

0mp avatar 0mp commented on May 4, 2024 2

Also, it would be nice if it wasn't Linux-specific 😄

from bat.

pickfire avatar pickfire commented on May 4, 2024 1

@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.

from bat.

sharkdp avatar sharkdp commented on May 4, 2024 1

I have added a simple initial version in doc/bat.1 via help2man + some manual editing.

from bat.

pickfire avatar pickfire commented on May 4, 2024

@sharkdp Would it be nice to have a troff man page or generate it from clap?

from bat.

sharkdp avatar sharkdp commented on May 4, 2024

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?

from bat.

pickfire avatar pickfire commented on May 4, 2024

Oh, @sharkdp I was the one who contributed to fd man page, just remembered it. Haha

sharkdp/fd@b6c95a4

Yes, auto man page generation is still in progress clap-rs/clap_generate#1

from bat.

sharkdp avatar sharkdp commented on May 4, 2024

@pickfire I know 😄 👍. What would you suggest for bat?

from bat.

kgilonne avatar kgilonne commented on May 4, 2024

And please add "man" as subcommand of bat to open it 👍

from bat.

pickfire avatar pickfire commented on May 4, 2024

@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?

from bat.

sharkdp avatar sharkdp commented on May 4, 2024

I also don't see the need for a man subcommand.

from bat.

sharkdp avatar sharkdp commented on May 4, 2024

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!

from bat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.