def cli(ctx, dataset_collection_id, maxwait=12000, interval=3, proportion_complete=1.0, check=True):
    """Wait until all or a specified proportion of elements of a dataset collection are in a terminal state.

Output:

    Details of the given dataset collection.
    """
    return ctx.gi.dataset_collections.wait_for_dataset_collection(dataset_collection_id, maxwait=maxwait, interval=interval, proportion_complete=proportion_complete, check=check)