Skip to content

Commit 28b72ef

Browse files
committed
refactor!(import_config): Rename for conformity
1 parent 6e14205 commit 28b72ef

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tmuxp/cli/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from .debug_info import command_debug_info
2222
from .edit import command_edit
2323
from .freeze import command_freeze
24-
from .import_config import import_config_cmd
24+
from .import_config import command_import
2525
from .load import command_load
2626
from .shell import command_shell
2727
from .utils import tmuxp_echo
@@ -74,4 +74,4 @@ def startup(config_dir):
7474
cli.add_command(command_ls)
7575
cli.add_command(command_freeze)
7676
cli.add_command(command_shell)
77-
cli.add_command(import_config_cmd)
77+
cli.add_command(command_import)

tmuxp/cli/import_config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _resolve_path_no_overwrite(config):
5353

5454

5555
@click.group(name="import")
56-
def import_config_cmd():
56+
def command_import():
5757
"""Import a teamocil/tmuxinator config."""
5858

5959

@@ -107,7 +107,7 @@ def import_config(configfile, importfunc):
107107
sys.exit()
108108

109109

110-
@import_config_cmd.command(
110+
@command_import.command(
111111
name="tmuxinator", short_help="Convert and import a tmuxinator config."
112112
)
113113
@click.argument(
@@ -157,7 +157,7 @@ def command_convert(confirmed, config):
157157
print("New config saved to <%s>." % newfile)
158158

159159

160-
@import_config_cmd.command(
160+
@command_import.command(
161161
name="teamocil", short_help="Convert and import a teamocil config."
162162
)
163163
@click.argument(

0 commit comments

Comments
 (0)