aboutsummaryrefslogtreecommitdiff
path: root/src/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.h')
-rw-r--r--src/cmd.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/cmd.h b/src/cmd.h
index 6a8b738..92a3cc3 100644
--- a/src/cmd.h
+++ b/src/cmd.h
@@ -5,20 +5,29 @@
namespace cmd {
// Corresponds to commands
+
+ // Usage gets a category of its own
std::string usage(const std::string& exename);
+
+ // Filesystem operations
std::string list(std::vector<std::string> args);
std::string mkdir(std::vector<std::string> args);
std::string cp(std::vector<std::string> args);
std::string mv(std::vector<std::string> args);
std::string rm(std::vector<std::string> args);
- std::string attacks(std::vector<std::string> args);
- std::string roll(std::vector<std::string> args);
+
+ // Manipulators
std::string heal(std::vector<std::string> args);
std::string damage(std::vector<std::string> args, std::vector<std::string> flags);
std::string reset(std::vector<std::string> args);
std::string set(std::vector<std::string> args);
std::string add(std::vector<std::string> args);
std::string del(std::vector<std::string> args);
+ std::string edit(std::vector<std::string> args);
+
+ //Queries
+ std::string attacks(std::vector<std::string> args);
+ std::string roll(std::vector<std::string> args);
// Command-centric helpers