mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 20:23:55 +00:00
19 lines
507 B
C++
19 lines
507 B
C++
// ===================================================================
|
|
// subcommand_a.hpp
|
|
// ===================================================================
|
|
|
|
#include "CLI/CLI.hpp"
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
/// Collection of all options of Subcommand A.
|
|
struct SubcommandAOptions
|
|
{
|
|
std::string file;
|
|
bool with_foo;
|
|
};
|
|
|
|
// Function declarations.
|
|
std::unique_ptr<SubcommandAOptions> setup_subcommand_a( CLI::App& app );
|
|
void run_subcommand_a( SubcommandAOptions const& opt );
|