mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 08:00:05 +02:00
Initialize standalone Frame Dictation scaffold and install preflight
This commit is contained in:
commit
f79db54ca9
12 files changed
+758
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#include <iostream>
|
||||
#include <string_view>
|
||||
|
||||
namespace {
|
||||
void help() {
|
||||
std::cout << "Frame Dictation — standalone Steam Frame voice typing\n"
|
||||
"Scaffold only: overlay, microphone, ASR and input are not implemented.\n\n"
|
||||
"Usage: frame-dictation [--help | --version]\n"
|
||||
"No device access or background processes are started.\n";
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
if (argc == 1 || (argc == 2 && std::string_view(argv[1]) == "--help")) {
|
||||
help();
|
||||
return 0;
|
||||
}
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--version") {
|
||||
std::cout << "frame-dictation " << FRAME_DICTATION_VERSION << " (scaffold)\n";
|
||||
return 0;
|
||||
}
|
||||
std::cerr << "Unsupported arguments. Use --help; runtime features are not implemented.\n";
|
||||
return 2;
|
||||
}
|
||||
Reference in new issue
Block a user