# Import a workspace

Source: https://libtmux.org/en/py/stable/workspace/cli/import/

> Choose a source format and translate it into a workspace document.

Use [`tmuxp import teamocil`](https://libtmux.org/en/py/stable/workspace/cli/import-teamocil/) or [`tmuxp import tmuxinator`](https://libtmux.org/en/py/stable/workspace/cli/import-tmuxinator/) to translate a saved
workspace. Each child command requires a source. The parent groups the
importers and accepts `--help`.

- [Teamocil](https://libtmux.org/en/py/stable/workspace/cli/import-teamocil/) imports its session and window structure.
- [tmuxinator](https://libtmux.org/en/py/stable/workspace/cli/import-tmuxinator/) imports its project structure.

Review the converted commands and directories before loading the result.

[Command source](https://github.com/tmux-python/tmuxp/blob/618b398acc05506d3c682906c36cdeb29dcfa1ff/src/tmuxp/cli/import_config.py).
