[][src]Module man::prelude

Convenience wrapper to import all the essential structs.

extern crate man;

use man::prelude::*;

fn main () {
  let msg = Manual::new("my-app").render();
}

Structs

Arg

Positional arguments.

Author

Application authors.

Env

Arguments that are passed by the executing shell.

Example

Add a examples section

Flag

Boolean arguments that can be toggled on or off.

Manual

The main man page struct.

Opt

Arguments that take values.

Section

Add a custom section