def _add_arguments_shared_by_all_tools(parser):
    parser.add_argument(
        '-k', '--api-key',
        dest='api_key',
        metavar='KEY',
        help='API key to be used'
    )
    parser.add_argument(
        '-u', '--api-url',
        dest='api_url',
        metavar='URL',
        default=DEFAULT_API_URL,
        help='URL to the API (default: {})'.format(DEFAULT_API_URL)
    )
Adds arguments that are used by all tools to the given parser.
dataset/ETHPy150Open s3rvac/retdec-python/retdec/tools/__init__.py/_add_arguments_shared_by_all_tools