sashahart / vex

Run a command in the named virtualenv.
MIT License
372 stars 26 forks source link

Provide alternative to lsvirtualenv #32

Closed ncoghlan closed 9 years ago

ncoghlan commented 9 years ago

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: https://github.com/pypa/python-packaging-user-guide/issues/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.

sashahart commented 9 years ago

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.

sashahart commented 9 years ago

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

ncoghlan commented 9 years ago

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

sashahart commented 9 years ago

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