Note to reviewers: the only thing I'm not super stoked about is the profile cleanup. Specifically, it will find a line like # . <data-local-dir>/env and change it to #. On the other hand, this is what rustup does, and I suppose it works well enough for them. The same kind of thing comes up during install: A commented-out line in a profile script will cause dfxvm-init not to add the source command to the profile script.
How Has This Been Tested?
Added a test
Checklist:
[x] I have edited the CHANGELOG accordingly.
[x] I have made corresponding changes to the documentation in docs/cli-reference.
Description
Adds the
self uninstall
command.Fixes https://dfinity.atlassian.net/browse/SDK-1273
Note to reviewers: the only thing I'm not super stoked about is the profile cleanup. Specifically, it will find a line like
# . <data-local-dir>/env
and change it to#
. On the other hand, this is what rustup does, and I suppose it works well enough for them. The same kind of thing comes up during install: A commented-out line in a profile script will cause dfxvm-init not to add the source command to the profile script.How Has This Been Tested?
Added a test
Checklist: