tmuxp shell - tmuxp.cli.shell

CLI for tmuxp shell subcommand.

class tmuxp.cli.shell.CLIShellNamespace(**kwargs)[source]

Bases: Namespace

Typed argparse.Namespace for tmuxp shell command.

session_name: str
socket_name: Optional[str]
socket_path: Optional[str]
colors: Optional[CLIColorsLiteral]
log_file: Optional[str]
window_name: Optional[str]
command: Optional[str]
shell: Optional[CLIShellLiteral]
use_pythonrc: bool
use_vi_mode: bool
tmuxp.cli.shell.create_shell_subparser(parser)[source]

Augment argparse.ArgumentParser with shell subcommand.

Return type:

ArgumentParser

tmuxp.cli.shell.command_shell(args, parser=None)[source]

Entrypoint for tmuxp shell for tmux server, session, window and pane.

Priority given to loaded session/window/pane objects: :rtype: None