intermodal/bin/man/src/common.rs
Casey Rodarmor 268c62b66d
Add bin/man command for generating man pages
Generates man pages and book entries for all subcommands, and keeps the
commands index in the book up to date.

There is much cursed roff munging in this diff.

type: documentation
2020-04-09 15:23:12 -07:00

13 lines
250 B
Rust

pub(crate) use std::{
fs,
path::Path,
process::{Command, Stdio},
str,
};
pub(crate) use anyhow::{anyhow, Error};
pub(crate) use fehler::{throw, throws};
pub(crate) use regex::Regex;
pub(crate) use crate::{bin::Bin, subcommand::Subcommand};