'Initialize command-line arguments.'

@classmethod
def init_argument_parser(cls, parser):

    parser.add_argument('--base_dir', default='.', required=True, help="Base    directory    containing    the    component's    git    repositories    as    subdirectories.")
    parser.add_argument('--bom_alias', default='', help="Alias    to    rename    the    'real'    BOM    as.    This    also    sets    the    Spinnaker    version    as    the    alias.")
    parser.add_argument('--changelog_output', default='', help='Output    file    to    write    the    changelog    to.')
    parser.add_argument('--container_builder', default='gcb', help="Type    of    builder    to    use.    Currently,    the    supported    options    are    {'gcb',    'docker',    'gcb-trigger'}.")
    parser.add_argument('--container_builder_base_image', default='spinnakerrelease/gradle_cache', help='Base    image    to    start    from    in    the    container    builds.')
    parser.add_argument('--container_builder_env_vars', default='GRADLE_USER_HOME=/gradle_cache/.gradle', help='Comma-separated    list    of    environment    variables    to    set    in    the    container    builds.')
    parser.add_argument('--docker_registry', default='', help='Docker    registry    to    push    the    container    images    to.')
    parser.add_argument('--google_image_project', default='marketplace-spinnaker-release', help='GCE    project    we    publish    HA    Spinnaker    component    images    to.')
    parser.add_argument('--git_prefix', default='https://github.com/spinnaker', help='Prefix    to    the    component    source    URIs.')
    super(BomGenerator, cls).init_argument_parser(parser)
