Skip to content

yitsushi/cpp-commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

C++ CLI framework with command structures and opts parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published