File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -90,27 +90,6 @@ def func(value):
9090 return func
9191
9292
93- def scan_config_argument (ctx , param , value , config_dir = None ):
94- """Validate / translate config name/path values for click config arg.
95-
96- Wrapper on top of :func:`cli.scan_config`."""
97- if callable (config_dir ):
98- config_dir = config_dir ()
99-
100- if not config :
101- tmuxp_echo ("Enter at least one CONFIG" )
102- tmuxp_echo (ctx .get_help ())
103- ctx .exit ()
104-
105- if isinstance (value , str ):
106- value = scan_config (value , config_dir = config_dir )
107-
108- elif isinstance (value , tuple ):
109- value = tuple (scan_config (v , config_dir = config_dir ) for v in value )
110-
111- return value
112-
113-
11493def get_abs_path (config : str ) -> str :
11594 path = os .path
11695 join , isabs = path .join , path .isabs
You can’t perform that action at this time.
0 commit comments