def zip_logs():
    if platform.system() == "Windows":
        cmd = "Compress-Archive logs logs-$(date +%Y-%m-%d-%H%M).zip"
        subprocess.call(["powershell.exe", cmd])

    elif platform.system() == "Linux" or platform.system() == "Darwin":
        cmd = "zip -vr logs-$(date +%Y-%m-%d-%H%M).zip" + " logs/"
        cr.run_command(cmd)