def extend_argument_parser(parser):
    """Add flags to the command line parser."""

    parser.add_argument(
        '--source-package',
        help='Path to pip source installation package.'
    )

    parser.add_argument(
        '--binary-package',
        required=True,
        help='Path to pip binary installation package.'
    )

    parser.add_argument(
        '--tag',
        required=True,
        help='GitHub tag of the package being released'
    )

    parser.add_argument(
        '--version',
        required=True,
        help='Version of the package being released'
    )

    return parser