14 lines
294 B
Swift
14 lines
294 B
Swift
import Foundation
|
|
|
|
let command = CommandLine.arguments.dropFirst().first ?? "help"
|
|
switch command {
|
|
case "hotkey":
|
|
runHotkeyProbe()
|
|
case "record":
|
|
await runRecordProbe()
|
|
case "transcribe":
|
|
await runTranscribeProbe()
|
|
default:
|
|
print("usage: sst-probe hotkey|record|transcribe")
|
|
}
|