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: str | None¶
socket_path: str | None¶
colors: CLIColorsLiteral | None¶
log_file: str | None¶
window_name: str | None¶
command: str | None¶
shell: CLIShellLiteral | None¶
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:

Return type:

None