mani 0.16.0

Mani provides an in-memory manifest of related files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Dump the edits of a manifest.

use arrrg::CommandLine;

use mani::{ManifestIterator, ManifestOptions};

fn main() {
    let (_, files) = ManifestOptions::from_command_line("USAGE: mani-dump [OPTIONS] [<file> ...]");
    for file in files {
        let iter = ManifestIterator::open(file).expect("could not open");
        for edit in iter {
            let edit = edit.expect("could not read edit");
            println!("{edit:#?}");
        }
    }
}