ricecoder_cli/commands/review.rs
1// Review code
2
3use super::Command;
4use crate::error::CliResult;
5
6/// Review code
7pub struct ReviewCommand {
8 pub file: String,
9}
10
11impl ReviewCommand {
12 pub fn new(file: String) -> Self {
13 Self { file }
14 }
15}
16
17impl Command for ReviewCommand {
18 fn execute(&self) -> CliResult<()> {
19 println!("Reviewing: {}", self.file);
20 println!("✓ Review complete");
21 Ok(())
22 }
23}