andreafrancia / trash-cli

Command line interface to the freedesktop.org trashcan.
GNU General Public License v2.0
3.58k stars 179 forks source link

Added a "--overwrite" flag to trash-restore which forces the restore to overwrite any existing files #260

Closed Matt-London closed 1 year ago

Matt-London commented 1 year ago

I also added a usage example to the readme as well as included a help message within the restore.py argparse. If you would like to include this in your project but do not like my style of solution, please let me know and I am sure I can change things to your liking!

I hope you enjoy my edits, I love your project and would be thrilled to become a contributor.

Matt-London commented 1 year ago

I just added considerations in the tests for the overwrite flag that allow all tests from pytest to pass