I created a project and activated it, giving me a local instance that was cached in %LOCALAPPDATA%\activestate. I also deployed an instance to a folder that I specified, using state deploy org/proj --path .
I then ran state clean uninstall for the project, and it gave me the following message:
You are about to remove the State Tool, installed language runtimes, and all configuration information. Continue? (y/N)
I responded with “y” and then checked to see what happened. Here’s what I found:
- activestate.yaml remained
- state.exe remained
- the perl version associate with the org/proj and cached in %LOCALAPPDATA%\activestate was gone
- the deployed version of the project remained.
Now, either clean uninstall isn’t doing what it is supposed to be doing, or the message is wrong. If it’s doing the right thing, the message should read:
You are about to remove the installed language runtime for this project. Continue? (y/N)
The documentation for state clean says it will “Clean caches, configuration files, or completely remove the state tool”. For clean uninstall it says “Remove the State Tool, installed languages, and any configuration files”. That sounds like Uninstall does Clean Cache and Clean Config as well as removing the state tool itself. But in my testing, all it does is Clean Cache.