#!/usr/bin/env python

import sys
from shutil import which
from jin import cli

if which("rsync") is None:
    print("Installation of rsync not found. Please install rsync and try again")
    sys.exit(1)
else:
    try:
        sys.exit(cli.checkArgs())
    except KeyboardInterrupt:
        sys.exit(128)
