def add_cookbook_mgmt_options(parser):
    """Add the cookbook management command and arguments.

    :rtype: argparse.ArgumentParser

    """
    cookbook = parser.add_parser('cookbook', help='Invoke in a Jenkins job to '
                                                  'update a cookbook in '
                                                  'chef-repo')
    cookbook.add_argument('repo', action='store',
                          help='Git URL for chef-repo')
    cookbook.set_defaults(func='process_cookbook')
Add the cookbook management command and arguments.

    :rtype: argparse.ArgumentParser