0
|
1 #!/usr/bin/env python
|
|
2
|
|
3 """
|
|
4 TextShaper template for makeitso
|
|
5 """
|
|
6
|
|
7 import sys
|
|
8 from cli import MakeItSoCLI
|
|
9 from optparse import OptionParser
|
|
10 from template import MakeItSoTemplate
|
|
11
|
|
12 class TextShaperTemplate(MakeItSoTemplate):
|
|
13 """
|
|
14 TextShaper template
|
|
15 """
|
|
16 name = 'TextShaper'
|
|
17 templates = ['template']
|
|
18 look = True
|
|
19
|
|
20 class TemplateCLI(MakeItSoCLI):
|
|
21 """
|
|
22 CLI driver for the TextShaper template
|
|
23 """
|
|
24
|
|
25 def main(args=sys.argv[:]):
|
|
26 cli = TemplateCLI()
|
|
27 cli(*args)
|
|
28
|
|
29 if __name__ == '__main__':
|
|
30 main()
|
|
31
|
|
32
|