skip to navigation
skip to content

Not Logged In

bake_o_matic 0.1

baker boilerplate reduction

import bake_o_matic at the end of a script to turn it into a baked command script.

$ cat say.py
#!/usr/bin/python

def hi(msg, **opt):
"greet"
print 'OH HAI', msg, opt

import bake_o_matic

$ ./say.py
Usage: ./say.py COMMAND <options>

Available commands:
hi greet

Use './say.py <command> --help' for individual command help.


$ ./say.py hi ho
OH HAI ho {}  
File Type Py Version Uploaded on Size
bake_o_matic-0.1.tar.gz (md5) Source 2013-01-17 1KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 11 downloads in the last week
  • 86 downloads in the last month