diff options
author | Your Name <you@example.com> | 2021-05-06 15:12:39 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2021-05-06 15:12:39 -0400 |
commit | 5ed030a38810e4a3bb9c969db6892065581340c6 (patch) | |
tree | eac8fa93a221d7b4cbccacd18adf7cb83282e04f /src/cmd.h | |
parent | 9f3802690f9dd9452e96d1d7a879291978d66e35 (diff) | |
download | dmtool-5ed030a38810e4a3bb9c969db6892065581340c6.tar.gz dmtool-5ed030a38810e4a3bb9c969db6892065581340c6.tar.bz2 dmtool-5ed030a38810e4a3bb9c969db6892065581340c6.zip |
Implemented edit method
Diffstat (limited to 'src/cmd.h')
-rw-r--r-- | src/cmd.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |