INNER CODE UNIT · Rust

verify_args

matiaskorhonen/paper-age · src/cli.rs:58

    fn verify_args() {
        use clap::CommandFactory;
        super::Args::command().debug_assert()
    }

    #[test]
    fn test_args() {
        let args = Args::parse_from([
            "paper-age",
            "-f",
            "-g",
            "--title",
            "Hello",
            "--notes-label",
            "Notes:",
            "--skip-notes-line",
            "--output",
            "test.pdf",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…