annotate intentmademanifest/template.py @ 16:4353d36a2f80

note http://pypi.python.org/pypi/ginsfsm
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 21 Jul 2013 08:55:55 -0700
parents 67cfeffa0d90
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/usr/bin/env python
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 IntentMadeManifest template for makeitso
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7 import sys
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 from cli import MakeItSoCLI
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 from optparse import OptionParser
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 from template import MakeItSoTemplate
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 class IntentMadeManifestTemplate(MakeItSoTemplate):
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 IntentMadeManifest template
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
16 name = 'IntentMadeManifest'
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
17 templates = ['template']
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 look = True
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 class TemplateCLI(MakeItSoCLI):
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 CLI driver for the IntentMadeManifest template
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 """
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
24
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
25 def main(args=sys.argv[:]):
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
26 cli = TemplateCLI()
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
27 cli(*args)
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
28
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
29 if __name__ == '__main__':
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
30 main()
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
31
67cfeffa0d90 stub from template
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
32