Changing the default editor for Orchestration CLI
To customize the editing experience in HCL Universal Orchestrator, you can modify the default editor by setting the visual or editor environment variables.
You can use any source editor of your choice, to replace the default one.
Open command line, and then run the command as follows to replace the
editor:
setx EDITOR <file_path> /Morsetx VISUAL <file_path> /M- file_path
- Specify the path to the editor file.
Note: For windows operating systems, if the file path
contains spaces, create a wrapper file with the following
content:@echo off start /wait "" "<file_location>" --disable-updates --wait %1 >nul 2>nul exit /bAdd the path to the editor file that contains spaces, as <file_location>.
Then specify the path to the wrapper file, as file_path in the command. When you run the command, the script indirectly access the editor file specified to set it as the default editor.