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?
I'm a bit annoyed at the trend of not having man pages though.