cli: Add Limbo version back to shell

This commit is contained in:
Pekka Enberg
2024-12-15 09:26:07 +02:00
parent 15e55fbf74
commit 9deea33afa

View File

@@ -31,6 +31,8 @@ fn main() -> anyhow::Result<()> {
}
return Ok(());
}
println!("Limbo v{}", env!("CARGO_PKG_VERSION"));
println!("Enter \".help\" for usage hints.");
let mut rl = DefaultEditor::new()?;
let home = dirs::home_dir().expect("Could not determine home directory");
let history_file = home.join(".limbo_history");