lisamelton / video_transcoding

Tools to transcode, inspect and convert videos.
MIT License
2.39k stars 160 forks source link

man pages of --help content? #233

Open gingerbeardman opened 6 years ago

gingerbeardman commented 6 years ago

It would be cool if the --help content was reproduced as man pages?

You can create it easily using https://github.com/sveinbjornt/ManDrake

I summon man pages regularly using the built in man:// URL scheme and also using Alfred (with a man plugin)

lisamelton commented 6 years ago

@gingerbeardman As far as I know, there's not an easy way to install man pages when installing a Ruby Gem. Especially in a cross-platform way. Do you know of any Ruby Gems that have this facility?

gingerbeardman commented 6 years ago

A quick Google for: ruby gem install man page

gives this "Gem to add man pages support to ruby gems": https://github.com/bitboxer/manpages

Any good?

lisamelton commented 6 years ago

@gingerbeardman Unfortunately, that would add yet another dependency. The implementation also looks a bit fragile to me. So I'm not inclined to use this for a nice-to-have feature.

gingerbeardman commented 6 years ago

Understood... maybe there are other solutions out there.

lisamelton commented 6 years ago

@gingerbeardman I certainly hope so! I think this is a good idea, which is why I'm keeping this open.

I'll ask some of my other Ruby-nerd friends for ideas and do a little more investigation of my own after the holiday.

gingerbeardman commented 6 years ago

Sadly Ruby is not my forte, but I am good with google search

I found some other solutions but they either come in the form of another dependency or are quite hacky

Hopefully you will have more luck!

gingerbeardman commented 6 years ago

Oh, and Happy Holidays!

lisamelton commented 6 years ago

@gingerbeardman You too, sir! Don't overeat like what I'm planning to do. :)

gingerbeardman commented 6 years ago

I'm in the UK so it's just a regular week, and I should be in bed. TTFN

lisamelton commented 6 years ago

@gingerbeardman Oh, right! I forgot. :)