it2 app set-variable
Set a user-defined application-level variable
Synopsis
it2 app set-variable <variable-name> <json-value>
Description
Set a user-defined application-level variable. Variable name must begin with 'user.'
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 app - Control the iTerm2 application
- it2 app get-variable - Get the value of an application-level variable
- it2 app launch - Launch iTerm2 if not running
- it2 app quit - Quit iTerm2 application
- it2 app settings - Manage iTerm2 application settings
- it2 app version - Get iTerm2 version information