#!/usr/bin/python3 from shutil import rmtree BASE_DIR = 'data' confirmation = input('If you really want to delete all releases and channels, type CONFIRM: ') if confirmation != 'CONFIRM': print('Cancelled') exit() rmtree(BASE_DIR) print('Reset complete')