Files
prism/tui/src/cli.h
T
2026-08-14 13:37:16 -04:00

30 lines
446 B
C++

#pragma once
#include <string>
#include <vector>
namespace Prism::Tui {
enum class Command {
Run,
ListDevices,
Help,
Version,
};
struct Options {
Command command = Command::Run;
std::string deviceId;
};
struct ParseResult {
bool ok = false;
Options options;
std::string error;
};
ParseResult parseArguments(const std::vector<std::string>& arguments);
std::string usageText();
} // namespace Prism::Tui