mirror of
https://github.com/xxh/xxh
synced 2025-02-17 04:48:26 +00:00
14 lines
435 B
Python
Executable file
14 lines
435 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import os, sys
|
|
from shutil import which
|
|
from xxh_xxh.xxh import xxh, eeprint
|
|
|
|
if __name__ == '__main__':
|
|
if os.name == 'nt':
|
|
eeprint(f"Windows is not supported. WSL1 is not recommended also. WSL2 is not tested yet.")
|
|
if not which('ssh'):
|
|
eeprint('Install OpenSSH client before using xxh: https://duckduckgo.com/?q=how+to+install+openssh+client+in+linux')
|
|
|
|
xxh = xxh()
|
|
xxh.main()
|