Finished Batch + Minor improvements

This commit is contained in:
2025-07-29 20:22:17 +02:00
parent f54a3ba309
commit f93c463647
8 changed files with 80 additions and 18 deletions

View File

@ -3,8 +3,10 @@
#include <unordered_map>
#include "cmd/cmd_base.hpp"
#include "cmd/cmd_batch.hpp"
#include "cmd/cmd_date.hpp"
#include "cmd/cmd_echo.hpp"
#include "cmd/cmd_head.hpp"
#include "cmd/cmd_misc.hpp"
#include "cmd/cmd_time.hpp"
#include "cmd/cmd_touch.hpp"
@ -38,9 +40,11 @@ namespace fsh {
cmds["rm"] = Command::register_cmd<CmdRM>();
cmds["wc"] = Command::register_cmd<CmdWc>();
cmds["date"] = Command::register_cmd<CmdDate>();
cmds["head"] = Command::register_cmd<CmdHead>();
cmds["time"] = Command::register_cmd<CmdTime>();
cmds["echo"] = Command::register_cmd<CmdEcho>();
cmds["exit"] = Command::register_cmd<CmdExit>();
cmds["batch"] = Command::register_cmd<CmdBatch>();
cmds["touch"] = Command::register_cmd<CmdTouch>();
cmds["debug"] = Command::register_cmd<CmdPrintTree>();
cmds["prompt"] = Command::register_cmd<CmdPrompt>();