INNER CODE UNIT · Python

CLINamespace

tmux-python/tmuxp · src/tmuxp/cli/__init__.py:268

class CLINamespace(argparse.Namespace):
    """Typed :class:`argparse.Namespace` for tmuxp root-level CLI."""

    log_level: CLIVerbosity
    color: CLIColorMode
    subparser_name: CLISubparserName
    import_subparser_name: CLIImportSubparserName | None
    version: bool


ns = CLINamespace()


def cli(_args: list[str] | None = None) -> None:
    """Manage tmux sessions.

    Pass the "--help" argument to any command to see detailed help.
    See detailed documentation and examples at:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…