svandragt / psh

PHP Virtual Environment Shell
MIT License
0 stars 0 forks source link

spike: use python's venv #16

Open svandragt opened 2 years ago

svandragt commented 2 years ago

Python's venv prepends it's bin directory which can contain an alias to any commands. PSH could be a wrapper which adds composer / node / npm / php support to this

svandragt commented 2 years ago
python3 -m venv .venv
# symlink php/node/npm/npx/composer in .venv/bin/
source .venv/bin/activate