HAMMER utilities: Add the 'prune' and 'history' commands.