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