buildtest.tools.editor
Module Contents
Functions
|
Set the editor used for editing files. The editor can be set based on environment |
- buildtest.tools.editor.set_editor(editor=None)[source]
Set the editor used for editing files. The editor can be set based on environment
EDITOR
or passed as argumentbuildtest --editor
. The editor must be one of the following: vi, vim, emacs, nano.We check the path to editor before setting value to editor.