18 lines
478 B
C++
18 lines
478 B
C++
#include <cstddef>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "fesa/app/fesa_application.h"
|
|
|
|
int main(const int argc, char* argv[]) {
|
|
std::vector<std::string> arguments;
|
|
if (argc > 1) {
|
|
arguments.reserve(static_cast<std::size_t>(argc - 1));
|
|
}
|
|
// The application boundary receives only operands and options, not argv[0].
|
|
for (int index = 1; index < argc; ++index) {
|
|
arguments.emplace_back(argv[index]);
|
|
}
|
|
return fesa::FesaApplication{}.Run(arguments);
|
|
}
|