sadrive.commands.delete module#
Provides CLI commands for deleting files and folders from Google Drive and updating the local database accordingly. Supports recursive folder deletion and full cleanup of all service-account drives.
Functions: - del_file: Remove a single file from Drive and database. - del_folder: Recursively delete a folder and its contents.
Commands: - delete(fileid): Delete a specific file or folder by ID. - clearall(): Wipe all files across all service accounts and reset DB.