blyte 0.78.2

The blyte coding-agent harness: headless runs with a sealed verification gate, and a REPL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use clap::Parser;

use blyte_cli::cli::Cli;
use blyte_cli::task_runner::TaskConfig;

#[test]
fn cli_pass_env_flags_are_parsed_and_carried_to_task_config() {
    let cli = Cli::try_parse_from(["blyte", "--pass-env", "A", "--pass-env", "B"]).unwrap();
    assert_eq!(cli.pass_env, vec!["A".to_string(), "B".to_string()]);
    let config = TaskConfig::from(&cli);
    assert_eq!(config.pass_env, vec!["A".to_string(), "B".to_string()]);
}