Mercurial > hg > lockedfile
view lockedfile/template.py @ 0:c8c2d98afc98
initial commit (stub)
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 18 Mar 2012 20:37:19 -0700 |
parents | |
children |
line wrap: on
line source
#!/usr/bin/env python """ lockedfile template for makeitso """ import sys from cli import MakeItSoCLI from optparse import OptionParser from template import MakeItSoTemplate class lockedfileTemplate(MakeItSoTemplate): """ lockedfile template """ name = 'lockedfile' templates = ['template'] look = True class TemplateCLI(MakeItSoCLI): """ CLI driver for the lockedfile template """ def main(args=sys.argv[:]): cli = TemplateCLI() cli(*args) if __name__ == '__main__': main()