Skip to content

Moved to #345 - Tab API #566

@ianwalter

Description

@ianwalter

Describe the solution you'd like?

I just used iTerm2's Python API to create a python script in my monorepo that creates a bunch of tabs to run different services (e.g. docker compose, API server, Next.js dev server, iOS simulator, etc). It's great because I can easily start my whole dev environment with one command and have a meaningful tab name set for each tab. I would have preferred to use Node.js instead of Python, but not a big deal. Really liking Warp so far but this is what I am still using iTerm2 for.

Is your feature request related to a problem? Please describe.

No response

Additional context

Here's an example of a tab I create in the script:

        # Create a new tab and run the Docker Compose services.
        tab = await window.async_create_tab()
        await tab.async_set_title('Docker')
        command = f'cd {root}/packages/web; yarn docker\n'
        await tab.current_session.async_send_text(command)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions