C++ CLI framework with command structures and opts parsing
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Commander
examples
tests
.gitignore
.travis.yml
CMakeLists.txt
Dockerfile
README.md
build-and-run.sh

README.md

Build Status Coverage Status

Testing

$ cmake . && cmake --build . && ctest

If you want an awesome coverage report, you have to enable it while calling cmake.

$ cmake -DCMAKE_BUILD_TYPE=Debug -DWITHCOVERAGE=1 . && \
    cmake --build . && \
    make coverage

Example

Check examples directory.

$ cmake .
$ cmake --build .
$ ./bin/example MyCommand --verbose
My Command is executed...
Verbose mode is active...

# try to execute dynamically loaded command
$ ./bin/example DynamicCommand --verbose
Verbose mode is active...
Dynamic command executed.