pub mod promote;
mod shared;
use anyhow::Result;
use clap::Subcommand;
use crate::context::CommandContext;
use crate::shared::render_result;
#[derive(Debug, Subcommand)]
pub enum EvalsCommands {
#[command(about = "Promote an AI request into the golden case set")]
Promote(promote::PromoteArgs),
}
pub async fn execute(cmd: EvalsCommands, ctx: &CommandContext) -> Result<()> {
let result = match cmd {
EvalsCommands::Promote(args) => promote::execute(args, ctx).await?,
};
render_result(&result, &ctx.cli);
Ok(())
}