cli (call): tui output implementation:

- Moved original UI to a separated class, and use if with the `simple` output
- By default, best output is automatically selected. For now `gui` is selected if possible,
  and `simple` is used as fallback.
- The new `tui` output can be used to have the videos directly embedded in the terminal,
  either with real videos for compatible terminal emulators, or with Unicode blocks.
- Text contrôls are used for both `simple` and `tui` outputs
- several options can be used with `--oo` (will be documented in next commit).

rel 428
This commit is contained in:
Goffi 2024-02-16 18:46:06 +01:00
commit 430f2d9354
6 changed files with 560 additions and 227 deletions

View file

@ -80,6 +80,17 @@ keywords = [
SVG = [
"CairoSVG",
]
GUI = [
"PyQt6"
]
TUI = [
"term-image ~= 0.7.1"
]
all = [
"libervia-backed[SVG]",
"libervia-backed[GUI]",
"libervia-backed[TUI]",
]
[project.scripts]
jp = "libervia.cli.base:LiberviaCli.run"