22 lines
605 B
C++
22 lines
605 B
C++
#ifndef FESA_APP_FESA_APPLICATION_H_
|
|
#define FESA_APP_FESA_APPLICATION_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace fesa {
|
|
|
|
/// @brief Owns the argv-independent CLI contract and stable process exit codes.
|
|
class FesaApplication {
|
|
public:
|
|
/// @brief Runs one solver invocation from operands and options after argv[0].
|
|
/// @param arguments Input path and optional `--output` pair.
|
|
/// @return The stable CLI exit code for usage, input, model, solver, or
|
|
/// output status.
|
|
int Run(const std::vector<std::string>& arguments);
|
|
};
|
|
|
|
} // namespace fesa
|
|
|
|
#endif // FESA_APP_FESA_APPLICATION_H_
|