This commit is contained in:
g1n 2021-07-21 19:01:35 +00:00
parent d8f629df49
commit 2d857c347a
2 changed files with 35 additions and 5 deletions

View File

@ -5,8 +5,3 @@ WIP
grsh - simple shell written in rust
Also some other tools (not builtin in grsh)
## TODO
* add some builtins commands
* port some other commands to Rust

35
TODO.md Normal file
View File

@ -0,0 +1,35 @@
# TODO
## Basic shell features
- [x] Pipelines `|`, done thanks to that [article](https://www.joshmcguigan.com/blog/build-your-own-shell-rust/)
- [ ] `;`
- [ ] AND (`&&`)
- [ ] OR (`||`)
- [ ] > and >>
- [ ] status handling
## Commands
### Builtins
- [x] `cd` - only basics done, need to make arguments
- [x] `exit`
- [x] `:`
- [x] `true`
- [x] `false`
- [x] `pwd`
- [ ] `echo` - basics and some vars done, need to do a lot of other things
- [ ] `type`
- [ ] `command`
- [ ] `alias`
- [ ] `export`
- [ ] and a lot of other
### Not Builtins
- [ ] `mkdir` - only basics, `--help` and `--verbose`
- [ ] `rmdir` - only basics, `--help` and `--verbose`
- [ ] `ls` - just listing dirs and `--help`, `-a` flags, still need fixes about current dir
- [ ] `rm`