18 lines
281 B
C++
18 lines
281 B
C++
#include <exception>
|
|
#include <iostream>
|
|
|
|
#include "cli.h"
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
try
|
|
{
|
|
return m2pack::run_cli(argc, argv);
|
|
}
|
|
catch (const std::exception& ex)
|
|
{
|
|
std::cerr << "m2pack: " << ex.what() << "\n";
|
|
return 1;
|
|
}
|
|
}
|