acorn-cli 0.1.45

ACORN command line interface
1
2
3
4
5
6
7
8
9
use crate::cli::Arguments;
use clap::{CommandFactory, Parser};

#[test]
fn test_cli() {
    Arguments::command().debug_assert();
    assert!(Arguments::try_parse_from(["acorn", "-V"]).is_ok());
    assert!(Arguments::try_parse_from(["acorn", "check", "/path/to/file.json"]).is_ok());
}