Why does "dub add-local" command require a version for the package to be
added? Can it be changed so that it works more like add-path (in the
sense that it detects the version from the package descriptor, if available.

This functionality is likely to be important in the way I am planning to
integrate DUB support into DDT. I want to arbitrarily add Eclipse
projects to the DUB local repository. But the projects should be allowed
to be anywhere, so I don't want the constraints of "add-path".

Bruno Medeiros