I would recommend cloning it into your home directory
cd
git clone https://github.com/LoboAdrian/lobosh.git
cd lobosh
// Unix
python3 main.py
// Windows
python main.py
-
Help
help <any of the available commands>
Will tell you what each command does. -
Echo
echo <argument>
Will repeat whatever you write as an argument. -
Yes
yes <argument>
Will repeate whatever you write an infinite number of times. -
Cd
cd <any direcotry>
Goes into any reachable directory. Usecd ..
to go to the parent directory. -
Ls
ls <any directory>
Will list all files and directories inside the directory you are in. -
Clear
clear
Clears the screen. -
Exit
exit
Exits the shell prompt.
-
Can't stop
yes
without killing the whole shell. -
Current working directory doesn't update, so only the main.py's home directory is shown.
-
I'm probably making a shell the wrong way, but who knows?
If you happen to find any issues, please feel free to open one.
Just open a pull request and hope it gets merged.