def list(context, sort, limit, where, verbose):
    """list(context, sort, limit, where, verbose)

    List all jobs.

    >>> dcictl job-list

    :param string sort: Field to apply sort
    :param integer limit: Max number of rows to return
    :param string where: An optional filter criteria
    :param boolean verbose: Display verbose output
    """
    result = job.list(
        context, sort=sort, limit=limit, where=where,
        embed='topic,remoteci,team')
    headers = ['id', 'status', 'topic/name', 'remoteci/name',
               'team/name', 'etag', 'created_at', 'updated_at']

    utils.format_output(result, context.format, headers, verbose=verbose)