File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919from ..log import setup_logger
2020from .convert import command_convert
2121from .debug_info import command_debug_info
22- from .edit import command_edit_config
22+ from .edit import command_edit
2323from .freeze import command_freeze
2424from .import_config import import_config_cmd
2525from .load import command_load
@@ -68,7 +68,7 @@ def startup(config_dir):
6868
6969# Register sub-commands here
7070cli .add_command (command_convert )
71- cli .add_command (command_edit_config )
71+ cli .add_command (command_edit )
7272cli .add_command (command_debug_info )
7373cli .add_command (command_load )
7474cli .add_command (command_ls )
Original file line number Diff line number Diff line change 88
99@click .command (name = "edit" , short_help = "Run $EDITOR on config." )
1010@click .argument ("config" , type = ConfigPath (exists = True ), nargs = 1 )
11- def command_edit_config (config ):
11+ def command_edit (config ):
1212 config = scan_config (config )
1313
1414 sys_editor = os .environ .get ("EDITOR" , "vim" )
You can’t perform that action at this time.
0 commit comments