def subcmd_init_parser(subcmd):
    """ init subcommand """
    subcmd.add_argument(
        'tag',
        action='store',
        help=u'Tag (org/name) or name of APB to initialize'
    )

    subcmd.add_argument(
        '--force',
        action='store_true',
        dest='force',
        help=u'Force re-init on current directory',
        default=False
    )

    subcmd.add_argument(
        '--dockerhost',
        action='store',
        help=u'set the dockerhost for this project',
        default="docker.io"
    )

    subcmd.add_argument(
        '--async',
        action='store',
        dest='async',
        help=u'Specify asynchronous operation on application.',
        default='optional',
        choices=['required', 'optional', 'unsupported']
    )

    subcmd.add_argument(
        '--bindable',
        action='store_true',
        dest='bindable',
        help=u'Make application bindable on the spec.',
        default=False
    )

    subcmd.add_argument(
        '--dep',
        '-d',
        action='append',
        dest='dependencies',
        help=u'Add image dependency to APB spec'
    )

    for opt in SKIP_OPTIONS:
        subcmd.add_argument(
            '--skip-%s' % opt,
            action='store_true',
            dest='skip-%s' % opt,
            help=u'Specify which playbooks to not generate by default.',
            default=False
        )

    return