zaman(1) ["Zaman 1.3.3" ["Zaman Manual"]]
Zaman - A simple CLI tool to display (or save) man pages as PDFs files.
A simple CLI tool to display (or save) man pages as PDFs files for an easier reading. Zaman first looks for the default PDF reader defined in XDG MIME Applications and fallback to Zathura if no default PDF reader is set. It also allows to navigate through all the man pages available on the system through a dynamic menu via Rofi or Dmenu.
zaman [OPTION] [MAN_PAGE]
You can directly specify the man page to display as a PDF. For instance, to display the ls
man page:
zaman ls
-m, --menu Display the list of all the available man pages in a dynamic menu (rofi or dmenu), allowing you to search for the one to display as a PDF (default operation).
-o, --output <man_page>
Export <man_page> into the PDF .
For instance, zaman -o ls ~/Documents/man/ls.pdf
.
-O, --save <man_page>
Export <man_page> into a "man_.pdf" PDF file inside your current directory.
For instance, zaman -O ls
(which will save the ls
man page in a file called man_ls.pdf
PDF file in your current directory).
If <man_page> isn't specified (zaman -O
), it opens a dynamic menu listing all man pages available on your system, allowing you to choose the one to export.
-D, --debug Display debug traces.
-V, --version Display version information.
-h, --help Display the help message.
0 OK.
1 Invalid option or unknown man page.
2
Neither rofi
nor dmenu
are installed.
3 User didn't gave the confirmation to proceed.
4
User didn't specified a man page or a file to export it in to with the -o / --output
option.
5
No default PDF reader defined in XDG Mime Application and zathura
isn't installed as well.
man(1), groff(1), xdg-mime(1), xdg-open(1), rofi(1), dmenu(1), zathura(1)
Please report bugs to the GitHub page: https://github.com/Antiz96/zaman
Robin Candau [email protected]