mdify-cli 3.3.3__py3-none-any.whl → 3.3.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mdify/__init__.py +1 -1
- mdify/cli.py +22 -12
- mdify/ssh/remote_container.py +1 -0
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/METADATA +1 -1
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/RECORD +9 -9
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/WHEEL +0 -0
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/entry_points.txt +0 -0
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/licenses/LICENSE +0 -0
- {mdify_cli-3.3.3.dist-info → mdify_cli-3.3.5.dist-info}/top_level.txt +0 -0
mdify/__init__.py
CHANGED
mdify/cli.py
CHANGED
|
@@ -1096,19 +1096,29 @@ def main_async_remote(args) -> int:
|
|
|
1096
1096
|
|
|
1097
1097
|
# Start with minimal defaults if no config loaded
|
|
1098
1098
|
if ssh_config is None:
|
|
1099
|
-
ssh_config = SSHConfig(host=args.remote_host, port=22, username=
|
|
1099
|
+
ssh_config = SSHConfig(host=args.remote_host, port=22, username="")
|
|
1100
1100
|
|
|
1101
|
-
# Apply CLI arguments with highest precedence
|
|
1102
|
-
|
|
1103
|
-
host
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1101
|
+
# Apply CLI arguments with highest precedence (only pass non-None values)
|
|
1102
|
+
cli_config_kwargs = {
|
|
1103
|
+
"host": args.remote_host,
|
|
1104
|
+
"source": "cli",
|
|
1105
|
+
}
|
|
1106
|
+
if args.remote_port is not None:
|
|
1107
|
+
cli_config_kwargs["port"] = args.remote_port
|
|
1108
|
+
if args.remote_user:
|
|
1109
|
+
cli_config_kwargs["username"] = args.remote_user
|
|
1110
|
+
if args.remote_key:
|
|
1111
|
+
cli_config_kwargs["key_file"] = args.remote_key
|
|
1112
|
+
if args.remote_key_passphrase:
|
|
1113
|
+
cli_config_kwargs["key_passphrase"] = args.remote_key_passphrase
|
|
1114
|
+
if args.remote_timeout is not None:
|
|
1115
|
+
cli_config_kwargs["timeout"] = args.remote_timeout
|
|
1116
|
+
if args.remote_work_dir:
|
|
1117
|
+
cli_config_kwargs["work_dir"] = args.remote_work_dir
|
|
1118
|
+
if args.remote_runtime:
|
|
1119
|
+
cli_config_kwargs["container_runtime"] = args.remote_runtime
|
|
1120
|
+
|
|
1121
|
+
cli_config = SSHConfig(**cli_config_kwargs)
|
|
1112
1122
|
ssh_config = ssh_config.merge(cli_config)
|
|
1113
1123
|
|
|
1114
1124
|
# Create SSH client
|
mdify/ssh/remote_container.py
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
assets/mdify.png,sha256=qUj7WXWqNwpI2KNXOW79XJwqFqa-UI0JEkmt1mmy4Rg,1820418
|
|
2
|
-
mdify/__init__.py,sha256=
|
|
2
|
+
mdify/__init__.py,sha256=8Z3YW5kS4HunLBq-F4gHbUfbheIBoB9Hw_PlPtyMT3A,90
|
|
3
3
|
mdify/__main__.py,sha256=bhpJ00co6MfaVOdH4XLoW04NtLYDa_oJK7ODzfLrn9M,143
|
|
4
|
-
mdify/cli.py,sha256=
|
|
4
|
+
mdify/cli.py,sha256=Hokk0ng_q6QK9jW-WxSRTboWz-pCKt1mlGCwzPBWttk,88154
|
|
5
5
|
mdify/container.py,sha256=BjL5ZR__n1i_WHifXKllTPoqO7IuOUdPDo5esuNg0Iw,8213
|
|
6
6
|
mdify/docling_client.py,sha256=zrA-KGW3sSup-qxLHPixZWyDVi3tXJck1-MV6NoyQXA,8677
|
|
7
7
|
mdify/formatting.py,sha256=It7yCVQbD5e2G1FqE4ebx783BkBiRWeFdjKrWPs4nEA,3964
|
|
8
8
|
mdify/ssh/__init__.py,sha256=SmRWgwEvAQZ_ARHlKTb9QDPwVAcz6dvPUks2pZFWLAU,271
|
|
9
9
|
mdify/ssh/client.py,sha256=lkqnerNTjlwkTlBmVx4B_2i3GA_D-FjH696OgQKUOXE,15009
|
|
10
10
|
mdify/ssh/models.py,sha256=IGAf5EfpZuBS2lIGzxmIsl8f44bXg4a8wk4BW9JWKEQ,17275
|
|
11
|
-
mdify/ssh/remote_container.py,sha256=
|
|
11
|
+
mdify/ssh/remote_container.py,sha256=Ibgdx3Joatv7xQRzDxCuCtr1TZBsRb-6Tqa5ynYt1uA,10304
|
|
12
12
|
mdify/ssh/transfer.py,sha256=Zcr-V8Bjmm37tvd9RxlS-Rwk0SPD1-OGlEPlHQWmtSE,10979
|
|
13
|
-
mdify_cli-3.3.
|
|
14
|
-
mdify_cli-3.3.
|
|
15
|
-
mdify_cli-3.3.
|
|
16
|
-
mdify_cli-3.3.
|
|
17
|
-
mdify_cli-3.3.
|
|
18
|
-
mdify_cli-3.3.
|
|
13
|
+
mdify_cli-3.3.5.dist-info/licenses/LICENSE,sha256=NWM66Uv-XuSMKaU-gaPmvfyk4WgE6zcIPr78wyg6GAo,1065
|
|
14
|
+
mdify_cli-3.3.5.dist-info/METADATA,sha256=myh4e4WXCeaH0gZARw_feA9BwfVxnER9psMA9PjMdK0,14766
|
|
15
|
+
mdify_cli-3.3.5.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
16
|
+
mdify_cli-3.3.5.dist-info/entry_points.txt,sha256=0Xki8f5lADQUtwdt6Eq_FEaieI6Byhk8UE7BuDhChMg,41
|
|
17
|
+
mdify_cli-3.3.5.dist-info/top_level.txt,sha256=qltzf7h8owHq7dxCdfCkSHY8gT21hn1_E8P-VWS_OKM,6
|
|
18
|
+
mdify_cli-3.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|