ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

CLI - Change working collection when deleting the current working collection #339

Open dvstans opened 4 years ago

dvstans commented 4 years ago

If the current working collection is deleted, the CLI does not update it's internal path state causing subsequent relative commands (ls, cd.., etc) to fail. To avoid this, the wc should be changed to the parent of the deleted wc.