Module spin_sdk.wit.imports.wasi_cli_terminal_stderr_0_2_6

An interface providing an optional terminal-output for stderr as a link-time authority.

Functions

def get_terminal_stderr() ‑> TerminalOutput | None
Expand source code
def get_terminal_stderr() -> Optional[wasi_cli_terminal_output_0_2_6.TerminalOutput]:
    """
    If stderr is connected to a terminal, return a `terminal-output` handle
    allowing further interaction with it.
    """
    raise NotImplementedError

If stderr is connected to a terminal, return a terminal-output handle allowing further interaction with it.