"""Fetches artifacts from Android Build.""" import argparse import os
from treble.fetcher import fetcher_lib
def main():
parser = argparse.ArgumentParser(
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument( '--json_keyfile',
help='JSON keyfile containing credentials. ' '(Default: Use default credential file)')
parser.add_argument( '--target', required=True, help='The target name to download from.')
parser.add_argument( '--artifact',
action='append',
default=[],
help='The name of the artifact to download. ' 'Can be specified multiple times.')
parser.add_argument( '--regex',
action='append',
default=[],
help='A regex pattern to compare to the names of the artifact to ' 'download. Can be specified multiple times.')
parser.add_argument( '--out_dir',
default='out/artifacts/',
help='Path to store fetched artifact to.')
group = parser.add_mutually_exclusive_group(required=True)
group.add_argument( '--branch', help='Download from the latest build of this branch.')
group.add_argument('--build_id', help='Download from the specified build.')
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.