Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
parser = argparse.ArgumentParser(
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)
parser.add_argument(
"-V",
"--version",
version=distribution.version,
action=_ShowVersionAction,
help="display version",
)
parser.add_argument(
"url_or_id", help="url or file id (with --id) to download file from"
)
parser.add_argument("-O", "--output", help="output filename")
parser.add_argument(
"-q", "--quiet", action="store_true", help="suppress standard output"
)
parser.add_argument(
"--id",
action="store_true",
help="flag to specify file id instead of url",
)
parser.add_argument(
"--proxy",