blob: 0f0fe4c63f53186b4e00ace4b6285e5f506af669 [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2017 Google Inc.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Create the asset."""
import argparse
import subprocess
VERSION = "v1.8.2"
URL = ""
def create_asset(target_dir):
"""Create the asset."""
subprocess.check_call(["curl", "-L", URL % VERSION, "-o", ""])
subprocess.check_call(["unzip", "", "-d", target_dir])
subprocess.check_call(["rm", ""])
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--target_dir', '-t', required=True)
args = parser.parse_args()
if __name__ == '__main__':