Workspace ManagerstableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmuxp.cli.ls.command_ls

tmuxp.cli.ls.command_ls ( args: CLILsNamespace | None = None, parser: argparse.ArgumentParser | None = None, ) → None

Entrypoint for tmuxp ls subcommand.

Description#

Lists both local workspaces (from cwd and parent directories) and global workspaces (from ~/.tmuxp/).

Examples#

>>> # command_ls() lists workspaces from cwd/parents and ~/.tmuxp/
Parameters
Esc

Type to search.

Reference preview Open reference