prism-tui PoC

This commit is contained in:
Boof2015
2026-08-14 13:37:16 -04:00
parent 1a0185306a
commit 7047df3e38
41 changed files with 1995 additions and 635 deletions
+29
View File
@@ -0,0 +1,29 @@
#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