#include <algorithm>
#include <iomanip>
#include <iostream>
#include <sstream>
#include "cli11_wrapper.hpp"
Go to the source code of this file.
|
| CLI::Option * | terra::util::add_option_with_default (CLI::App &app, const std::string &name, auto &field, std::string desc="") |
| | Just a small wrapper to set the default of the option to the value of the variable where it shall be stored.
|
| |
| CLI::Option * | terra::util::add_flag_with_default (CLI::App &app, const std::string &name, bool &field, std::string desc="") |
| | Just a small wrapper to set the default of the flag to the value of the variable where it shall be stored.
|
| |
| void | terra::util::print_cli_summary (const CLI::App &app, std::ostream &os=std::cout) |
| | Prints an overview of the available flags, the passed arguments, defaults, etc.
|
| |