File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
from ..log import setup_logger
20
20
from .convert import command_convert
21
21
from .debug_info import command_debug_info
22
- from .edit import command_edit_config
22
+ from .edit import command_edit
23
23
from .freeze import command_freeze
24
24
from .import_config import import_config_cmd
25
25
from .load import command_load
@@ -68,7 +68,7 @@ def startup(config_dir):
68
68
69
69
# Register sub-commands here
70
70
cli .add_command (command_convert )
71
- cli .add_command (command_edit_config )
71
+ cli .add_command (command_edit )
72
72
cli .add_command (command_debug_info )
73
73
cli .add_command (command_load )
74
74
cli .add_command (command_ls )
Original file line number Diff line number Diff line change 8
8
9
9
@click .command (name = "edit" , short_help = "Run $EDITOR on config." )
10
10
@click .argument ("config" , type = ConfigPath (exists = True ), nargs = 1 )
11
- def command_edit_config (config ):
11
+ def command_edit (config ):
12
12
config = scan_config (config )
13
13
14
14
sys_editor = os .environ .get ("EDITOR" , "vim" )
You can’t perform that action at this time.
0 commit comments