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
- it2 profile - Manage iTerm2 profiles
- it2 profile clear-badge - Clear the badge text of a profile
- it2 profile create - Guide for creating a new profile
- it2 profile delete - Delete a profile
- it2 profile duplicate - Duplicate a profile
- it2 profile export - Export profile settings
- it2 profile get - Get profile details
- it2 profile get-badge - Get the badge text of a profile
- it2 profile list - List all available profiles
- it2 profile property - Manage profile properties
- it2 profile set-badge - Set the badge text of a profile
- it2 profile shell-integration - Manage automatic shell integration for profiles