Cleanup of the CmdProxy and migrated some commands (#52)

* migrated rx_fifodepth

* Moved and cleand CmdProxy

* rx_slient

* new commands

* examples

* fixed result string print
This commit is contained in:
Erik Fröjdh
2019-08-23 14:32:44 +02:00
committed by Dhanya Thattil
parent 975a5a4cab
commit 5c06549982
15 changed files with 385 additions and 319 deletions

View File

@ -100,4 +100,13 @@ std::vector<const char *> CmdLineParser::argv() const {
return vec;
}
std::string CmdLineParser::cli_line() const{
std::ostringstream os;
os << command_;
for (const auto & arg : arguments_)
os << " " << arg;
return os.str();
}
} // namespace sls