list(context, sort, limit, where, verbose)

    List all files.

    >>> dcictl file-list job-id [OPTIONS]

    :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

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

    List all files.

    >>> dcictl file-list job-id [OPTIONS]

    :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_files(context, id=job_id, sort=sort, limit=limit,
                            verbose=verbose, where=where)
    utils.format_output(result, context.format, verbose=verbose)