mirror of
https://github.com/sajenim/rush.git
synced 2025-06-28 09:54:21 +08:00
rename project as rush is taken by multiple projects
This commit is contained in:
parent
fa47639ef3
commit
2b0053f1d7
6 changed files with 5 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -246,7 +246,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rush"
|
name = "rshx"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mlua",
|
"mlua",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rush"
|
name = "rshx"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# RuSH
|
# Rust SHell eXtensible
|
||||||
|
|
||||||
Learning rust by making a shell.
|
Learning rust by making a shell.
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub fn cd(args: &[String]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn help() {
|
pub fn help() {
|
||||||
println!("RuSH v0.1.0");
|
println!("rshx v0.1.0");
|
||||||
println!("---------------------");
|
println!("---------------------");
|
||||||
println!("Available Commands:");
|
println!("Available Commands:");
|
||||||
println!(" cd - Change directory");
|
println!(" cd - Change directory");
|
||||||
|
|
|
@ -58,7 +58,7 @@ fn main() {
|
||||||
let lua = Lua::new();
|
let lua = Lua::new();
|
||||||
|
|
||||||
// Retreive Lua source code from configuration file.
|
// Retreive Lua source code from configuration file.
|
||||||
lua.load("config = require 'rush'")
|
lua.load("config = require 'rshx'")
|
||||||
.exec()
|
.exec()
|
||||||
.expect("Failed to load configuration.");
|
.expect("Failed to load configuration.");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue