CLI

Warning

Be careful with these! Internal APIs are not covered by version policies. They can break or be removed between minor versions!

If you need an internal API stabilized please file an issue.

tmuxp.cli

CLI utilities for tmuxp.

tmuxp.cli.create_parser()
function[source]

Create CLI argparse.ArgumentParser for tmuxp.

Return type:

ArgumentParser

class tmuxp.cli.CLINamespace

Bases: Namespace

Typed argparse.Namespace for tmuxp root-level CLI.

tmuxp.cli.cli(_args=None)
function[source]

Manage tmux sessions.

Pass the “–help” argument to any command to see detailed help. See detailed documentation and examples at: http://tmuxp.git-pull.com/

Parameters:

_args (list[str] | None)

Return type:

None

tmuxp.cli.startup(config_dir)
function[source]

Initialize CLI.

Parameters:
  • str (get_workspace_dir(): Config directory to search)

  • config_dir (Path)

Return type:

None