tmuxp shell - tmuxp.cli.shell#
CLI for tmuxp shell subcommand.
- class tmuxp.cli.shell.CLIShellNamespace(**kwargs)[source]#
Bases:
NamespaceTyped
argparse.Namespacefor tmuxp shell command.
- tmuxp.cli.shell.create_shell_subparser(parser)[source]#
Augment
argparse.ArgumentParserwithshellsubcommand.- Return type:
- tmuxp.cli.shell.command_shell(args, parser=None)[source]#
Entrypoint for
tmuxp shellfor tmux server, session, window and pane.Priority given to loaded session/window/pane objects: :rtype:
Nonesession_name and window_name arguments
current shell: envvar
TMUX_PANEfor determining window and sessionlibtmux.Server.attached_sessions,libtmux.Session.attached_window,libtmux.Window.attached_pane