Library that provides a bash-like command line interface for C++ programs.
Find a file
2016-04-16 19:29:51 +02:00
msh-console-library Options handling rewritten with usage of popt.h. fixed #1 with stringtoargcargv.cpp. The command arguments are now passed as struct mshconsole::Params. Readme 2016-04-16 19:29:51 +02:00
.gitignore Started work on automated option (flags) handling. Current code is incomplete. 2016-04-02 16:28:03 +02:00
license.md Created license.md licensing with the unlicense 2016-03-13 21:03:36 +01:00
README.md Options handling rewritten with usage of popt.h. fixed #1 with stringtoargcargv.cpp. The command arguments are now passed as struct mshconsole::Params. Readme 2016-04-16 19:29:51 +02:00

msh-console

Library that provides a bash-like interface for CLI C++ programs

Credits

Code based on "Write a Shell in C" - by Stephen Brennan (http://brennan.io/2015/01/16/write-a-shell-in-c/) The code has been slightly modified. The code contains stringtoargcargv.cpp, a set of functions written by Bernhard Eder (http://web.archive.org/web/20121030075237/http://bbgen.net/blog/2011/06/string-to-argc-argv) for parsing a string into argc and argv.

The library

The library can be compiled as shared library with the CMakeLists.txt file already in msh-console-library/.