Calls rm --recursive on the given path.
(self, path, parsed_globals)
| 1344 | return 1 |
| 1345 | |
| 1346 | def _force(self, path, parsed_globals): |
| 1347 | """Calls rm --recursive on the given path.""" |
| 1348 | rm = RmCommand(self._session) |
| 1349 | rc = rm([path, '--recursive'], parsed_globals) |
| 1350 | if rc != 0: |
| 1351 | raise RuntimeError( |
| 1352 | "remove_bucket failed: Unable to delete all objects in the " |
| 1353 | "bucket, bucket will not be deleted." |
| 1354 | ) |
| 1355 | |
| 1356 | |
| 1357 | class CommandArchitecture: |