#!/usr/bin/env python3 """Top-level installer entry point. Re-exports `KnoeInstaller` and a few helpers for tests/imports, AND acts as a runnable CLI: `./install.py -c conf/k3d.cfg [...]` delegates to the canonical argparse-driven main in `knoe.ui.screens`. CLI flags (`-c CONFIG`, `-s/--silent`, `--min`, etc.) are defined there; see `knoe/ui/screens/__init__.py::main()` for the full set. """ from __future__ import annotations import tkinter as tk from tkinter import ttk, messagebox from pathlib import Path from knoe.ui.screens import KnoeInstaller from knoe.config import get_resource_path __all__ = ["KnoeInstaller", "get_resource_path", "tk", "ttk", "Path"] if __name__ == "__main__": # Delegate to the canonical CLI; argv is parsed there. from knoe.ui.screens import main as _main _main()