Move files targeted by cli rm to the trash. If the target is a folder, will move the full folder in the trash.
rm
brew install trash