shell cli c++