it2 arrangement export

Export arrangement to file

Synopsis

it2 arrangement export <name> <file>

Description

Export a saved arrangement to a file (note: this exports the arrangement name, not the actual layout data)

Examples

# Export arrangement to file
$ it2 arrangement export "my-layout" layout.sh
# Export with descriptive filename
$ it2 arrangement export "dev-layout" dev-setup.sh
# Export to backup directory
$ it2 arrangement export "work-layout" ~/backups/work.sh
# Export with timestamp
$ it2 arrangement export "my-layout" "backup-$(date +%Y%m%d).sh"

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also