The project aims to make command-line support as much easier as it is possible.
A minimalistic code example is provided below to demonstrate this functionality.
# cli.add(help_handler, op_name_t("help")("h")("?").description("produce a help message"));
# ...
# cli.add(echo , op_name_t("echo")("e") .description("print an input message"));
# invoke_all(cli , example::accumulate(argv+1,argv+argc));
The library is fully compatible with C++03. Its code structure, naming conventions, and design approach adhere to the philosophy and best practices established by Boost.
It also includes comprehensive documentation, usage examples, and automated tests:
- documentation: <interpreter11-code>/libs/command_line/index.html
- examples: <interpreter11-code>/libs/command_line/example
- tests: libs/command_line/test
Downloads:
0 This Week