mlhubber / mlhub

Machine Learning Model Repository Hub Command Line Tool.
MIT License
20 stars 12 forks source link

UNINSTALL default answer should be N for those who don't read the message #225

Closed gjwgit closed 3 years ago

gjwgit commented 3 years ago

The UNINSTALL command with no package name will remove the whole .mlhub folder - all packages are gone!

That is rather severe.

Instead, make the default answer N and even if Y is chosen, ask a second time noting that all will be lost!

gjwgit commented 3 years ago

Force the user to type yes if want to delete. ALl other options do not delete. Implemented in 3.8.5.

gjwgit commented 3 years ago

Do not support ml uninstall --yes Too dangerous!

gjwgit commented 3 years ago

Allow --yes but ignore it with a message!