diff --git a/libraries/pipes/implementations/rust/src/bin/pipes_tests.rs b/libraries/pipes/implementations/rust/src/bin/pipes_tests.rs index 0d27cd7..d64a264 100644 --- a/libraries/pipes/implementations/rust/src/bin/pipes_tests.rs +++ b/libraries/pipes/implementations/rust/src/bin/pipes_tests.rs @@ -1,4 +1,3 @@ -use clap::ArgAction; use clap::Parser; use dagster_pipes_rust::{open_dagster_pipes, DagsterPipesError}; use dagster_pipes_rust::{DAGSTER_PIPES_CONTEXT_ENV_VAR, DAGSTER_PIPES_MESSAGES_ENV_VAR}; @@ -7,56 +6,22 @@ use std::fs::File; #[derive(Parser)] struct Cli { + #[arg(long)] + test_name: String, #[arg(long)] context: Option, #[arg(long)] messages: Option, - #[arg( - long, - action = ArgAction::Set, - default_value_t = false, - default_missing_value = "false", - num_args=0..=1, - require_equals = false, - )] - env: bool, - #[arg(long = "job-name")] + #[arg(long)] job_name: Option, #[arg(long)] extras: Option, - #[arg( - long, - action = ArgAction::Set, - default_value_t = false, - default_missing_value = "false", - num_args=0..=1, - require_equals = false, - )] - full: bool, #[arg(long)] - custom_payload_path: Option, + custom_payload: Option, #[arg(long)] report_asset_check: Option, #[arg(long)] report_asset_materialization: Option, - #[arg( - long, - action = ArgAction::Set, - default_value_t = false, - default_missing_value = "false", - num_args=0..=1, - require_equals = false, - )] - throw_error: bool, - #[arg( - long, - action = ArgAction::Set, - default_value_t = false, - default_missing_value = "false", - num_args=0..=1, - require_equals = false, - )] - logging: bool, #[arg(long)] message_writer: Option, #[arg(long)]