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

typo: Used to delete remotely created