PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
cli.h
1#pragma once
2
3#include <optional>
4#include <string>
5#include <vector>
6
7namespace pixelbullet
8{
9struct ApplicationBootstrap;
10struct ApplicationCommandLineArgs;
11
12class CLI
13{
14public:
15 static ApplicationBootstrap ParseBootstrap(const std::vector<std::string>& args, std::string binaryPath = {});
16 static ApplicationBootstrap ParseBootstrap(const ApplicationCommandLineArgs& cmdArgs, std::string binaryPath);
17 static std::optional<int> Execute(const ApplicationBootstrap& bootstrap);
18};
19} // namespace pixelbullet
Definition cli.h:13
Definition specification.h:62
Command-line arguments passed to the application.
Definition specification.h:16