This is a magic tool used in shell and based on python.
Clone files:
pip install git+https://github.com/firslov/biu
It looks up for python recipes in the ~/.biu.d
directory.
Here is an example recipe
def clean():
return [
'rm *.pyc',
'rm *~',
'rm -rf __pycache__'
]
Suppose it is saved as ~/.biu.d/dir.py
, one can call it with
biu dir clean
Enjoy!