sashahart / vex

Run a command in the named virtualenv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide alternative to lsvirtualenv

ncoghlan opened this issue · comments

I've started looking at vex as a possible replacement for the virtualenvwrapper shell commands. I really like it (and am suggesting we add a reference from packaging.python.org: pypa/packaging.python.org#118)

However, the one command I particularly miss is "lsvirtualenv" - it would be handy if vex included a "--list" option to show the currently available named environments.

Thanks for the suggestion. I think that's worth looking at - I'm normally pretty loathe to add new flags but effectively, it's already being done by the completions. Give me a week or so to circulate this into my queue and poke at it and feel free to ping again if I seem to have forgotten.

#33 is working for me so far. It just lists raw directory names in $WORKON_HOME or equivalent, sorted and separated by \n.

Thanks, that sounds like a good approach to me, too.

OK, it's merged. I will do another trivial version bump and upload to PyPI soonish. Thanks again for this suggestion.