Skip to content

Commit 8e8c6b1

Browse files
authored
Feat: quick path has correct ui (#19)
1 parent 63f2943 commit 8e8c6b1

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/cmd/submit.rs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -547,38 +547,6 @@ pub async fn run_submit_tui(
547547
));
548548
}
549549

550-
// Perform direct submission if all required parameters are provided via CLI
551-
if let (Some(gpu_flag), Some(leaderboard_flag), Some(mode_flag)) = (&gpu, &leaderboard, &mode) {
552-
// Read file content
553-
let mut file = File::open(&file_to_submit)?;
554-
let mut file_content = String::new();
555-
file.read_to_string(&mut file_content)?;
556-
557-
// Create client and submit directly
558-
let client = service::create_client(Some(cli_id))?;
559-
println!("Submitting solution directly with:");
560-
println!(" File: {}", file_to_submit);
561-
println!(" Leaderboard: {}", leaderboard_flag);
562-
println!(" GPU: {}", gpu_flag);
563-
println!(" Mode: {}", mode_flag);
564-
565-
// Make the submission
566-
let result = service::submit_solution(
567-
&client,
568-
&file_to_submit,
569-
&file_content,
570-
leaderboard_flag,
571-
gpu_flag,
572-
mode_flag,
573-
)
574-
.await?;
575-
576-
println!("Submission result: {}", result);
577-
578-
utils::display_ascii_art();
579-
return Ok(());
580-
}
581-
582550
let mut app = App::new(&file_to_submit, cli_id);
583551

584552
// Override directives with CLI flags if provided

0 commit comments

Comments
 (0)