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