cli.console packageยถ
Submodulesยถ
cli.console.constants moduleยถ
cli.console.ls moduleยถ
- cli.console.ls.do_ls(current: list[str]) Noneยถ
- cli.console.ls.truncate(text: str, limit: int) strยถ
cli.console.repl moduleยถ
Interactive REPL that forwards each input line to python -m cli on the host.
Ctrl+C only cancels the current input; the console exits on exit/quit or EOF (Ctrl+D).
Ctrl+Shift+C is intercepted by the terminal emulator (copy shortcut) and never reaches the app.
The prompt tracks a category stack: typing a bare category name cdโs into it,
.. walks one level up, / returns to root, path tokens with / or
.. navigate, infinito [path] jumps absolute, ls lists the current
folder, everything else runs with the current path prepended.
- cli.console.repl.main() intยถ
cli.console.runner moduleยถ
- cli.console.runner.clear_screen() Noneยถ
- cli.console.runner.run_cli(argv: list[str], *, current: list[str] | None = None) intยถ