cbracken / dvm

Dart Version Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for aliases

cbracken opened this issue · comments

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.

Note, this likely allows a fairly simple solution to #1.

Closed by 34e69b6.