venvs/list

This commit is contained in:
Marc Beninca 2024-09-29 17:28:16 +02:00
parent 44a925feb4
commit 1a78ce53e7
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

14
re.sh
View file

@ -134,6 +134,11 @@ venvs() {
done done
deactivate deactivate
;; ;;
"list")
activate "${venv}"
list_venv "${venv}"
deactivate
;;
*) ;; *) ;;
esac esac
done done
@ -154,11 +159,8 @@ venvs create
deactivate deactivate
venvs init venvs init
for version in "${@}"; do venvs link
py="${root}/${version}" venvs install
activate "${py}" venvs list
list_venv "${py}"
deactivate
done
caches list_venv caches list_venv