binary + installer

This commit is contained in:
Zacharias-Brohn
2026-02-18 18:53:11 +01:00
parent 01e94a10ab
commit 457007f74d
21 changed files with 270 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
import subprocess
import typer
args = ["qs", "-c", "zshell"]
app = typer.Typer()
@app.command()
def kill():
subprocess.run(args + ["kill"], check=True)
@app.command()
def start(no_daemon: bool = False):
subprocess.run(args + ([] if no_daemon else ["-d"]), check=True)
@app.command()
def show():
subprocess.run(args + ["ipc"] + ["show"], check=True)
@app.command()
def log():
subprocess.run(args + ["log"], check=True)
@app.command()
def lock():
subprocess.run(args + ["ipc"] + ["call"] + ["lock"] + ["lock"], check=True)