Allow configuring the interpreter to use on the remote host

This commit is contained in:
Kovid Goyal
2022-03-04 12:18:27 +05:30
parent 95efeee7de
commit fe27ee2d79
4 changed files with 18 additions and 6 deletions

View File

@@ -18,6 +18,9 @@ class Parser:
def hostname(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
hostname(val, ans)
def interpreter(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['interpreter'] = str(val)
def remote_dir(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['remote_dir'] = relative_dir(val)