Introducing the FuncShell
Update: I am currently refactoring FuncShell; please use the following code: shell.py.
I created funcshell for running Func modules in a more intuitive manner.
The current implementation only supports the command module, but more will be released shortly.
Code: http://github.com/silas/funcshell
Example Usage
[root@pluto ~]# python shell.py
fs> use web*.example.org
fs> get hosts
web01.example.org
web02.example.org
fs> !du -sh /tmp
================================================================================
== web02.example.org ==
================================================================================
236K /tmp
================================================================================
== web01.example.org ==
================================================================================
217M /tmp
fs> !cat /proc/meminfo | grep MemTotal | awk '{ print $2 }'
================================================================================
== web02.example.org ==
================================================================================
1027116
================================================================================
== web01.example.org ==
================================================================================
1027116
fs> exit
[root@pluto ~]#
Licensing information is available on the about page, for additional questions or comments feel free to contact me.