it2 arrangement save

Save current window layout

Synopsis

it2 arrangement save <name> [flags]

Description

Save the current window layout as an arrangement with the given name

Examples

# Save current layout
$ it2 arrangement save "my-layout"
# Save specific window layout
$ it2 arrangement save --window window-123 "dev-layout"
# Save with descriptive name
$ it2 arrangement save "3-panel-development"
# Save work setup
$ it2 arrangement save "work-$(date +%Y%m%d)"
# Save current arrangement with timestamp
$ it2 arrangement save "backup-$(date +%H%M)"

Options

--window

Window ID to save (saves current layout of specific window only)

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