diff options
Diffstat (limited to 'source/apps/include/wanda/wandac/cli.hpp')
| -rw-r--r-- | source/apps/include/wanda/wandac/cli.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source/apps/include/wanda/wandac/cli.hpp b/source/apps/include/wanda/wandac/cli.hpp new file mode 100644 index 0000000..c04b138 --- /dev/null +++ b/source/apps/include/wanda/wandac/cli.hpp @@ -0,0 +1,27 @@ +#ifndef WANDA_APP_WANDAC_CLI_HPP +#define WANDA_APP_WANDAC_CLI_HPP + +#include <lyra/args.hpp> +#include <lyra/cli_parser.hpp> + +#include <iosfwd> +#include <string> + +namespace wandac +{ + + struct cli + { + auto parse(lyra::args arguments, std::ostream & error_stream) -> bool; + auto print_usage(std::ostream & output_stream) -> void; + + std::string command{}; + bool help{}; + + private: + lyra::cli_parser parser{}; + }; + +} // namespace wandac + +#endif
\ No newline at end of file |
