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

This commit is contained in:
Dark-Alex-17 committed 2026-06-01 14:20:45 -06:00
1 parent bf8dad2a4f
commit 588c69ea6c
2 files changed
+11 -10

No files matched your search

+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(())
}