opencli 0.1.1

OpenCLI struct definitions for serializing and deserializing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::{env, path::PathBuf};

use opencli::OpenCliDocument;

fn main() {
    let path = env::args_os()
        .nth(1)
        .map(PathBuf::from)
        .expect("Specify path to OpenCLI document");

    let opencli = OpenCliDocument::from_path(path).unwrap();

    println!("{opencli:#?}");
}