1use anyhow::Result;
2use std::path::Path;
3
4pub fn run(root: &Path, id: &str, agent: Option<String>, role: Option<String>) -> Result<()> {
5 let mut stdout = std::io::stdout();
6 apm_core::prompt::run(root, id, agent.as_deref(), role.as_deref(), &mut stdout)
7}