feat: Modified --skill CLI to allow users to specify skills to start the REPL or CLI with.
This commit is contained in:
1 parent
bf8dad2a4f
commit
588c69ea6c
2 files changed
+11
-10
No files matched your search
@@ -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(())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user