#ifndef DEF_SHELL_CLASS_H #define DEF_SHELL_CLASS_H #include #include #include #include #include #define PROMPTS_COLOR 1 #define PROMPTV_COLOR 9 #define ENTRY_COLOR 6 #define NORMAL_COLOR 7 struct shell_var_t { bool readonly; String value; }; class Shell : public ShellApp { Map m_vars; void setupVars(); public: Shell(); int run(); FSNode cwd; bool appRun(const String& name, Vector& args); void cd(Vector& args); void pwd(Vector& args); void rm(Vector& args); void mkdir(Vector& args); void wf(Vector& args); void run(Vector& args); }; #endif