Compare commits
No commits in common. "ad5e96782a0c1c08d6fc3ec45db0b51630cd88cd" and "ea9eb49697a12b698b6dce8cadc3f24ae3a3147c" have entirely different histories.
ad5e96782a
...
ea9eb49697
4 changed files with 5 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4,4 +4,4 @@ version = 3
|
|||
|
||||
[[package]]
|
||||
name = "rash"
|
||||
version = "0.2.0"
|
||||
version = "0.1.0"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rash"
|
||||
version = "0.2.0"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -6,8 +6,7 @@ I want to learn Rust and see how much effort I can put into making an interopera
|
|||
|
||||
# Roadmap
|
||||
|
||||
- [x] Execute commands
|
||||
- [ ] Parse commands
|
||||
- [ ] Execute commands
|
||||
- [ ] Variables
|
||||
- [ ] Environment variables
|
||||
- [ ] Builtins
|
||||
|
@ -15,5 +14,6 @@ I want to learn Rust and see how much effort I can put into making an interopera
|
|||
- [ ] `set`
|
||||
- [ ] `alias`
|
||||
- [ ] `type`
|
||||
- [ ] Parse commands
|
||||
- [ ] Command-line flags
|
||||
- [ ] PS1
|
||||
|
|
|
@ -58,8 +58,7 @@ impl Command for UnixProgram {
|
|||
|
||||
exit_code
|
||||
} else {
|
||||
let message = format!("{}: command not found", &program);
|
||||
error::print_error(message);
|
||||
error::print_error(format!("{}: command not found", program));
|
||||
ExitCode::new(127)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue