Command-line interface

koskari.cli

Command-line interface for koskari.

Provides file execution, import-hook installation, and a REPL with a pluggable input backend that supports both readline and prompt_toolkit.

koskari.cli.main(argv=None)

Entry point for the koskari command-line interface.

Boots the Koskari launchpad (koskari.cli.launch:run) through the launcher, the same path a packaged koskari_scripts command uses: the target is loaded and run under Domain and the async host. Option parsing and orchestration live in Koskari (launch.ki); this stub only dispatches and maps a top-level Ctrl-C to exit code 130.

Parameters:

argv – argument list; defaults to sys.argv when None

Returns:

integer exit code