Improve this
This commit is contained in:
1 file changed
+5
-2
@@ -15,9 +15,12 @@ void echo_command(int argc, char *argv[]);
|
|||||||
const std::vector<Command> commands = {
|
const std::vector<Command> commands = {
|
||||||
{"help", "Show this help message", help_command},
|
{"help", "Show this help message", help_command},
|
||||||
{"echo", "A echo command, usage \"echo (text)\"", echo_command},
|
{"echo", "A echo command, usage \"echo (text)\"", echo_command},
|
||||||
{"base64-decode", "A base64 decode command, \"base64-decode (text)\"",
|
{"base64-decode",
|
||||||
|
"A base64 decode command, \"base64-decode <text> [text2]\"",
|
||||||
base64_decode_command},
|
base64_decode_command},
|
||||||
{"base64-encode", "A base64 encode command, \"base64-encode (text)\"",
|
{"base64-encode",
|
||||||
|
"A base64 encode command, \"base64-encode <encoded-text> "
|
||||||
|
"[encoded-text2]\"",
|
||||||
base64_encode_command}};
|
base64_encode_command}};
|
||||||
|
|
||||||
const std::vector<Command> &getCommands() { return commands; }
|
const std::vector<Command> &getCommands() { return commands; }
|
||||||
|
|||||||
Reference in new issue
Block a user