OCDocker.Console.commands module

Built-in interactive console commands.

Provides help and exit / quit handling before Python code execution in the REPL loop.

OCDocker.Console.commands.handle_command(line, namespace)[source]

Handle a built-in console command.

Parameters:
  • line (str) – Raw input line from the user.

  • namespace (Mapping[str, Any]) – Interactive namespace (reserved for future built-ins).

Returns:

True when the line was a built-in command and was handled.

Return type:

bool