- Handle missing command
- REPL (Read-Eval-Print Loop)
- Exit builtin
- Echo builtin
- Type builtin
- Type builtin check for executable files
- run a program in one of the PATH directory
- pwd command
- cd command
- ls command
- download CMake
- download vcpkg
- make sure that the vcpkg/scripts/buildsystems/vcpkg.cmake file is in the same folder with code_shell_homemade
- make sure to change the path in /build/CMakeCache.txt by replacing INSERT_USER_NAME_HERE
- make sure to fix the path of your vcpkg in
your_shell.sh
- Run
./your_shell.sh
to run your program, which is implemented insrc/main.cpp
.