cli (base): Add instance isolation options:

- New ``-i``/``--isolation`` argument is added, it must be used before first positional
  argument (i.e., first comamnd).
- The new `entry.py` module is now the entry point, so it can set the `LIBERVIA_ISOLATION`
  environment variable before the backend read it.
This commit is contained in:
Goffi 2026-10-30 23:58:23 +01:00
commit 995200a978
3 changed files with 68 additions and 3 deletions

View file

@ -169,10 +169,10 @@ docs = [
[project.scripts]
# Legacy name, will be removed in future version
jp = "libervia.cli.base:LiberviaCli.run"
li = "libervia.cli.base:LiberviaCli.run"
jp = "libervia.cli.entry:main"
li = "libervia.cli.entry:main"
libervia-backend = "libervia.backend.core.launcher:Launcher.run"
libervia-cli = "libervia.cli.base:LiberviaCli.run"
libervia-cli = "libervia.cli.entry:main"
libervia-tui = "libervia.tui.base:LiberviaTUIApp.run"
# Legacy name, will be removed in future version
primitivus = "libervia.tui.base:LiberviaTUIApp.run"