Separating --delete as a subcommand and adding resource type filtering

maybe building this dictionary could be done inside the function `filter_selectors`