tmuxp shell - tmuxp.cli.shell¶
CLI for tmuxp shell subcommand.
-
class tmuxp.cli.shell.CLIShellNamespace¶
Bases:
NamespaceTyped
argparse.Namespacefor tmuxp shell command.
-
tmuxp.cli.shell.create_shell_subparser(parser)¶
Augment
argparse.ArgumentParserwithshellsubcommand.- Parameters:
parser (ArgumentParser)
- Return type:
-
tmuxp.cli.shell.command_shell(args, parser=None)¶
Entrypoint for
tmuxp shellfor tmux server, session, window and pane.Priority given to loaded session/window/pane objects:
session_name and window_name arguments
current shell: envvar
TMUX_PANEfor determining window and sessionlibtmux.Server.attached_sessions,libtmux.Session.active_window,libtmux.Window.active_pane
- Parameters:
args (CLIShellNamespace)
parser (ArgumentParser | None)
- Return type: