refactor: provide a proper TUI interface with textual

This commit is contained in:
2026-06-29 16:48:46 +03:00
parent 3ab6b837f2
commit 5667833907
7 changed files with 391 additions and 160 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"requests>=2.32.5",
"textual>=8.2.7",
"typed-argparse>=0.3.1",
]
[build-system]
@@ -13,7 +15,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project.scripts]
pick-random-file = "random_file_picker.cli:main"
pick-random-file = "random_file_picker.tui:main"
[tool.uv.extra-build-dependencies]
random-file-picker = ["setuptools"]