#include <arg_router/arg_router.hpp>
namespace arp = ar::policy;
int main(int argc, char* argv[])
{
ar::root(arp::validation::default_validator,
S_(
"Display this help and exit"){},
arp::program_name<
S_(
"just-cats")>,
arp::program_intro<
S_(
"Prints cats!")>,
arp::program_addendum<
S_(
"An example program for arg_router.")>),
arp::router{[](bool) { std::cout << "cat" << std::endl; }}),
arp::description<
S_(
"日本語の猫")>,
arp::router{[](bool) { std::cout << "猫" << std::endl; }}),
arp::description<
S_(
"Emoji cat")>,
arp::router{[](bool) { std::cout << "🐱" << std::endl; }}),
arp::router{[](bool) { std::cout << "แมว" << std::endl; }}),
arp::router{[](bool) { std::cout << "кіт" << std::endl; }}))
.parse(argc, argv);
return EXIT_SUCCESS;
}