summaryrefslogblamecommitdiff
path: root/Source/Applications/Shell/Shell.class.h
blob: 7c0c324ff8bc0c8597455c8b51b62b43e044654b (plain) (tree)



























                                          
#ifndef DEF_SHELL_CLASS_H
#define DEF_SHELL_CLASS_H

#include <Binding/VirtualTerminal.class.h>
#include <Binding/FSNode.class.h>
#include <String.class.h>

#include <App/ShellApp.proto.h>

class Shell : public ShellApp {
	public:
	Shell();

	int run();

	FSNode cwd;

	void ls(Vector<String>& args);
	void cd(Vector<String>& args);
	void pwd(Vector<String>& args);
	void rm(Vector<String>& args);
	void mkdir(Vector<String>& args);
	void cat(Vector<String>& args);
	void wf(Vector<String>& args);
	void run(Vector<String>& args);
};

#endif