wash-cli 0.24.1

wasmCloud Shell (wash) CLI tool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod common;

use common::{output_to_string, wash};

#[test]
fn integration_help_subcommand_check() {
    let help_output = wash()
        .args(["--help"])
        .output()
        .expect("failed to display help text");
    let output = output_to_string(help_output).unwrap();

    assert!(output.contains("claims"));
    assert!(output.contains("ctl"));
    assert!(output.contains("drain"));
    assert!(output.contains("keys"));
    assert!(output.contains("par"));
}