mla-titlecase-cli 0.3.0

CLI for building and inspecting mla-titlecase lexicons
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{error::Result, sources};

pub(crate) fn run() -> Result<()> {
    for source in sources::all_sources() {
        let status = if source.recommended { "recommended" } else { "optional" };
        println!(
            "{:<14} {:<11} {:<50} {}",
            source.id.as_str(),
            status,
            source.license_summary,
            source.description
        );
    }
    Ok(())
}