feat: Modified --skill CLI to allow users to specify skills to start the REPL or CLI with.

This commit is contained in:
2026-06-01 14:20:45 -06:00
parent 766684615b
commit d927a9b99f
2 changed files with 11 additions and 10 deletions
+4 -9
View File
@@ -2495,18 +2495,13 @@ impl RequestContext {
format!("Failed to scaffold skill at {}", path.display())
})?;
}
let editor = app.editor()?;
edit_file(&editor, &path)?;
if self.working_mode.is_repl() {
if is_new {
println!("Created skill at '{}'.", path.display());
} else {
println!("✓ Saved skill at '{}'.", path.display());
}
if is_new {
println!("✓ Created skill at '{}'.", path.display());
} else {
println!("Saved skill at '{}'.", path.display());
}
Ok(())
}