update(context, id, etag, name, country, parent_id, active, external)

    Update a team.

    >>> dcictl team-update [OPTIONS]

    :param string id: ID of the team to update [required]
    :param string etag: Entity tag of the resource [required]
    :param string name: Name of the team [required]
    :param string country: Country code where the team is based
    :param boolean active: Set the team in the (in)active state
    :param string parent_id: The ID of the team this team belongs to
    :param boolean external: Set the team as external

def update(context, id, etag, name, country, parent_id, active, external):
    """update(context, id, etag, name, country, parent_id, active, external)

    Update a team.

    >>> dcictl team-update [OPTIONS]

    :param string id: ID of the team to update [required]
    :param string etag: Entity tag of the resource [required]
    :param string name: Name of the team [required]
    :param string country: Country code where the team is based
    :param boolean active: Set the team in the (in)active state
    :param string parent_id: The ID of the team this team belongs to
    :param boolean external: Set the team as external
    """

    result = team.update(context, id=id, etag=etag, name=name,
                         state=utils.active_string(active),
                         country=country, parent_id=parent_id,
                         external=external)

    utils.format_output(result, context.format)