Remove 'volta activate' and 'volta deactivate' #556
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to #222
Closes #216
Closes #165
Closes #104
Closes #99
Info
volta activate
andvolta deactivate
commands to work as expected, modifying the PATH environment variable for the current shell.Changes
activate
anddeactivate
commands from the Volta CLI and the associatedActivityType
VOLTA_UNSAFE_GLOBAL
environment variable definition to therun
modules, where it is used.shell
andenv
modules, which previous existed primarily to support the Postscript behavior that is no longer needed withoutactivate
/deactivate
System::enabled_path
, which was only used byvolta activate
before.Tested
volta activate
andvolta deactivate
are no longer allowed commandsNotes
volta_update
), as many of the changes to support automatic updates are interconnected, but can be completed / reviewed separately. The feature branch will allow that work to be reviewed in smaller chunks, as opposed to all at once.