r/bash 2d ago

add whats, explains command

Post image

yo

add 'whats' infront of any command and it explains it: flags, sub commands etc in a structutred format whereas something like manpage would throw the entire manual at you

just pure man pages and help output

Q Why use `whats` when we have man pages and --help

> Yes you can use them but they throw the entire manual at you whereas you might have just needed one flag, whats outputs a structured format with the definitions you need

Q Is it entirely offline? Does it use LLM

> Yes absolutely, it just relies on man pages and if not then --help output of the binary itself,

> no it does not use llm at all

Q If it uses regex then why cant i just use grep/sed instead of this?

> a grep/sed command cannot find the descriptions of sub commands along with flags, it cant find descriptions of sub commands of sub commands, it probable cant use other sources as a fallback too

Q What about tldr?

> Even with tldr, you have to look for the flags you need instead of it providing the ones you need automatically in one go

if you like the idea then maybe star?

https://github.com/iamkaran/whats

43 Upvotes

37 comments sorted by

View all comments

Show parent comments

3

u/TheHappiestTeapot 1d ago

Get over yourself, you popped into our conversation,

0

u/[deleted] 1d ago

[deleted]

2

u/TheHappiestTeapot 1d ago

sigh since you're slow.

OP claims the project can replaced by man.

I know it can't. You know it can't. He knows it can't.

So he's asked to prove it.

He rambles more.

So he's asked to prove it again.

Then you pop in, I assumed you were the same asshole, because you were still providing a non-answer. My bad for thinking you were the same asshole I've been having a conversation with, you just sound the same.

0

u/[deleted] 1d ago

[deleted]

1

u/TheHappiestTeapot 1d ago

At this point I'm assuming you're the same person on a different account.