Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.36 KB

api.rst

File metadata and controls

71 lines (45 loc) · 1.36 KB

API Reference

.. seealso::
    See :ref:`libtmux's API <libtmux:api>` and :ref:`Quickstart
    <libtmux:quickstart>` to see how you can control tmux via python API calls.

.. module:: tmuxp

Internals

.. automethod:: tmuxp.util.run_before_script

CLI

.. automethod:: tmuxp.cli.get_config_dir
.. automethod:: tmuxp.cli.get_teamocil_dir
.. automethod:: tmuxp.cli.get_tmuxinator_dir
.. automethod:: tmuxp.cli.load_workspace
.. automethod:: tmuxp.cli._validate_choices

Configuration

Finding

.. automethod:: tmuxp.config.is_config_file
.. automethod:: tmuxp.config.in_dir
.. automethod:: tmuxp.config.in_cwd

Import and export

.. automethod:: tmuxp.config.validate_schema

.. automethod:: tmuxp.config.expandshell

.. automethod:: tmuxp.config.expand

.. automethod:: tmuxp.config.inline

.. automethod:: tmuxp.config.trickle

.. automethod:: tmuxp.config.import_teamocil

.. automethod:: tmuxp.config.import_tmuxinator

Workspace Builder

.. autoclass:: tmuxp.workspacebuilder.WorkspaceBuilder
   :members:

.. automethod:: tmuxp.workspacebuilder.freeze

Exceptions

.. autoexception:: tmuxp.exc.EmptyConfigException

.. autoexception:: tmuxp.exc.ConfigError

.. autoexception:: tmuxp.exc.BeforeLoadScriptError

.. autoexception:: tmuxp.exc.BeforeLoadScriptNotExists