Add support for aliases
cbracken opened this issue · comments
Chris Bracken commented
dvm
currently supports a default
environment. Add support for aliases. e.g.:
dvm alias create projectA 1.14.1
dvm alias create projectB 1.15.0
dvm use projectA --default
Like gvm
, support the following sub-commands:
dvm alias create alias version
dvm alias delete alias
dvm alias list
where version
can be another alias.
This would mean adding an explicit environment file for each installed version. In order to avoid breakage when an alias is deleted, the environment files dvm
creates should always specify paths in terms of the real underlying version, not any other alias.
Chris Bracken commented
Note, this likely allows a fairly simple solution to #1.
Chris Bracken commented
Closed by 34e69b6.