osp-cli 1.5.1

CLI and REPL for querying and managing OSP infrastructure data
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[test]
fn resolve_options_new_and_with_helpers_normalize_inputs_unit() {
    let options = super::ResolveOptions::new()
        .with_profile(" Dev ")
        .with_terminal(" REPL ")
        .with_profile_override(Some(" Prod ".to_string()))
        .with_terminal_override(Some(" CLI ".to_string()));

    assert_eq!(options.profile_override.as_deref(), Some("prod"));
    assert_eq!(options.terminal.as_deref(), Some("cli"));
}