Overhaul of command parsing

This commit is contained in:
2021-11-16 12:20:11 -05:00
parent f933f451ad
commit 077b2fc23b
11 changed files with 138 additions and 158 deletions

View File

@@ -63,6 +63,9 @@ std::string hash_to_hex(const HashValue &hash);
// Split a string into multiple strings
StringVec split(const std::string &s, char sep);
// Join multiple strings into one string
std::string join(const StringVec &strs, std::string sep);
// Return N repetitions of string A
std::string repeat_string(const std::string &a, int n);