def purge(): """ Purge datapackage from the registry server. """ client = click.get_current_context().meta['client'] client.purge() echo('purge ok')