INNER CODE UNIT · Python

describe

renezander030/capcut-cli · python/capcut/__init__.py:223

def describe() -> Any:
    """The full command surface as JSON (``capcut describe``): names, usage, options, exit codes."""
    return run("describe")


def doctor(**flags: Any) -> Any:
    """The ``capcut doctor`` report. Returned even when a hard requirement is missing (exit 1); check ``["ok"]``."""
    result = run_raw("doctor", **flags)
    if result.data is None:
        raise CommandError(result)
    return result.data


@dataclass
class Job:
    """One line of the ``capcut serve`` JSONL queue."""

    cmd: str

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…