#include <arg_router/arg_router.hpp>
namespace arp = ar::policy;
using namespace ar::literals;
int main(int argc, char* argv[])
{
ar::root(arp::validation::default_validator,
ar::help("help"_S,
"h"_S,
"Display this help and exit"_S,
arp::program_name_t{"just-cats"_S},
arp::program_intro_t{"Prints cats!"_S},
arp::program_addendum_t{"An example program for arg_router."_S}),
ar::flag("cat"_S, "English cat"_S, arp::router{[](bool) {
std::cout << "cat" << std::endl;
}}),
ar::flag("猫"_S,
arp::description_t{"日本語の猫"_S},
arp::router{[](bool) { std::cout << "猫" << std::endl; }}),
ar::flag("🐱"_S,
arp::description_t{"Emoji cat"_S},
arp::router{[](bool) { std::cout << "🐱" << std::endl; }}),
ar::flag("แมว"_S,
"แมวไทย"_S,
arp::router{[](bool) { std::cout << "แมว" << std::endl; }}),
ar::flag("кіт"_S,
"український кіт"_S,
arp::router{[](bool) { std::cout << "кіт" << std::endl; }}))
.parse(argc, argv);
return EXIT_SUCCESS;
}