cli.console packageยถ

Submodulesยถ

cli.console.banner moduleยถ

cli.console.banner.print_banner() โ†’ Noneยถ

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.navigation moduleยถ

cli.console.navigation.command_exists(segments: list[str], token: str) โ†’ boolยถ
cli.console.navigation.is_category(segments: list[str]) โ†’ boolยถ
cli.console.navigation.is_navigation_token(token: str) โ†’ boolยถ
cli.console.navigation.normalize(argv: list[str]) โ†’ list[str]ยถ
cli.console.navigation.prompt(current: list[str]) โ†’ strยถ
cli.console.navigation.resolve_argv(current: list[str], normalized: list[str]) โ†’ list[str]ยถ
cli.console.navigation.resolve_cd(current: list[str], target: str) โ†’ list[str] | Noneยถ

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ยถ

Module contentsยถ