cli: delete directory documents on directory removal