This is an automated archive.
The original was posted on /r/opensource by /u/del_ta17 on 2023-08-05 18:48:18+00:00.
Original Title: Luash - simple interactive shell written in Lua that allows you to execute custom commands defined in separate Lua script files, providing a convenient way to extend the shell with your own commands, making it more versatile and tailored to your needs.
Hiya, it’s again me.
I made Luash as my another side project and as practicing Lua. It works almost like real shell and to add a command, you simply create a script for it in cmds folder while providing the command name directly in the filename (e.g hello.lua will create a hello command). To avoid restarting luash everytime you change/create something, simply type “reload” command and everything like modifying and creating files will be applied, without quitting the app.
It’s not a full featured shell with all stuff like mkdir and cd, but it may serve as base for one. Lua can work with C/C++ code easily, and oftenly standard commands are written in C, which means that they can be ported (to some extent), but IMO smaller ones may be just rewritten in Lua.
IT IS NOT intended to be a replacement for Windows’ cmd and PowerShell or Unix’s bash/zsh/fish. This is just a project I made for fun.
For more info on usage check the GitHub page -