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()[source]

Create CLI argparse.ArgumentParser for tmuxp.

Return type:

ArgumentParser

class tmuxp.cli.CLINamespace(**kwargs)[source]

Bases: Namespace

Typed argparse.Namespace for tmuxp root-level CLI.

log_level: CLIVerbosity
subparser_name: CLISubparserName
import_subparser_name: Optional[CLIImportSubparserName]
version: bool
tmuxp.cli.cli(_args=None)[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/

Return type:

None

tmuxp.cli.startup(config_dir)[source]

Initialize CLI.

Return type:

None

Parameters:

str (get_workspace_dir(): Config directory to search)