summaryrefslogtreecommitdiff
path: root/Source/Applications/Shell/Shell.class.h
blob: 7c0c324ff8bc0c8597455c8b51b62b43e044654b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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