Commit Graph

10 Commits (7c7115427dd5f6320a4305df3dc88a8567829720)

Author SHA1 Message Date
Manos Pitsidianakis 7c7115427d docs/meli.7: complete guide document 2 years ago
Manos Pitsidianakis 89940dd606
cli-docs: compress included text 4 years ago
Manos Pitsidianakis 559de5e140
Add docs/ folder 4 years ago
Manos Pitsidianakis 0169025d50
build.rs: add proc-macro to generate Override structs for configuration 4 years ago
Manos Pitsidianakis a496de2794
build.rs: add rerun-if-changed 4 years ago
Manos Pitsidianakis 34331232af
build.rs: use `man` binary if mandoc missing in cli-docs 4 years ago
Manos Pitsidianakis 0aa2659072
meli: add cli-docs feature
Optionally build manpages to text with mandoc and print them from the
command line.
4 years ago
Manos Pitsidianakis 321be8555f
Cleanup startup error exit paths
Make startup methods return Results so that the main binary can exit
cleanly instead of using std::process::exit from arbitrary positions,
which exits the process immediately and doesn't run destructors.
5 years ago
Manos Pitsidianakis cde9eb43f5
fixup manual 5 years ago
Manos Pitsidianakis 6a8f869e5b
Show manuals with command line arguments
Add --manual, --conf-manual command line arguments that display manpages
through a pager. If no pager is found, this currently fails. It should
print the manuals to stdout instead.

The manuals are read from src/manuals and are generated with mandoc
whenever changes to the manpage sources meli.1 and meli.conf.5 are made.
5 years ago