INNER CODE UNIT · Python

CliNotFound

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

class CliNotFound(CapcutError):
    """The ``capcut`` binary is not on PATH and ``CAPCUT_CLI`` is not set."""


@dataclass
class Result:
    """One CLI invocation: exit status, raw streams, and the parsed JSON (``data``)."""

    cmd: str
    args: List[str]
    status: int
    stdout: str
    stderr: str
    data: Any = None

    @property
    def ok(self) -> bool:
        return self.status == 0

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…