trash-cli
trash-cli copied to clipboard
[feature request] clean pythonic interface to trash-cli methods
Is your feature request related to a problem? Please describe. Problem: it seems rather complicated to use this package's methods directly from third-party python program
Describe the solution you'd like It would be nice if along with command-line interface this package would expose documented, stable, clean and robust python interface. E. g.
import trashcli
try:
trashcli.empty() # empty trash can
except trashcli.SomeException as e:
print(e)
# etc...