man_pages
gest generate man-pages: generate man pages.struct Command
pub struct CommandGenerate man pages.
| Field | Type | Description |
|---|---|---|
output_dir |
PathBuf | Output directory for man pages. |
Implements FromArgMatches, Args, Debug.
Command::call
pub async fn call(&self, _context: &AppContext) -> Result<(), Error>Render the gest.1 man page into the requested output directory.
| Parameter | Type | Description |
|---|---|---|
_context |
&AppContext | the application context, which this command does not use |
| returns | Result<(), Error> | Ok(()) when the command succeeds, or the error that stopped it. |