Fredric Silberberg 0f7fefe163 Merge branch 'command-subpackage' into 'master' 3 years ago
psh Restructure to have commands be a subpackage. 3 years ago
test Restructure to have commands be a subpackage. 3 years ago
.gitignore Restructure to Python package 3 years ago
README.md Fix syntax highlighting 3 years ago
example.typescript Initial commit 3 years ago
requirements.txt Restructure to Python package 3 years ago
setup.py Restructure to Python package 3 years ago

README.md

psh

Augmented Unix Userland shell inspired by Windows PowerShell, written in Python.

Requirements

  • Python 3+
  • pip

Installing

Preferably, you would use a separate virtual env

pip install -r requirements.txt
pip install -e .  # installs the 'psh' package in editable mode

Running

From Python shell:

from psh.run import main
main()

From Unix shell:

python -m psh.run

Testing

From Unix shell:

py.test