sdsc-ordes / modos-api

Python API to manage multi-omics digital objects
https://sdsc-ordes.github.io/modos-api
Apache License 2.0
0 stars 0 forks source link

allow deleting entire MODO #57

Closed cmdoret closed 2 months ago

cmdoret commented 3 months ago

The modo remove command deletes an element inside an existing MODO. We don't have a way in the CLI or API to delete the actuel MODO [folder]. This is important because deleting the folder is not straightforward when using a remote object on S3.

Objective: CLI/API deletion functionality

Requirements:

$ modos remove data/ex ex Error: cannot delete root object. If you want to delete the entire MODO, use --force.

$ modos remove --force data/ex ex