aboutsummaryrefslogtreecommitdiff
path: root/source/apps/include/wanda/wandac/cli.hpp
blob: c04b13862457bf884ec41a2b524c85b3bdba9fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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