Allow controlling where on the remote computer the ssh kitten installs its data

This commit is contained in:
Kovid Goyal
2022-02-27 13:06:36 +05:30
parent 12658c4756
commit 59f656e3ca
5 changed files with 81 additions and 51 deletions

View File

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