tmuxp freeze - tmuxp.cli.freeze

CLI for tmuxp freeze subcommand.

class tmuxp.cli.freeze.CLIFreezeNamespace(**kwargs)[source]

Bases: Namespace

Typed argparse.Namespace for tmuxp freeze command.

session_name: str
socket_name: str | None
socket_path: str | None
workspace_format: CLIOutputFormatLiteral | None
save_to: str | None
answer_yes: bool | None
quiet: bool | None
force: bool | None
tmuxp.cli.freeze.create_freeze_subparser(parser)[source]

Augment argparse.ArgumentParser with freeze subcommand.

Return type:

ArgumentParser

tmuxp.cli.freeze.command_freeze(args, parser=None)[source]

Entrypoint for tmuxp freeze, snapshot a tmux session into a tmuxp workspace.

If SESSION_NAME is provided, snapshot that session. Otherwise, use the current session.

Return type:

None