espanso / espanso

Cross-platform Text Expander written in Rust

Home Page:https://espanso.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing manual file on linux

AucaCoyan opened this issue · comments

Discussed in #1205

Originally posted by freddii January 26, 2021
normally you are able to read a manual file when you type in terminal:
man programname

But it seams there is no manual for espanso.

It would be very handy to have a manual file right from terminal.

I'm not sure how one goes about constructing one, but when I wanted to see the full contents of the --help sections, I wrote a script to extract them. It can be found on Pastebin. It may be useful to ensure nothing is missed.

Nice! That's a good startup, I think I've had seen something that creates manpages from a rust codebase, let me see...
Yup, found it clap has a man page generator
Not that is the perfect solution! In the implementation we could refine it a little bit better