neopdf_cli 0.2.0-alpha5

CLI interface to NeoPDF
Documentation
#![allow(missing_docs)]

use assert_cmd::Command;

const HELP_STR: &str = "Install a PDF set from one of the supported repositories

Usage: neopdf install --pdf-name <PDF_NAME>

Options:
  -p, --pdf-name <PDF_NAME>  Name of the PDF set to install (e.g. `NNPDF40_nnlo_as_01180`)
  -h, --help                 Print help
  -V, --version              Print version
";

#[test]
fn help() {
    Command::cargo_bin("neopdf")
        .unwrap()
        .args(["install", "--help"])
        .assert()
        .success()
        .stdout(HELP_STR);
}