def cli(ctx, limit=500, offset=0):
    """Provide a list of all datasets. Since this may be very large, ``limit`` and ``offset`` parameters should be used to specify the desired range.

Output:

    Return a list of dataset dicts.
    """
    return ctx.gi.datasets.get_datasets(limit=limit, offset=offset)