blob: 7160f830c38bd452da090ee16a28383eeb4b6c1d [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2018 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 common
import subprocess
import utils
# Download URL can be found on this page:
def create_asset(target_dir):
"""Create the asset."""
with utils.tmp_dir():
subprocess.check_call(["curl", PROCDUMP_URL, "-o", ""])
subprocess.check_call(["unzip", "", "-d", target_dir])
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--target_dir', '-t', required=True)
args = parser.parse_args()
if __name__ == '__main__':