45 lines
488 B
Markdown
45 lines
488 B
Markdown
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
|
|
```
|