it2 profile import

Import profile settings

Synopsis

it2 profile import <file> [--name profile-name] [flags]

Description

Import profile settings from a JSON file exported by the export command.
If --name is specified, the profile will be imported with that name.
Otherwise, the name from the export file will be used.

Note: This command applies the settings to an existing profile or creates
properties for a new profile. iTerm2's API doesn't support direct profile creation,
so the target profile must exist in iTerm2.

Options

--name

Target profile name (if not specified, uses name from export file)

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