mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
Add a terminal command that drives the desktop app's local backend. - The desktop app owns the backend. When no backend answers, the CLI starts the installed app in the background (no window); it publishes its address in backend.json and quits after 10 idle minutes. Opening the app later shows a window in the same process, so a terminal session and the GUI never run two backends. - The backend reports activity (requests, jobs, downloads, installs, calls) at /system/activity so idle shutdown never interrupts work, and holds a kernel lock on its data directory so a second backend fails fast with an actionable message. - `voicestudio stop` stops a background app; commands that only report state never start it, and `status` exits 3 when it is not running. - Output is readable tables and fields chosen from each result's shape; `--json` prints the raw data and piped output is tab-separated. - Tab completion for bash, zsh, fish and PowerShell (`voicestudio completion <shell>`), without building the command tree. - `voicestudio update` opens the app's updater; the CLI itself makes no network requests. - Settings → General shows the terminal command and can add it to PATH on request; shell profiles are only edited with that consent.
6 lines
181 B
Python
6 lines
181 B
Python
"""Native console entry point built from the same package as the Python wheel."""
|
|
from voicestudio_cli.__main__ import main
|
|
|
|
if __name__ == '__main__':
|
|
raise SystemExit(main())
|