Files
cohere-transcribe/src/cohere_transcribe/daemon_main.py
T
tomatocream 92d8ba28d0 feat: add Typer CLI with daemon mode and wtype keyboard injection
Replace argparse CLI with Typer-based CLI supporting `cohere on/off/status`
commands. The daemon runs transcription in the background and types into the
focused Wayland window via wtype. Adds wtype to flake.nix and fixes the
hatchling build backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-30 21:09:32 +08:00

9 lines
177 B
Python

import argparse
from .daemon import run_daemon
parser = argparse.ArgumentParser()
parser.add_argument("--lang", default="en")
args = parser.parse_args()
run_daemon(args.lang)