This repository has been archived on 2015-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
psh/example.typescript
2015-02-20 18:20:22 -05:00

2.1 KiB

Script started on Fri 20 Feb 2015 06:18:07 PM EST
 
blazer ~/dev/mqp 18:18
python main.py
Augmented Unix Userland
>>> ls
[DEBUG]: evaluating Python: Printer()(RawCommand('ls')())
commands.py
example_cmd.py
formatters.py
main.py
__pycache__
typescript
 
>>> ls | grep format
[DEBUG]: evaluating Python: Printer()(RawCommand('grep', args=('format',))(RawCommand('ls')()))
formatters.py
 
>>> >2 + 2
4
>>> >ls_output = ls()
>>> >grep.args = ('py',)
>>> >grep.args = ('format',)
>>> >grepped_output = grep(ls_output)
>>> >Printer()(grepped_output)
formatters.py
 
>>>
 
blazer ~/dev/mqp 18:19

 
Script done on Fri 20 Feb 2015 06:19:26 PM EST