Closed giovannipizzi closed 4 years ago
In this case, make click and tqdm as optional dependencies, and implement progress bars as implemented in #84 and explained in the docstring of validate()
I am going to close this for now - we will have a command line in AiiDA, and this for now is enough. I will reopen this if there is the need to provide such functionality in the future independently of AiiDA
I would implement with click, probably call it
diskos
, and implement at least the basic operations likeclean_storage
andvalidate
andpack_all_loose
, as well as methods to count objects and to get the size.I don't know if we also want to implement methods to add or remove objects, to avoid that it becomes easy to corrupt data (but maybe a method to export to file a given object with a given key might be useful).