r4d 0.9.3

Text oriented macro processor
Documentation
#[cfg(feature = "clap")]
use rad::Cli;
use rad::RadError;

pub fn main() -> Result<(), RadError> {

    // Enable color on pager such as "less" 
    // by overloading color related environment
    #[cfg(feature = "color")]
    colored::control::set_override(true);

    // Command line parse
    #[cfg(feature = "clap")]
    if let Err(content) = Cli::new().parse() {
        eprintln!("{}", content);
    }

    // End 
    Ok(())
}