chickensources 0.1.2

generate chickensources graphics
Documentation
use std::path::PathBuf;

use chickensources::generate_graphic;

#[fncli::cli]
fn main(
    title: String,
    body: String,
    subbody: String,
    via: String,
    image_path: PathBuf,
    output_path: PathBuf,
) {
    let img = image::open(image_path).unwrap();

    let img = generate_graphic(&title, Some(&body), Some(&subbody), Some(&via), &img);

    img.save(output_path).unwrap();
}