News for hackers. Stuff that matters.
Re:Viddy: A modern watch command. Time machine and pager etc. by euclaise on Tuesday June 21, 2022 @09:33PM (#31831072)
Useful, installed.

I'm a bit annoyed at the trend of not having man pages though.

Re:Viddy: A modern watch command. Time machine and pager etc. by oxplot on Wednesday June 22, 2022 @12:32AM (#31832041)
The awesome go-cli package makes it trivial to generate man pages [1] based on the commands/flags. This can be easily added to CI to avoid having to maintain a separate man page.

[1]: https://pkg.go.dev/github.com/urfave/cli/v2#App.ToManWithSec...

Re:Viddy: A modern watch command. Time machine and pager etc. by sapphire_tomb on Tuesday June 21, 2022 @09:37PM (#31831104)
Ah, so much this! Why do all these new utils not come with a man page? :(
Re:Viddy: A modern watch command. Time machine and pager etc. by R0b0t1 on Tuesday June 21, 2022 @10:59PM (#31831547)
They tend to have the most random names, too. Name after purpose would be good.
Re:Viddy: A modern watch command. Time machine and pager etc. by dewey on Wednesday June 22, 2022 @07:52AM (#31834826)
> Name after purpose would be good.

That used to be a lot easier when there was not that many tools out there. How many watch alternatives are there by now and how would you name them? watch, watchng, watch2?

Re:Viddy: A modern watch command. Time machine and pager etc. by mekster on Wednesday June 22, 2022 @10:22PM (#31844481)
Is it really hard to think for a few minutes and you could get a name from a word like "observe" instead?