Comments (12)
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.
Also, it would be nice if it wasn't Linux-specific 😄
from 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.
from bat.
I have added a simple initial version in doc/bat.1 via help2man
+ some manual editing.
from bat.
@sharkdp Would it be nice to have a troff man page or generate it from clap?
from bat.
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.
Oh, @sharkdp I was the one who contributed to fd
man page, just remembered it. Haha
Yes, auto man page generation is still in progress clap-rs/clap_generate#1
from bat.
@pickfire I know 😄 👍. What would you suggest for bat
?
from bat.
And please add "man" as subcommand of bat to open it 👍
from bat.
@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.
I also don't see the need for a man
subcommand.
from bat.
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)
- Feature Request: Copy to Clipboard Option
- Syntax typo in russian README
- --force-colorization does not work for --help
- bat display markdown wrongly HOT 1
- Set file name as terminal title HOT 1
- Add a --head option that is equivalent to piping the output to head but works with device files HOT 1
- Integrating with google/oss-fuzz for continuous fuzz testing? HOT 1
- Bat failed to work in Powershell or CMD properly HOT 5
- Uninstalling BAT HOT 1
- bat aliased as cat HOT 3
- Bat syntax highlighting doesn't play nicely with backslashes HOT 6
- The system cannot find the path specified. (os error 3) - When attempting to bat a file with Tilde in the path HOT 4
- Highlighting for bioinformatics HOT 4
- support coloresque for css language HOT 7
- Not have syntax highlight from stdin after pipe in nushell HOT 1
- Add optional git blame to file output
- bat says some txt files are BINARY, and not display the content. HOT 4
- Long file paths break header HOT 1
- Beancount HOT 1
- `Controller::run_with_error_handler` does not allow the handler closure to modify variables outside
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bat.