def cli(ctx, history_id, dataset_id, source="hda"):
    """Copy a dataset to a history.

Output:

    Information about the copied dataset
    """
    return ctx.gi.histories.copy_dataset(history_id, dataset_id, source=source)