neopdf_cli 0.2.0-alpha8

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

use assert_cmd::Command;
use predicates::str;

const HELP_STR: &str = "CLI interface to NeoPDF

Usage: neopdf <COMMAND>

Commands:
  write    Conversion and combination of PDF sets
  compute  Evaluate PDF values and `alpha_s` at given kinematics
  read     Commands for reading PDF set information
  install  Install a PDF set from one of the supported repositories
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version
";

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