support 'recursive' flag to recursively delete folders.
This commit is contained in:
@ -36,4 +36,4 @@ class RmCommand(BaseCommand):
|
||||
if not args.recursive:
|
||||
raise IllegalArgumentException(f"Cannot remove `{r_path}`: Is a folder.")
|
||||
folder_api = FolderApi(connection)
|
||||
folder_api.destroy(folder.id)
|
||||
folder_api.destroy(folder.id, True)
|
||||
|
Reference in New Issue
Block a user