in jobs/play-store-export/play_store_export/export.py [0:0]
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument(
"--date",
type=datetime.date.fromisoformat,
required=True,
help="Date at which the backfill will start, going backwards"
)
parser.add_argument(
"--project",
type=str,
required=True,
help="Either the project that the source GCS project belongs to or "
"the project that contains the transfer config"
)
parser.add_argument(
"--transfer-config",
type=str,
required=True,
help="ID of the transfer config. This should be a UUID."
)
parser.add_argument(
"--transfer-location",
type=str,
default='us',
help="Region of the transfer config (defaults to `us`)"
)
parser.add_argument(
"--backfill-day-count",
type=int,
default=35,
help="Number of days to backfill"
)
return parser.parse_args()